diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2002-04-19 14:29:47 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2002-04-19 14:29:47 (GMT) |
commit | a6aa71deec4694cdaf7ee3f72fbd2602335cd781 (patch) | |
tree | f9691d0466696cd6149d57eb297c4bd34b4c4b6f /Tools/bgen | |
parent | bbeb1e6d913025be7d16e0663b78b0208a66984d (diff) | |
download | cpython-a6aa71deec4694cdaf7ee3f72fbd2602335cd781.zip cpython-a6aa71deec4694cdaf7ee3f72fbd2602335cd781.tar.gz cpython-a6aa71deec4694cdaf7ee3f72fbd2602335cd781.tar.bz2 |
Oops: we used PyMem_DEL() to clean up objects, and that's a problem since
pymalloc, apparently. Fixed, but this means all bgen-generated modules will
have to be re-generated.
I hope (and expect) that the pymalloc fixes aren't bugfix candidates, because
if they are this is one too.
Diffstat (limited to 'Tools/bgen')
-rw-r--r-- | Tools/bgen/bgen/bgenObjectDefinition.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/bgen/bgen/bgenObjectDefinition.py b/Tools/bgen/bgen/bgenObjectDefinition.py index 71cf21d..87ae40f 100644 --- a/Tools/bgen/bgen/bgenObjectDefinition.py +++ b/Tools/bgen/bgen/bgenObjectDefinition.py @@ -123,7 +123,7 @@ class ObjectDefinition(GeneratorGroup): Output("static void %s_dealloc(%s *self)", self.prefix, self.objecttype) OutLbrace() self.outputCleanupStructMembers() - Output("PyMem_DEL(self);") + Output("PyObject_Del(self);") OutRbrace() def outputCleanupStructMembers(self): |