From 1062f1a493d23389a74a94a6704a7010541c9e7e Mon Sep 17 00:00:00 2001 From: joamag Date: Tue, 12 Nov 2019 16:59:01 +0000 Subject: [PATCH] New validation in legacy --- src/quorum/legacy.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/quorum/legacy.py b/src/quorum/legacy.py index 130839ca..3aa0f15d 100644 --- a/src/quorum/legacy.py +++ b/src/quorum/legacy.py @@ -108,6 +108,11 @@ def ctx_absolute(): interpreter support the async/await syntax responsible for the easy to use async methods """ +PYTHON_ASYNC_GEN = sys.version_info[0] >= 3 and sys.version_info[1] >= 6 +""" Global variable that defines if the current Python +interpreter support the async/await generator syntax +responsible for the async generator methods """ + PYTHON_V = int("".join([str(v) for v in sys.version_info[:3]])) """ The Python version integer describing the version of a the interpreter as a set of three integer digits """