]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fixed unicode() to use the new API PyUnicode_FromEncodedObject().
authorMarc-André Lemburg <mal@egenix.com>
Fri, 7 Jul 2000 13:48:25 +0000 (13:48 +0000)
committerMarc-André Lemburg <mal@egenix.com>
Fri, 7 Jul 2000 13:48:25 +0000 (13:48 +0000)
commit1b1bcc993579e64d751dc75bc8521adb9e94c732
tree8c8da5d52c9f4f0298b35d47880d838e8fe96951
parent5a5c81a0e9550eaab92c9817259dee5a52f69871
Fixed unicode() to use the new API PyUnicode_FromEncodedObject().
This adds support for instance to the constructor (instances
have to define __str__ and can return Unicode objects via that
hook; string return values are decoded into Unicode using the
current default encoding).
Python/bltinmodule.c