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.

classification
Title: PEP 328 and Python 2.4 error
Type: Stage:
Components: None Versions:
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: facundobatista, kjohnson, tzot
Priority: normal Keywords:

Created on 2005-03-05 13:23 by kjohnson, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg60694 - (view) Author: Kent Johnson (kjohnson) * Date: 2005-03-05 13:23
PEP 328 says that 
from __future__ import absolute_import

will be part of Python 2.4, but it is not:

D:\Projects\CB>python
Python 2.4 (#60, Nov 30 2004, 11:49:19) [MSC v.1310 32
bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for
more information.
 >>> from __future__ import absolute_import
  File "<stdin>", line 1
SyntaxError: future feature absolute_import is not defined

The PEP should be updated to reflect this.
msg60695 - (view) Author: Χρήστος Γεωργίου (Christos Georgiou) (tzot) * Date: 2005-03-20 11:00
Logged In: YES 
user_id=539787

This is still not implemented at least in HEAD
(http://cvs.sourceforge.net/viewcvs.py/python/python/dist/src/Python/future.c?rev=2.15&view=auto
and 
http://cvs.sourceforge.net/viewcvs.py/python/python/dist/src/Lib/__future__.py?rev=1.13&view=auto
).  I believe new functionality is avoided in micro (x.y.N)
releases, so the PEP probably will have to specify 2.5
instead of 2.4 as version of application.
msg63059 - (view) Author: Facundo Batista (facundobatista) * (Python committer) Date: 2008-02-27 02:38
import mechanisms and absolute and relative imports were reviewed recently.

Please verify if you still have an issue regarding this.

Thank you!
History
Date User Action Args
2022-04-11 14:56:10adminsetgithub: 41656
2008-02-27 02:38:00facundobatistasetstatus: open -> closed
nosy: + facundobatista
resolution: out of date
messages: + msg63059
2005-03-05 13:23:06kjohnsoncreate