[Python-bugs-list] [ python-Bugs-694816 ] comparing unsigned value if < 0 (in unicodedata)
SourceForge.net
noreply@sourceforge.net
Thu, 27 Feb 2003 19:25:10 -0800
Bugs item #694816, was opened at 2003-02-27 22:08
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=694816&group_id=5470
Category: Extension Modules
Group: Python 2.3
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Neal Norwitz (nnorwitz)
Assigned to: Neal Norwitz (nnorwitz)
Summary: comparing unsigned value if < 0 (in unicodedata)
Initial Comment:
Modules/unicodedata.c, Line = 36
Modules/unicodedata.c, Line = 261
It seems the code < 0 condition can be safely removed
since it should always be false.
This problem was from bug #690012.
----------------------------------------------------------------------
>Comment By: Neal Norwitz (nnorwitz)
Date: 2003-02-27 22:25
Message:
Logged In: YES
user_id=33168
Checked in as: Modules/unicodedata.c 2.28.
----------------------------------------------------------------------
Comment By: Tim Peters (tim_one)
Date: 2003-02-27 22:14
Message:
Logged In: YES
user_id=31435
Assigned back to you: feel free to remove the useless
code! I vaguely remember this, and IIRC there *used* to
be a possibility for 'code' to be of a signed type; there isn't
anymore.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=694816&group_id=5470