summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-34623: Use XML_SetHashSalt in _elementtree (GH-9146)Christian Heimes2018-09-184-1/+15
| | | | | | | | | | 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
* bpo-33721: Make some os.path functions and pathlib.Path methods be tolerant ↵Serhiy Storchaka2018-09-1815-54/+181
| | | | | | | | | | 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.
* bpo-32455: Add jump parameter to dis.stack_effect(). (GH-6610)Serhiy Storchaka2018-09-188-26/+99
| | | | Add C API function PyCompile_OpcodeStackEffectWithJump().
* bpo-33649: Fix markup; add another note that asyncio.run is 3.7+ (GH-9389)Yury Selivanov2018-09-182-2/+3
|
* bpo-34681: Rename class Pattern in sre_parse to State. (GH-9310)Serhiy Storchaka2018-09-183-26/+26
| | | Also rename corresponding attributes, parameters and variables.
* Fix syntax error on Asyncio example in doc (GH-9387)Miguel Ángel García2018-09-181-1/+1
| | | The `gather` method requires to close the parenthesis, but it is being closed twice.
* Change "set_after" reference to `say_after`. (GH-9384)Danny Hermes2018-09-181-1/+1
|
* bpo-33649: Note that asyncio.run() calls shutdown_asyncgens() (GH-9380)Yury Selivanov2018-09-181-1/+5
|
* bpo-34589: Add -X coerce_c_locale command line option (GH-9378)Victor Stinner2018-09-188-52/+160
| | | | Add a new -X coerce_c_locale command line option to control C locale coercion (PEP 538).
* bpo-34589: C locale coercion off by default (GH-9073)Victor Stinner2018-09-178-16/+49
| | | | | | | | | 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.
* bpo-33649: A copy-editing pass on asyncio documentation (GH-9376)Elvis Pranskevichus2018-09-1712-349/+347
|
* bpo-33649: Add a hello world example to asyncio.rst (GH-9374)Yury Selivanov2018-09-171-0/+13
|
* bpo-34589: Make _PyCoreConfig.coerce_c_locale private (GH-9371)Victor Stinner2018-09-177-32/+46
| | | | | | | | _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 "_").
* bpo-34717: Stop numbering stdlib titles/sections in the docs (GH-9370)Yury Selivanov2018-09-171-2/+3
|
* bpo-34267: Update find_python.bat to use 3.7 if available (GH-8552)Steve Dower2018-09-171-2/+2
|
* bpo-34587, test_socket: remove RDSTest.testCongestion() (GH-9277)Victor Stinner2018-09-172-27/+5
| | | | | | | | | 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.
* bpo-34715: Revert "Simplify PyInit_timezone. (GH-9323)" (GH-9366)Victor Stinner2018-09-171-15/+68
| | | This reverts commit afde1c1a05cc8a1e8adf6403c451f6708509a605.
* bpo-33649: Add low-level APIs index. (GH-9364)Yury Selivanov2018-09-1710-31/+571
|
* bpo-32533: Fixed thread-safety of error handling in _ssl. (GH-7158)Steve Dower2018-09-172-60/+69
|
* Convert os.readlink() to Argument Clinic. (GH-8778)Serhiy Storchaka2018-09-172-84/+202
| | | Also convert os.get_blocking() and os.set_blocking().
* bpo-34341: Fix appending to ZIP archives with the ZIP64 extension. (GH-8683)Serhiy Storchaka2018-09-173-0/+38
|
* bpo-12458: Fix line numbers for multiline expressions. (GH-8774)Serhiy Storchaka2018-09-179-3706/+3738
|
* bpo-33216: Improve the documentation for CALL_FUNCTION_* (GH-8338) (GH-8784)Serhiy Storchaka2018-09-171-26/+34
|
* bpo-34710: fix SSL module build (GH-9347)Alexandru Ardelean2018-09-172-0/+2
| | | | | | Include ``openssl/dh.h`` header file to fix implicit function declaration of ``DH_free()``. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* bpo-34610: Fixed iterator of multiprocessing.managers.DictProxy. (GH-9113)Serhiy Storchaka2018-09-173-1/+28
|
* closes bpo-34673: Tweaks to make ceval more editable. (GH-9289)Benjamin Peterson2018-09-171-136/+136
| | | | | Two major changes: - Move case statements out of the TARGET macro. - Move PREDICT macro invocations after the case label.
* bpo-33649: Clarify protocol_factory as a method parameter (GH-9330)Bumsik Kim2018-09-161-4/+17
|
* bpo-34603, ctypes/libffi_msvc: Fix returning structs from functions (GH-9258)Vladimir Matveev2018-09-167-6/+240
|
* closes bpo-34515: Support non-ASCII identifiers in lib2to3. (GH-8950)Monson Shao2018-09-153-6/+16
|
* bpo-34579: Fix test_embed DEFAULT_CON AIX (GH-9063)Michael Felt2018-09-152-3/+9
| | | | | | | | | | | | | | | | * 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
* Add myself for HTML-related modules (#9325)Ezio Melotti2018-09-151-0/+5
|
* bpo-33649: Fix asyncio-dev (GH-9324)Yury Selivanov2018-09-146-339/+166
|
* Simplify PyInit_timezone. (GH-9323)Benjamin Peterson2018-09-141-68/+15
| | | Assume tzname exists. Only use a hack to compute altzone if it's not defined.
* bpo-33486: regen autotools files using autoupdate+autoreconf (GH-6853)Eitan Adler2018-09-141-4/+4
|
* bpo-34685: Skip posix_spawn scheduler tests on BSD (GH-9316)Pablo Galindo2018-09-141-6/+10
| | | * Skip posix_spawn scheduler tests on BSD. We were already skyping similar tests as the behaviour can depend on the implementation in some cases.
* bpo-33649: Add high-level APIs cheat-sheet (GH-9319)Yury Selivanov2018-09-149-6/+229
|
* bpo-33649: Refresh asyncio docs landing page (GH-9322)Yury Selivanov2018-09-143-28/+34
|
* Grammar fix (GH-9318)Grant2018-09-141-1/+1
|
* bpo-34651: Only allow the main interpreter to fork. (gh-9279)Eric Snow2018-09-146-14/+64
| | | | | 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
* bpo-33649: Refresh Tasks and Futures pages (#9314)Yury Selivanov2018-09-145-595/+759
| | | | | | | | * bpo-33649: Refresh Tasks and Futures pages * Fixes * Fix markup
* closes bpo-28955: Clarified comparisons between NaN and number in reference ↵Tony Flury2018-09-141-6/+5
| | | | | | documentation (GH-5982) Co-authored-by: Benjamin Peterson <benjamin@python.org>
* bpo-34672: Don't pass NULL to gmtime_r. (GH-9312)Benjamin Peterson2018-09-141-1/+2
|
* Fix "Python" casing in a few places (GH-9001)Andrés Delfino2018-09-1412-16/+16
|
* bpo-33649 Polish asyncio docs on queues, protocols, and subproccesses (#9306)Carol Willing2018-09-142-26/+25
| | | | | | | | * small clarification * edits to protocols doc * Edit async queue doc
* bpo-34672: Try to pass the C library's own timezone strings back to it. ↵Benjamin Peterson2018-09-142-4/+38
| | | | (GH-9288)
* Don't run AC_STRUCT_TIMEZONE twice. (GH-9305)Benjamin Peterson2018-09-142-76/+0
|
* bpo-34363: dataclasses.asdict() and .astuple() now handle fields which are ↵Eric V. Smith2018-09-143-2/+118
| | | | namedtuples. (GH-9151)
* Fix compiler warning with a type cast (GH-9300)Raymond Hettinger2018-09-141-1/+1
|
* Fix-up parenthesis, organization, and NULL check (GH-9297)Raymond Hettinger2018-09-141-6/+11
|
* Note that distinct argument patterns can be cached separately (GH-9298)Raymond Hettinger2018-09-141-0/+5
|