[Python-Dev] Odd new-style class new behavior (original) (raw)
Guido van Rossum guido@python.org
Sat, 30 Mar 2002 13:43:46 -0500
- Previous message: [Python-Dev] Odd new-style class __new__ behavior
- Next message: [Python-Dev] Weekly Python Bug/Patch Summary
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>>> d = {1:1} >>> d.init() >>> d {1: 1} >>> l = [1] >>> l.init() >>> l []
This is at least a little odd, I'd have said. Is this just a fluke of implementation?
Yes.
It's not like I really care, though.
Me neither.
--Guido van Rossum (home page: http://www.python.org/~guido/)
- Previous message: [Python-Dev] Odd new-style class __new__ behavior
- Next message: [Python-Dev] Weekly Python Bug/Patch Summary
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]