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 sgalal
Recipients docs@python, sgalal
Date 2019-07-15.20:39:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1563223183.58.0.391676175993.issue37599@roundup.psfhosted.org>
In-reply-to
Content
In current Python document (3.7 - 3.9) there is such statement in documentation of Integer Objects:

The current implementation keeps an array of integer objects for all integers between ``-5`` and ``256``, when you create an int in that range you actually just get back a reference to the existing object. So it should be possible to change the value of ``1``.  I suspect the behaviour of Python in this case is undefined. :-)

The last sentence is vague. It is irresponsible to write "I suspect" in documentation. And as the statements ahead has already clarified the sense that this is "a current implementation", the last sentence should be removed.
History
Date User Action Args
2019-07-15 20:39:43sgalalsetrecipients: + sgalal, docs@python
2019-07-15 20:39:43sgalalsetmessageid: <1563223183.58.0.391676175993.issue37599@roundup.psfhosted.org>
2019-07-15 20:39:43sgalallinkissue37599 messages
2019-07-15 20:39:43sgalalcreate