]> granicus.if.org Git - python/commit
This patch adds a new builtin unistr() which behaves like str()
authorMarc-André Lemburg <mal@egenix.com>
Wed, 17 Jan 2001 17:09:53 +0000 (17:09 +0000)
committerMarc-André Lemburg <mal@egenix.com>
Wed, 17 Jan 2001 17:09:53 +0000 (17:09 +0000)
commitad7c98e264bbc9c84e911417c8770f6e95ffb794
tree7586edae78b019c6c2db46861da762083e0c3c8a
parentd5c43065d5aa7bd8b9ec67525bd01d2c09a7759f
This patch adds a new builtin unistr() which behaves like str()
except that it always returns Unicode objects.

A new C API PyObject_Unicode() is also provided.

This closes patch #101664.

Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum.
Doc/api/api.tex
Doc/lib/libfuncs.tex
Include/abstract.h
Include/object.h
Lib/test/output/test_builtin
Lib/test/test_b2.py
Misc/NEWS
Objects/object.c
Objects/unicodeobject.c
Python/bltinmodule.c