[Python-ideas] strptime without second argument as an inverse to __str__
Alexander Belopolsky
alexander.belopolsky at gmail.com
Wed Aug 6 18:47:04 CEST 2014
On Wed, Aug 6, 2014 at 12:20 PM, Wolfgang Maier <
wolfgang.maier at biologie.uni-freiburg.de> wrote:
> BTW, Terry's suggestion of datetime.fromstr(s) sounds very reasonable.
We don't have int.fromstr, float.fromstr, or in fact a .fromstr constructor
for any other type. IMO, date(str) is "the obvious way to do it."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20140806/94b965c5/attachment.html>
More information about the Python-ideas
mailing list