On Nov 27, 6:42 pm, Viktor Kerkez <[EMAIL PROTECTED]> wrote:
> Is this a bug?

It is not a bug: the dictionaries are different because they are
loaded from different modules.

>>> import os
>>> import test.data
>>> test.data
<module 'test.data' from 'test/data.pyc'>
>>> os.chdir('test')
>>> import data
>>> data
<module 'data' from 'data.pyc'>
>>> test.data is data
False
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to