[issue21909] PyLong_FromString drops const

Hristo Venev report at bugs.python.org
Thu Jul 3 09:09:19 CEST 2014


New submission from Hristo Venev:

PyObject* PyLong_FromString(const char *str, char **pend, int base)

pend should be const char**

I think casting const away when not required should be a crime punishable by imprisonment.

----------
messages: 222152
nosy: h.venev
priority: normal
severity: normal
status: open
title: PyLong_FromString drops const

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21909>
_______________________________________


More information about the Python-bugs-list mailing list