This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author logistix
Recipients
Date 2005-03-08.20:59:52
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=699438

I don't know if this is a viable general-purpose fix.  Keep in 
mind that python tracks everything by references, and 
reloading doesn't correct existing bindings.  If you recompile it 
is going to screw up existing function pointers in 
PyCFunction objects.  In the example below calling a() will 
probably end up executing random code or generting a 
memory fault.

>>> import select
>>> a = select.select

... imaginary recompile ...

>>> reload(select)
<module 'select' from 'C:\Python24\DLLs\select.pyd'>
>>> b = select.select
>>> id(a)
18165472
>>> id(b)
18165476
>>> a() #BOOM!
History
Date User Action Args
2008-01-20 09:57:31adminlinkissue1144263 messages
2008-01-20 09:57:31admincreate