summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-36793: Remove unneeded __str__ definitions. (GH-13081)Serhiy Storchaka2019-05-0618-33/+25
| | | | Classes that define __str__ the same as __repr__ can just inherit it from object.
* bpo-36766: Typos in docs and code comments (GH-13116)penguindustin2019-05-0622-22/+22
|
* bpo-36275: enhance documentation for venv.create() (GH-13114)Sebastian Koslowski2019-05-061-1/+6
|
* Clarify the download unit in the download section (GH-13122)Stéphane Wirtel2019-05-061-2/+1
|
* bpo-30668: add missing word in license.rst (GH-13115)Patrick Mühlbauer2019-05-061-1/+1
|
* Unroll import-team in CODEOWNERS (#13118)Brett Cannon2019-05-061-2/+2
|
* bpo-36594: Fix incorrect use of %p in format strings (GH-12769)Zackery Spytz2019-05-0611-24/+26
| | | In addition, fix some other minor violations of C99.
* bpo-36798: Updating f-string docs for := use case (GH-13107)Logan Jones2019-05-061-5/+6
|
* Update wsgiref.rst (#10488)Andre Delfino2019-05-061-1/+1
|
* Doc/c-api/exceptions.rst: fix grammar (#12091)Daniel Hahler2019-05-061-2/+2
| | | | | | | | | | | * Doc/c-api/exceptions.rst: fix grammar skip issue skip news * Use ", in that case" Co-Authored-By: blueyed <github@thequod.de>
* bpo-36811: Fix a C compiler warning in _elementtree.c. (GH-13109)Stefan Behnel2019-05-061-1/+1
|
* Only count number of members once (#12691)Eddie Elizondo2019-05-061-0/+1
|
* bpo-16024: Doc cleanup regarding path_fd, dir_fd, follow_symlinks (GH-5505)Cheryl Sabella2019-05-061-66/+76
|
* bpo-36791: Safer detection of integer overflow in sum(). (GH-13080)Serhiy Storchaka2019-05-051-3/+5
|
* bpo-33530: Implement Happy Eyeballs in asyncio, v2 (GH-7237)twisteroid ambassador2019-05-055-38/+264
| | | | | | | | | | Added two keyword arguments, `delay` and `interleave`, to `BaseEventLoop.create_connection`. Happy eyeballs is activated if `delay` is specified. We now have documentation for the new arguments. `staggered_race()` is in its own module, but not exported to the main asyncio package. https://bugs.python.org/issue33530
* simplify StartupImportTests (GH-13096)Inada Naoki2019-05-051-7/+7
| | | _osx_support and copyreg are not imported from site on macOS for now.
* bpo-36189: Fixing typo in tutorial introduction (GH-13090)Jonatan2019-05-041-1/+1
|
* bpo-36166: Change to rst datamodel file. (GH-13089)Catherine Alvarado2019-05-041-2/+2
|
* bpo-36475: Make PyThread_exit_thread with _Py_NO_RETURN (GH-13068)Victor Stinner2019-05-046-15/+17
|
* bpo-26978: Implement pathlib.Path.link_to (Using os.link) (GH-12990)Joannah Nanjekye2019-05-045-0/+42
|
* Suppress clang warning (GH-12384)Rémi Lapeyre2019-05-031-1/+2
|
* bpo-28238: Implement "{*}tag" and "{ns}*" wildcard tag selection support for ↵Stefan Behnel2019-05-036-15/+171
| | | | ElementPath, and extend the surrounding tests and docs. (GH-12997)
* bpo-33882: mention breakpoint() in debugger-related FAQ (GH-7759)Andre Delfino2019-05-031-0/+3
|
* bpo-24638: Improve the error message in asyncio.ensure_future() (#12848)Zackery Spytz2019-05-032-1/+11
|
* Fixed typo (GH-11522)Alexander Vasin2019-05-031-2/+2
| | | | | | | | | Given example does not run, loop variable is missing. Secondly, this is bad example how to handle shutdown signal, because it would cause `RuntimeError: Event loop stopped before Future completed.` Perhaps it would be better to cancel all tasks instead of closing loop directly? Did not create issue, because question is quite simple.
* bpo-36613: call remove_done_callback if exception (GH-12800)gescheit2019-05-032-1/+3
| | | | | | Call remove_done_callback() in finally block. https://bugs.python.org/issue36613
* bpo-36341: Fix tests calling bind() on AF_UNIX sockets (GH-12399)xdegaye2019-05-034-5/+13
| | | | | | | Those tests may fail with PermissionError. https://bugs.python.org/issue36341
* Improve grammar on async context managers and shorten text (GH-12379)Andre Delfino2019-05-031-4/+4
|
* Don't use the LHS/RHS acronym in Simple statements (GH-12996)Andre Delfino2019-05-031-4/+4
| | | | | Prefer the full wording instead, as it is more meaningful for someone not familiar with the terms. Also, LFS/RHS is not used anywhere else in the documentation, while left/right-hand side mentions are common.
* bpo:34848 : Correct an incorrect docstring for range().index method (GH-9877)Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)2019-05-031-1/+1
|
* Add correct license for C14N test suite to license docs. (GH-13055)Stefan Behnel2019-05-022-1/+64
|
* bpo-36763: Remove _PyCoreConfig._init_main (GH-13066)Victor Stinner2019-05-026-19/+10
|
* bpo-36763: _PyCoreConfig_SetPyArgv() preinitializes Python (GH-13037)Victor Stinner2019-05-024-27/+50
| | | | | | | | _PyCoreConfig_SetPyArgv() and _PyCoreConfig_SetWideString() now pre-initialize Python if needed to ensure that the locale encoding is properly configured. * Add _Py_PreInitializeFromPyArgv() internal function. * Add 'args' parameter to _Py_PreInitializeFromCoreConfig()
* bpo-36775: _PyCoreConfig only uses wchar_t* (GH-13062)Victor Stinner2019-05-0211-217/+354
| | | | | | | | | | | | | | | | | _PyCoreConfig: Change filesystem_encoding, filesystem_errors, stdio_encoding and stdio_errors fields type from char* to wchar_t*. Changes: * PyInterpreterState: replace fscodec_initialized (int) with fs_codec structure. * Add get_error_handler_wide() and unicode_encode_utf8() helper functions. * Add error_handler parameter to unicode_encode_locale() and unicode_decode_locale(). * Remove _PyCoreConfig_SetString(). * Rename _PyCoreConfig_SetWideString() to _PyCoreConfig_SetString(). * Rename _PyCoreConfig_SetWideStringFromString() to _PyCoreConfig_DecodeLocale().
* bpo-36776: Add @support.skip_unless_symlink to test_lll.py (GH-13058)Zackery Spytz2019-05-021-0/+1
|
* bpo-36763: Add _PyCoreConfig._config_version (GH-13065)Victor Stinner2019-05-021-3/+13
| | | | Add private _config_version field to _PyPreConfig and _PyCoreConfig to prepare future ABI compatibility.
* Fix typo: quaatile to quantile (GH=13001)Xtreak2019-05-021-1/+1
|
* bpo-36775: Add _PyUnicode_InitEncodings() (GH-13057)Victor Stinner2019-05-023-92/+115
| | | | | | Move get_codec_name() and initfsencoding() from pylifecycle.c to unicodeobject.c. Rename also "init" functions in pylifecycle.c.
* bpo-36775: Add _Py_FORCE_UTF8_FS_ENCODING macro (GH-13056)Victor Stinner2019-05-025-57/+48
| | | | | | | Add _Py_FORCE_UTF8_LOCALE and _Py_FORCE_UTF8_FS_ENCODING macros to avoid factorize "#if defined(__ANDROID__) || defined(__VXWORKS__)" and "#if defined(__APPLE__)". Cleanup also config_init_fs_encoding().
* bpo-14546: Fix the argument handling in Tools/scripts/lll.py (GH-13026)Zackery Spytz2019-05-023-4/+42
|
* bpo-13611: Include C14N 2.0 test data in installation (GH-13053)Stefan Behnel2019-05-022-1/+16
| | | | * Include C14N 2.0 test data in installation. * Add README file to the C14N test data directory to reference the original source and licensing conditions.
* Fix tiny tiny typo in 3.8 what's new (GH-13049)Daniel Porteous2019-05-021-2/+2
| | | I feel silly even making such a tiny typo fix, but I couldn't help but notice it.
* regarding to grammar and spell check (#13020)Hossein Pourbozorg2019-05-021-3/+3
|
* bpo-36763: Make _PyCoreConfig.check_hash_pycs_mode public (GH-13052)Victor Stinner2019-05-025-17/+28
| | | | | _PyCoreConfig: Rename _check_hash_pycs_mode field to check_hash_pycs_mode (make it public) and change its type from "const char*" to "wchar_t*".
* Change bisect to bisect_cmd in docstring (#13040)Xtreak2019-05-021-3/+3
|
* bpo-36018: Update example to show mean and stdev (GH-13047)Raymond Hettinger2019-05-021-4/+6
|
* Move dangling bullet points into named subsections (GH-13046)Raymond Hettinger2019-05-021-11/+16
|
* Mock 100% coverage (GH-13045)Chris Withers2019-05-019-317/+263
| | | | | | | | | | | This was achieved by: * moving many pass statements in tests onto their own lines, so they pass line coverage and can match an easy ignore pattern if branch coverage is added later. * removing code that cannot be reached. * removing long-disabled tests. * removing unused code. * adding tests for uncovered code It turned out that removing `if __name__ == '__main__'` blocks that run unittest.main() at the bottom of test files was surprisingly contentious, so they remain and can be filtered out with an appropriate .coveragerc.
* bpo-30458: Use InvalidURL instead of ValueError. (GH-13044)Gregory P. Smith2019-05-013-6/+8
| | | Use http.client.InvalidURL instead of ValueError as the new error case's exception.
* bpo-13611: C14N 2.0 implementation for ElementTree (GH-12966)Stefan Behnel2019-05-0160-0/+920
| | | | | | | * Implement C14N 2.0 as a new canonicalize() function in ElementTree. Missing features: - prefix renaming in XPath expressions (tag and attribute text is supported) - preservation of original prefixes given redundant namespace declarations