Phillip J. Eby wrote:
> I guess it's not right then.  ;-)  Though I shouldn't make fun, since it
> turns out that my code sketch was not a correct translation of
> peak.util.imports.  (See below.)

*grrrrr* I spent more than hour to find my error ...

> That is, module.__notified__ has to be set *before* the recursive
> notification call.  This effectively happens in peak.util.imports now,
> except that __notified__ isn't an explicit attribute, just a side effect
> of other module state changes.

It's done. Your proposed test cases passes together with my tests. The
ref leak tests don't show a single missing reference.

Christian
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to