diff options
author | Matti Picus <matti.picus@gmail.com> | 2022-11-21 19:14:55 +0200 |
---|---|---|
committer | Matti Picus <matti.picus@gmail.com> | 2022-11-21 19:14:55 +0200 |
commit | 9b1303310efba359b39aead5e3311bea1dd60699 (patch) | |
tree | eba4ae8dabb4c4b84386729e4fab7cf3bbbf3fb8 /lib-python/3 | |
parent | make this rc1 (diff) | |
parent | merge default, including the changes done long ago in 8eb1cf456a46 that were (diff) | |
download | pypy-release-pypy3.8-v7.3.10rc2.tar.gz pypy-release-pypy3.8-v7.3.10rc2.tar.bz2 pypy-release-pypy3.8-v7.3.10rc2.zip |
merge py3.8 into the releaserelease-pypy3.8-v7.3.10rc2release-pypy3.8-v7.3.10rc1
Diffstat (limited to 'lib-python/3')
-rw-r--r-- | lib-python/3/warnings.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib-python/3/warnings.py b/lib-python/3/warnings.py index 691ccddfa4..758ec97f71 100644 --- a/lib-python/3/warnings.py +++ b/lib-python/3/warnings.py @@ -532,6 +532,10 @@ except ImportError: _filters_version += 1 _warnings_defaults = False +else: + # the del is for pypy's celldict: make the globals "never mutated" ones + del warn, warn_explicit + from _warnings import (warn, warn_explicit) # Module initialization |