diff options
author | kuzmich321 <[email protected]> | 2025-08-04 21:11:07 +0300 |
---|---|---|
committer | kuzmich321 <[email protected]> | 2025-08-04 22:16:42 +0300 |
commit | 78b39e84c02a1fe198c07279e3ad46245fa09981 (patch) | |
tree | 891c70e3d96264a4ad19b700c53f8b05e3df84c3 /contrib/libs/python/Include_prev/cpython | |
parent | d1486eddc9e9da29f76c1fae5550805eec939482 (diff) |
add DUSE_PYTHON3_PREV support
commit_hash:b2e89d949d9560889cc979429e8fa79494368f76
Diffstat (limited to 'contrib/libs/python/Include_prev/cpython')
50 files changed, 350 insertions, 0 deletions
diff --git a/contrib/libs/python/Include_prev/cpython/abstract.h b/contrib/libs/python/Include_prev/cpython/abstract.h new file mode 100644 index 00000000000..a77ea8b16fe --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/abstract.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/abstract.h> +#else +#error "No <cpython/abstract.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/bytearrayobject.h b/contrib/libs/python/Include_prev/cpython/bytearrayobject.h new file mode 100644 index 00000000000..c0f4323d596 --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/bytearrayobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/bytearrayobject.h> +#else +#error "No <cpython/bytearrayobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/bytesobject.h b/contrib/libs/python/Include_prev/cpython/bytesobject.h new file mode 100644 index 00000000000..26b1adffb70 --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/bytesobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/bytesobject.h> +#else +#error "No <cpython/bytesobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/cellobject.h b/contrib/libs/python/Include_prev/cpython/cellobject.h new file mode 100644 index 00000000000..44cd1ee544c --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/cellobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/cellobject.h> +#else +#error "No <cpython/cellobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/ceval.h b/contrib/libs/python/Include_prev/cpython/ceval.h new file mode 100644 index 00000000000..7918753a37e --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/ceval.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/ceval.h> +#else +#error "No <cpython/ceval.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/classobject.h b/contrib/libs/python/Include_prev/cpython/classobject.h new file mode 100644 index 00000000000..7a665a23611 --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/classobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/classobject.h> +#else +#error "No <cpython/classobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/code.h b/contrib/libs/python/Include_prev/cpython/code.h new file mode 100644 index 00000000000..0c510c6ca72 --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/code.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/code.h> +#else +#error "No <cpython/code.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/compile.h b/contrib/libs/python/Include_prev/cpython/compile.h new file mode 100644 index 00000000000..180e79003b7 --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/compile.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/compile.h> +#else +#error "No <cpython/compile.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/complexobject.h b/contrib/libs/python/Include_prev/cpython/complexobject.h new file mode 100644 index 00000000000..1213573e003 --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/complexobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/complexobject.h> +#else +#error "No <cpython/complexobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/context.h b/contrib/libs/python/Include_prev/cpython/context.h new file mode 100644 index 00000000000..b7da75eddfc --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/context.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/context.h> +#else +#error "No <cpython/context.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/descrobject.h b/contrib/libs/python/Include_prev/cpython/descrobject.h new file mode 100644 index 00000000000..0728d423f15 --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/descrobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/descrobject.h> +#else +#error "No <cpython/descrobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/dictobject.h b/contrib/libs/python/Include_prev/cpython/dictobject.h new file mode 100644 index 00000000000..d14a32ae020 --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/dictobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/dictobject.h> +#else +#error "No <cpython/dictobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/fileobject.h b/contrib/libs/python/Include_prev/cpython/fileobject.h new file mode 100644 index 00000000000..1e706a8d8ee --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/fileobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/fileobject.h> +#else +#error "No <cpython/fileobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/fileutils.h b/contrib/libs/python/Include_prev/cpython/fileutils.h new file mode 100644 index 00000000000..b25f3764094 --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/fileutils.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/fileutils.h> +#else +#error "No <cpython/fileutils.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/floatobject.h b/contrib/libs/python/Include_prev/cpython/floatobject.h new file mode 100644 index 00000000000..eb8bb8641b7 --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/floatobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/floatobject.h> +#else +#error "No <cpython/floatobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/frameobject.h b/contrib/libs/python/Include_prev/cpython/frameobject.h new file mode 100644 index 00000000000..34e82dfa6e2 --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/frameobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/frameobject.h> +#else +#error "No <cpython/frameobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/funcobject.h b/contrib/libs/python/Include_prev/cpython/funcobject.h new file mode 100644 index 00000000000..0a72be828bd --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/funcobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/funcobject.h> +#else +#error "No <cpython/funcobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/genobject.h b/contrib/libs/python/Include_prev/cpython/genobject.h new file mode 100644 index 00000000000..02d6491452f --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/genobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/genobject.h> +#else +#error "No <cpython/genobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/import.h b/contrib/libs/python/Include_prev/cpython/import.h new file mode 100644 index 00000000000..75f14bd301e --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/import.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/import.h> +#else +#error "No <cpython/import.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/initconfig.h b/contrib/libs/python/Include_prev/cpython/initconfig.h new file mode 100644 index 00000000000..e02d64a6446 --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/initconfig.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/initconfig.h> +#else +#error "No <cpython/initconfig.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/interpreteridobject.h b/contrib/libs/python/Include_prev/cpython/interpreteridobject.h new file mode 100644 index 00000000000..5f7825eb29d --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/interpreteridobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/interpreteridobject.h> +#else +#error "No <cpython/interpreteridobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/listobject.h b/contrib/libs/python/Include_prev/cpython/listobject.h new file mode 100644 index 00000000000..6db834fe335 --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/listobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/listobject.h> +#else +#error "No <cpython/listobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/longintrepr.h b/contrib/libs/python/Include_prev/cpython/longintrepr.h new file mode 100644 index 00000000000..c8a2382ee56 --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/longintrepr.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/longintrepr.h> +#else +#error "No <cpython/longintrepr.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/longobject.h b/contrib/libs/python/Include_prev/cpython/longobject.h new file mode 100644 index 00000000000..643f6d4d86c --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/longobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/longobject.h> +#else +#error "No <cpython/longobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/memoryobject.h b/contrib/libs/python/Include_prev/cpython/memoryobject.h new file mode 100644 index 00000000000..cb95e677567 --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/memoryobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/memoryobject.h> +#else +#error "No <cpython/memoryobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/methodobject.h b/contrib/libs/python/Include_prev/cpython/methodobject.h new file mode 100644 index 00000000000..9976bf8958e --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/methodobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/methodobject.h> +#else +#error "No <cpython/methodobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/modsupport.h b/contrib/libs/python/Include_prev/cpython/modsupport.h new file mode 100644 index 00000000000..697a347b445 --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/modsupport.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/modsupport.h> +#else +#error "No <cpython/modsupport.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/object.h b/contrib/libs/python/Include_prev/cpython/object.h new file mode 100644 index 00000000000..87922ad8fd2 --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/object.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/object.h> +#else +#error "No <cpython/object.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/objimpl.h b/contrib/libs/python/Include_prev/cpython/objimpl.h new file mode 100644 index 00000000000..19fb9b590a8 --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/objimpl.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/objimpl.h> +#else +#error "No <cpython/objimpl.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/odictobject.h b/contrib/libs/python/Include_prev/cpython/odictobject.h new file mode 100644 index 00000000000..0df555558b4 --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/odictobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/odictobject.h> +#else +#error "No <cpython/odictobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/picklebufobject.h b/contrib/libs/python/Include_prev/cpython/picklebufobject.h new file mode 100644 index 00000000000..e7ee5847321 --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/picklebufobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/picklebufobject.h> +#else +#error "No <cpython/picklebufobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/pthread_stubs.h b/contrib/libs/python/Include_prev/cpython/pthread_stubs.h new file mode 100644 index 00000000000..f3376502e42 --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/pthread_stubs.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/pthread_stubs.h> +#else +#error "No <cpython/pthread_stubs.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/pyctype.h b/contrib/libs/python/Include_prev/cpython/pyctype.h new file mode 100644 index 00000000000..1e3df18ccde --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/pyctype.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/pyctype.h> +#else +#error "No <cpython/pyctype.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/pydebug.h b/contrib/libs/python/Include_prev/cpython/pydebug.h new file mode 100644 index 00000000000..5c380aa4a81 --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/pydebug.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/pydebug.h> +#else +#error "No <cpython/pydebug.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/pyerrors.h b/contrib/libs/python/Include_prev/cpython/pyerrors.h new file mode 100644 index 00000000000..96bdf0217c8 --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/pyerrors.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/pyerrors.h> +#else +#error "No <cpython/pyerrors.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/pyfpe.h b/contrib/libs/python/Include_prev/cpython/pyfpe.h new file mode 100644 index 00000000000..2808d68d202 --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/pyfpe.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/pyfpe.h> +#else +#error "No <cpython/pyfpe.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/pyframe.h b/contrib/libs/python/Include_prev/cpython/pyframe.h new file mode 100644 index 00000000000..e899dcdc195 --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/pyframe.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/pyframe.h> +#else +#error "No <cpython/pyframe.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/pylifecycle.h b/contrib/libs/python/Include_prev/cpython/pylifecycle.h new file mode 100644 index 00000000000..b5ace827a84 --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/pylifecycle.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/pylifecycle.h> +#else +#error "No <cpython/pylifecycle.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/pymem.h b/contrib/libs/python/Include_prev/cpython/pymem.h new file mode 100644 index 00000000000..e40cfdb4e93 --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/pymem.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/pymem.h> +#else +#error "No <cpython/pymem.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/pystate.h b/contrib/libs/python/Include_prev/cpython/pystate.h new file mode 100644 index 00000000000..dfa47f9a883 --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/pystate.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/pystate.h> +#else +#error "No <cpython/pystate.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/pythonrun.h b/contrib/libs/python/Include_prev/cpython/pythonrun.h new file mode 100644 index 00000000000..f94703717d6 --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/pythonrun.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/pythonrun.h> +#else +#error "No <cpython/pythonrun.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/pythread.h b/contrib/libs/python/Include_prev/cpython/pythread.h new file mode 100644 index 00000000000..0896acee778 --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/pythread.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/pythread.h> +#else +#error "No <cpython/pythread.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/pytime.h b/contrib/libs/python/Include_prev/cpython/pytime.h new file mode 100644 index 00000000000..1dadf731430 --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/pytime.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/pytime.h> +#else +#error "No <cpython/pytime.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/setobject.h b/contrib/libs/python/Include_prev/cpython/setobject.h new file mode 100644 index 00000000000..18cd3182606 --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/setobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/setobject.h> +#else +#error "No <cpython/setobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/sysmodule.h b/contrib/libs/python/Include_prev/cpython/sysmodule.h new file mode 100644 index 00000000000..c5395ee6d5f --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/sysmodule.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/sysmodule.h> +#else +#error "No <cpython/sysmodule.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/traceback.h b/contrib/libs/python/Include_prev/cpython/traceback.h new file mode 100644 index 00000000000..04754a26dc5 --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/traceback.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/traceback.h> +#else +#error "No <cpython/traceback.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/tupleobject.h b/contrib/libs/python/Include_prev/cpython/tupleobject.h new file mode 100644 index 00000000000..c5e16c940e9 --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/tupleobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/tupleobject.h> +#else +#error "No <cpython/tupleobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/unicodeobject.h b/contrib/libs/python/Include_prev/cpython/unicodeobject.h new file mode 100644 index 00000000000..47653024702 --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/unicodeobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/unicodeobject.h> +#else +#error "No <cpython/unicodeobject.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/warnings.h b/contrib/libs/python/Include_prev/cpython/warnings.h new file mode 100644 index 00000000000..6ffc603b064 --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/warnings.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/warnings.h> +#else +#error "No <cpython/warnings.h> in Python2" +#endif diff --git a/contrib/libs/python/Include_prev/cpython/weakrefobject.h b/contrib/libs/python/Include_prev/cpython/weakrefobject.h new file mode 100644 index 00000000000..4eb160ffeba --- /dev/null +++ b/contrib/libs/python/Include_prev/cpython/weakrefobject.h @@ -0,0 +1,7 @@ +#pragma once + +#ifdef USE_PYTHON3_PREV +#include <contrib/tools/python3_prev/Include/cpython/weakrefobject.h> +#else +#error "No <cpython/weakrefobject.h> in Python2" +#endif |