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 gward
Recipients brett.cannon, gward, r.david.murray, serhiy.storchaka, terry.reedy
Date 2016-11-22.02:10:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1479780644.53.0.524928539782.issue28702@psf.upfronthosting.co.za>
In-reply-to
Content
> Is it worth changing about 800 places in CPython code? Not counting third-party code.

Definitely not. My aim is not to fix every possible reference to "instance of 'NoneType'", just the handful of cases that are most frequently encountered, especially if we think they are likely to be confusing to beginners. That's why I've only modified getting and setting attributes so far; I wanted to see what the cost/benefit is like.

Renaming 'NoneType' to 'None' sounds like a much easier approach, if it works. But then saying "instance of" + tp_name comes out weird. "Instance of NoneType" is confusing if technically accurate; "instance of None" is both confusing and technically inaccurate.

Hmmmm. Still mulling.
History
Date User Action Args
2016-11-22 02:10:44gwardsetrecipients: + gward, brett.cannon, terry.reedy, r.david.murray, serhiy.storchaka
2016-11-22 02:10:44gwardsetmessageid: <1479780644.53.0.524928539782.issue28702@psf.upfronthosting.co.za>
2016-11-22 02:10:44gwardlinkissue28702 messages
2016-11-22 02:10:43gwardcreate