homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author maubp
Recipients maubp
Date 2013年09月29日.15:27:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1380468434.72.0.0560845262564.issue19111@psf.upfronthosting.co.za>
In-reply-to
Content
Thinking about this, perhaps the bug is that Python 3 doesn't have a future_builtins module? Consider:
$ python2.6
Python 2.6.8 (unknown, Sep 28 2013, 12:09:28) 
[GCC 4.6.3] on linux3
Type "help", "copyright", "credits" or "license" for more information.
>>> from __future__ import with_statement
>>> from __future__ import print_function
>>> from future_builtins import map, zip
>>> quit()
versus:
$ python3.3
Python 3.3.2 (default, Sep 28 2013, 12:00:20) 
[GCC 4.6.3] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from __future__ import with_statement
>>> from __future__ import print_function
>>> from future_builtins import map, zip
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
ImportError: No module named 'future_builtins'
>>> quit()
The expectation from the __future__ imports is that once a feature is part of Python, the import is a harmless no-op. You could expect the same from future_builtins as well.
History
Date User Action Args
2013年09月29日 15:27:14maubpsetrecipients: + maubp
2013年09月29日 15:27:14maubpsetmessageid: <1380468434.72.0.0560845262564.issue19111@psf.upfronthosting.co.za>
2013年09月29日 15:27:14maubplinkissue19111 messages
2013年09月29日 15:27:14maubpcreate

AltStyle によって変換されたページ (->オリジナル) /