homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients barry, rhettinger
Date 2008年12月02日.20:53:07
SpamBayes Score 0.0019846624
Marked as misclassified No
Message-id <1228251189.49.0.297492395281.issue4495@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2008年12月02日 20:53:09rhettingersetrecipients: + rhettinger, barry
2008年12月02日 20:53:09rhettingersetmessageid: <1228251189.49.0.297492395281.issue4495@psf.upfronthosting.co.za>
2008年12月02日 20:53:08rhettingerlinkissue4495 messages
2008年12月02日 20:53:07rhettingercreate

AltStyle によって変換されたページ (->オリジナル) /