A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2007-January/070621.html below:

[Python-Dev] [Python-3000] Warning for 2.6 and greater

[Python-Dev] [Python-3000] Warning for 2.6 and greater [Python-Dev] [Python-3000] Warning for 2.6 and greater"Martin v. Löwis" martin at v.loewis.de
Sat Jan 13 16:50:56 CET 2007
glyph at divmod.com schrieb:
>  It would certainly be possible to have:
> 
>    from __future__ import items_is_iter
> 
> be the same as:
> 
>    __py3k_compat_items_is_iter__ = 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
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4