On 1/25/07, tomer filiba firstname.lastname@example.org wrote:
On 1/25/07, Collin Winter email@example.com wrote:
How will e.g. classes be simplified? Can I simplify a dictionary with function objects for values?
it's good you mentioned that, because it reminded me of something i forgot. for instance, code objects will be serialized by value, so you could actually pickle functions and classes.
Are you intending to simplify code objects to the co_* attributes? co_code is a string of interpreter-specific bytecode, which would be pretty much useless outside of a copy() function.
Whatever the scheme, it will need to take into account cell objects and globals.