Re: [Python-Dev] checking what atexit handlers are registered in Python 3

2013-02-11 Thread Barry Warsaw
On Feb 10, 2013, at 10:36 AM, Chris Withers wrote: >One rough edge I've hit: I see the atexit module has moved to be C-based and, >as far as I can tell, no longer allows you to introspect what atexit >functions have been registered. > >If I'm writing tests for code that registers atexit handlers,

[Python-Dev] checking what atexit handlers are registered in Python 3

2013-02-10 Thread Chris Withers
Hi All, I'm finally getting around to porting some of the packages I maintain over to Python 3. One rough edge I've hit: I see the atexit module has moved to be C-based and, as far as I can tell, no longer allows you to introspect what atexit functions have been registered. If I'm writing