➜

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.

作者 rhettinger
收信人 barry, rhettinger
日期 2008-12-02.20:53:07
SpamBayes Score 0.0019846624
Marked as misclassified 否
Message-id <1228251189.49.0.297492395281.issue4495@psf.upfronthosting.co.za>
In-reply-to
内容
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)
历史
日期 用户 动作 参数
2008-12-02 20:53:09rhettinger修改recipients: + rhettinger, barry
2008-12-02 20:53:09rhettinger修改messageid: <1228251189.49.0.297492395281.issue4495@psf.upfronthosting.co.za>
2008-12-02 20:53:08rhettinger链接issue4495 messages
2008-12-02 20:53:07rhettinger创建