[New-bugs-announce] [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>

More information about the New-bugs-announce mailing list