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 Jon.Shemitz, docs@python, r.david.murray, terry.reedy
Date 2014-02-21.22:53:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I agree that the tutorial should somewhere make it clear (possibly with a FAQ link) that int literals must be parenthesized or spaced before .name attribute access because <literal>.name is parsed as (<literal>.)name.

That is a consequence of float literals not requiring a fractional part (unlike some other languages).
Date User Action Args
2014-02-21 22:53:00terry.reedysetrecipients: + terry.reedy, r.david.murray, docs@python, Jon.Shemitz
2014-02-21 22:53:00terry.reedysetmessageid: <>
2014-02-21 22:53:00terry.reedylinkissue20692 messages
2014-02-21 22:53:00terry.reedycreate