classification
Title: Should __future__ print_function be valid in 3.0?
Type: Stage:
Components: Interpreter Core Versions: Python 3.0
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: eric.smith Nosy List: christian.heimes, eric.smith
Priority: normal Keywords:

Created on 2008-03-20 19:08 by eric.smith, last changed 2008-03-20 23:02 by eric.smith. This issue is now closed.

Messages (3)
msg64193 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2008-03-20 19:08
Should this be accepted in 3.0, and become a no-op:
from __future__ import print_function
?

It might make using code in 2.6 and 3.0 easier, since you would not have
to delete this line.

I note that:
from __future__ import with_statement
is already valid in 3.0.
msg64195 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2008-03-20 19:10
Yes, you *must* implement it. From
http://docs.python.org/lib/module-future.html

No feature description will ever be deleted from __future__.
msg64221 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2008-03-20 23:02
Implemented in r61682.
History
Date User Action Args
2008-03-20 23:02:59eric.smithsetstatus: open -> closed
resolution: accepted -> fixed
messages: + msg64221
2008-03-20 19:10:52christian.heimessetresolution: accepted
messages: + msg64195
nosy: + christian.heimes
2008-03-20 19:08:18eric.smithcreate