[issue29751] PyLong_FromString fails on decimals with leading zero and base=0
![](https://secure.gravatar.com/avatar/fa0f7819f1825f596b384c19aa7dcf33.jpg?s=120&d=mm&r=g)
March 8, 2017
8:47 a.m.
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/cb41b2766de646435743b6af7dd152751b54e... 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@bugs.python.org> <http://bugs.python.org/issue29751> _______________________________________
2896
Age (days ago)
2896
Last active (days ago)
0 comments
1 participants
participants (1)
-
Mark Dickinson