[EMAIL PROTECTED] 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
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to