how to create instances of classes without calling the constructor?
Dominik Jain
removetoreply.djain at gmx.net
Mon Mar 17 20:08:45 EDT 2008
Hi!
Does anyone know how an instance of a (new-style) class can be created
without having to call the constructor (and providing the arguments it
requires)? With old-style classes, this was possible using new.instance.
Surely there must be a simple way to do this with new-style classes, too --
or else how does pickle manage?
Best,
Dominik
More information about the Python-list
mailing list