[Python-Dev] Re: [Import-sig] Re: Proposal for a modified import mechanism.

Just van Rossum just@letterror.com
Thu, 15 Nov 2001 09:54:16 +0100


Thomas Heller wrote:

>
http://groups.google.com/groups?selm=9ss15a%2414snvc%242%40ID-59885.news.dfncis.de

Nice! Maybe I wouldn't have missed that if hadn't been part of the "IsPython
really O-O?" thread...

I think it's worth playing with this stuff more. One improvement I would like to
try is to update methods just like global functions: that way existing callbacks
that are bound methods will also be updated.

Other nits:
func_defaults and func_doc should definitely be updated, I'm not sure about
func_dict.

General question: why if func_globals not a writable attribute?

Just