[Python-Dev] Two design questions (original) (raw)

Georg Brandl g.brandl at gmx.net
Mon Mar 19 20:10:32 CET 2007


I'd like to have opinions on two issues:

Patch #1682205: suggests to remove code that catches a TypeError and raises one with a different message if it occurs during iterable unpacking. This can mask completely unrelated TypeErrors, while the message in the case that the new error describes is already clear enough.

Bug #1683368: object.new rejects arguments if self.class.init is object.init. Why not simply let object.init do the argument checking itself?

Georg



More information about the Python-Dev mailing list