Guido van Rossum added the comment:

I don't see a patch. And I think you cannot do this without compromising
correctness, since _PyUnicode_AsDefaultEncodedString() returns the
cached value without incrementing its refcount.  (The only refcount that
keeps it alive is the cache entry.)

----------
keywords:  -patch
nosy: +gvanrossum
priority: high -> normal
resolution:  -> rejected

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1651>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to