diff options
author | shadchin <shadchin@yandex-team.ru> | 2022-04-18 12:39:32 +0300 |
---|---|---|
committer | shadchin <shadchin@yandex-team.ru> | 2022-04-18 12:39:32 +0300 |
commit | d4be68e361f4258cf0848fc70018dfe37a2acc24 (patch) | |
tree | 153e294cd97ac8b5d7a989612704a0c1f58e8ad4 /contrib/libs/python | |
parent | 260c02f5ccf242d9d9b8a873afaf6588c00237d6 (diff) | |
download | ydb-d4be68e361f4258cf0848fc70018dfe37a2acc24.tar.gz |
IGNIETFERRO-1816 Update Python 3 from 3.9.12 to 3.10.4
ref:9f96be6d02ee8044fdd6f124b799b270c20ce641
Diffstat (limited to 'contrib/libs/python')
22 files changed, 70 insertions, 14 deletions
diff --git a/contrib/libs/python/Include/Python-ast.h b/contrib/libs/python/Include/Python-ast.h index 7628fd5a2a..488b102d43 100644 --- a/contrib/libs/python/Include/Python-ast.h +++ b/contrib/libs/python/Include/Python-ast.h @@ -1,7 +1,7 @@ #pragma once #ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/Python-ast.h> +#error "No <Python-ast.h> in Python3" #else #include <contrib/tools/python/src/Include/Python-ast.h> #endif diff --git a/contrib/libs/python/Include/asdl.h b/contrib/libs/python/Include/asdl.h index 2f73d8ca48..445c6f4429 100644 --- a/contrib/libs/python/Include/asdl.h +++ b/contrib/libs/python/Include/asdl.h @@ -1,7 +1,7 @@ #pragma once #ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/asdl.h> +#error "No <asdl.h> in Python3" #else #include <contrib/tools/python/src/Include/asdl.h> #endif diff --git a/contrib/libs/python/Include/ast.h b/contrib/libs/python/Include/ast.h index 124a7c1497..b093182661 100644 --- a/contrib/libs/python/Include/ast.h +++ b/contrib/libs/python/Include/ast.h @@ -1,7 +1,7 @@ #pragma once #ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/ast.h> +#error "No <ast.h> in Python3" #else #include <contrib/tools/python/src/Include/ast.h> #endif diff --git a/contrib/libs/python/Include/bitset.h b/contrib/libs/python/Include/bitset.h index 7e7a26c769..35c9fbd35d 100644 --- a/contrib/libs/python/Include/bitset.h +++ b/contrib/libs/python/Include/bitset.h @@ -1,7 +1,7 @@ #pragma once #ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/bitset.h> +#error "No <bitset.h> in Python3" #else #include <contrib/tools/python/src/Include/bitset.h> #endif diff --git a/contrib/libs/python/Include/cpython/compile.h b/contrib/libs/python/Include/cpython/compile.h new file mode 100644 index 0000000000..0d370cd34c --- /dev/null +++ b/contrib/libs/python/Include/cpython/compile.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/src/Include/cpython/compile.h> +#else +#error "No <cpython/compile.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/odictobject.h b/contrib/libs/python/Include/cpython/odictobject.h new file mode 100644 index 0000000000..c771a6356d --- /dev/null +++ b/contrib/libs/python/Include/cpython/odictobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/src/Include/cpython/odictobject.h> +#else +#error "No <cpython/odictobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/picklebufobject.h b/contrib/libs/python/Include/cpython/picklebufobject.h new file mode 100644 index 0000000000..d457ccd624 --- /dev/null +++ b/contrib/libs/python/Include/cpython/picklebufobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/src/Include/cpython/picklebufobject.h> +#else +#error "No <cpython/picklebufobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/pyctype.h b/contrib/libs/python/Include/cpython/pyctype.h new file mode 100644 index 0000000000..3421de4640 --- /dev/null +++ b/contrib/libs/python/Include/cpython/pyctype.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/src/Include/cpython/pyctype.h> +#else +#error "No <cpython/pyctype.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/pydebug.h b/contrib/libs/python/Include/cpython/pydebug.h new file mode 100644 index 0000000000..3bae670eba --- /dev/null +++ b/contrib/libs/python/Include/cpython/pydebug.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/src/Include/cpython/pydebug.h> +#else +#error "No <cpython/pydebug.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/pyfpe.h b/contrib/libs/python/Include/cpython/pyfpe.h new file mode 100644 index 0000000000..2a38891fb0 --- /dev/null +++ b/contrib/libs/python/Include/cpython/pyfpe.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/src/Include/cpython/pyfpe.h> +#else +#error "No <cpython/pyfpe.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/pythonrun.h b/contrib/libs/python/Include/cpython/pythonrun.h new file mode 100644 index 0000000000..cfc5384957 --- /dev/null +++ b/contrib/libs/python/Include/cpython/pythonrun.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/src/Include/cpython/pythonrun.h> +#else +#error "No <cpython/pythonrun.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/cpython/pytime.h b/contrib/libs/python/Include/cpython/pytime.h new file mode 100644 index 0000000000..9cc64908d4 --- /dev/null +++ b/contrib/libs/python/Include/cpython/pytime.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3 +#include <contrib/tools/python3/src/Include/cpython/pytime.h> +#else +#error "No <cpython/pytime.h> in Python2" +#endif diff --git a/contrib/libs/python/Include/graminit.h b/contrib/libs/python/Include/graminit.h index 4b0a5e1a38..3b23525aba 100644 --- a/contrib/libs/python/Include/graminit.h +++ b/contrib/libs/python/Include/graminit.h @@ -1,7 +1,7 @@ #pragma once #ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/graminit.h> +#error "No <graminit.h> in Python3" #else #include <contrib/tools/python/src/Include/graminit.h> #endif diff --git a/contrib/libs/python/Include/grammar.h b/contrib/libs/python/Include/grammar.h index d425d1bd75..947710d0bc 100644 --- a/contrib/libs/python/Include/grammar.h +++ b/contrib/libs/python/Include/grammar.h @@ -1,7 +1,7 @@ #pragma once #ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/grammar.h> +#error "No <grammar.h> in Python3" #else #include <contrib/tools/python/src/Include/grammar.h> #endif diff --git a/contrib/libs/python/Include/node.h b/contrib/libs/python/Include/node.h index 0f859f8f9e..55918431b5 100644 --- a/contrib/libs/python/Include/node.h +++ b/contrib/libs/python/Include/node.h @@ -1,7 +1,7 @@ #pragma once #ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/node.h> +#error "No <node.h> in Python3" #else #include <contrib/tools/python/src/Include/node.h> #endif diff --git a/contrib/libs/python/Include/parsetok.h b/contrib/libs/python/Include/parsetok.h index 5bf491e907..2fbb0c3928 100644 --- a/contrib/libs/python/Include/parsetok.h +++ b/contrib/libs/python/Include/parsetok.h @@ -1,7 +1,7 @@ #pragma once #ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/parsetok.h> +#error "No <parsetok.h> in Python3" #else #include <contrib/tools/python/src/Include/parsetok.h> #endif diff --git a/contrib/libs/python/Include/pyarena.h b/contrib/libs/python/Include/pyarena.h index 79e39eba83..6466c2f269 100644 --- a/contrib/libs/python/Include/pyarena.h +++ b/contrib/libs/python/Include/pyarena.h @@ -1,7 +1,7 @@ #pragma once #ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/pyarena.h> +#error "No <pyarena.h> in Python3" #else #include <contrib/tools/python/src/Include/pyarena.h> #endif diff --git a/contrib/libs/python/Include/pyctype.h b/contrib/libs/python/Include/pyctype.h index 8b25c6e4ee..ec116469ab 100644 --- a/contrib/libs/python/Include/pyctype.h +++ b/contrib/libs/python/Include/pyctype.h @@ -1,7 +1,7 @@ #pragma once #ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/pyctype.h> +#error "No <pyctype.h> in Python3" #else #include <contrib/tools/python/src/Include/pyctype.h> #endif diff --git a/contrib/libs/python/Include/pydebug.h b/contrib/libs/python/Include/pydebug.h index 5619b0b907..c20724196b 100644 --- a/contrib/libs/python/Include/pydebug.h +++ b/contrib/libs/python/Include/pydebug.h @@ -1,7 +1,7 @@ #pragma once #ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/pydebug.h> +#error "No <pydebug.h> in Python3" #else #include <contrib/tools/python/src/Include/pydebug.h> #endif diff --git a/contrib/libs/python/Include/pyfpe.h b/contrib/libs/python/Include/pyfpe.h index b9ee7aa43f..bafbbb8cf3 100644 --- a/contrib/libs/python/Include/pyfpe.h +++ b/contrib/libs/python/Include/pyfpe.h @@ -1,7 +1,7 @@ #pragma once #ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/pyfpe.h> +#error "No <pyfpe.h> in Python3" #else #include <contrib/tools/python/src/Include/pyfpe.h> #endif diff --git a/contrib/libs/python/Include/symtable.h b/contrib/libs/python/Include/symtable.h index 5522056670..fae7e1ddc4 100644 --- a/contrib/libs/python/Include/symtable.h +++ b/contrib/libs/python/Include/symtable.h @@ -1,7 +1,7 @@ #pragma once #ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/symtable.h> +#error "No <symtable.h> in Python3" #else #include <contrib/tools/python/src/Include/symtable.h> #endif diff --git a/contrib/libs/python/Include/ucnhash.h b/contrib/libs/python/Include/ucnhash.h index 42412a87b4..ca9760af1f 100644 --- a/contrib/libs/python/Include/ucnhash.h +++ b/contrib/libs/python/Include/ucnhash.h @@ -1,7 +1,7 @@ #pragma once #ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/ucnhash.h> +#error "No <ucnhash.h> in Python3" #else #include <contrib/tools/python/src/Include/ucnhash.h> #endif |