aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/python3
diff options
context:
space:
mode:
authorsnermolaev <snermolaev@yandex-team.ru>2022-02-10 16:45:53 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:53 +0300
commit2015790ac9fcc04caab83fccc23ab2460310a797 (patch)
treee644e9bc3f6f688561a871793b59bf8a637e0f72 /contrib/tools/python3
parentc768a99151e47c3a4bb7b92c514d256abd301c4d (diff)
downloadydb-2015790ac9fcc04caab83fccc23ab2460310a797.tar.gz
Restoring authorship annotation for <snermolaev@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/tools/python3')
-rw-r--r--contrib/tools/python3/pycc/bin/ya.make54
-rw-r--r--contrib/tools/python3/pycc/ya.make20
-rw-r--r--contrib/tools/python3/src/Include/pyconfig-linux.h4
-rw-r--r--contrib/tools/python3/src/Modules/_decimal/libmpdec/mpdecimal.h6
4 files changed, 42 insertions, 42 deletions
diff --git a/contrib/tools/python3/pycc/bin/ya.make b/contrib/tools/python3/pycc/bin/ya.make
index c63399c525..83e9540753 100644
--- a/contrib/tools/python3/pycc/bin/ya.make
+++ b/contrib/tools/python3/pycc/bin/ya.make
@@ -1,28 +1,28 @@
-OWNER(g:contrib g:ymake orivej)
-
+OWNER(g:contrib g:ymake orivej)
+
PY3_PROGRAM_BIN(pycc)
-
-ENABLE(PYBUILD_NO_PYC)
-
-DISABLE(PYTHON_SQLITE3)
-
-PEERDIR(
- library/python/runtime_py3
- library/python/runtime_py3/main
-)
-
-NO_CHECK_IMPORTS()
-
-NO_PYTHON_INCLUDES()
-
-NO_PYTHON_COVERAGE()
-
-SRCDIR(
- contrib/tools/python3/pycc
-)
-
-PY_SRCS(
- MAIN main.py
-)
-
-END()
+
+ENABLE(PYBUILD_NO_PYC)
+
+DISABLE(PYTHON_SQLITE3)
+
+PEERDIR(
+ library/python/runtime_py3
+ library/python/runtime_py3/main
+)
+
+NO_CHECK_IMPORTS()
+
+NO_PYTHON_INCLUDES()
+
+NO_PYTHON_COVERAGE()
+
+SRCDIR(
+ contrib/tools/python3/pycc
+)
+
+PY_SRCS(
+ MAIN main.py
+)
+
+END()
diff --git a/contrib/tools/python3/pycc/ya.make b/contrib/tools/python3/pycc/ya.make
index 7bc5da9620..2f65c7f912 100644
--- a/contrib/tools/python3/pycc/ya.make
+++ b/contrib/tools/python3/pycc/ya.make
@@ -1,13 +1,13 @@
-OWNER(g:contrib g:ymake orivej)
+OWNER(g:contrib g:ymake orivej)
-IF (USE_PREBUILT_TOOLS)
- INCLUDE(${ARCADIA_ROOT}/build/prebuilt/contrib/tools/python3/pycc/ya.make.prebuilt)
-ENDIF()
+IF (USE_PREBUILT_TOOLS)
+ INCLUDE(${ARCADIA_ROOT}/build/prebuilt/contrib/tools/python3/pycc/ya.make.prebuilt)
+ENDIF()
-IF (NOT PREBUILT)
- INCLUDE(${ARCADIA_ROOT}/contrib/tools/python3/pycc/bin/ya.make)
-ENDIF()
+IF (NOT PREBUILT)
+ INCLUDE(${ARCADIA_ROOT}/contrib/tools/python3/pycc/bin/ya.make)
+ENDIF()
-RECURSE(
- bin
-)
+RECURSE(
+ bin
+)
diff --git a/contrib/tools/python3/src/Include/pyconfig-linux.h b/contrib/tools/python3/src/Include/pyconfig-linux.h
index 98de8abc72..4f85b67e88 100644
--- a/contrib/tools/python3/src/Include/pyconfig-linux.h
+++ b/contrib/tools/python3/src/Include/pyconfig-linux.h
@@ -413,9 +413,9 @@
/* Define if we can use gcc inline assembler to get and set x87 control word
*/
-#if defined(__x86_64__) || defined(__i386__)
+#if defined(__x86_64__) || defined(__i386__)
#define HAVE_GCC_ASM_FOR_X87 1
-#endif
+#endif
/* Define if your compiler provides __uint128_t */
#define HAVE_GCC_UINT128_T 1
diff --git a/contrib/tools/python3/src/Modules/_decimal/libmpdec/mpdecimal.h b/contrib/tools/python3/src/Modules/_decimal/libmpdec/mpdecimal.h
index f66f6e5920..d0487a983d 100644
--- a/contrib/tools/python3/src/Modules/_decimal/libmpdec/mpdecimal.h
+++ b/contrib/tools/python3/src/Modules/_decimal/libmpdec/mpdecimal.h
@@ -110,9 +110,9 @@ const char *mpd_version(void);
#error "cannot use CONFIG_64 or CONFIG_32 with UNIVERSAL."
#endif
#if defined(__powerpc64__) || defined(_M_AMD64) || defined(__aarch64__)
- #define CONFIG_64
- #define ANSI
- #elif defined(__powerpc__)
+ #define CONFIG_64
+ #define ANSI
+ #elif defined(__powerpc__)
#define CONFIG_32
#define ANSI
#elif defined(__i386__) || defined(_M_IX86)