PEP 328 looks like it will solve my recent import issues.
However, the PEP mentions that
In Python 2.4, you must enable the new absolute import behavior with from __future__ import absolute_import
which got me excited because it means I don't need to wait for Python 2.5 to take advantage of it.
However
from __future__ import absolute_import
gives
SyntaxError: future feature absolute_import is not defined
So that part of PEP 328 was just teasing me. I think it's an error in the PEP.
by : Created on Feb. 15, 2006 : Last modified Feb. 15, 2006 : (permalink)
@84 on the Demokritos trunk now has full persistence of members and collections into a subversion repository.
At the moment there's no caching (so subversion gets hit every request) and transactions are overly granular. As a result, performance isn't great. But it seems to work!
by : Created on Feb. 15, 2006 : Last modified Feb. 15, 2006 : (permalink)