Le 04/10/2011 23:41, Georg Brandl a écrit :
I don't understand this change. Why would you not always add "copied" once you
already have it? It seems to be the more correct version anyway.

If you use copied instead of seplen/itemlen, you suppose that the string has been overallocated in some cases, and that you have to resize the string (in-place or, more probably, with a copy).

Victor
_______________________________________________
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