diff options
| author | Jason Madden <jamadden@gmail.com> | 2020-11-18 06:27:13 -0600 |
|---|---|---|
| committer | Jason Madden <jamadden@gmail.com> | 2020-11-18 06:27:13 -0600 |
| commit | 3af5e994b9782c0c91d0ad9c575ef72655a23664 (patch) | |
| tree | a7fed4cec69b1c5208495c96f4b6e6d7b92c6cd6 /src/greenlet/__init__.py | |
| parent | 34ee3cbe99983d192c1a28abecfa62c5eb409eb7 (diff) | |
| download | greenlet-issue207.tar.gz | |
Always complie with support for tracing, garbage collection and contextvars (where applicable).issue207
Remove undocumented compiler macros that let those things be switched off; they were never tested.
Fixes #207
Diffstat (limited to 'src/greenlet/__init__.py')
| -rw-r--r-- | src/greenlet/__init__.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/greenlet/__init__.py b/src/greenlet/__init__.py index c12e060..11f4de3 100644 --- a/src/greenlet/__init__.py +++ b/src/greenlet/__init__.py @@ -53,7 +53,9 @@ except ImportError: ### # Constants -# These constants aren't documented and aren't recommended +# These constants aren't documented and aren't recommended. +# In 1.0, USE_GC and USE_TRACING are always true, and USE_CONTEXT_VARS +# is the same as ``sys.version_info[:2] >= 3.7`` ### from ._greenlet import GREENLET_USE_CONTEXT_VARS # pylint:disable=unused-import from ._greenlet import GREENLET_USE_GC # pylint:disable=unused-import |
