- 18 Sep, 2018 9 commits
-
-
Christian Heimes authored
The C accelerated _elementtree module now initializes hash randomization salt from _Py_HashSecret instead of libexpat's default CPRNG. Signed-off-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue34623
-
Serhiy Storchaka authored
bpo-33721: Make some os.path functions and pathlib.Path methods be tolerant to invalid paths. (#7695) Such functions as os.path.exists(), os.path.lexists(), os.path.isdir(), os.path.isfile(), os.path.islink(), and os.path.ismount() now return False instead of raising ValueError or its subclasses UnicodeEncodeError and UnicodeDecodeError for paths that contain characters or bytes unrepresentative at the OS level.
-
Serhiy Storchaka authored
Add C API function PyCompile_OpcodeStackEffectWithJump().
-
Yury Selivanov authored
-
Serhiy Storchaka authored
Also rename corresponding attributes, parameters and variables.
-
Miguel Ángel García authored
The `gather` method requires to close the parenthesis, but it is being closed twice.
-
Danny Hermes authored
-
Yury Selivanov authored
-
Victor Stinner authored
Add a new -X coerce_c_locale command line option to control C locale coercion (PEP 538).
-
- 17 Sep, 2018 17 commits
-
-
Victor Stinner authored
Py_Initialize() and Py_Main() cannot enable the C locale coercion (PEP 538) anymore: it is always disabled. It can now only be enabled by the Python program ("python3). test_embed: get_filesystem_encoding() doesn't have to set PYTHONUTF8 nor PYTHONCOERCECLOCALE, these variables are already set in the parent.
-
Elvis Pranskevichus authored
-
Yury Selivanov authored
-
Victor Stinner authored
_PyCoreConfig: * Rename coerce_c_locale to _coerce_c_locale * Rename coerce_c_locale_warn to _coerce_c_locale_warn These fields are now private (name prefixed by "_").
-
Yury Selivanov authored
-
Steve Dower authored
-
Victor Stinner authored
The test tries to fill the receiver's socket buffer and expects an error. But the RDS protocol doesn't require that. Moreover, the Linux implementation of RDS expects that the producer of the messages reduces its rate, it's not the role of the receiver to trigger an error. The test fails on Fedora 28 by design, so remove it.
-
Victor Stinner authored
This reverts commit afde1c1a.
-
Yury Selivanov authored
-
Steve Dower authored
-
Serhiy Storchaka authored
Also convert os.get_blocking() and os.set_blocking().
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Alexandru Ardelean authored
Include ``openssl/dh.h`` header file to fix implicit function declaration of ``DH_free()``. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
-
Serhiy Storchaka authored
-
Benjamin Peterson authored
Two major changes: - Move case statements out of the TARGET macro. - Move PREDICT macro invocations after the case label.
-
- 16 Sep, 2018 2 commits
-
-
Bumsik Kim authored
-
Vladimir Matveev authored
-
- 15 Sep, 2018 3 commits
-
-
Monson Shao authored
-
Michael Felt authored
* Modify DEFAULT_CONFIG for AIX * bedevere/news did not like old name * Modify NEWS entry * Modified per peer review * Define and use NULL_STR constant to account for AIX libc behavior * Modify per peer review * Modify NEWS
-
Ezio Melotti authored
-
- 14 Sep, 2018 9 commits
-
-
Yury Selivanov authored
-
Benjamin Peterson authored
Assume tzname exists. Only use a hack to compute altzone if it's not defined.
-
Eitan Adler authored
-
Pablo Galindo authored
* Skip posix_spawn scheduler tests on BSD. We were already skyping similar tests as the behaviour can depend on the implementation in some cases.
-
Yury Selivanov authored
-
Yury Selivanov authored
-
Grant authored
-
Eric Snow authored
When os.fork() is called (on platforms that support it) all threads but the current one are destroyed in the child process. Consequently we must ensure that all but the associated interpreter are likewise destroyed. The main interpreter is critical for runtime operation, so we must ensure that fork only happens in the main interpreter. https://bugs.python.org/issue34651
-
Yury Selivanov authored
* bpo-33649: Refresh Tasks and Futures pages * Fixes * Fix markup
-