[Patches] [ python-Patches-1266570 ] PEP 349: allow str() to return unicode

SourceForge.net noreply at sourceforge.net
Mon Aug 22 22:54:30 CEST 2005


Patches item #1266570, was opened at 2005-08-22 20:54
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1266570&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Neil Schemenauer (nascheme)
Assigned to: Nobody/Anonymous (nobody)
Summary: PEP 349: allow str() to return unicode

Initial Comment:
The patch implements PEP 349: "Allow str() to return
unicode strings".  The backwards compatibility problems
appear to be rare.  Hopefully more people can test
their applications.  I'm not very happy with the new
function named PyString_New since it really belongs in
Python/object.c, not stringobject.c.  However, I can't
think of a better name.  I think it should be made
available to extension modules somehow so _PyObject_Str
is no good.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1266570&group_id=5470


More information about the Patches mailing list