[Python-Dev] Object creation hook (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Jan 26 23:10:46 CET 2007


Kristján V. Jónsson wrote:

(I was a bit dismayed that I couldn't assign to object.init post-hoc from a python script, I'm fairly sure that is possible in Ruby :)

It wouldn't do you much good anyway, because no existing subclass of object having its own init method would call it.

-- Greg



More information about the Python-Dev mailing list