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.

classification
Title: Fxn call in _elementtree.c has incorrect signedness
Type: Stage:
Components: Extension Modules Versions: Python 2.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: effbot Nosy List: brett.cannon, effbot
Priority: normal Keywords:

Created on 2005-12-24 23:35 by brett.cannon, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (1)
msg27143 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2005-12-24 23:35
Line 2149 in Modules/_elementtree.c calls
PyUnicode_Decode() with an array of ``unsigned char``
while the definition of the function in
Objects/unicodeobject.c has the argument as ``const
char *``.

Here is the relevant output from the build:

/Users/drifty/Code/Trees/svn/python/trunk/Modules/_elementtree.c:
In function 'expat_unknown_encoding_handler':
/Users/drifty/Code/Trees/svn/python/trunk/Modules/_elementtree.c:2149:
warning: pointer targets in passing argument 1 of
'PyUnicodeUCS2_Decode' differ in signedness
History
Date User Action Args
2022-04-11 14:56:14adminsetgithub: 42726
2005-12-24 23:35:50brett.cannoncreate