Re: [Python-Dev] Enhancement of Python memory allocators

2013-06-12 Thread Nick Coghlan
On 13 Jun 2013 10:09, "Victor Stinner" wrote: > > 2013/6/13 Nick Coghlan : > > On 13 Jun 2013 09:09, "Victor Stinner" wrote: > >> Using this patch, detecting memory corruptions (buffer underflow and > >> overflow) can be done without recompilation. We may add an environment > >> variable to enabl

Re: [Python-Dev] [Python-checkins] cpython: Move test___all__ over to unittest.main() and use ModuleNotFoundError

2013-06-12 Thread Brett Cannon
Obviously the commit message is a little misleading since changes I was about to stage accidentally went in on this change. Sorry about that. Same basic concept of the changes, just to more modules. On Wed, Jun 12, 2013 at 8:12 PM, brett.cannon wrote: > http://hg.python.org/cpython/rev/c4d722842

Re: [Python-Dev] Enhancement of Python memory allocators

2013-06-12 Thread Victor Stinner
2013/6/13 Nick Coghlan : > On 13 Jun 2013 09:09, "Victor Stinner" wrote: >> Using this patch, detecting memory corruptions (buffer underflow and >> overflow) can be done without recompilation. We may add an environment >> variable to enable Python debug functions at runtime, example: >> PYDEBUGMAL

Re: [Python-Dev] Enhancement of Python memory allocators

2013-06-12 Thread Nick Coghlan
On 13 Jun 2013 09:09, "Victor Stinner" wrote: > > Hi, > > I would like to improve memory allocators of Python. My two use cases > are replacing memory allocators with custom allocators in embedded > system and hooking allocators to track usage of memory. > > I wrote a patch for this, I'm going to

[Python-Dev] Enhancement of Python memory allocators

2013-06-12 Thread Victor Stinner
Hi, I would like to improve memory allocators of Python. My two use cases are replacing memory allocators with custom allocators in embedded system and hooking allocators to track usage of memory. I wrote a patch for this, I'm going to commit it if nobody complains: http://bugs.python.org/issue33