A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-April/014406.html below:

[Python-Dev] Modifying the PyUnicode_FromUnicode result

[Python-Dev] Modifying the PyUnicode_FromUnicode result [Python-Dev] Modifying the PyUnicode_FromUnicode resultMartin v. Loewis martin@loewis.home.cs.tu-berlin.de
Sat, 21 Apr 2001 14:07:14 +0200
> This is true for the APIs in unicodeobject.c: as long as the newly
> created object hasn't "left" the Unicode implementation, the APIs
> in there are free to modify the otherwise immutable object.

That means that PyUnicode_FromUnicode does give a guarantee to return
a fresh object, right?

Then I cannot understand why it only gives this guarantee to callers
inside unicodeobject.c, and not to other callers...

Regards,
Martin



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4