Re: [Python-Dev] module shutdown procedure

2010-07-22 Thread Stefan Behnel
Georg Brandl, 22.07.2010 16:13: Am 22.07.2010 13:29, schrieb Antoine Pitrou: Le jeudi 22 juillet 2010 à 07:23 -0500, Benjamin Peterson a écrit : 2010/7/22 Antoine Pitrou: Brett Cannon wrote: Basically the whole setting a module's globals to None was done before gc came into the language. Now

Re: [Python-Dev] module shutdown procedure

2010-07-22 Thread Neil Schemenauer
Georg Brandl wrote: > Am 22.07.2010 13:29, schrieb Antoine Pitrou: >> Is it the reason why? With the new module creation API in 3.x, extension >> modules should be able to handle deletion of their own internal >> resources. > > Yes, but as Martin noted at the summit, nobody since went through all

Re: [Python-Dev] module shutdown procedure

2010-07-22 Thread Georg Brandl
Am 22.07.2010 13:29, schrieb Antoine Pitrou: > Le jeudi 22 juillet 2010 à 07:23 -0500, Benjamin Peterson a écrit : >> 2010/7/22 Antoine Pitrou : >> > On Thu, 22 Jul 2010 08:51:57 +0100 >> > Brett Cannon wrote: >> >> >> >> That's an option. I just remember Tim bringing up something about that >> >>

Re: [Python-Dev] module shutdown procedure

2010-07-22 Thread Benjamin Peterson
2010/7/22 Antoine Pitrou : > Le jeudi 22 juillet 2010 à 07:23 -0500, Benjamin Peterson a écrit : >> 2010/7/22 Antoine Pitrou : >> > On Thu, 22 Jul 2010 08:51:57 +0100 >> > Brett Cannon wrote: >> >> >> >> That's an option. I just remember Tim bringing up something about that >> >> approach that did

Re: [Python-Dev] module shutdown procedure

2010-07-22 Thread Antoine Pitrou
Le jeudi 22 juillet 2010 à 07:23 -0500, Benjamin Peterson a écrit : > 2010/7/22 Antoine Pitrou : > > On Thu, 22 Jul 2010 08:51:57 +0100 > > Brett Cannon wrote: > >> > >> That's an option. I just remember Tim bringing up something about that > >> approach that didn't quite work as a complete replac