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 benjamin.peterson
Recipients alexandre.vassalotti, benjamin.peterson, pitrou, rhettinger, serhiy.storchaka
Date 2016-09-08.21:29:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1473370176.52.0.990522492687.issue25856@psf.upfronthosting.co.za>
In-reply-to
Content
I think it's better not write into the type dict in a getter. You might just use PyUnicode_InternFromString every time.

FWIW, __name__ also has this behavior.
History
Date User Action Args
2016-09-08 21:29:36benjamin.petersonsetrecipients: + benjamin.peterson, rhettinger, pitrou, alexandre.vassalotti, serhiy.storchaka
2016-09-08 21:29:36benjamin.petersonsetmessageid: <1473370176.52.0.990522492687.issue25856@psf.upfronthosting.co.za>
2016-09-08 21:29:36benjamin.petersonlinkissue25856 messages
2016-09-08 21:29:36benjamin.petersoncreate