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 ammar2, asvetlov, docs@python, peteroupc, serhiy.storchaka, terry.reedy
Date 2020-01-31.19:57:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1580500671.94.0.242866240385.issue39391@roundup.psfhosted.org>
In-reply-to
Content
repr(f2) is not 'non-deterministic'.  If one runs it again for the same function object, one gets the same answer. It only changes when one starts over and creates a new function object with the same name but (usually) different id.

I think it appropriate that the default object representation include the object id.  It may help with debugging or other operations.

I agree that pydoc output with run-dependent ids may not be suitable for storage in version control.  Either remove or normalize them yourself or ask the pydoc developers to add an option to improve its output.

Reclosing.
History
Date User Action Args
2020-01-31 19:57:52terry.reedysetrecipients: + terry.reedy, asvetlov, docs@python, serhiy.storchaka, ammar2, peteroupc
2020-01-31 19:57:51terry.reedysetmessageid: <1580500671.94.0.242866240385.issue39391@roundup.psfhosted.org>
2020-01-31 19:57:51terry.reedylinkissue39391 messages
2020-01-31 19:57:51terry.reedycreate