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 terry.reedy
Recipients rhettinger, serhiy.storchaka, terry.reedy
Date 2016-06-12.17:06:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1465751187.83.0.639713205146.issue27025@psf.upfronthosting.co.za>
In-reply-to
Content
I based my opinion on trying to actually read and understand the output of tknames.py, with your patch done both ways, in a way that I would do in use.  Since class names always begin with upper case, it did not occur to me to read '1' as anything other than 'one'.  '0' is just as easily confused with 'O'.

In both cases, the resemblance depends on the font.  For the Lucida Console I use for IDLE, there is no internal marker dot or bar and O0 only differ slightly in shape.  In a mixed digits and caps string like '' I might have to type the two to be sure which is which.  On the other hand 1l are much more different, as 1 has a rather long horizontal serif while l has none.  Neither comments are true in the fixed font (Courier?) I see now in Firefox.

The semantic clash problem, which is the bigger problem for me, may be stronger for me as a native speaker.  I read '0Frame' and '1Frame' as 'zero Frame' and 'one Frame', not as arbitrary character sequences.  Being able to switch to semantic reading is the point of this issue.
History
Date User Action Args
2016-06-12 17:06:27terry.reedysetrecipients: + terry.reedy, rhettinger, serhiy.storchaka
2016-06-12 17:06:27terry.reedysetmessageid: <1465751187.83.0.639713205146.issue27025@psf.upfronthosting.co.za>
2016-06-12 17:06:27terry.reedylinkissue27025 messages
2016-06-12 17:06:27terry.reedycreate