Context manager to increase a recursionlimit.
Project description
increase_recursionlimit
Context manager to increase the recursion limit temporarily.
from increase_recursionlimit import increase_recursionlimit
with increase_recursionlimit(10000):
# do something that requires a higher recursion limit
pass
If you don't pass a value to increase_recursionlimit
, it will increase the recursion limit to 2^31 - 1,
the maximum value allowed by Python.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file increase-recursionlimit-1.0.0.tar.gz
.
File metadata
- Download URL: increase-recursionlimit-1.0.0.tar.gz
- Upload date:
- Size: 1.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.65.0 CPython/3.8.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d055839fff8aba60486e2c629642dd2a0459b230da0d552022ec6d5816901427 |
|
MD5 | 04e13b66393ba251909e4efe4f60f26d |
|
BLAKE2b-256 | 1e16af411afc5e838e3afb7842adaf2ebec3c531561d7440767ca8fee68bc86b |