[issue21909] PyLong_FromString drops const

2014-09-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: PyLong_FromString() is consistent with standard C functions strtol(), strtod(), etc. Changing pend's type to "const char**" is backward incompatible. -- nosy: +serhiy.storchaka resolution: -> not a bug stage: -> resolved status: open -> closed

[issue21909] PyLong_FromString drops const

2014-07-03 Thread Hristo Venev
Changes by Hristo Venev : -- components: +Interpreter Core type: -> security versions: +Python 3.4 ___ Python tracker ___ ___ Python-

[issue21909] PyLong_FromString drops const

2014-07-03 Thread Hristo Venev
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: nor