[Python-Dev] sys.intern should work on bytes
PJ Eby
pje at telecommunity.com
Fri Sep 20 18:50:44 CEST 2013
More information about the Python-Dev mailing list
Fri Sep 20 18:50:44 CEST 2013
- Previous message: [Python-Dev] sys.intern should work on bytes
- Next message: [Python-Dev] sys.intern should work on bytes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Sep 20, 2013 at 9:54 AM, Jesus Cea <jcea at jcea.es> wrote: > Why str/bytes doesn't support weakrefs, beside memory use? The typical use case for weakrefs is to break reference cycles, but str and bytes can't *be* part of a reference cycle, so outside of interning-like use cases, there's no need for weakref support there.
- Previous message: [Python-Dev] sys.intern should work on bytes
- Next message: [Python-Dev] sys.intern should work on bytes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list