[py-dev] __package__ attribute used by python 2.6

holger krekel holger at merlinux.de
Fri Feb 8 09:48:45 CET 2008


Hi Ralf, 

On Thu, Feb 07, 2008 at 19:27 +0100, Ralf Schmitt wrote:
> Hi all,
> 
> __package__ is used extensively throughout the py lib.
> Unfortunately it will also be used by python 2.6 (see
> http://www.python.org/dev/peps/pep-0366/)
> I have replaced all occurences of __package__ with __pypackage__ to make py
> 0.9.0 work with python 2.6.
> I didn't run the testsuite but py.test seemed to work fine afterwards.
> Any plans to fix it?

i renamed it now to __pkg__ on 

    http://codespeak.net/svn/py/trunk 
    http://codespeak.net/svn/py/branch/bugfix-0.9.0 

best & thanks, 

holger

-- 
Holger Krekel - freelance manager and programmer 
merlinux GmbH: http://merlinux.de 
py.test: http://pytest.org 
py lib: http://pylib.org 
PyPy: http://codespeak.net/pypy 



More information about the Pytest-dev mailing list