[Python-ideas] datetime.timedelta literals

Pål Grønås Drange paal.drange at gmail.com
Tue Jun 5 04:08:32 EDT 2018

> You can't import literals. They're syntax, not just bound names.

I'm way out of my comfort zone now, but the parser could for
and then that function should be imported.

I'm sure this idea has many shortcomings that I don't see, but that was the
reason why I wanted to import stuff.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20180605/1ad14edb/attachment-0001.html>

More information about the Python-ideas mailing list