- 25 Jan, 2018 4 commits
-
-
INADA Naoki authored
`object_pairs_hook=OrderedDict` idiom is deprecated.
-
Serhiy Storchaka authored
Add two new private APIs: _PyObject_LookupAttr() and _PyObject_LookupAttrId()
-
Victor Stinner authored
In Py_Main(), don't call pymain_set_global_config() early: only call it when the whole configuration has been read. Add an unit test to prevent future regression.
-
Brett Cannon authored
-
- 24 Jan, 2018 15 commits
-
-
Andrew Svetlov authored
-
Paul Ganssle authored
* Add timezone to datetime C API * Add documentation for timezone C API macros * Add dedicated tests for datetime type check macros * Remove superfluous C API test * Drop support for TimeZoneType in datetime C API * Expose UTC singleton to the datetime C API * Update datetime C-API documentation to include links * Add reference count information for timezone constructors
-
Bernhard M. Wiedemann authored
To support reproducible builds, the setting of of SOURCE_DATE_EPOCH triggers the py_compile module -- and by extension, compileall -- to forcibly compile with hash-based .pyc files. This eliminates the possibility of timestamp-based .pyc files which vary between builds.
-
Barry Warsaw authored
-
Victor Stinner authored
-
Nathaniel J. Smith authored
-
Andrew Svetlov authored
* Rename sock_sendfile test methods * Make sock_sendfile tests more stable
-
Barry Warsaw authored
* bpo-32651 - In the documentation for os.getlogin(), recommend getpass.getuser()
-
Yury Selivanov authored
Specifically, it's not possible to subclass Task/Future classes and override the following methods: * Future._schedule_callbacks * Task._step * Task._wakeup
-
Victor Stinner authored
_PyCoreConfig_Read() is now responsible to compute sys.path. So sys.path is now computed before calling _Py_InitializeCore(). Changes: * Add module_search_path, module_search_paths, executable, prefix, base_prefix, exec_prefix and base_exec_prefix to _PyCoreConfig. * _PyMainInterpreterConfig_Read() now only converts wchar_t** lists into a Python list, it doesn't compute sys.path anymore.
-
Victor Stinner authored
Makefile $MACHDEPPATH uses $PLATDIR, but this variable was removed. So remove also $MACHDEPPATH. Remove also $EXTRAMACHDEPPATH.
-
Pablo Galindo authored
-
-
Yury Selivanov authored
-
Bo Bayles authored
-
- 23 Jan, 2018 10 commits
-
-
Yury Selivanov authored
-
Yury Selivanov authored
-
stratakis authored
glibc is deprecating libcrypt in favor of libxcrypt, however python assumes that crypt.h will always be included. This change makes the header inclusion explicit when libxcrypt is present on the system.
-
Xiang Zhang authored
* bpo-32618: Fix test_mutatingdecodehandler not testing test.mutating It should test both test.replacing and test.mutating instead of test test.replacing twice.
-
Victor Stinner authored
"python3 -bb -Wd" now works as expected: "python3 -bb -Wd -Werror::BytesWarning" is no more needed.
-
Victor Stinner authored
Update configure since configure.ac was modified to drop support for FreeBSD 4.
-
Nathaniel J. Smith authored
-
Yury Selivanov authored
-
Yury Selivanov authored
-
Yury Selivanov authored
-
- 22 Jan, 2018 6 commits
-
-
Victor Stinner authored
PyUnicode_DecodeLocaleAndSize(), PyUnicode_DecodeLocale() and PyUnicode_EncodeLocale() now use always use the UTF-8 encoding on Android, instead of the current locale encoding. On Android API 19, mbstowcs() and wcstombs() are broken and cannot be used.
-
Victor Stinner authored
Drop support of FreeBSD 9 and older.
-
Yury Selivanov authored
-
Ethan Furman authored
* bpo-31801: Enum: add _ignore_ as class option _ignore_ is a list, or white-space seperated str, of names that will not be candidates for members; these names, and _ignore_ itself, are removed from the final class. * bpo-31801: Enum: add documentation for _ignore_ * bpo-31801: Enum: remove trailing whitespace * bpo-31801: Enum: fix bulleted list format * bpo-31801: add version added for _ignore_
-
INADA Naoki authored
-
Yury Selivanov authored
The previous version was correct in terms of behaviour, but checking the return value of PyErr_WarnFormat allows to avoid calling PyErr_Occurred and silences the coverity alarm.
-
- 21 Jan, 2018 2 commits
-
-
Yury Selivanov authored
-
Nathaniel J. Smith authored
* Add coro.cr_origin and sys.set_coroutine_origin_tracking_depth * Use coroutine origin information in the unawaited coroutine warning * Stop using set_coroutine_wrapper in asyncio debug mode * In BaseEventLoop.set_debug, enable debugging in the correct thread
-
- 20 Jan, 2018 3 commits
-
-
Serhiy Storchaka authored
-
Christian Heimes authored
Add test certs and test for ECDSA cert and EC/RSA dual mode. I'm also adding certs for IDNA 2003/2008 tests and simplify some test data handling. Signed-off-by: Christian Heimes <christian@python.org>
-
Christian Heimes authored
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>
-