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 tim.peters
Recipients Dan Rose, mark.dickinson, methane, serhiy.storchaka, tim.peters, vstinner
Date 2018-07-12.04:58:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1531371490.0.0.56676864532.issue34100@psf.upfronthosting.co.za>
In-reply-to
Content
The language doesn't define anything about this - any program relying on accidental identity is in error itself.

Still, it's nice if a code object's co_consts vector is as short as reasonably possible.  That's a matter of pragmatics, not of correctness.
History
Date User Action Args
2018-07-12 04:58:10tim.peterssetrecipients: + tim.peters, mark.dickinson, vstinner, methane, serhiy.storchaka, Dan Rose
2018-07-12 04:58:10tim.peterssetmessageid: <1531371490.0.0.56676864532.issue34100@psf.upfronthosting.co.za>
2018-07-12 04:58:09tim.peterslinkissue34100 messages
2018-07-12 04:58:09tim.peterscreate