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 abarry, eric.snow, lig, r.david.murray, rhettinger, zach.ware
Date 2015-10-08.01:06:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1444266371.71.0.772669113168.issue25315@psf.upfronthosting.co.za>
In-reply-to
Content
What I'm suggesting it would be worth adding to the source code is a simple comment before the class definition for OrderedDict that says "This Python code may be overridden by an accelerated version of this class."  The idea being to prevent confusion if someone is exploring the source code for learning purposes but discovers it doesn't match what python actually does.

If you read all the way through the class and realize that the import after it does the override, you don't need the comment...but a learner exploring the source code is exactly the kind of person who might miss that, either by doing experiments before reading through the whole class or missing the implication of the import.
History
Date User Action Args
2015-10-08 01:06:11r.david.murraysetrecipients: + r.david.murray, rhettinger, eric.snow, zach.ware, abarry, lig
2015-10-08 01:06:11r.david.murraysetmessageid: <1444266371.71.0.772669113168.issue25315@psf.upfronthosting.co.za>
2015-10-08 01:06:11r.david.murraylinkissue25315 messages
2015-10-08 01:06:11r.david.murraycreate