2009/8/31 xiaobing jiang <s7v7nisla...@gmail.com>: > My idea is: here, the two functions (or maybe classes) should have the > same behavior). > so is this a bug or something I missing ?
I think they should both not check their arguments in __init__ to allow for duck typing. -- Regards, Benjamin _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com