holger krekel <hol...@merlinux.eu> writes:

>
> no oddity, actually.  py-1.1 uses the standard 'parser' 
> module where py-1.0 used the standard compiler package 
> to check for parseability.  So it's probably right
> that you have a 'parser' module shadowing the standard
> one. 

you're right. Adding some print statements I can see that it uses

/home/test/py26/lib/python2.6/site-packages/mwlib/parser/__init__.pyc

as it's parser module.

sys.path looks like
['/home/test/py26/lib/python2.6/site-packages/mwlib', '/home/test/rl',
'/home/test/py26/lib/python2.6/site-packages', '/home/test/py26/bin',
'/home/test/py26/lib/python2.6/site-packages/distribute-0.6.8-py2.6.egg',
...] in that function.

The first entry looks wrong here. mwlib is a standard namespace package
and .../site-packages/mwlib should not be in sys.path. (and it's really
not there in the standard interpreter).

Regards,
- Ralf
_______________________________________________
py-dev mailing list
py-dev@codespeak.net
http://codespeak.net/mailman/listinfo/py-dev

Reply via email to