GNOME Bugzilla – Bug 170266
nullary constructors accept bogus arguments without complaint
Last modified: 2008-07-16 10:12:39 UTC
Version details: pygtk-2.6.0 Constructors that don't take any arguments will accept arguments of any type and number without complaint. This is unpythonic, and it would be better to give errors instead of simply ignoring them. Examples: >>> ec = gtk.EntryCompletion(1, 2, 3) >>> cell = gtk.CellRendererText(1, 2, 3)
Fixed in CVS HEAD. Thanks.