This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients inglesp, r.david.murray, rhettinger, vstinner
Date 2016-11-22.22:51:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1479855085.89.0.912253629267.issue28776@psf.upfronthosting.co.za>
In-reply-to
Content
It isn't ignored.  The first definition is entered into the class dictionary, then the second definition replaces it.  That's why Victor talked about redefining a method, because that's what happens.  You can't really disentangle the two cases except by source inspection (a linter).  In the parameter list case, the parser has the information it needs to detect it in hand, and more importantly there is no meaning to "replacing" a parameter, so we can and do generate an error in that case.
History
Date User Action Args
2016-11-22 22:51:25r.david.murraysetrecipients: + r.david.murray, rhettinger, vstinner, inglesp
2016-11-22 22:51:25r.david.murraysetmessageid: <1479855085.89.0.912253629267.issue28776@psf.upfronthosting.co.za>
2016-11-22 22:51:25r.david.murraylinkissue28776 messages
2016-11-22 22:51:25r.david.murraycreate