Bug in New Style Classes

Alexander Schmolck a.schmolck at gmx.net
Fri Jun 18 16:49:37 CEST 2004


Michael Hudson <mwh at python.net> writes:

>> I see a recipe for disasters here, so that's why I thought the
>> developer removed the option of changing the bases.  That would be
>> understable. What I do not understand is why I cannot change the
>> __name__ of a function, what could possible go wrong with that??
>
> Beats me too!  Maybe it's because you haven't written a patch yet :-)

I seem to recall that it was possible but Guido removed it at some point
because he felt it was not needed (I've occasionally found this restriction to
be a minor annoyance).

'as



More information about the Python-list mailing list