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 vinay.sajip
Recipients Andras.Szalai, vinay.sajip
Date 2012-12-13.09:26:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1355390767.59.0.666648433412.issue16671@psf.upfronthosting.co.za>
In-reply-to
Content
> The sentinel starts with a _, which to a casual reader (me) suggests
> that it's a private implementation detail that I should not have to
> touch. (am I right on this?)

Python is a language for consenting adults, so nothing is off-limits, except that you need to know what you are doing when you make changes to internal attributes, and may not get support from the original author if something breaks. However, notice that I set it up as a class value which could be overridden at an instance level, rather than hard-coding None into the sentinel test. So, it *was* intended to be changed if needed, but it's more appropriate for a subclass to do that than a user of the class (not that a user is *forbidden* - that couldn't be enforced, anyway).
History
Date User Action Args
2012-12-13 09:26:07vinay.sajipsetrecipients: + vinay.sajip, Andras.Szalai
2012-12-13 09:26:07vinay.sajipsetmessageid: <1355390767.59.0.666648433412.issue16671@psf.upfronthosting.co.za>
2012-12-13 09:26:07vinay.sajiplinkissue16671 messages
2012-12-13 09:26:06vinay.sajipcreate