> Even if it is eventually decided not to backport those patches to 2.7,
> it would be nice if the documentation could be updated to indicate
> that strings passed to those functions won't be modified, so that API
> users like myself can feel a little safer when passing literals in,
> without having to trawl through the interpreter source to see if the
> arguments are modified.

Can you provide the proper patches?

In writing them, you can assume that Python never modifies parameters,
except when it is already documented that it does.

Regards,
Martin
_______________________________________________
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