- 12 Sep, 2019 5 commits
-
-
Petr Viktorin authored
-
ewosborne authored
* 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
-
Joannah Nanjekye authored
Rename and document test.bytecode_helper as test.support.bytecode_helper
-
Xtreak authored
bpo-38120: Fix DeprecationWarning in test_random for invalid type of arguments to random.seed. (GH-15987)
-
Géry Ogam authored
-
- 11 Sep, 2019 35 commits
-
-
Benjamin Peterson authored
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.
-
Eric Snow authored
-
Björn Meier authored
-
Christian Heimes authored
Signed-off-by:
Christian Heimes <christian@python.org>
-
-
Christian Heimes authored
-
Marc authored
-
Dino Viehland authored
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).
-
Joannah Nanjekye authored
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>
-
Christian Heimes authored
Signed-off-by:
Christian Heimes <christian@python.org>
-
Hai Shi authored
https://bugs.python.org/issue37750 Automerge-Triggered-By: @matrixise
-
Steve Dower authored
-
Xtreak authored
Co-Authored-By:
Makdon <makdon@makdon.me>
-
Dong-hee Na authored
bpo-35923: Update the BuiltinImporter to use loader._ORIGIN instead of a hard-coded value (GH-15651)
-
Julien Palard authored
Reported by Hug Capella on docs@. Automerge-Triggered-By: @matrixise
-
Dino Viehland authored
Removes statics for better subinterpreter support and moves to _PyType_Name https://bugs.python.org/issue38113 Automerge-Triggered-By: @tiran
-
toonarmycaptain authored
Clarify execution in try-return-finally-return case.
-
Daniel Andrade authored
-
Steve Dower authored
-
Steve Dower authored
-
Jakub Kulík authored
Use fdwalk() on platforms that support it to implement os.closerange().
-
Lysandros Nikolaou authored
with the case of an existing file
-
JunWei Song authored
* 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. -
Daniel Abrahamsson authored
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 ```
-
Géry Ogam authored
* Update io.rst * Apply suggestions from code review Co-Authored-By:
Ashwin Ramaswami <aramaswamis@gmail.com> Co-Authored-By:
Carol Willing <carolcode@willingconsulting.com>
-
Steve Dower authored
-
Emily Morehouse authored
Add or update assignment expression documentation for: - FAQ - Design - Reference - Expressions - Reference - Lexical Analysis https://bugs.python.org/issue35224 Automerge-Triggered-By: @matrixise
-
blhsing authored
bpo-37972: unittest.mock._Call now passes on __getitem__ to the __getattr__ 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__ -
Simon Willison authored
Since they have been removed from cgi it's useful to remind people where they can be found instead.
-
Andrew Scheller authored
The documentation doesn't mention the `EOFError` that https://github.com/python/cpython/blob/master/Lib/ftplib.py#L66 includes
-
Raymond Hettinger authored
* bpo-38096: Clean up the "struct sequence" / "named tuple" docs * Fix remaining occurrences of "struct sequence" * Repair a user visible docstring
-
Xtreak authored
https://bugs.python.org/issue37651 Automerge-Triggered-By: @1st1
-
Anjali Bansal authored
-
Brennan D Baraban authored
-
Joannah Nanjekye authored
https://bugs.python.org/issue37488 Automerge-Triggered-By: @pganssle
-