summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [lib2to3] Make grammar pickling faster (#6491)Łukasz Langa2018-04-172-25/+3
| | | | | | | | | * Now uses pickle protocol 4 * Doesn't wrap the grammar's `__dict__` in ordered dictionaries anymore as dictionaries in Python 3.6+ are ordered by default This still produces deterministic pickles (that hash the same with MD5). Tested with different PYTHONHASHSEED values.
* acks += Zsolt Dollenstein (#6490)Łukasz Langa2018-04-162-0/+2
|
* Add support for all string literals to lib2to3 (#6457)Zsolt Dollenstein2018-04-162-52/+28
|
* Remove to-be-deprecated urllib.request.urlretrieve function reference (#6454)Andrés Delfino2018-04-161-4/+12
|
* bpo-31947: remove None default for names param in Enum._create_ (GH-4288)anentropic2018-04-161-1/+1
|
* bpo-33270: Intern names for all anonymous code objects (#6472)Zackery Spytz2018-04-154-8/+9
|
* Removed a confusing line from a docstring in http.cookies (GH-6482)Alex Gaynor2018-04-151-2/+1
| | | There's no reason a cookie should _ever_ contain pickled data. That's just asking for a critical security vulnerability. Back in Python2 there were helpers for doing that, but they're no more in Python3. Now coded_value is used when the value needs to be encoded for any reason.
* bpo-33185: Improve wording and markup (GH-6477)Nick Coghlan2018-04-154-10/+12
| | | | | | Adds some working and markup fixes that I missed in the initial commit for this issue. (Follow-up to GH-6419)
* bpo-33185: Fix regression in pydoc CLI sys.path handling (GH-6419)Nick Coghlan2018-04-154-10/+115
| | | | | | | | | | The pydoc CLI assumed -m pydoc would add the empty string to sys.path, and hence got confused when it switched to adding the full initial working directory instead. This refactors the pydoc CLI path manipulation to be more testable, and ensures it won't accidentally remove the standard library directory containing pydoc itself from sys.path.
* bpo-33176: Add a toreadonly() method to memoryviews. (GH-6466)Antoine Pitrou2018-04-145-16/+73
|
* bpo-33184: Update Windows installer to OpenSSL 1.1.0h (GH-6463)Steve Dower2018-04-144-5/+6
|
* bpo-33265: use an actual method instead of a method-like function in ↵jdemeyer2018-04-132-8/+5
| | | | | | ExitStack (GH-6456) `MethodType` has the exact semantics that `ExitStack` needs, so we can avoid creating a Python level closure.
* itemgetter add dict example (GH-1280)WeizhongTu2018-04-131-0/+2
|
* Fix error messages in argparse examples (GH-6435)suic862018-04-111-2/+2
| | | | The examples in argparse documentation use `error: too few arguments` error message which was removed in this commit f97c59a in 2011.
* bpo-33260: Regenerate token.py after removing ASYNC and AWAIT. (GH-6447)Serhiy Storchaka2018-04-113-9/+7
|
* bpo-33097: Fix submit accepting callable after executor shutdown by ↵Mark Nemec2018-04-104-0/+44
| | | | | | interpreter exit (GH-6144) Executors in concurrent.futures accepted tasks after executor was shutdown by interpreter exit. Tasks were left in PENDING state forever. This fix changes submit to instead raise a RuntimeError.
* bpo-33253: Fix xxsubtype.bench() to accept correct str signature. (GH-6439)Devon R2018-04-101-1/+1
|
* bpo-31201: Clarify command to re-run failing test(s) with example (GH-6417)Aaron Ang2018-04-091-2/+3
|
* bpo-31920: Fixed handling directories as arguments in the ``pygettext`` ↵Serhiy Storchaka2018-04-094-20/+39
| | | | | script. (GH-6259) Based on patch by Oleg Krasnikov.
* bpo-33031: Remove dead code in C implementation of OrderedDict. (GH-6120)Serhiy Storchaka2018-04-091-76/+1
| | | | This code doesn't have effect on the final result, but causes GCC 8 warnings and can have an undefined behavior.
* bpo-32759: Free unused arenas in multiprocessing.heap (GH-5827)Antoine Pitrou2018-04-093-46/+150
| | | | | Large shared arrays allocated using multiprocessing would remain allocated until the process ends.
* Fix misleading docsting of shelve.open(). (GH-6427)Serhiy Storchaka2018-04-091-1/+1
| | | | The protocol parameter can be any protocol supported by the pickle module.
* Update docstring of tempfile._RandomNameSequence (GH-6414)Wolfgang Maier2018-04-091-1/+1
| | | | | When bpo-12015 got resolved by increasing the length of the random string generated by _RandomNameSequence from six to eight characters, the docstring of the class was not adjusted accordingly.
* Improve highlighting of some code blocks. (GH-6401)Serhiy Storchaka2018-04-0829-137/+301
|
* Add a prepend() recipe to teach a chain() idiom (GH-6415)Raymond Hettinger2018-04-082-0/+13
|
* bpo-29613: Added support for SameSite cookies (GH-6413)Alex Gaynor2018-04-075-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bpo-29613: Added support for SameSite cookies Implemented as per draft https://tools.ietf.org/html/draft-west-first-party-cookies-07 * Documented SameSite And suggestions by members. * Missing space :( * Updated News and contributors * Added version changed details. * Fix in documentation * fix in documentation * Clubbed test cases for same attribute into single. * Updates * Style nits + expand tests * review feedback
* bpo-33201: Modernize "Extension types" doc (GH-6337)Antoine Pitrou2018-04-0715-1917/+1733
| | | | | | | | | * bpo-33201: Modernize "Extension types" doc * Split tutorial and other topics * Some small fixes * Address some review comments * Rename noddy* to custom* and shoddy to sublist * Fix markup
* bpo-33184: Update macOS installer build to use OpenSSL 1.1.0h. (GH-6407)Ned Deily2018-04-072-3/+4
|
* bpo-8243: Doc patch for curses.window.addstr and curses.window.addch (GH-5179)Jay Crotts2018-04-072-0/+14
|
* bpo-33169: Remove values of `None` from sys.path_importer_cache when ↵Brett Cannon2018-04-066-620/+652
| | | | | invalidating caches (GH-6402) An entry of None in sys.path_importer_cache represents a negative/missing finder for a path, so clearing it out makes sense.
* bpo-29673: fix gdb scripts pystack and pystackv (GH-6126)Marcel Plch2018-04-064-8/+10
|
* fixed capitalization of class name (GH-6396)Alex Gaynor2018-04-061-1/+1
|
* bpo-33231: Fix potential leak in normalizestring() (GH-6386)INADA Naoki2018-04-062-2/+1
|
* bpo-33224: PEP 479 fix for difflib.mdiff() (GH-6381)Raymond Hettinger2018-04-053-8/+22
|
* bpo-15817: Expose command documentation to gdb help (GH-6384)Skip Montanaro2018-04-051-11/+25
| | | Original patch by Alexander Belopolsky. Patch by Skip Montanaro.
* bpo-33203: Ensure random.choice always raises IndexError on empty sequence ↵Wolfgang Maier2018-04-053-1/+9
| | | | | | (GH-6338)
* Clean up and enhance frozen dataclass tests. (GH-6380)Eric V. Smith2018-04-051-27/+38
| | | | | * Add a test for frozen with unhashable field value. * Improve a comment.
* Add a webhook for Zulip to the Travis configuration (GH-6379)Brett Cannon2018-04-051-0/+5
|
* bpo-32873: Remove a name hack for generic aliases in typing module (GH-6376)Ivan Levkivskyi2018-04-052-3/+17
| | | | This removes a hack and replaces it with a proper mapping {'list': 'List', 'dict': 'Dict', ...}.
* Call super in Generic.__init_subclass__ (#6356)Ivan Levkivskyi2018-04-042-0/+20
|
* bpo-29922: Add more tests for error messages in 'async with'. (GH-6370)Serhiy Storchaka2018-04-041-1/+41
| | | | Different paths are executed for normal exit and for leaving the 'async with' block with 'break', 'continue' or 'return'.
* bpo-23403: Bump pickle.DEFAULT_PROTOCOL to 4 (#6355)Łukasz Langa2018-04-046-22/+43
| | | This makes performance better and produces shorter pickles. This change is backwards compatible up to the oldest currently supported version of Python (3.4).
* bpo-33195: Doc: Deprecate Py_UNICODE in c-api/arg (GH-6329)INADA Naoki2018-04-042-5/+25
| | | | Py_UNICODE is deprecated since Python 3.3. But the deprecation is missed in the c-api/arg document.
* bpo-32337: Update documentats about dict order (GH-4973)hui shang2018-04-044-23/+21
|
* bpo-33209: End framing at the end of C implementation of ↵Serhiy Storchaka2018-04-033-19/+22
| | | | pickle.Pickler.dump(). (GH-6363)
* bpo-32360: Remove object_pairs_hook=OrderedDict examples (GH-5001)INADA Naoki2018-04-033-25/+11
|
* closes bpo-33202: fix os.walk mentioning os.listdir instead of os.scandir ↵Andrés Delfino2018-04-031-1/+1
| | | | | | (GH-6335)
* bpo-33199: Initialize ma_version_tag in PyDict_Copy (GH-6341)INADA Naoki2018-04-032-0/+3
|
* bpo-29922: Improve error messages in 'async with' (GH-6352)Serhiy Storchaka2018-04-023-4/+36
| | | when __aenter__() or __aexit__() return non-awaitable object.
* bpo-33204: IDLE - revise and extend colorizer test. (GH-6347)Terry Jan Reedy2018-04-022-5/+8
| | | Followup to primary PR for the issue, GH-6344.