On Wed, Feb 13, 2013 at 11:17 PM, Greg Ewing
<greg.ew...@canterbury.ac.nz> wrote:
> Steven D'Aprano wrote:
>>
>> The documentation for strings is also clear that you should not rely on
>> this
>> optimization:
>>
>> ...
>
>>
>>
>> It
>> can, and does, fail on CPython as well, as it is sensitive to memory
>> allocation details.
>
>
> If it's that unreliable, why was it ever implemented
> in the first place?
>

Because someone thought it's a good idea probably and other people
asked for a review said +1 :)
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to