
Jan. 25, 2007
11 p.m.
On 1/25/07, tomer filiba <tomerfiliba@gmail.com> wrote:
On 1/25/07, Collin Winter <collinw@gmail.com> wrote:
How will e.g. classes be simplified? Can I simplify a dictionary with function objects for values? [snip] 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. Collin Winter