[Python-Dev] Memory management in the AST parser & compiler

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Nov 29 23:52:21 CET 2005


Neal Norwitz wrote:

> I'm mostly convinced that using PyObjects would be a good thing. 
> However, making the change isn't free as all the types need to be
> created and this is likely quite a bit of code.

Since they're all so similar, perhaps they could be
auto-generated by a fairly simple script?

(I'm being very careful not to suggest using Pyrex
for this, as I can appreciate the desire not to make
such a fundamental part of the core dependent on it!)

-- 
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg.ewing at canterbury.ac.nz	   +--------------------------------------+


More information about the Python-Dev mailing list