Martin v. Löwis added the comment:

Neither nor. <> is a conditional token, conditional on the prior future import. 
This is the nature of PEP 236: some syntax might be part of the language in one 
module, but not in another, in the same version of the language.

In general, the documentation should refer to future syntax as such (i.e. 
mention that it is available only if a future import was made). Not so in this 
case: this specific feature is deliberately undocumented (or: under-documented, 
given that nothing is truly undocumented in free software). It's an easter egg 
- you found it.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22145>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to