aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2021-02-26 11:37:16 +0100
committerArmin Rigo <arigo@tunes.org>2021-02-26 11:37:16 +0100
commit74468814be981ce9bb6dd842e69c7275b00cd9d4 (patch)
treea09e0f7b41b1fe03e1e19a33f9f4f8ba6f815f07
parentTest and fix for #3381 (diff)
downloadpypy-74468814be981ce9bb6dd842e69c7275b00cd9d4.tar.gz
pypy-74468814be981ce9bb6dd842e69c7275b00cd9d4.tar.bz2
pypy-74468814be981ce9bb6dd842e69c7275b00cd9d4.zip
Copy dummy constants from greenlet 1.0.0
-rw-r--r--lib_pypy/greenlet.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib_pypy/greenlet.py b/lib_pypy/greenlet.py
index 4c25e4986b..83add812cf 100644
--- a/lib_pypy/greenlet.py
+++ b/lib_pypy/greenlet.py
@@ -4,6 +4,13 @@ import _continuation
__version__ = "0.4.13"
# ____________________________________________________________
+# Constants from greenlet 1.0.0
+
+GREENLET_USE_GC = True
+GREENLET_USE_TRACING = True
+GREENLET_USE_CONTEXT_VARS = False
+
+# ____________________________________________________________
# Exceptions
class GreenletExit(BaseException):