[issue39943] Meta: Clean up various issues in C internals
STINNER Victor
report at bugs.python.org
Mon Jun 1 13:24:49 EDT 2020
STINNER Victor <vstinner at python.org> added the comment:
If someone is interested, there is a one remaining compiler warning in frameobject.c which is likely easy to fix:
D:\a\cpython\cpython\Objects\frameobject.c(400,1): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
See https://bugs.python.org/issue40228#msg368383
---
Moreover, the following change introduced a warning in pythonrun.c:
D:\a\cpython\cpython\Python\pythonrun.c(579,21): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
commit 15bc9ab301d73f20bff47a12ef05326feb40f797
Author: Guido van Rossum <guido at python.org>
Date: Thu May 14 19:22:48 2020 -0700
bpo-40612: Fix SyntaxError edge cases in traceback formatting (GH-20072)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39943>
_______________________________________
More information about the Python-bugs-list
mailing list