[Python-Dev] [Python-3000] Warning for 2.6 and greater (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Sat Jan 13 16:50:56 CET 2007
- Previous message: [Python-Dev] file(file)
- Next message: [Python-Dev] [Python-3000] Warning for 2.6 and greater
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
glyph at divmod.com schrieb:
It would certainly be possible to have:
from future import itemsisiter be the same as: py3kcompatitemsisiter = True and have the 2.x series' items() method check the globals() of the calling scope to identify the return value of items() in that particular context.
Why do you think that this would be that certainly possible? I cannot imagine an efficient implementation.
Regards, Martin
- Previous message: [Python-Dev] file(file)
- Next message: [Python-Dev] [Python-3000] Warning for 2.6 and greater
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]