This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients mark.dickinson, paul.moore, scoder, steve.dower, tim.golden, zach.ware
Date 2018-10-21.09:49:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
> Is there a reason why CPython cannot store its compile time value for the PYLONG_BITS_IN_DIGIT setting somewhere?

There's PyLong_GetInfo [1], and at Python level, the corresponding sys.long_info (Python 2) / sys.int_info (Python 3). Does that help?





[1] https://github.com/python/cpython/blob/b2e2025941f6a4fdb716bd141d31acf720353d21/Objects/longobject.c#L5578-L5595
History
Date User Action Args
2018-10-21 09:49:37mark.dickinsonsetrecipients: + mark.dickinson, paul.moore, scoder, tim.golden, zach.ware, steve.dower
2018-10-21 09:49:37mark.dickinsonsetmessageid: <[email protected]>
2018-10-21 09:49:37mark.dickinsonlinkissue35037 messages
2018-10-21 09:49:37mark.dickinsoncreate