New submission from Raymond Hettinger <[EMAIL PROTECTED]>:

C:\py30>svn diff
Index: Python/traceback.c
===================================================================
--- Python/traceback.c  (revision 67476)
+++ Python/traceback.c  (working copy)
@@ -171,7 +171,7 @@
                if (!PyUnicode_Check(v))
                        continue;
                path = _PyUnicode_AsStringAndSize(v, &len);
-               if (len + 1 + taillen >= (Py_ssize_t)namelen - 1)
+               if (len + 1 + (Py_ssize_t)taillen >= (Py_ssize_t)namelen
- 1)
                        continue; /* Too long */
                strcpy(namebuf, path);
                if (strlen(namebuf) != len)

----------
assignee: barry
components: Interpreter Core
messages: 76781
nosy: barry, rhettinger
severity: normal
status: open
title: Fix signed/unsigned warning
type: compile error
versions: Python 3.0

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue4495>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to