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 methane
Recipients brandtbucher, christian.heimes, malin, methane, serhiy.storchaka
Date 2022-03-25.02:15:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1648174516.17.0.355555726668.issue46864@roundup.psfhosted.org>
In-reply-to
Content
OK. Cache efficiency is dropped from motivations list.
Current motivations are:

* Memory saving (currently, 4 BytesObject (= 32 bytes of ob_shash) per code object.
* Make bytes objects immutable
  * Share objects among multi interpreters.
  * CoW efficiency.

I close this issue for now, because this issue is just for making direct access of ob_shash deprecated.

After Python 3.12 become beta, we will reconsider about we should remove ob_shash or keep it.
History
Date User Action Args
2022-03-25 02:15:16methanesetrecipients: + methane, christian.heimes, serhiy.storchaka, malin, brandtbucher
2022-03-25 02:15:16methanesetmessageid: <1648174516.17.0.355555726668.issue46864@roundup.psfhosted.org>
2022-03-25 02:15:16methanelinkissue46864 messages
2022-03-25 02:15:15methanecreate