On 7/09/20 6:03 am, Christopher Barker wrote:
Would that require that it be a keyword? I don't think so, couldn't it be "just a name" in most contexts, like "True" was in py2, which did work in ast.literal_eval()?

There could be a special bytecode that looks it up as a name, and
if that doesn't work, returns float('inf'). But then you might as
well make it a built-in name, which would behave almost exactly
the same way, and Guido doesn't want to do that.

--
Greg
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/D3ES4THI54S3KNWCU5JH6LHQCUZQ7DZ2/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to