- 26 Nis, 2019 1 kayıt (commit)
-
-
Charles Pigott yazdı
-
- 23 Nis, 2019 1 kayıt (commit)
-
-
Victor Stinner yazdı
xlc compiler doesn't support "-D define" flag only "-Ddefine".
-
- 18 Nis, 2019 1 kayıt (commit)
-
-
Victor Stinner yazdı
Add a new _testinternalcapi module to test the internal C API. Move _Py_GetConfigsAsDict() function to the internal C API: _testembed now uses _testinternalcapi to access the function.
-
- 17 Nis, 2019 1 kayıt (commit)
-
-
Victor Stinner yazdı
Change PyAPI_FUNC(type), PyAPI_DATA(type) and PyMODINIT_FUNC macros of pyport.h when Py_BUILD_CORE_MODULE is defined. The Py_BUILD_CORE_MODULE define must be now be used to build a C extension as a dynamic library accessing Python internals: export the PyInit_xxx() function in DLL exports on Windows. Changes: * Py_BUILD_CORE_BUILTIN and Py_BUILD_CORE_MODULE now imply Py_BUILD_CORE directy in pyport.h. * ceval.c compilation now fails with an error if Py_BUILD_CORE is not defined, just to ensure that Python is build with the correct defines. * setup.py now compiles _pickle.c with Py_BUILD_CORE_MODULE define. * setup.py compiles _json.c with Py_BUILD_CORE_MODULE define, rather than Py_BUILD_CORE_BUILTIN define * PCbuild/pythoncore.vcxproj: Add Py_BUILD_CORE_BUILTIN define.
-
- 15 Nis, 2019 1 kayıt (commit)
-
-
pxinwr yazdı
-
- 09 Nis, 2019 2 kayıt (commit)
-
-
Christian Heimes yazdı
[bpo-36146](https://bugs.python.org/issue36146) introduced another regression. In case of missing OpenSSL libraries or headers, setup.py no longer reported _hashlib and _ssl to be missing. Signed-off-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue36577
-
-
- 08 Nis, 2019 1 kayıt (commit)
-
-
Michael Felt yazdı
-
- 15 Mar, 2019 1 kayıt (commit)
-
-
Eric Snow yazdı
-
- 04 Mar, 2019 1 kayıt (commit)
-
-
Victor Stinner yazdı
Revert: bpo-33608: Factor out a private, per-interpreter _Py_AddPendingCall(). (GH-11617) (GH-12159) * Revert "bpo-36097: Use only public C-API in the_xxsubinterpreters module (adding as necessary). (#12003)" This reverts commit bcfa450f. * Revert "bpo-33608: Simplify ceval's DISPATCH by hoisting eval_breaker ahead of time. (gh-12062)" This reverts commit bda918bf. * Revert "bpo-33608: Use _Py_AddPendingCall() in _PyCrossInterpreterData_Release(). (gh-12024)" This reverts commit b05b711a. * Revert "bpo-33608: Factor out a private, per-interpreter _Py_AddPendingCall(). (GH-11617)" This reverts commit ef4ac967.
-
- 01 Mar, 2019 7 kayıt (commit)
-
-
Eric Snow yazdı
-
Victor Stinner yazdı
Add TEST_EXTENSIONS constant to setup.py to allow to not build test extensions like _testcapi. Changes: * Add add_ldflags_cppflags() subfunction * Rename add_compiler_directories() to configure_compiler(). * Remove unused COMPILED_WITH_PYDEBUG constant. * Use self.add() rather than accessing directly self.extensions. * Remove module_enabled() function: check differently if curses extension is built or not.
-
Victor Stinner yazdı
* Move set_compiler_flags() calls and concurrent.future hack from module top-level to main() * Remove unused variables 'macros' and 'libraries' from detect_multiprocessing(). * Move SUMMARY and CLASSIFIERS constants at the top, move set_compiler_flags() function below these constants. * Add some empty new lines to respect PEP 8.
-
Victor Stinner yazdı
* Split PyBuildExt.detect_modules() huge function into subfunctions. * Move curses, hashlib and some other code to reorganize the code. * detect_tkinter() now returns False if the extension is missing. * Add PyBuildExt.config_h_vars attribute
-
Victor Stinner yazdı
* Add PyBuildExt.srcdir atribute in setup.py: the source directory is now always absolute. * Add PyBuildExt.inc_dirs and PyBuildExt.lib_dirs attributes: replace 'inc_dirs' and 'lib_dirs' local variables of detect_modules(). * Replace "from distutils.errors import *" with "from distutils.errors import CCompilerError, DistutilsError" to be able to use static analyzers like pyflakes * Reorder imports.
-
Victor Stinner yazdı
* Add PyBuildExt.add() which adds the extension directly to self.extensions, rather than using a temporary 'exts' local variable in detect_modules() and then add 'exts' to self.extensions * Convert 'missing' local variable from detect_modules() into PyBuildExt.missing attribute * _detect_openssl(), _decimal_ext() and _detect_nis() now call directly self.add(), rather than returning an extension (or None if not found). * Rename _decimal_ext() to _detect_decimal() for consistency with other methods.
-
Victor Stinner yazdı
Fix setup.py on macOS: only add /usr/include/ffi to include directories of _ctypes, not for all extensions.
-
- 28 Şub, 2019 1 kayıt (commit)
-
-
Victor Stinner yazdı
* Rename globals to upper case to better distinguish if a variable is global or local: * Rename cross_compiling to CROSS_COMPILING * Rename host_platform to HOST_PLATFORM * Rename disabled_module_list to DISABLED_MODULE_LIST * Add MS_WINDOWS, CYGWIN and MACOS constants. * Use booleans: replace "return 0" with "return False" and replace "return 1" with "return True"
-
- 27 Şub, 2019 1 kayıt (commit)
-
-
pxinwr yazdı
-
- 25 Şub, 2019 1 kayıt (commit)
-
-
Anthony Sottile yazdı
-
- 08 Şub, 2019 1 kayıt (commit)
-
-
Neil Schemenauer yazdı
Use autoconfig to probe for shm_open() and shm_unlink(). Set SHM_NEEDS_LIBRT if we must link with librt to get the shm_* functions. Change setup.py to use the autoconfig defines. These changes should make it more likely that _multiprocessing/posixshmem.c gets built correctly on different platforms.
-
- 02 Şub, 2019 1 kayıt (commit)
-
-
Davin Potts yazdı
Added shared_memory submodule to multiprocessing in time for first alpha with cross-platform tests soon to follow.
-
- 19 Ara, 2018 1 kayıt (commit)
-
-
stratakis yazdı
When compiling 3rd party C extensions, the linker flags used by the compiler for the interpreter and the stdlib modules, will get leaked into distutils. In order to avoid that, the PY_CORE_LDFLAGS and PY_LDFLAGS_NODIST are introduced to keep those flags separated.
-
- 09 Kas, 2018 1 kayıt (commit)
-
-
Victor Stinner yazdı
* All internal header files now require Py_BUILD_CORE or Py_BUILD_CORE_BUILTIN to be defined. * _json.c is now compiled with Py_BUILD_CORE_BUILTIN to access pycore_accu.h header. * Add an example to Modules/Setup to show how to build _json as a built-in module; it requires non trivial compiler options.
-
- 11 Tem, 2018 1 kayıt (commit)
-
-
Chih-Hsuan Yen yazdı
-
- 20 Nis, 2018 1 kayıt (commit)
-
-
Brett Cannon yazdı
-
- 25 Şub, 2018 1 kayıt (commit)
-
-
Christian Heimes yazdı
The ctypes module used to depend on indirect linking for dlopen. The shared extension is now explicitly linked against libdl on platforms with dl. Signed-off-by: Christian Heimes <christian@python.org>
-
- 18 Şub, 2018 1 kayıt (commit)
-
-
Ivan Levkivskyi yazdı
This adds C versions of methods used by ABCMeta that improve performance of various ABC operations.
-
- 30 Ock, 2018 1 kayıt (commit)
-
-
Eric Snow yazdı
The module is primarily intended for internal use in the test suite. Building the module under Windows will come in a follow-up PR.
-
- 27 Ock, 2018 1 kayıt (commit)
-
-
Christian Heimes yazdı
bpo-31399: Let OpenSSL verify hostname and IP The ssl module now uses OpenSSL's X509_VERIFY_PARAM_set1_host() and X509_VERIFY_PARAM_set1_ip() API to verify hostname and IP addresses. * Remove match_hostname calls * Check for libssl with set1_host, libssl must provide X509_VERIFY_PARAM_set1_host() * Add documentation for OpenSSL 1.0.2 requirement * Don't support OpenSSL special mode with a leading dot, e.g. ".example.org" matches "www.example.org". It's not standard conform. * Add hostname_checks_common_name Signed-off-by: Christian Heimes <christian@python.org>
-
- 26 Ock, 2018 1 kayıt (commit)
-
-
Christian Heimes yazdı
The nismodule is now compatible with new libnsl and headers location Signed-off-by: Christian Heimes <christian@python.org>
-
- 23 Ock, 2018 1 kayıt (commit)
-
-
Yury Selivanov yazdı
-
- 22 Ock, 2018 1 kayıt (commit)
-
-
Victor Stinner yazdı
Drop support of FreeBSD 9 and older.
-
- 20 Ock, 2018 1 kayıt (commit)
-
-
Christian Heimes yazdı
Add https://www.gnu.org/software/autoconf-archive/ax_check_openssl.html to auto-detect compiler flags, linker flags and libraries to compile OpenSSL extensions. The M4 macro uses pkg-config and falls back to manual detection. Add autoconf magic to detect usable X509_VERIFY_PARAM_set1_host() and related functions. Refactor setup.py to use new config vars to compile _ssl and _hashlib modules. Signed-off-by: Christian Heimes <christian@python.org>
-
- 15 Ock, 2018 1 kayıt (commit)
-
-
Antoine Pitrou yazdı
Add a queue.SimpleQueue class, an unbounded FIFO queue with a reentrant C implementation of put().
-
- 12 Ock, 2018 1 kayıt (commit)
-
-
Christian Heimes yazdı
glibc has removed Sun RPC. Use replacement libtirpc headers and library in nis module Signed-off-by: Christian Heimes <christian@python.org>
-
- 14 Ara, 2017 1 kayıt (commit)
-
-
Mike yazdı
* Fix multiple typos in code comments * Add spacing in comments (test_logging.py, test_math.py) * Fix spaces at the beginning of comments in test_logging.py
-
- 06 Ara, 2017 1 kayıt (commit)
-
-
Stefan Krah yazdı
-
- 26 Kas, 2017 1 kayıt (commit)
-
-
Nick Coghlan yazdı
find_file() returns an empty list if it finds the requested header on the standard include path, so header existence checks need to be explicitly against "is not None".
-
- 25 Kas, 2017 1 kayıt (commit)
-
-
xdegaye yazdı
detect_modules() in setup.py now also searches the sysroot paths when cross-compiling.
-