On 21/09/2018 16.26, Guido van Rossum wrote: >> What about the small integers cache? > > I believe the small integers cache is only used to reduce the number of > objects -- I don't think there's any code (in CPython itself) that just > *assumes* that because an int is small it must be in the cache. So it > should be fine. Some places may assume that PyLong_FromLong() for a small int never fails. I certainly expect this in coverity scan modeling. Christian
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4