[Patches] [ python-Patches-1213831 ] Trivial typo in unicodedata._getcode

SourceForge.net noreply at sourceforge.net
Fri Jun 3 00:00:54 CEST 2005


Patches item #1213831, was opened at 2005-06-02 22:00
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=1213831&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: Darek Suchojad (dsuch)
Assigned to: Nobody/Anonymous (nobody)
Summary: Trivial typo in unicodedata._getcode

Initial Comment:
Hi,
I think there's a typo in unicodedata module's _getcode
function.
Line 823 (today's CVS build) should be 

if (L != -1 && V != -1 && T != -1 && pos-name == namelen) {

not 

if (V != -1 && V != -1 && T != -1 && pos-name == namelen) {

as in attached patch.

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

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


More information about the Patches mailing list