how can I modify an imported variable ?

Carsten Haese carsten at uniqsys.com
Wed Dec 27 13:33:55 EST 2006


On Wed, 2006-12-27 at 18:10 +0000, yomgui wrote:
> actually, it is not linked to threading but to the scope.
> the second attempt to access MyPackage.aVariable
> is inside the __init__ of a class
> and this seems to be the problem.
> 
> I believe it is a genuine python bug.

Please post a minimal but complete (runnable) example that demonstrates
your problem. That way, we'll have a chance to actually figure out what
you're doing wrong.

-Carsten





More information about the Python-list mailing list