[docs] [issue29751] PyLong_FromString fails on decimals with leading zero and base=0
Mark Dickinson
report at bugs.python.org
Wed Mar 8 03:47:57 EST 2017
Mark Dickinson added the comment:
Yes, PyLong_FromString is directly used by the implementation of int, and is also used in parsing of numeric integer literals in source:
https://github.com/python/cpython/blob/cb41b2766de646435743b6af7dd152751b54e73f/Python/ast.c#L4084
So I agree that this is a documentation bug. There's also no mention of the support for underscores in the documentation.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29751>
_______________________________________
More information about the docs
mailing list