summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* bpo-35685: Add examples of unittest.mock.patch.dict usage (GH-11456)Emmanuel Arias2019-09-121-4/+27
|
* bpo-36675: Remove obsolete code. (GH-16024)Julien Palard2019-09-122-34/+0
| | | | Does no longer work since Sphinx moved the trim_doctest_flag option in the configuration.
* bpo-32008: Prefer client or TLSv1_2 in examples (GH-5797)Christian Heimes2019-09-121-8/+14
| | | | | Prefer client or TLSv1_2 in examples Signed-off-by: Christian Heimes <christian@python.org>
* bpo-9938: Add optional keyword argument exit_on_error to ↵Hai Shi2019-09-124-10/+62
| | | | | | | | | | | | argparse.ArgumentParser (GH-15362) Co-Authored-by: Xuanji Li <xuanji@gmail.com> https://bugs.python.org/issue9938 Automerge-Triggered-By: @matrixise
* bpo-13927: time.ctime and time.asctime return string explantion (GH-11303)Harmandeep Singh2019-09-121-7/+15
| | | | | | | | * bpo-13927: time.ctime and time.asctime return string explantion * Add note explaining that time.ctime and time.asctime returns a space padded date value in case it contains a single digit date * Reformat linebreaks
* bpo-38008: Move builtin protocol whitelist to mapping instead of list (GH-15647)Divij Rajkumar2019-09-123-5/+20
| | | | Fixes https://bugs.python.org/issue38008
* closes bpo-38127: _ctypes: PyObject_IsSubclass() should be checked for ↵Zackery Spytz2019-09-121-1/+5
| | | | | failure. (GH-16011) An exception may occur during a PyObject_IsSubclass() call.
* closes bpo-37405: Make socket.getsockname() always return a tuple for ↵bggardner2019-09-123-2/+6
| | | | | AF_CAN. (GH-14392) This fixes a regression from 3.5. In recent releases, `getsockname()` in the AF_CAN case has returned a string.
* bpo-36876: Skip test_check_c_globals for now. (gh-16017)Eric Snow2019-09-121-1/+3
|
* Doc: Add example of dict() function with positional and keyword arguments ↵Georgy Frolov2019-09-121-1/+2
| | | | (GH-15220)
* Fix the ImportWarning regarding __spec__ and __package__ being None (GH-16003)Xtreak2019-09-121-3/+4
|
* bpo-38121: Sync importlib.metadata with 0.22 backport (GH-15993)Jason R. Coombs2019-09-124-1097/+991
| | | | | | * bpo-38121: Sync importlib.metadata with 0.22 backport * 📜🤖 Added by blurb_it.
* bpo-21120: Exclude Python-ast.h, ast.h and asdl.h from the limited API (#14634)Zackery Spytz2019-09-125-4/+9
| | | | The PyArena type is not part of the limited API, so these headers shouldn't be part of it either.
* closes bpo-37758: Extend unicodedata checksum tests to cover all of Unicode. ↵Greg Price2019-09-121-5/+8
| | | | | | | | | | | | | | (GH-15125) Unicode has grown since Python first gained support for it, when Unicode itself was still rather new. This pair of test cases was added in commit 6a20ee7de back in 2000, and they haven't needed to change much since then. But do change them to look beyond the Basic Multilingual Plane (range(0x10000)) and cover all 17 planes of Unicode's final form. This adds about 5 seconds to the test suite's runtime. Mark the tests as CPU-using accordingly.
* bpo-37760: Convert from length-18 lists to a dataclass, in makeunicodedata. ↵Greg Price2019-09-122-62/+94
| | | | | | | | | (GH-15265) Now the fields have names! Much easier to keep straight as a reader than the elements of an 18-tuple. Runs about 10-15% slower: from 10.8s to 12.3s, on my laptop. Fortunately that's perfectly fine for this maintenance script.
* bpo-37879: Fix warnings in _testcapimodule (GH-16004)Petr Viktorin2019-09-121-6/+7
|
* bpo-32820: __format__ method for ipaddress (#5627)ewosborne2019-09-123-0/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bits method and test_bits * Cleaned up assert string * blurb * added docstring * Faster method, per Eric Smith * redoing as __format__ * added ipv6 method * test cases and cleanup * updated news * cleanup and NEWS.d * cleaned up old NEWS * removed cut and paste leftover * one more cleanup * moved to regexp, moved away from v4- and v6-specific versions of __format__ * More cleanup, added ipv6 test cases * more cleanup * more cleanup * cleanup * cleanup * cleanup per review, part 1 * addressed review comments around help string and regexp matching * wrapped v6 test strings. contiguous integers: break at 72char. with underscores: break so that it looks clean. * 's' and '' tests for pv4 and ipv6 * whitespace cleanup * Remove trailing whitespace * Remove more trailing whitespace * Remove an excess blank line
* bpo-18578: Rename and document test.bytecode_helper as ↵Joannah Nanjekye2019-09-125-4/+36
| | | | | test.support.bytecode_helper (GH-15168) Rename and document test.bytecode_helper as test.support.bytecode_helper
* bpo-38120: Fix DeprecationWarning in test_random for invalid type of ↵Xtreak2019-09-121-3/+9
| | | | arguments to random.seed. (GH-15987)
* Correct typos in the codecs module documentation (#15135)Géry Ogam2019-09-121-60/+61
|
* closes bpo-38124: Fix bounds check in PyState_AddModule. (GH-16007)Benjamin Peterson2019-09-112-8/+8
| | | | | The >=, checking whether a module index was in already in the module-by-index list, needed to be strict. Also, fold nested ifs into one and fix some bad spacing.
* bpo-36876: Add a tool that identifies unsupported global C variables. (#15877)Eric Snow2019-09-1151-19/+9467
|
* bpo-36270: Doc: add link to traceback object reference (GH-13119)Björn Meier2019-09-111-1/+1
|
* Correct typo in min version test (GH-16000)Christian Heimes2019-09-111-1/+1
| | | Signed-off-by: Christian Heimes <christian@python.org>
* bpo-37698: Update doc of PyBuffer_ToContiguous (GH-14992)Hai Shi2019-09-111-2/+2
| | | https://bugs.python.org/issue37698
* bpo-34001: Fix test_ssl with LibreSSL (GH-13783)Christian Heimes2019-09-112-1/+4
|
* Doc: recursive glob ** follows symlinks to directories (GH-12918)Marc2019-09-111-2/+3
|
* bpo-38113: Update the Python-ast.c generator to PEP384 (gh-15957)Dino Viehland2019-09-113-1501/+2650
| | | Summary: This mostly migrates Python-ast.c to PEP384 and removes all statics from the whole file. This modifies the generator itself that generates the Python-ast.c. It leaves in the usage of _PyObject_LookupAttr even though it's not fully PEP384 compatible (this could always be shimmed in by anyone who needs it).
* bpo-28724: Add methods send_fds and recv_fds to the socket module (GH-12889)Joannah Nanjekye2019-09-115-1/+105
| | | | | | | The socket module now has the socket.send_fds() and socket.recv.fds() functions. Contributed by Joannah Nanjekye, Shinya Okano (original patch) and Victor Stinner. Co-Authored-By: Victor Stinner <vstinner@redhat.com>
* bpo-38117: Test with OpenSSL 1.1.1d (GH-15983)Christian Heimes2019-09-115-10/+10
| | | Signed-off-by: Christian Heimes <christian@python.org>
* bpo-37750: Add doc of PyBuffer_FromContiguous (GH-15988)Hai Shi2019-09-111-0/+7
| | | | | | | https://bugs.python.org/issue37750 Automerge-Triggered-By: @matrixise
* bpo-32592: Set Windows 8 as the minimum required version for API support ↵Steve Dower2019-09-113-5/+4
| | | | (GH-15951)
* bpo-36528: Remove duplicate re tests. (GH-2689)Xtreak2019-09-111-106/+0
| | | | Co-Authored-By: Makdon <makdon@makdon.me>
* bpo-35923: Update the BuiltinImporter to use loader._ORIGIN instead of a ↵Dong-hee Na2019-09-113-756/+761
| | | | | | hard-coded value (GH-15651)
* Doc: Fix missing negation. (GH-14640)Julien Palard2019-09-111-2/+2
| | | | | | | Reported by Hug Capella on docs@. Automerge-Triggered-By: @matrixise
* bpo-38113: Update Python/ast.c to PEP-384 (GH-15975)Dino Viehland2019-09-111-4/+3
| | | | | | | | | | Removes statics for better subinterpreter support and moves to _PyType_Name https://bugs.python.org/issue38113 Automerge-Triggered-By: @tiran
* Improve clarity of try-return-finally-return (GH-15677)toonarmycaptain2019-09-112-9/+23
| | | Clarify execution in try-return-finally-return case.
* bpo-34331: Fix incorrectly pluralized abstract class error message. (GH-8670)Daniel Andrade2019-09-113-1/+27
|
* bpo-38114: Do not include pip.ini in Nuget package (GH-15964)Steve Dower2019-09-113-5/+9
|
* bpo-33166: Change os.cpu_count to return active (real) processors (GH-15949)Steve Dower2019-09-112-17/+5
|
* bpo-38110: Use fdwalk for os.closerange() when available. (GH-15224)Jakub Kulík2019-09-115-2/+32
| | | Use fdwalk() on platforms that support it to implement os.closerange().
* bpo-36182: Update pathlib.Path.write_text() docs (GH-12161)Lysandros Nikolaou2019-09-111-0/+3
| | | with the case of an existing file
* bpo-36260: Add pitfalls to zipfile module documentation (#13378)JunWei Song2019-09-112-0/+41
| | | | | | | | | | | | | | | | * bpo-36260: Add pitfalls to zipfile module documentation We saw vulnerability warning description (including zip bomb) in Doc/library/xml.rst file. This gave us the idea of documentation improvement. So, we moved a little bit forward :P And the doc patch can be found (pr). * fix trailing whitespace * 📜🤖 Added by blurb_it. * Reformat text for consistency.
* bpo-37885: venv: Don't produce unbound variable warning on deactivate (GH-15330)Daniel Abrahamsson2019-09-113-1/+22
| | | | | | | | | | Before, running deactivate from a bash shell configured to treat undefined variables as errors (`set -u`) would produce a warning: ``` $ python3 -m venv test $ source test/bin/activate (test) $ deactivate -bash: $1: unbound variable ```
* Improve the io module documentation (GH-15099)Géry Ogam2019-09-111-55/+61
| | | | | | | | | | * Update io.rst * Apply suggestions from code review Co-Authored-By: Ashwin Ramaswami <aramaswamis@gmail.com> Co-Authored-By: Carol Willing <carolcode@willingconsulting.com>
* bpo-36634: Fixes activate.bat when existing values contain double quotes ↵Steve Dower2019-09-112-25/+15
| | | | (GH-15924)
* bpo-35224: Additional documentation for Assignment Expressions (GH-15935)Emily Morehouse2019-09-114-60/+9
| | | | | | | | | | | | | Add or update assignment expression documentation for: - FAQ - Design - Reference - Expressions - Reference - Lexical Analysis https://bugs.python.org/issue35224 Automerge-Triggered-By: @matrixise
* bpo-37972: unittest.mock._Call now passes on __getitem__ to the __getattr__ ↵blhsing2019-09-113-0/+31
| | | | | | | | | | | | | | | | chaining so that call() can be subscriptable (GH-15565) * bpo-37972: unittest.mock._Call now passes on __getitem__ to the __getattr__ chaining so that call() can be subscriptable * 📜🤖 Added by blurb_it. * Update 2019-08-28-21-40-12.bpo-37972.kP-n4L.rst added name of the contributor * bpo-37972: made all dunder methods chainable for _Call * bpo-37972: delegate only attributes of tuple instead to __getattr__
* Doc: Indicate locations of parse_qs, parse_qsl, escape (GH-14828)Simon Willison2019-09-111-1/+2
| | | | Since they have been removed from cgi it's useful to remind people where they can be found instead.
* Update ftplib.all_errors documentation to match code (#15026)Andrew Scheller2019-09-111-1/+1
| | | The documentation doesn't mention the `EOFError` that https://github.com/python/cpython/blob/master/Lib/ftplib.py#L66 includes