On Jan 29, 11:50 am, exar...@twistedmatrix.com wrote:
> new.function and new.code will let you construct new objects with
> different values (and copying over whichever existing attributes you
> want to preserve).

unfortunately new is deprecated and dropped from 3.  i can't see how
the same functionality is available in the types module for 3 - am i
missing something obvious?

http://docs.python.org/library/new.html
http://docs.python.org/3.1/library/types.html#module-types

thanks,
andrew
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to