aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/python
diff options
context:
space:
mode:
authorspreis <spreis@yandex-team.ru>2022-02-10 16:47:13 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:13 +0300
commitbcd1126cbd5d445cd0665d295198aa39c6ab8cbe (patch)
treed41d29a041d5733ef148335290dbb817b197d4cd /contrib/libs/python
parent986cb5d624f352524bfa0c42c9a7695235cdaa41 (diff)
downloadydb-bcd1126cbd5d445cd0665d295198aa39c6ab8cbe.tar.gz
Restoring authorship annotation for <spreis@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/python')
-rw-r--r--contrib/libs/python/Include/Python-ast.h14
-rw-r--r--contrib/libs/python/Include/Python.h14
-rw-r--r--contrib/libs/python/Include/abstract.h14
-rw-r--r--contrib/libs/python/Include/accu.h14
-rw-r--r--contrib/libs/python/Include/asdl.h14
-rw-r--r--contrib/libs/python/Include/ast.h14
-rw-r--r--contrib/libs/python/Include/bitset.h14
-rw-r--r--contrib/libs/python/Include/bltinmodule.h14
-rw-r--r--contrib/libs/python/Include/boolobject.h14
-rw-r--r--contrib/libs/python/Include/bufferobject.h14
-rw-r--r--contrib/libs/python/Include/bytearrayobject.h14
-rw-r--r--contrib/libs/python/Include/bytes_methods.h12
-rw-r--r--contrib/libs/python/Include/bytesobject.h14
-rw-r--r--contrib/libs/python/Include/cStringIO.h14
-rw-r--r--contrib/libs/python/Include/cellobject.h14
-rw-r--r--contrib/libs/python/Include/ceval.h14
-rw-r--r--contrib/libs/python/Include/classobject.h14
-rw-r--r--contrib/libs/python/Include/cobject.h14
-rw-r--r--contrib/libs/python/Include/code.h14
-rw-r--r--contrib/libs/python/Include/codecs.h14
-rw-r--r--contrib/libs/python/Include/compile.h14
-rw-r--r--contrib/libs/python/Include/complexobject.h14
-rw-r--r--contrib/libs/python/Include/config_platform.h14
-rw-r--r--contrib/libs/python/Include/datetime.h14
-rw-r--r--contrib/libs/python/Include/descrobject.h14
-rw-r--r--contrib/libs/python/Include/dictobject.h14
-rw-r--r--contrib/libs/python/Include/dtoa.h12
-rw-r--r--contrib/libs/python/Include/dynamic_annotations.h14
-rw-r--r--contrib/libs/python/Include/enumobject.h14
-rw-r--r--contrib/libs/python/Include/errcode.h14
-rw-r--r--contrib/libs/python/Include/eval.h14
-rw-r--r--contrib/libs/python/Include/fileobject.h14
-rw-r--r--contrib/libs/python/Include/fileutils.h14
-rw-r--r--contrib/libs/python/Include/floatobject.h14
-rw-r--r--contrib/libs/python/Include/frameobject.h14
-rw-r--r--contrib/libs/python/Include/funcobject.h14
-rw-r--r--contrib/libs/python/Include/genobject.h14
-rw-r--r--contrib/libs/python/Include/graminit.h14
-rw-r--r--contrib/libs/python/Include/grammar.h14
-rw-r--r--contrib/libs/python/Include/import.h14
-rw-r--r--contrib/libs/python/Include/intobject.h14
-rw-r--r--contrib/libs/python/Include/intrcheck.h14
-rw-r--r--contrib/libs/python/Include/iterobject.h14
-rw-r--r--contrib/libs/python/Include/listobject.h14
-rw-r--r--contrib/libs/python/Include/longintrepr.h14
-rw-r--r--contrib/libs/python/Include/longobject.h14
-rw-r--r--contrib/libs/python/Include/marshal.h14
-rw-r--r--contrib/libs/python/Include/memoryobject.h14
-rw-r--r--contrib/libs/python/Include/metagrammar.h12
-rw-r--r--contrib/libs/python/Include/methodobject.h14
-rw-r--r--contrib/libs/python/Include/modsupport.h14
-rw-r--r--contrib/libs/python/Include/moduleobject.h14
-rw-r--r--contrib/libs/python/Include/namespaceobject.h14
-rw-r--r--contrib/libs/python/Include/node.h14
-rw-r--r--contrib/libs/python/Include/object.h14
-rw-r--r--contrib/libs/python/Include/objimpl.h14
-rw-r--r--contrib/libs/python/Include/odictobject.h14
-rw-r--r--contrib/libs/python/Include/opcode.h14
-rw-r--r--contrib/libs/python/Include/osdefs.h14
-rw-r--r--contrib/libs/python/Include/osmodule.h14
-rw-r--r--contrib/libs/python/Include/parsetok.h14
-rw-r--r--contrib/libs/python/Include/patchlevel.h14
-rw-r--r--contrib/libs/python/Include/pgen.h12
-rw-r--r--contrib/libs/python/Include/pgenheaders.h12
-rw-r--r--contrib/libs/python/Include/py_curses.h14
-rw-r--r--contrib/libs/python/Include/pyarena.h14
-rw-r--r--contrib/libs/python/Include/pyatomic.h14
-rw-r--r--contrib/libs/python/Include/pycapsule.h14
-rw-r--r--contrib/libs/python/Include/pyconfig-linux.h14
-rw-r--r--contrib/libs/python/Include/pyconfig-musl.h14
-rw-r--r--contrib/libs/python/Include/pyconfig-osx.h14
-rw-r--r--contrib/libs/python/Include/pyconfig.cygwin.h14
-rw-r--r--contrib/libs/python/Include/pyconfig.darwin.h14
-rw-r--r--contrib/libs/python/Include/pyconfig.freebsd.h14
-rw-r--r--contrib/libs/python/Include/pyconfig.h14
-rw-r--r--contrib/libs/python/Include/pyconfig.ios.arm64.h14
-rw-r--r--contrib/libs/python/Include/pyconfig.ios.armv7.h14
-rw-r--r--contrib/libs/python/Include/pyconfig.ios.i386.h14
-rw-r--r--contrib/libs/python/Include/pyconfig.ios.x86_64.h14
-rw-r--r--contrib/libs/python/Include/pyconfig.linux.h14
-rw-r--r--contrib/libs/python/Include/pyconfig.win32.h14
-rw-r--r--contrib/libs/python/Include/pyctype.h14
-rw-r--r--contrib/libs/python/Include/pydebug.h14
-rw-r--r--contrib/libs/python/Include/pydtrace.h14
-rw-r--r--contrib/libs/python/Include/pyerrors.h14
-rw-r--r--contrib/libs/python/Include/pyexpat.h14
-rw-r--r--contrib/libs/python/Include/pyfpe.h14
-rw-r--r--contrib/libs/python/Include/pygetopt.h12
-rw-r--r--contrib/libs/python/Include/pyhash.h14
-rw-r--r--contrib/libs/python/Include/pylifecycle.h14
-rw-r--r--contrib/libs/python/Include/pymacconfig.h14
-rw-r--r--contrib/libs/python/Include/pymacro.h14
-rw-r--r--contrib/libs/python/Include/pymactoolbox.h14
-rw-r--r--contrib/libs/python/Include/pymath.h14
-rw-r--r--contrib/libs/python/Include/pymem.h14
-rw-r--r--contrib/libs/python/Include/pyport.h14
-rw-r--r--contrib/libs/python/Include/pystate.h14
-rw-r--r--contrib/libs/python/Include/pystrcmp.h14
-rw-r--r--contrib/libs/python/Include/pystrhex.h14
-rw-r--r--contrib/libs/python/Include/pystrtod.h14
-rw-r--r--contrib/libs/python/Include/pythonrun.h14
-rw-r--r--contrib/libs/python/Include/pythread.h14
-rw-r--r--contrib/libs/python/Include/pytime.h14
-rw-r--r--contrib/libs/python/Include/rangeobject.h14
-rw-r--r--contrib/libs/python/Include/setobject.h14
-rw-r--r--contrib/libs/python/Include/sliceobject.h14
-rw-r--r--contrib/libs/python/Include/stringobject.h14
-rw-r--r--contrib/libs/python/Include/structmember.h14
-rw-r--r--contrib/libs/python/Include/structseq.h14
-rw-r--r--contrib/libs/python/Include/symtable.h14
-rw-r--r--contrib/libs/python/Include/sysmodule.h14
-rw-r--r--contrib/libs/python/Include/timefuncs.h14
-rw-r--r--contrib/libs/python/Include/token.h14
-rw-r--r--contrib/libs/python/Include/traceback.h14
-rw-r--r--contrib/libs/python/Include/tupleobject.h14
-rw-r--r--contrib/libs/python/Include/typeslots.h14
-rw-r--r--contrib/libs/python/Include/ucnhash.h14
-rw-r--r--contrib/libs/python/Include/unicodeobject.h14
-rw-r--r--contrib/libs/python/Include/warnings.h14
-rw-r--r--contrib/libs/python/Include/weakrefobject.h14
-rw-r--r--contrib/libs/python/README.md18
-rw-r--r--contrib/libs/python/gen_includes.py58
-rw-r--r--contrib/libs/python/ut/lib/test.cpp40
-rw-r--r--contrib/libs/python/ut/lib/test.h14
-rw-r--r--contrib/libs/python/ut/lib/ya.make12
-rw-r--r--contrib/libs/python/ut/py2/use.cpp18
-rw-r--r--contrib/libs/python/ut/py2/ya.make18
-rw-r--r--contrib/libs/python/ut/py3/use.cpp18
-rw-r--r--contrib/libs/python/ut/py3/ya.make20
-rw-r--r--contrib/libs/python/ut/ya.make14
-rw-r--r--contrib/libs/python/ya.make28
131 files changed, 963 insertions, 963 deletions
diff --git a/contrib/libs/python/Include/Python-ast.h b/contrib/libs/python/Include/Python-ast.h
index 7628fd5a2a..eb8881242c 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>
-#else
-#include <contrib/tools/python/src/Include/Python-ast.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/Python-ast.h>
+#else
+#include <contrib/tools/python/src/Include/Python-ast.h>
+#endif
diff --git a/contrib/libs/python/Include/Python.h b/contrib/libs/python/Include/Python.h
index 5aa4c0b515..2b2099e943 100644
--- a/contrib/libs/python/Include/Python.h
+++ b/contrib/libs/python/Include/Python.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/Python.h>
-#else
-#include <contrib/tools/python/src/Include/Python.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/Python.h>
+#else
+#include <contrib/tools/python/src/Include/Python.h>
+#endif
diff --git a/contrib/libs/python/Include/abstract.h b/contrib/libs/python/Include/abstract.h
index 3073b25e25..a41ac2b272 100644
--- a/contrib/libs/python/Include/abstract.h
+++ b/contrib/libs/python/Include/abstract.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/abstract.h>
-#else
-#include <contrib/tools/python/src/Include/abstract.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/abstract.h>
+#else
+#include <contrib/tools/python/src/Include/abstract.h>
+#endif
diff --git a/contrib/libs/python/Include/accu.h b/contrib/libs/python/Include/accu.h
index acd0f68a6a..1e4a913828 100644
--- a/contrib/libs/python/Include/accu.h
+++ b/contrib/libs/python/Include/accu.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/accu.h>
-#else
-#error "No <accu.h> in Python2"
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/accu.h>
+#else
+#error "No <accu.h> in Python2"
+#endif
diff --git a/contrib/libs/python/Include/asdl.h b/contrib/libs/python/Include/asdl.h
index 2f73d8ca48..9e6e361386 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>
-#else
-#include <contrib/tools/python/src/Include/asdl.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/asdl.h>
+#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..283cbbd86b 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>
-#else
-#include <contrib/tools/python/src/Include/ast.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/ast.h>
+#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..a4e3fbd059 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>
-#else
-#include <contrib/tools/python/src/Include/bitset.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/bitset.h>
+#else
+#include <contrib/tools/python/src/Include/bitset.h>
+#endif
diff --git a/contrib/libs/python/Include/bltinmodule.h b/contrib/libs/python/Include/bltinmodule.h
index 0cd2a7ac76..3abe078c86 100644
--- a/contrib/libs/python/Include/bltinmodule.h
+++ b/contrib/libs/python/Include/bltinmodule.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/bltinmodule.h>
-#else
-#error "No <bltinmodule.h> in Python2"
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/bltinmodule.h>
+#else
+#error "No <bltinmodule.h> in Python2"
+#endif
diff --git a/contrib/libs/python/Include/boolobject.h b/contrib/libs/python/Include/boolobject.h
index 9ab8bbe43c..59a6c1814d 100644
--- a/contrib/libs/python/Include/boolobject.h
+++ b/contrib/libs/python/Include/boolobject.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/boolobject.h>
-#else
-#include <contrib/tools/python/src/Include/boolobject.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/boolobject.h>
+#else
+#include <contrib/tools/python/src/Include/boolobject.h>
+#endif
diff --git a/contrib/libs/python/Include/bufferobject.h b/contrib/libs/python/Include/bufferobject.h
index aed38f50a9..8218812e79 100644
--- a/contrib/libs/python/Include/bufferobject.h
+++ b/contrib/libs/python/Include/bufferobject.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#error "No <bufferobject.h> in Python3"
-#else
-#include <contrib/tools/python/src/Include/bufferobject.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#error "No <bufferobject.h> in Python3"
+#else
+#include <contrib/tools/python/src/Include/bufferobject.h>
+#endif
diff --git a/contrib/libs/python/Include/bytearrayobject.h b/contrib/libs/python/Include/bytearrayobject.h
index 0e69010be7..463569e394 100644
--- a/contrib/libs/python/Include/bytearrayobject.h
+++ b/contrib/libs/python/Include/bytearrayobject.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/bytearrayobject.h>
-#else
-#include <contrib/tools/python/src/Include/bytearrayobject.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/bytearrayobject.h>
+#else
+#include <contrib/tools/python/src/Include/bytearrayobject.h>
+#endif
diff --git a/contrib/libs/python/Include/bytes_methods.h b/contrib/libs/python/Include/bytes_methods.h
index f74e146029..7468e1e129 100644
--- a/contrib/libs/python/Include/bytes_methods.h
+++ b/contrib/libs/python/Include/bytes_methods.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
+#pragma once
+
+#ifdef USE_PYTHON3
#error "No <bytes_methods.h> in Python3"
-#else
-#include <contrib/tools/python/src/Include/bytes_methods.h>
-#endif
+#else
+#include <contrib/tools/python/src/Include/bytes_methods.h>
+#endif
diff --git a/contrib/libs/python/Include/bytesobject.h b/contrib/libs/python/Include/bytesobject.h
index ca972c3df2..307c6b432d 100644
--- a/contrib/libs/python/Include/bytesobject.h
+++ b/contrib/libs/python/Include/bytesobject.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/bytesobject.h>
-#else
-#include <contrib/tools/python/src/Include/bytesobject.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/bytesobject.h>
+#else
+#include <contrib/tools/python/src/Include/bytesobject.h>
+#endif
diff --git a/contrib/libs/python/Include/cStringIO.h b/contrib/libs/python/Include/cStringIO.h
index 3a8a908d56..07c32840e1 100644
--- a/contrib/libs/python/Include/cStringIO.h
+++ b/contrib/libs/python/Include/cStringIO.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#error "No <cStringIO.h> in Python3"
-#else
-#include <contrib/tools/python/src/Include/cStringIO.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#error "No <cStringIO.h> in Python3"
+#else
+#include <contrib/tools/python/src/Include/cStringIO.h>
+#endif
diff --git a/contrib/libs/python/Include/cellobject.h b/contrib/libs/python/Include/cellobject.h
index 3345daa7fd..95fb27e553 100644
--- a/contrib/libs/python/Include/cellobject.h
+++ b/contrib/libs/python/Include/cellobject.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/cellobject.h>
-#else
-#include <contrib/tools/python/src/Include/cellobject.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/cellobject.h>
+#else
+#include <contrib/tools/python/src/Include/cellobject.h>
+#endif
diff --git a/contrib/libs/python/Include/ceval.h b/contrib/libs/python/Include/ceval.h
index f169fdbe79..6f630d1f9f 100644
--- a/contrib/libs/python/Include/ceval.h
+++ b/contrib/libs/python/Include/ceval.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/ceval.h>
-#else
-#include <contrib/tools/python/src/Include/ceval.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/ceval.h>
+#else
+#include <contrib/tools/python/src/Include/ceval.h>
+#endif
diff --git a/contrib/libs/python/Include/classobject.h b/contrib/libs/python/Include/classobject.h
index 6f7a4f5e6e..1f407b3a44 100644
--- a/contrib/libs/python/Include/classobject.h
+++ b/contrib/libs/python/Include/classobject.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/classobject.h>
-#else
-#include <contrib/tools/python/src/Include/classobject.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/classobject.h>
+#else
+#include <contrib/tools/python/src/Include/classobject.h>
+#endif
diff --git a/contrib/libs/python/Include/cobject.h b/contrib/libs/python/Include/cobject.h
index 8fd2754e01..d12c552e7e 100644
--- a/contrib/libs/python/Include/cobject.h
+++ b/contrib/libs/python/Include/cobject.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#error "No <cobject.h> in Python3"
-#else
-#include <contrib/tools/python/src/Include/cobject.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#error "No <cobject.h> in Python3"
+#else
+#include <contrib/tools/python/src/Include/cobject.h>
+#endif
diff --git a/contrib/libs/python/Include/code.h b/contrib/libs/python/Include/code.h
index e21d9c3ce3..863de6b03b 100644
--- a/contrib/libs/python/Include/code.h
+++ b/contrib/libs/python/Include/code.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/code.h>
-#else
-#include <contrib/tools/python/src/Include/code.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/code.h>
+#else
+#include <contrib/tools/python/src/Include/code.h>
+#endif
diff --git a/contrib/libs/python/Include/codecs.h b/contrib/libs/python/Include/codecs.h
index 52f76040fb..3494dda4bd 100644
--- a/contrib/libs/python/Include/codecs.h
+++ b/contrib/libs/python/Include/codecs.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/codecs.h>
-#else
-#include <contrib/tools/python/src/Include/codecs.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/codecs.h>
+#else
+#include <contrib/tools/python/src/Include/codecs.h>
+#endif
diff --git a/contrib/libs/python/Include/compile.h b/contrib/libs/python/Include/compile.h
index eb3595aab0..78c2ea1129 100644
--- a/contrib/libs/python/Include/compile.h
+++ b/contrib/libs/python/Include/compile.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/compile.h>
-#else
-#include <contrib/tools/python/src/Include/compile.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/compile.h>
+#else
+#include <contrib/tools/python/src/Include/compile.h>
+#endif
diff --git a/contrib/libs/python/Include/complexobject.h b/contrib/libs/python/Include/complexobject.h
index 2c510c47f4..10ce9a2c9c 100644
--- a/contrib/libs/python/Include/complexobject.h
+++ b/contrib/libs/python/Include/complexobject.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/complexobject.h>
-#else
-#include <contrib/tools/python/src/Include/complexobject.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/complexobject.h>
+#else
+#include <contrib/tools/python/src/Include/complexobject.h>
+#endif
diff --git a/contrib/libs/python/Include/config_platform.h b/contrib/libs/python/Include/config_platform.h
index afd9bf5123..a424d09fe0 100644
--- a/contrib/libs/python/Include/config_platform.h
+++ b/contrib/libs/python/Include/config_platform.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#error "No <config_platform.h> in Python3"
-#else
-#include <contrib/tools/python/src/Include/config_platform.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#error "No <config_platform.h> in Python3"
+#else
+#include <contrib/tools/python/src/Include/config_platform.h>
+#endif
diff --git a/contrib/libs/python/Include/datetime.h b/contrib/libs/python/Include/datetime.h
index b24acd5638..33ee394fd4 100644
--- a/contrib/libs/python/Include/datetime.h
+++ b/contrib/libs/python/Include/datetime.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/datetime.h>
-#else
-#include <contrib/tools/python/src/Include/datetime.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/datetime.h>
+#else
+#include <contrib/tools/python/src/Include/datetime.h>
+#endif
diff --git a/contrib/libs/python/Include/descrobject.h b/contrib/libs/python/Include/descrobject.h
index 5d450cf256..e5dc606093 100644
--- a/contrib/libs/python/Include/descrobject.h
+++ b/contrib/libs/python/Include/descrobject.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/descrobject.h>
-#else
-#include <contrib/tools/python/src/Include/descrobject.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/descrobject.h>
+#else
+#include <contrib/tools/python/src/Include/descrobject.h>
+#endif
diff --git a/contrib/libs/python/Include/dictobject.h b/contrib/libs/python/Include/dictobject.h
index 36026b4962..4364a043c6 100644
--- a/contrib/libs/python/Include/dictobject.h
+++ b/contrib/libs/python/Include/dictobject.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/dictobject.h>
-#else
-#include <contrib/tools/python/src/Include/dictobject.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/dictobject.h>
+#else
+#include <contrib/tools/python/src/Include/dictobject.h>
+#endif
diff --git a/contrib/libs/python/Include/dtoa.h b/contrib/libs/python/Include/dtoa.h
index d8c51a71f4..4cc8661c6d 100644
--- a/contrib/libs/python/Include/dtoa.h
+++ b/contrib/libs/python/Include/dtoa.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
+#pragma once
+
+#ifdef USE_PYTHON3
#error "No <dtoa.h> in Python3"
-#else
-#include <contrib/tools/python/src/Include/dtoa.h>
-#endif
+#else
+#include <contrib/tools/python/src/Include/dtoa.h>
+#endif
diff --git a/contrib/libs/python/Include/dynamic_annotations.h b/contrib/libs/python/Include/dynamic_annotations.h
index 0ffe86e787..093fc3bcc8 100644
--- a/contrib/libs/python/Include/dynamic_annotations.h
+++ b/contrib/libs/python/Include/dynamic_annotations.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/dynamic_annotations.h>
-#else
-#error "No <dynamic_annotations.h> in Python2"
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/dynamic_annotations.h>
+#else
+#error "No <dynamic_annotations.h> in Python2"
+#endif
diff --git a/contrib/libs/python/Include/enumobject.h b/contrib/libs/python/Include/enumobject.h
index 08d7a42ee4..42953d0037 100644
--- a/contrib/libs/python/Include/enumobject.h
+++ b/contrib/libs/python/Include/enumobject.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/enumobject.h>
-#else
-#include <contrib/tools/python/src/Include/enumobject.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/enumobject.h>
+#else
+#include <contrib/tools/python/src/Include/enumobject.h>
+#endif
diff --git a/contrib/libs/python/Include/errcode.h b/contrib/libs/python/Include/errcode.h
index 69259ee2f5..94f0ec5cf5 100644
--- a/contrib/libs/python/Include/errcode.h
+++ b/contrib/libs/python/Include/errcode.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/errcode.h>
-#else
-#include <contrib/tools/python/src/Include/errcode.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/errcode.h>
+#else
+#include <contrib/tools/python/src/Include/errcode.h>
+#endif
diff --git a/contrib/libs/python/Include/eval.h b/contrib/libs/python/Include/eval.h
index cc8c657b1e..62dec98d37 100644
--- a/contrib/libs/python/Include/eval.h
+++ b/contrib/libs/python/Include/eval.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/eval.h>
-#else
-#include <contrib/tools/python/src/Include/eval.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/eval.h>
+#else
+#include <contrib/tools/python/src/Include/eval.h>
+#endif
diff --git a/contrib/libs/python/Include/fileobject.h b/contrib/libs/python/Include/fileobject.h
index ac3aa4c7a2..2eb3acf63d 100644
--- a/contrib/libs/python/Include/fileobject.h
+++ b/contrib/libs/python/Include/fileobject.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/fileobject.h>
-#else
-#include <contrib/tools/python/src/Include/fileobject.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/fileobject.h>
+#else
+#include <contrib/tools/python/src/Include/fileobject.h>
+#endif
diff --git a/contrib/libs/python/Include/fileutils.h b/contrib/libs/python/Include/fileutils.h
index 86ca07a109..814ac94a0c 100644
--- a/contrib/libs/python/Include/fileutils.h
+++ b/contrib/libs/python/Include/fileutils.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/fileutils.h>
-#else
-#error "No <fileutils.h> in Python2"
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/fileutils.h>
+#else
+#error "No <fileutils.h> in Python2"
+#endif
diff --git a/contrib/libs/python/Include/floatobject.h b/contrib/libs/python/Include/floatobject.h
index d08083f632..32b171c404 100644
--- a/contrib/libs/python/Include/floatobject.h
+++ b/contrib/libs/python/Include/floatobject.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/floatobject.h>
-#else
-#include <contrib/tools/python/src/Include/floatobject.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/floatobject.h>
+#else
+#include <contrib/tools/python/src/Include/floatobject.h>
+#endif
diff --git a/contrib/libs/python/Include/frameobject.h b/contrib/libs/python/Include/frameobject.h
index 50168e372a..ab94da0925 100644
--- a/contrib/libs/python/Include/frameobject.h
+++ b/contrib/libs/python/Include/frameobject.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/frameobject.h>
-#else
-#include <contrib/tools/python/src/Include/frameobject.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/frameobject.h>
+#else
+#include <contrib/tools/python/src/Include/frameobject.h>
+#endif
diff --git a/contrib/libs/python/Include/funcobject.h b/contrib/libs/python/Include/funcobject.h
index d0bde3deb4..012fd11af5 100644
--- a/contrib/libs/python/Include/funcobject.h
+++ b/contrib/libs/python/Include/funcobject.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/funcobject.h>
-#else
-#include <contrib/tools/python/src/Include/funcobject.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/funcobject.h>
+#else
+#include <contrib/tools/python/src/Include/funcobject.h>
+#endif
diff --git a/contrib/libs/python/Include/genobject.h b/contrib/libs/python/Include/genobject.h
index 78ce06ddc0..94cc9e0a89 100644
--- a/contrib/libs/python/Include/genobject.h
+++ b/contrib/libs/python/Include/genobject.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/genobject.h>
-#else
-#include <contrib/tools/python/src/Include/genobject.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/genobject.h>
+#else
+#include <contrib/tools/python/src/Include/genobject.h>
+#endif
diff --git a/contrib/libs/python/Include/graminit.h b/contrib/libs/python/Include/graminit.h
index 4b0a5e1a38..31e5d90551 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>
-#else
-#include <contrib/tools/python/src/Include/graminit.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/graminit.h>
+#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..37f32c08d3 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>
-#else
-#include <contrib/tools/python/src/Include/grammar.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/grammar.h>
+#else
+#include <contrib/tools/python/src/Include/grammar.h>
+#endif
diff --git a/contrib/libs/python/Include/import.h b/contrib/libs/python/Include/import.h
index cfa6515cdf..a1c7f6e9d7 100644
--- a/contrib/libs/python/Include/import.h
+++ b/contrib/libs/python/Include/import.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/import.h>
-#else
-#include <contrib/tools/python/src/Include/import.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/import.h>
+#else
+#include <contrib/tools/python/src/Include/import.h>
+#endif
diff --git a/contrib/libs/python/Include/intobject.h b/contrib/libs/python/Include/intobject.h
index 4ec1b915df..6696f97641 100644
--- a/contrib/libs/python/Include/intobject.h
+++ b/contrib/libs/python/Include/intobject.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#error "No <intobject.h> in Python3"
-#else
-#include <contrib/tools/python/src/Include/intobject.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#error "No <intobject.h> in Python3"
+#else
+#include <contrib/tools/python/src/Include/intobject.h>
+#endif
diff --git a/contrib/libs/python/Include/intrcheck.h b/contrib/libs/python/Include/intrcheck.h
index 68aabf6d48..2ed18eb7e4 100644
--- a/contrib/libs/python/Include/intrcheck.h
+++ b/contrib/libs/python/Include/intrcheck.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/intrcheck.h>
-#else
-#include <contrib/tools/python/src/Include/intrcheck.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/intrcheck.h>
+#else
+#include <contrib/tools/python/src/Include/intrcheck.h>
+#endif
diff --git a/contrib/libs/python/Include/iterobject.h b/contrib/libs/python/Include/iterobject.h
index 19b24e317a..489c5b1323 100644
--- a/contrib/libs/python/Include/iterobject.h
+++ b/contrib/libs/python/Include/iterobject.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/iterobject.h>
-#else
-#include <contrib/tools/python/src/Include/iterobject.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/iterobject.h>
+#else
+#include <contrib/tools/python/src/Include/iterobject.h>
+#endif
diff --git a/contrib/libs/python/Include/listobject.h b/contrib/libs/python/Include/listobject.h
index e16f38f988..d119dd9195 100644
--- a/contrib/libs/python/Include/listobject.h
+++ b/contrib/libs/python/Include/listobject.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/listobject.h>
-#else
-#include <contrib/tools/python/src/Include/listobject.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/listobject.h>
+#else
+#include <contrib/tools/python/src/Include/listobject.h>
+#endif
diff --git a/contrib/libs/python/Include/longintrepr.h b/contrib/libs/python/Include/longintrepr.h
index 01a8c7a79f..4c6441dad2 100644
--- a/contrib/libs/python/Include/longintrepr.h
+++ b/contrib/libs/python/Include/longintrepr.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/longintrepr.h>
-#else
-#include <contrib/tools/python/src/Include/longintrepr.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/longintrepr.h>
+#else
+#include <contrib/tools/python/src/Include/longintrepr.h>
+#endif
diff --git a/contrib/libs/python/Include/longobject.h b/contrib/libs/python/Include/longobject.h
index 18760d63cc..a2ab1329a4 100644
--- a/contrib/libs/python/Include/longobject.h
+++ b/contrib/libs/python/Include/longobject.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/longobject.h>
-#else
-#include <contrib/tools/python/src/Include/longobject.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/longobject.h>
+#else
+#include <contrib/tools/python/src/Include/longobject.h>
+#endif
diff --git a/contrib/libs/python/Include/marshal.h b/contrib/libs/python/Include/marshal.h
index 536238ca04..cb6129fbc2 100644
--- a/contrib/libs/python/Include/marshal.h
+++ b/contrib/libs/python/Include/marshal.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/marshal.h>
-#else
-#include <contrib/tools/python/src/Include/marshal.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/marshal.h>
+#else
+#include <contrib/tools/python/src/Include/marshal.h>
+#endif
diff --git a/contrib/libs/python/Include/memoryobject.h b/contrib/libs/python/Include/memoryobject.h
index c9941a3962..b332d449a3 100644
--- a/contrib/libs/python/Include/memoryobject.h
+++ b/contrib/libs/python/Include/memoryobject.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/memoryobject.h>
-#else
-#include <contrib/tools/python/src/Include/memoryobject.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/memoryobject.h>
+#else
+#include <contrib/tools/python/src/Include/memoryobject.h>
+#endif
diff --git a/contrib/libs/python/Include/metagrammar.h b/contrib/libs/python/Include/metagrammar.h
index ab897e3820..8aa671542a 100644
--- a/contrib/libs/python/Include/metagrammar.h
+++ b/contrib/libs/python/Include/metagrammar.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
+#pragma once
+
+#ifdef USE_PYTHON3
#error "No <metagrammar.h> in Python3"
-#else
-#include <contrib/tools/python/src/Include/metagrammar.h>
-#endif
+#else
+#include <contrib/tools/python/src/Include/metagrammar.h>
+#endif
diff --git a/contrib/libs/python/Include/methodobject.h b/contrib/libs/python/Include/methodobject.h
index 12ff79b2e2..f0d63ca0ec 100644
--- a/contrib/libs/python/Include/methodobject.h
+++ b/contrib/libs/python/Include/methodobject.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/methodobject.h>
-#else
-#include <contrib/tools/python/src/Include/methodobject.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/methodobject.h>
+#else
+#include <contrib/tools/python/src/Include/methodobject.h>
+#endif
diff --git a/contrib/libs/python/Include/modsupport.h b/contrib/libs/python/Include/modsupport.h
index 61dae25ba3..e44e9b9c95 100644
--- a/contrib/libs/python/Include/modsupport.h
+++ b/contrib/libs/python/Include/modsupport.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/modsupport.h>
-#else
-#include <contrib/tools/python/src/Include/modsupport.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/modsupport.h>
+#else
+#include <contrib/tools/python/src/Include/modsupport.h>
+#endif
diff --git a/contrib/libs/python/Include/moduleobject.h b/contrib/libs/python/Include/moduleobject.h
index d138ab73ca..983204866c 100644
--- a/contrib/libs/python/Include/moduleobject.h
+++ b/contrib/libs/python/Include/moduleobject.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/moduleobject.h>
-#else
-#include <contrib/tools/python/src/Include/moduleobject.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/moduleobject.h>
+#else
+#include <contrib/tools/python/src/Include/moduleobject.h>
+#endif
diff --git a/contrib/libs/python/Include/namespaceobject.h b/contrib/libs/python/Include/namespaceobject.h
index 5f4c77c8a4..2481dc0f66 100644
--- a/contrib/libs/python/Include/namespaceobject.h
+++ b/contrib/libs/python/Include/namespaceobject.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/namespaceobject.h>
-#else
-#error "No <namespaceobject.h> in Python2"
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/namespaceobject.h>
+#else
+#error "No <namespaceobject.h> in Python2"
+#endif
diff --git a/contrib/libs/python/Include/node.h b/contrib/libs/python/Include/node.h
index 0f859f8f9e..08fcf38b4b 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>
-#else
-#include <contrib/tools/python/src/Include/node.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/node.h>
+#else
+#include <contrib/tools/python/src/Include/node.h>
+#endif
diff --git a/contrib/libs/python/Include/object.h b/contrib/libs/python/Include/object.h
index 1a7e8a96bd..c26d54c2ff 100644
--- a/contrib/libs/python/Include/object.h
+++ b/contrib/libs/python/Include/object.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/object.h>
-#else
-#include <contrib/tools/python/src/Include/object.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/object.h>
+#else
+#include <contrib/tools/python/src/Include/object.h>
+#endif
diff --git a/contrib/libs/python/Include/objimpl.h b/contrib/libs/python/Include/objimpl.h
index d33a4815a5..1ab93938d4 100644
--- a/contrib/libs/python/Include/objimpl.h
+++ b/contrib/libs/python/Include/objimpl.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/objimpl.h>
-#else
-#include <contrib/tools/python/src/Include/objimpl.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/objimpl.h>
+#else
+#include <contrib/tools/python/src/Include/objimpl.h>
+#endif
diff --git a/contrib/libs/python/Include/odictobject.h b/contrib/libs/python/Include/odictobject.h
index a3e7994c12..01ca23838d 100644
--- a/contrib/libs/python/Include/odictobject.h
+++ b/contrib/libs/python/Include/odictobject.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/odictobject.h>
-#else
-#error "No <odictobject.h> in Python2"
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/odictobject.h>
+#else
+#error "No <odictobject.h> in Python2"
+#endif
diff --git a/contrib/libs/python/Include/opcode.h b/contrib/libs/python/Include/opcode.h
index add566d1ce..f09d32e146 100644
--- a/contrib/libs/python/Include/opcode.h
+++ b/contrib/libs/python/Include/opcode.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/opcode.h>
-#else
-#include <contrib/tools/python/src/Include/opcode.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/opcode.h>
+#else
+#include <contrib/tools/python/src/Include/opcode.h>
+#endif
diff --git a/contrib/libs/python/Include/osdefs.h b/contrib/libs/python/Include/osdefs.h
index 030e1cb429..901d1809f1 100644
--- a/contrib/libs/python/Include/osdefs.h
+++ b/contrib/libs/python/Include/osdefs.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/osdefs.h>
-#else
-#include <contrib/tools/python/src/Include/osdefs.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/osdefs.h>
+#else
+#include <contrib/tools/python/src/Include/osdefs.h>
+#endif
diff --git a/contrib/libs/python/Include/osmodule.h b/contrib/libs/python/Include/osmodule.h
index 0851f3d7f7..d6310d29f1 100644
--- a/contrib/libs/python/Include/osmodule.h
+++ b/contrib/libs/python/Include/osmodule.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/osmodule.h>
-#else
-#error "No <osmodule.h> in Python2"
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/osmodule.h>
+#else
+#error "No <osmodule.h> in Python2"
+#endif
diff --git a/contrib/libs/python/Include/parsetok.h b/contrib/libs/python/Include/parsetok.h
index 5bf491e907..6e49d9f394 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>
-#else
-#include <contrib/tools/python/src/Include/parsetok.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/parsetok.h>
+#else
+#include <contrib/tools/python/src/Include/parsetok.h>
+#endif
diff --git a/contrib/libs/python/Include/patchlevel.h b/contrib/libs/python/Include/patchlevel.h
index 75ce0b8f9a..d831605341 100644
--- a/contrib/libs/python/Include/patchlevel.h
+++ b/contrib/libs/python/Include/patchlevel.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/patchlevel.h>
-#else
-#include <contrib/tools/python/src/Include/patchlevel.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/patchlevel.h>
+#else
+#include <contrib/tools/python/src/Include/patchlevel.h>
+#endif
diff --git a/contrib/libs/python/Include/pgen.h b/contrib/libs/python/Include/pgen.h
index b4a3a7dc8d..41a354cc94 100644
--- a/contrib/libs/python/Include/pgen.h
+++ b/contrib/libs/python/Include/pgen.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
+#pragma once
+
+#ifdef USE_PYTHON3
#error "No <pgen.h> in Python3"
-#else
-#include <contrib/tools/python/src/Include/pgen.h>
-#endif
+#else
+#include <contrib/tools/python/src/Include/pgen.h>
+#endif
diff --git a/contrib/libs/python/Include/pgenheaders.h b/contrib/libs/python/Include/pgenheaders.h
index 1f859aebad..5ff3c27b26 100644
--- a/contrib/libs/python/Include/pgenheaders.h
+++ b/contrib/libs/python/Include/pgenheaders.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
+#pragma once
+
+#ifdef USE_PYTHON3
#error "No <pgenheaders.h> in Python3"
-#else
-#include <contrib/tools/python/src/Include/pgenheaders.h>
-#endif
+#else
+#include <contrib/tools/python/src/Include/pgenheaders.h>
+#endif
diff --git a/contrib/libs/python/Include/py_curses.h b/contrib/libs/python/Include/py_curses.h
index 1cea7240fa..1643343799 100644
--- a/contrib/libs/python/Include/py_curses.h
+++ b/contrib/libs/python/Include/py_curses.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/py_curses.h>
-#else
-#include <contrib/tools/python/src/Include/py_curses.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/py_curses.h>
+#else
+#include <contrib/tools/python/src/Include/py_curses.h>
+#endif
diff --git a/contrib/libs/python/Include/pyarena.h b/contrib/libs/python/Include/pyarena.h
index 79e39eba83..5bbbf2b69e 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>
-#else
-#include <contrib/tools/python/src/Include/pyarena.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/pyarena.h>
+#else
+#include <contrib/tools/python/src/Include/pyarena.h>
+#endif
diff --git a/contrib/libs/python/Include/pyatomic.h b/contrib/libs/python/Include/pyatomic.h
index 36ea5383e2..ed6243fd5f 100644
--- a/contrib/libs/python/Include/pyatomic.h
+++ b/contrib/libs/python/Include/pyatomic.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/pyatomic.h>
-#else
-#error "No <pyatomic.h> in Python2"
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/pyatomic.h>
+#else
+#error "No <pyatomic.h> in Python2"
+#endif
diff --git a/contrib/libs/python/Include/pycapsule.h b/contrib/libs/python/Include/pycapsule.h
index 7f303ed361..4ac52382b4 100644
--- a/contrib/libs/python/Include/pycapsule.h
+++ b/contrib/libs/python/Include/pycapsule.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/pycapsule.h>
-#else
-#include <contrib/tools/python/src/Include/pycapsule.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/pycapsule.h>
+#else
+#include <contrib/tools/python/src/Include/pycapsule.h>
+#endif
diff --git a/contrib/libs/python/Include/pyconfig-linux.h b/contrib/libs/python/Include/pyconfig-linux.h
index de1803b710..d9d9df2112 100644
--- a/contrib/libs/python/Include/pyconfig-linux.h
+++ b/contrib/libs/python/Include/pyconfig-linux.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/pyconfig-linux.h>
-#else
-#error "No <pyconfig-linux.h> in Python2"
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/pyconfig-linux.h>
+#else
+#error "No <pyconfig-linux.h> in Python2"
+#endif
diff --git a/contrib/libs/python/Include/pyconfig-musl.h b/contrib/libs/python/Include/pyconfig-musl.h
index 66e1339bac..98e5dfbfd0 100644
--- a/contrib/libs/python/Include/pyconfig-musl.h
+++ b/contrib/libs/python/Include/pyconfig-musl.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/pyconfig-musl.h>
-#else
-#error "No <pyconfig-musl.h> in Python2"
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/pyconfig-musl.h>
+#else
+#error "No <pyconfig-musl.h> in Python2"
+#endif
diff --git a/contrib/libs/python/Include/pyconfig-osx.h b/contrib/libs/python/Include/pyconfig-osx.h
index 8ee6b6de2b..c4b1b8574b 100644
--- a/contrib/libs/python/Include/pyconfig-osx.h
+++ b/contrib/libs/python/Include/pyconfig-osx.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/pyconfig-osx.h>
-#else
-#error "No <pyconfig-osx.h> in Python2"
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/pyconfig-osx.h>
+#else
+#error "No <pyconfig-osx.h> in Python2"
+#endif
diff --git a/contrib/libs/python/Include/pyconfig.cygwin.h b/contrib/libs/python/Include/pyconfig.cygwin.h
index 930901d89b..19756b748e 100644
--- a/contrib/libs/python/Include/pyconfig.cygwin.h
+++ b/contrib/libs/python/Include/pyconfig.cygwin.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#error "No <pyconfig.cygwin.h> in Python3"
-#else
-#include <contrib/tools/python/src/Include/pyconfig.cygwin.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#error "No <pyconfig.cygwin.h> in Python3"
+#else
+#include <contrib/tools/python/src/Include/pyconfig.cygwin.h>
+#endif
diff --git a/contrib/libs/python/Include/pyconfig.darwin.h b/contrib/libs/python/Include/pyconfig.darwin.h
index eeb58178bf..0b7c6a87b5 100644
--- a/contrib/libs/python/Include/pyconfig.darwin.h
+++ b/contrib/libs/python/Include/pyconfig.darwin.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#error "No <pyconfig.darwin.h> in Python3"
-#else
-#include <contrib/tools/python/src/Include/pyconfig.darwin.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#error "No <pyconfig.darwin.h> in Python3"
+#else
+#include <contrib/tools/python/src/Include/pyconfig.darwin.h>
+#endif
diff --git a/contrib/libs/python/Include/pyconfig.freebsd.h b/contrib/libs/python/Include/pyconfig.freebsd.h
index e6d5961435..0a0c30f6a6 100644
--- a/contrib/libs/python/Include/pyconfig.freebsd.h
+++ b/contrib/libs/python/Include/pyconfig.freebsd.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#error "No <pyconfig.freebsd.h> in Python3"
-#else
-#include <contrib/tools/python/src/Include/pyconfig.freebsd.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#error "No <pyconfig.freebsd.h> in Python3"
+#else
+#include <contrib/tools/python/src/Include/pyconfig.freebsd.h>
+#endif
diff --git a/contrib/libs/python/Include/pyconfig.h b/contrib/libs/python/Include/pyconfig.h
index 3b13edb2ee..d24d4b4535 100644
--- a/contrib/libs/python/Include/pyconfig.h
+++ b/contrib/libs/python/Include/pyconfig.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/pyconfig.h>
-#else
-#include <contrib/tools/python/src/Include/pyconfig.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/pyconfig.h>
+#else
+#include <contrib/tools/python/src/Include/pyconfig.h>
+#endif
diff --git a/contrib/libs/python/Include/pyconfig.ios.arm64.h b/contrib/libs/python/Include/pyconfig.ios.arm64.h
index 0dac2ee7ac..5adb42c762 100644
--- a/contrib/libs/python/Include/pyconfig.ios.arm64.h
+++ b/contrib/libs/python/Include/pyconfig.ios.arm64.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#error "No <pyconfig.ios.arm64.h> in Python3"
-#else
-#include <contrib/tools/python/src/Include/pyconfig.ios.arm64.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#error "No <pyconfig.ios.arm64.h> in Python3"
+#else
+#include <contrib/tools/python/src/Include/pyconfig.ios.arm64.h>
+#endif
diff --git a/contrib/libs/python/Include/pyconfig.ios.armv7.h b/contrib/libs/python/Include/pyconfig.ios.armv7.h
index ec08c5eca5..fcbe6a71e7 100644
--- a/contrib/libs/python/Include/pyconfig.ios.armv7.h
+++ b/contrib/libs/python/Include/pyconfig.ios.armv7.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#error "No <pyconfig.ios.armv7.h> in Python3"
-#else
-#include <contrib/tools/python/src/Include/pyconfig.ios.armv7.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#error "No <pyconfig.ios.armv7.h> in Python3"
+#else
+#include <contrib/tools/python/src/Include/pyconfig.ios.armv7.h>
+#endif
diff --git a/contrib/libs/python/Include/pyconfig.ios.i386.h b/contrib/libs/python/Include/pyconfig.ios.i386.h
index 98649c420f..eaba479035 100644
--- a/contrib/libs/python/Include/pyconfig.ios.i386.h
+++ b/contrib/libs/python/Include/pyconfig.ios.i386.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#error "No <pyconfig.ios.i386.h> in Python3"
-#else
-#include <contrib/tools/python/src/Include/pyconfig.ios.i386.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#error "No <pyconfig.ios.i386.h> in Python3"
+#else
+#include <contrib/tools/python/src/Include/pyconfig.ios.i386.h>
+#endif
diff --git a/contrib/libs/python/Include/pyconfig.ios.x86_64.h b/contrib/libs/python/Include/pyconfig.ios.x86_64.h
index dc87f0ed86..45727828d4 100644
--- a/contrib/libs/python/Include/pyconfig.ios.x86_64.h
+++ b/contrib/libs/python/Include/pyconfig.ios.x86_64.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#error "No <pyconfig.ios.x86_64.h> in Python3"
-#else
-#include <contrib/tools/python/src/Include/pyconfig.ios.x86_64.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#error "No <pyconfig.ios.x86_64.h> in Python3"
+#else
+#include <contrib/tools/python/src/Include/pyconfig.ios.x86_64.h>
+#endif
diff --git a/contrib/libs/python/Include/pyconfig.linux.h b/contrib/libs/python/Include/pyconfig.linux.h
index 18ebf9c48c..9d20ea3657 100644
--- a/contrib/libs/python/Include/pyconfig.linux.h
+++ b/contrib/libs/python/Include/pyconfig.linux.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#error "No <pyconfig.linux.h> in Python3"
-#else
-#include <contrib/tools/python/src/Include/pyconfig.linux.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#error "No <pyconfig.linux.h> in Python3"
+#else
+#include <contrib/tools/python/src/Include/pyconfig.linux.h>
+#endif
diff --git a/contrib/libs/python/Include/pyconfig.win32.h b/contrib/libs/python/Include/pyconfig.win32.h
index 6c5c5ae32e..3936c2b2ab 100644
--- a/contrib/libs/python/Include/pyconfig.win32.h
+++ b/contrib/libs/python/Include/pyconfig.win32.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#error "No <pyconfig.win32.h> in Python3"
-#else
-#include <contrib/tools/python/src/Include/pyconfig.win32.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#error "No <pyconfig.win32.h> in Python3"
+#else
+#include <contrib/tools/python/src/Include/pyconfig.win32.h>
+#endif
diff --git a/contrib/libs/python/Include/pyctype.h b/contrib/libs/python/Include/pyctype.h
index 8b25c6e4ee..bb5181894a 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>
-#else
-#include <contrib/tools/python/src/Include/pyctype.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/pyctype.h>
+#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..29e47a4091 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>
-#else
-#include <contrib/tools/python/src/Include/pydebug.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/pydebug.h>
+#else
+#include <contrib/tools/python/src/Include/pydebug.h>
+#endif
diff --git a/contrib/libs/python/Include/pydtrace.h b/contrib/libs/python/Include/pydtrace.h
index 170d5e0ca2..e517c2ee4f 100644
--- a/contrib/libs/python/Include/pydtrace.h
+++ b/contrib/libs/python/Include/pydtrace.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/pydtrace.h>
-#else
-#error "No <pydtrace.h> in Python2"
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/pydtrace.h>
+#else
+#error "No <pydtrace.h> in Python2"
+#endif
diff --git a/contrib/libs/python/Include/pyerrors.h b/contrib/libs/python/Include/pyerrors.h
index 587690a2b2..fd0638e07d 100644
--- a/contrib/libs/python/Include/pyerrors.h
+++ b/contrib/libs/python/Include/pyerrors.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/pyerrors.h>
-#else
-#include <contrib/tools/python/src/Include/pyerrors.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/pyerrors.h>
+#else
+#include <contrib/tools/python/src/Include/pyerrors.h>
+#endif
diff --git a/contrib/libs/python/Include/pyexpat.h b/contrib/libs/python/Include/pyexpat.h
index e9021bf070..5812a8fd32 100644
--- a/contrib/libs/python/Include/pyexpat.h
+++ b/contrib/libs/python/Include/pyexpat.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/pyexpat.h>
-#else
-#include <contrib/tools/python/src/Include/pyexpat.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/pyexpat.h>
+#else
+#include <contrib/tools/python/src/Include/pyexpat.h>
+#endif
diff --git a/contrib/libs/python/Include/pyfpe.h b/contrib/libs/python/Include/pyfpe.h
index b9ee7aa43f..41a49db7f3 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>
-#else
-#include <contrib/tools/python/src/Include/pyfpe.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/pyfpe.h>
+#else
+#include <contrib/tools/python/src/Include/pyfpe.h>
+#endif
diff --git a/contrib/libs/python/Include/pygetopt.h b/contrib/libs/python/Include/pygetopt.h
index 3e591b03ce..06ee570cd0 100644
--- a/contrib/libs/python/Include/pygetopt.h
+++ b/contrib/libs/python/Include/pygetopt.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
+#pragma once
+
+#ifdef USE_PYTHON3
#error "No <pygetopt.h> in Python3"
-#else
-#include <contrib/tools/python/src/Include/pygetopt.h>
-#endif
+#else
+#include <contrib/tools/python/src/Include/pygetopt.h>
+#endif
diff --git a/contrib/libs/python/Include/pyhash.h b/contrib/libs/python/Include/pyhash.h
index 847428d568..7a9690a589 100644
--- a/contrib/libs/python/Include/pyhash.h
+++ b/contrib/libs/python/Include/pyhash.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/pyhash.h>
-#else
-#error "No <pyhash.h> in Python2"
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/pyhash.h>
+#else
+#error "No <pyhash.h> in Python2"
+#endif
diff --git a/contrib/libs/python/Include/pylifecycle.h b/contrib/libs/python/Include/pylifecycle.h
index 7cffd7cc74..b5f3cac8a5 100644
--- a/contrib/libs/python/Include/pylifecycle.h
+++ b/contrib/libs/python/Include/pylifecycle.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/pylifecycle.h>
-#else
-#error "No <pylifecycle.h> in Python2"
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/pylifecycle.h>
+#else
+#error "No <pylifecycle.h> in Python2"
+#endif
diff --git a/contrib/libs/python/Include/pymacconfig.h b/contrib/libs/python/Include/pymacconfig.h
index 452a8db249..fcdddc1ca4 100644
--- a/contrib/libs/python/Include/pymacconfig.h
+++ b/contrib/libs/python/Include/pymacconfig.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/pymacconfig.h>
-#else
-#include <contrib/tools/python/src/Include/pymacconfig.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/pymacconfig.h>
+#else
+#include <contrib/tools/python/src/Include/pymacconfig.h>
+#endif
diff --git a/contrib/libs/python/Include/pymacro.h b/contrib/libs/python/Include/pymacro.h
index ba64609d32..0b35bdf68e 100644
--- a/contrib/libs/python/Include/pymacro.h
+++ b/contrib/libs/python/Include/pymacro.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/pymacro.h>
-#else
-#error "No <pymacro.h> in Python2"
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/pymacro.h>
+#else
+#error "No <pymacro.h> in Python2"
+#endif
diff --git a/contrib/libs/python/Include/pymactoolbox.h b/contrib/libs/python/Include/pymactoolbox.h
index 320a4920a4..e735deff8a 100644
--- a/contrib/libs/python/Include/pymactoolbox.h
+++ b/contrib/libs/python/Include/pymactoolbox.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#error "No <pymactoolbox.h> in Python3"
-#else
-#include <contrib/tools/python/src/Include/pymactoolbox.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#error "No <pymactoolbox.h> in Python3"
+#else
+#include <contrib/tools/python/src/Include/pymactoolbox.h>
+#endif
diff --git a/contrib/libs/python/Include/pymath.h b/contrib/libs/python/Include/pymath.h
index a83f248550..952b86c6e4 100644
--- a/contrib/libs/python/Include/pymath.h
+++ b/contrib/libs/python/Include/pymath.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/pymath.h>
-#else
-#include <contrib/tools/python/src/Include/pymath.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/pymath.h>
+#else
+#include <contrib/tools/python/src/Include/pymath.h>
+#endif
diff --git a/contrib/libs/python/Include/pymem.h b/contrib/libs/python/Include/pymem.h
index 780aa553e1..d17ba80627 100644
--- a/contrib/libs/python/Include/pymem.h
+++ b/contrib/libs/python/Include/pymem.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/pymem.h>
-#else
-#include <contrib/tools/python/src/Include/pymem.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/pymem.h>
+#else
+#include <contrib/tools/python/src/Include/pymem.h>
+#endif
diff --git a/contrib/libs/python/Include/pyport.h b/contrib/libs/python/Include/pyport.h
index a32beac0c1..9f75a32106 100644
--- a/contrib/libs/python/Include/pyport.h
+++ b/contrib/libs/python/Include/pyport.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/pyport.h>
-#else
-#include <contrib/tools/python/src/Include/pyport.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/pyport.h>
+#else
+#include <contrib/tools/python/src/Include/pyport.h>
+#endif
diff --git a/contrib/libs/python/Include/pystate.h b/contrib/libs/python/Include/pystate.h
index 6601f2591b..5f1ad1d4e7 100644
--- a/contrib/libs/python/Include/pystate.h
+++ b/contrib/libs/python/Include/pystate.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/pystate.h>
-#else
-#include <contrib/tools/python/src/Include/pystate.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/pystate.h>
+#else
+#include <contrib/tools/python/src/Include/pystate.h>
+#endif
diff --git a/contrib/libs/python/Include/pystrcmp.h b/contrib/libs/python/Include/pystrcmp.h
index 748b61d534..38dead26dd 100644
--- a/contrib/libs/python/Include/pystrcmp.h
+++ b/contrib/libs/python/Include/pystrcmp.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/pystrcmp.h>
-#else
-#include <contrib/tools/python/src/Include/pystrcmp.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/pystrcmp.h>
+#else
+#include <contrib/tools/python/src/Include/pystrcmp.h>
+#endif
diff --git a/contrib/libs/python/Include/pystrhex.h b/contrib/libs/python/Include/pystrhex.h
index a8a41a1b56..f17fb48e45 100644
--- a/contrib/libs/python/Include/pystrhex.h
+++ b/contrib/libs/python/Include/pystrhex.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/pystrhex.h>
-#else
-#error "No <pystrhex.h> in Python2"
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/pystrhex.h>
+#else
+#error "No <pystrhex.h> in Python2"
+#endif
diff --git a/contrib/libs/python/Include/pystrtod.h b/contrib/libs/python/Include/pystrtod.h
index 70d9aa343e..7494b5abe0 100644
--- a/contrib/libs/python/Include/pystrtod.h
+++ b/contrib/libs/python/Include/pystrtod.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/pystrtod.h>
-#else
-#include <contrib/tools/python/src/Include/pystrtod.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/pystrtod.h>
+#else
+#include <contrib/tools/python/src/Include/pystrtod.h>
+#endif
diff --git a/contrib/libs/python/Include/pythonrun.h b/contrib/libs/python/Include/pythonrun.h
index 381610c54e..896d1b3978 100644
--- a/contrib/libs/python/Include/pythonrun.h
+++ b/contrib/libs/python/Include/pythonrun.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/pythonrun.h>
-#else
-#include <contrib/tools/python/src/Include/pythonrun.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/pythonrun.h>
+#else
+#include <contrib/tools/python/src/Include/pythonrun.h>
+#endif
diff --git a/contrib/libs/python/Include/pythread.h b/contrib/libs/python/Include/pythread.h
index 3f3eae9530..c0107779da 100644
--- a/contrib/libs/python/Include/pythread.h
+++ b/contrib/libs/python/Include/pythread.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/pythread.h>
-#else
-#include <contrib/tools/python/src/Include/pythread.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/pythread.h>
+#else
+#include <contrib/tools/python/src/Include/pythread.h>
+#endif
diff --git a/contrib/libs/python/Include/pytime.h b/contrib/libs/python/Include/pytime.h
index 7412fa8632..f7e61f9e33 100644
--- a/contrib/libs/python/Include/pytime.h
+++ b/contrib/libs/python/Include/pytime.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/pytime.h>
-#else
-#error "No <pytime.h> in Python2"
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/pytime.h>
+#else
+#error "No <pytime.h> in Python2"
+#endif
diff --git a/contrib/libs/python/Include/rangeobject.h b/contrib/libs/python/Include/rangeobject.h
index dc0b4a219b..006604bb5e 100644
--- a/contrib/libs/python/Include/rangeobject.h
+++ b/contrib/libs/python/Include/rangeobject.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/rangeobject.h>
-#else
-#include <contrib/tools/python/src/Include/rangeobject.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/rangeobject.h>
+#else
+#include <contrib/tools/python/src/Include/rangeobject.h>
+#endif
diff --git a/contrib/libs/python/Include/setobject.h b/contrib/libs/python/Include/setobject.h
index 5f09504d2b..dc8288f6bc 100644
--- a/contrib/libs/python/Include/setobject.h
+++ b/contrib/libs/python/Include/setobject.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/setobject.h>
-#else
-#include <contrib/tools/python/src/Include/setobject.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/setobject.h>
+#else
+#include <contrib/tools/python/src/Include/setobject.h>
+#endif
diff --git a/contrib/libs/python/Include/sliceobject.h b/contrib/libs/python/Include/sliceobject.h
index b124a7a15b..b30a687fa1 100644
--- a/contrib/libs/python/Include/sliceobject.h
+++ b/contrib/libs/python/Include/sliceobject.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/sliceobject.h>
-#else
-#include <contrib/tools/python/src/Include/sliceobject.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/sliceobject.h>
+#else
+#include <contrib/tools/python/src/Include/sliceobject.h>
+#endif
diff --git a/contrib/libs/python/Include/stringobject.h b/contrib/libs/python/Include/stringobject.h
index 374c66667b..e56cb06cfa 100644
--- a/contrib/libs/python/Include/stringobject.h
+++ b/contrib/libs/python/Include/stringobject.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#error "No <stringobject.h> in Python3"
-#else
-#include <contrib/tools/python/src/Include/stringobject.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#error "No <stringobject.h> in Python3"
+#else
+#include <contrib/tools/python/src/Include/stringobject.h>
+#endif
diff --git a/contrib/libs/python/Include/structmember.h b/contrib/libs/python/Include/structmember.h
index ab8d9c2924..c030e255a3 100644
--- a/contrib/libs/python/Include/structmember.h
+++ b/contrib/libs/python/Include/structmember.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/structmember.h>
-#else
-#include <contrib/tools/python/src/Include/structmember.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/structmember.h>
+#else
+#include <contrib/tools/python/src/Include/structmember.h>
+#endif
diff --git a/contrib/libs/python/Include/structseq.h b/contrib/libs/python/Include/structseq.h
index 02cadaaefe..a04da108d2 100644
--- a/contrib/libs/python/Include/structseq.h
+++ b/contrib/libs/python/Include/structseq.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/structseq.h>
-#else
-#include <contrib/tools/python/src/Include/structseq.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/structseq.h>
+#else
+#include <contrib/tools/python/src/Include/structseq.h>
+#endif
diff --git a/contrib/libs/python/Include/symtable.h b/contrib/libs/python/Include/symtable.h
index 5522056670..7ba5707165 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>
-#else
-#include <contrib/tools/python/src/Include/symtable.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/symtable.h>
+#else
+#include <contrib/tools/python/src/Include/symtable.h>
+#endif
diff --git a/contrib/libs/python/Include/sysmodule.h b/contrib/libs/python/Include/sysmodule.h
index 6b50a48c2d..dcf7a9bf05 100644
--- a/contrib/libs/python/Include/sysmodule.h
+++ b/contrib/libs/python/Include/sysmodule.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/sysmodule.h>
-#else
-#include <contrib/tools/python/src/Include/sysmodule.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/sysmodule.h>
+#else
+#include <contrib/tools/python/src/Include/sysmodule.h>
+#endif
diff --git a/contrib/libs/python/Include/timefuncs.h b/contrib/libs/python/Include/timefuncs.h
index 409ee6df19..1b1828b17a 100644
--- a/contrib/libs/python/Include/timefuncs.h
+++ b/contrib/libs/python/Include/timefuncs.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#error "No <timefuncs.h> in Python3"
-#else
-#include <contrib/tools/python/src/Include/timefuncs.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#error "No <timefuncs.h> in Python3"
+#else
+#include <contrib/tools/python/src/Include/timefuncs.h>
+#endif
diff --git a/contrib/libs/python/Include/token.h b/contrib/libs/python/Include/token.h
index cef4f27bc8..de1d0dc669 100644
--- a/contrib/libs/python/Include/token.h
+++ b/contrib/libs/python/Include/token.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/token.h>
-#else
-#include <contrib/tools/python/src/Include/token.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/token.h>
+#else
+#include <contrib/tools/python/src/Include/token.h>
+#endif
diff --git a/contrib/libs/python/Include/traceback.h b/contrib/libs/python/Include/traceback.h
index 284fc8ab7f..55e6e0f98f 100644
--- a/contrib/libs/python/Include/traceback.h
+++ b/contrib/libs/python/Include/traceback.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/traceback.h>
-#else
-#include <contrib/tools/python/src/Include/traceback.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/traceback.h>
+#else
+#include <contrib/tools/python/src/Include/traceback.h>
+#endif
diff --git a/contrib/libs/python/Include/tupleobject.h b/contrib/libs/python/Include/tupleobject.h
index 8b924b9b4c..acc7731d4e 100644
--- a/contrib/libs/python/Include/tupleobject.h
+++ b/contrib/libs/python/Include/tupleobject.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/tupleobject.h>
-#else
-#include <contrib/tools/python/src/Include/tupleobject.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/tupleobject.h>
+#else
+#include <contrib/tools/python/src/Include/tupleobject.h>
+#endif
diff --git a/contrib/libs/python/Include/typeslots.h b/contrib/libs/python/Include/typeslots.h
index 4dd000ae3c..1e8026e12b 100644
--- a/contrib/libs/python/Include/typeslots.h
+++ b/contrib/libs/python/Include/typeslots.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/typeslots.h>
-#else
-#error "No <typeslots.h> in Python2"
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/typeslots.h>
+#else
+#error "No <typeslots.h> in Python2"
+#endif
diff --git a/contrib/libs/python/Include/ucnhash.h b/contrib/libs/python/Include/ucnhash.h
index 42412a87b4..d3a784f50b 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>
-#else
-#include <contrib/tools/python/src/Include/ucnhash.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/ucnhash.h>
+#else
+#include <contrib/tools/python/src/Include/ucnhash.h>
+#endif
diff --git a/contrib/libs/python/Include/unicodeobject.h b/contrib/libs/python/Include/unicodeobject.h
index 172af650e1..9b531b5d2c 100644
--- a/contrib/libs/python/Include/unicodeobject.h
+++ b/contrib/libs/python/Include/unicodeobject.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/unicodeobject.h>
-#else
-#include <contrib/tools/python/src/Include/unicodeobject.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/unicodeobject.h>
+#else
+#include <contrib/tools/python/src/Include/unicodeobject.h>
+#endif
diff --git a/contrib/libs/python/Include/warnings.h b/contrib/libs/python/Include/warnings.h
index d5deac5bc5..a2b37eba83 100644
--- a/contrib/libs/python/Include/warnings.h
+++ b/contrib/libs/python/Include/warnings.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/warnings.h>
-#else
-#include <contrib/tools/python/src/Include/warnings.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/warnings.h>
+#else
+#include <contrib/tools/python/src/Include/warnings.h>
+#endif
diff --git a/contrib/libs/python/Include/weakrefobject.h b/contrib/libs/python/Include/weakrefobject.h
index 3fed3fa764..61f499869f 100644
--- a/contrib/libs/python/Include/weakrefobject.h
+++ b/contrib/libs/python/Include/weakrefobject.h
@@ -1,7 +1,7 @@
-#pragma once
-
-#ifdef USE_PYTHON3
-#include <contrib/tools/python3/src/Include/weakrefobject.h>
-#else
-#include <contrib/tools/python/src/Include/weakrefobject.h>
-#endif
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/weakrefobject.h>
+#else
+#include <contrib/tools/python/src/Include/weakrefobject.h>
+#endif
diff --git a/contrib/libs/python/README.md b/contrib/libs/python/README.md
index cd122b92b3..9b22a9b761 100644
--- a/contrib/libs/python/README.md
+++ b/contrib/libs/python/README.md
@@ -1,9 +1,9 @@
-This include-only library enables simultaneous bindings into Python2 and Python3 with single build.
-
-It provides the following:
-- Let dependencies to headers from both Pythons be seen at once during ya make dependency computation. This makes depenency graph more stable.
-- Steers build to proper Python headers depending on mode in which binding is built.
-- Adds proper Python library to link.
-
-Headers are automatically generated from Python2 and Python3 headers using gen_includes.py script
-
+This include-only library enables simultaneous bindings into Python2 and Python3 with single build.
+
+It provides the following:
+- Let dependencies to headers from both Pythons be seen at once during ya make dependency computation. This makes depenency graph more stable.
+- Steers build to proper Python headers depending on mode in which binding is built.
+- Adds proper Python library to link.
+
+Headers are automatically generated from Python2 and Python3 headers using gen_includes.py script
+
diff --git a/contrib/libs/python/gen_includes.py b/contrib/libs/python/gen_includes.py
index 0e024cc49d..bc73e6e826 100644
--- a/contrib/libs/python/gen_includes.py
+++ b/contrib/libs/python/gen_includes.py
@@ -1,24 +1,24 @@
-import sys
-import os
-import errno
-from os import listdir
+import sys
+import os
+import errno
+from os import listdir
from os.path import dirname, relpath, join
+
+def ensure_dir_exists(path):
+ try:
+ os.makedirs(path)
+ except OSError as e:
+ if e.errno == errno.EEXIST and os.path.isdir(path):
+ pass
+ else:
+ raise
+
-def ensure_dir_exists(path):
- try:
- os.makedirs(path)
- except OSError as e:
- if e.errno == errno.EEXIST and os.path.isdir(path):
- pass
- else:
- raise
-
-
-def make_dir(directory):
- if not os.path.exists(directory):
- os.makedirs(directory)
-
+def make_dir(directory):
+ if not os.path.exists(directory):
+ os.makedirs(directory)
+
def files(directory):
for dirpath, dirnames, filenames in os.walk(directory):
@@ -26,22 +26,22 @@ def files(directory):
yield relpath(join(dirpath, name), directory)
-def headers_set(directory):
+def headers_set(directory):
return {
f for f in files(directory)
if f.endswith('.h') and not f.startswith('internal/')
}
+
-
-if __name__ == "__main__":
-
- python2_path = sys.argv[1]
- python3_path = sys.argv[2]
- output_path = sys.argv[3]
-
- ensure_dir_exists(join('.', python2_path))
- ensure_dir_exists(join('.', python3_path))
-
+if __name__ == "__main__":
+
+ python2_path = sys.argv[1]
+ python3_path = sys.argv[2]
+ output_path = sys.argv[3]
+
+ ensure_dir_exists(join('.', python2_path))
+ ensure_dir_exists(join('.', python3_path))
+
only_headers2 = headers_set(python2_path)
only_headers3 = headers_set(python3_path)
all_headers = only_headers2 | only_headers3
diff --git a/contrib/libs/python/ut/lib/test.cpp b/contrib/libs/python/ut/lib/test.cpp
index e3aabc8889..824b7460e1 100644
--- a/contrib/libs/python/ut/lib/test.cpp
+++ b/contrib/libs/python/ut/lib/test.cpp
@@ -1,21 +1,21 @@
-#include "test.h"
-
-#include <Python.h>
+#include "test.h"
+
+#include <Python.h>
#include <library/cpp/testing/unittest/registar.h>
-
-TTestPyInvoker::TTestPyInvoker() {}
-
-const char* TTestPyInvoker::GetVersion() {
- Py_Initialize();
-
- auto* module = PyImport_ImportModule("sys");
- UNIT_ASSERT(module != nullptr);
-
- auto* versionObj = PyObject_GetAttrString(module, "version");
- if (versionObj == nullptr) {
- Py_DECREF(module);
- UNIT_ASSERT(versionObj != nullptr);
- }
-
- return Py_GetVersion();
-}
+
+TTestPyInvoker::TTestPyInvoker() {}
+
+const char* TTestPyInvoker::GetVersion() {
+ Py_Initialize();
+
+ auto* module = PyImport_ImportModule("sys");
+ UNIT_ASSERT(module != nullptr);
+
+ auto* versionObj = PyObject_GetAttrString(module, "version");
+ if (versionObj == nullptr) {
+ Py_DECREF(module);
+ UNIT_ASSERT(versionObj != nullptr);
+ }
+
+ return Py_GetVersion();
+}
diff --git a/contrib/libs/python/ut/lib/test.h b/contrib/libs/python/ut/lib/test.h
index 1bf824ebea..4bdbe672ac 100644
--- a/contrib/libs/python/ut/lib/test.h
+++ b/contrib/libs/python/ut/lib/test.h
@@ -1,7 +1,7 @@
-#pragma once
-
-class TTestPyInvoker {
-public:
- TTestPyInvoker();
- const char* GetVersion();
-};
+#pragma once
+
+class TTestPyInvoker {
+public:
+ TTestPyInvoker();
+ const char* GetVersion();
+};
diff --git a/contrib/libs/python/ut/lib/ya.make b/contrib/libs/python/ut/lib/ya.make
index cfa0aaa612..a67c3e254e 100644
--- a/contrib/libs/python/ut/lib/ya.make
+++ b/contrib/libs/python/ut/lib/ya.make
@@ -1,17 +1,17 @@
-OWNER(spreis)
-
-PY23_LIBRARY()
+OWNER(spreis)
+
+PY23_LIBRARY()
WITHOUT_LICENSE_TEXTS()
LICENSE(YandexOpen)
-PEERDIR(
+PEERDIR(
library/cpp/testing/unittest
-)
+)
SRCS(
test.cpp
)
-END()
+END()
diff --git a/contrib/libs/python/ut/py2/use.cpp b/contrib/libs/python/ut/py2/use.cpp
index a4a2c8d9bb..853fb452dc 100644
--- a/contrib/libs/python/ut/py2/use.cpp
+++ b/contrib/libs/python/ut/py2/use.cpp
@@ -1,10 +1,10 @@
-#include <contrib/libs/python/ut/lib/test.h>
+#include <contrib/libs/python/ut/lib/test.h>
#include <library/cpp/testing/unittest/registar.h>
-
-Y_UNIT_TEST_SUITE(TestPy3Binding) {
- Y_UNIT_TEST(version) {
- TTestPyInvoker invoker;
- UNIT_ASSERT_EQUAL(invoker.GetVersion()[0], '2');
- }
-}
-
+
+Y_UNIT_TEST_SUITE(TestPy3Binding) {
+ Y_UNIT_TEST(version) {
+ TTestPyInvoker invoker;
+ UNIT_ASSERT_EQUAL(invoker.GetVersion()[0], '2');
+ }
+}
+
diff --git a/contrib/libs/python/ut/py2/ya.make b/contrib/libs/python/ut/py2/ya.make
index 9c5c824761..3962a7664e 100644
--- a/contrib/libs/python/ut/py2/ya.make
+++ b/contrib/libs/python/ut/py2/ya.make
@@ -1,9 +1,9 @@
-OWNER(spreis)
-
-UNITTEST()
-SRCS(use.cpp)
-
-PEERDIR(
- contrib/libs/python/ut/lib
-)
-END()
+OWNER(spreis)
+
+UNITTEST()
+SRCS(use.cpp)
+
+PEERDIR(
+ contrib/libs/python/ut/lib
+)
+END()
diff --git a/contrib/libs/python/ut/py3/use.cpp b/contrib/libs/python/ut/py3/use.cpp
index 8a2531bcc1..e532ca89e7 100644
--- a/contrib/libs/python/ut/py3/use.cpp
+++ b/contrib/libs/python/ut/py3/use.cpp
@@ -1,10 +1,10 @@
-#include <contrib/libs/python/ut/lib/test.h>
+#include <contrib/libs/python/ut/lib/test.h>
#include <library/cpp/testing/unittest/registar.h>
-
-Y_UNIT_TEST_SUITE(TestPy3Binding) {
- Y_UNIT_TEST(version) {
- TTestPyInvoker invoker;
- UNIT_ASSERT_EQUAL(invoker.GetVersion()[0], '3');
- }
-}
-
+
+Y_UNIT_TEST_SUITE(TestPy3Binding) {
+ Y_UNIT_TEST(version) {
+ TTestPyInvoker invoker;
+ UNIT_ASSERT_EQUAL(invoker.GetVersion()[0], '3');
+ }
+}
+
diff --git a/contrib/libs/python/ut/py3/ya.make b/contrib/libs/python/ut/py3/ya.make
index df6d4fe767..af8407938c 100644
--- a/contrib/libs/python/ut/py3/ya.make
+++ b/contrib/libs/python/ut/py3/ya.make
@@ -1,10 +1,10 @@
-OWNER(spreis)
-
-UNITTEST()
-USE_PYTHON3()
-SRCS(use.cpp)
-
-PEERDIR(
- contrib/libs/python/ut/lib
-)
-END()
+OWNER(spreis)
+
+UNITTEST()
+USE_PYTHON3()
+SRCS(use.cpp)
+
+PEERDIR(
+ contrib/libs/python/ut/lib
+)
+END()
diff --git a/contrib/libs/python/ut/ya.make b/contrib/libs/python/ut/ya.make
index 4fea35153a..5fe3576e06 100644
--- a/contrib/libs/python/ut/ya.make
+++ b/contrib/libs/python/ut/ya.make
@@ -1,7 +1,7 @@
-OWNER(spreis)
-
-RECURSE(
- lib
- py2
- py3
-) \ No newline at end of file
+OWNER(spreis)
+
+RECURSE(
+ lib
+ py2
+ py3
+) \ No newline at end of file
diff --git a/contrib/libs/python/ya.make b/contrib/libs/python/ya.make
index 20a57f4b48..df7c89d882 100644
--- a/contrib/libs/python/ya.make
+++ b/contrib/libs/python/ya.make
@@ -3,16 +3,16 @@ OWNER(
orivej
g:contrib
)
-
-PY23_LIBRARY()
-
+
+PY23_LIBRARY()
+
LICENSE(YandexOpen)
LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
-NO_PYTHON_INCLUDES()
-
-IF (USE_ARCADIA_PYTHON)
+NO_PYTHON_INCLUDES()
+
+IF (USE_ARCADIA_PYTHON)
PEERDIR(
contrib/libs/python/Include
library/python/symbols/module
@@ -29,21 +29,21 @@ IF (USE_ARCADIA_PYTHON)
contrib/tools/python/lib
library/python/runtime
)
- ELSE()
+ ELSE()
PEERDIR(
contrib/tools/python3/lib
library/python/runtime_py3
)
- ENDIF()
-ELSE()
- IF (USE_SYSTEM_PYTHON)
+ ENDIF()
+ELSE()
+ IF (USE_SYSTEM_PYTHON)
PEERDIR(
build/platform/python
)
- ELSE()
- CFLAGS(GLOBAL $PYTHON_INCLUDE)
- ENDIF()
-ENDIF()
+ ELSE()
+ CFLAGS(GLOBAL $PYTHON_INCLUDE)
+ ENDIF()
+ENDIF()
END()