summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-33308: Fix a crash in the parser module when convert an ST object. (#6519)Serhiy Storchaka2018-04-183-10/+27
| | | | Converting with line_info=False and col_info=True crashed before.
* bpo-11594: Ensure line-endings are respected when using 2to3 (GH-6483)Aaron Ang2018-04-174-18/+35
|
* bpo-33295: Skip test using missing external site (GH-6504)INADA Naoki2018-04-171-0/+1
| | | | | `test_urllib2net.OtherNetworkTests.test_sites_no_connection_close` used `http://www.imdb.com/` but it is moved to https so the test is not valid anymore. Skip test for the moment to allow CI to proceed.
* bpo-33144: random.Random and subclasses: split _randbelow implementation ↵Wolfgang Maier2018-04-173-29/+107
| | | | (GH-6291)
* Fix spelling typo (GH-6443)jdemeyer2018-04-171-1/+1
|
* bpo-33205: dict: Change GROWTH_RATE to `used*3` (GH-6350)INADA Naoki2018-04-172-6/+8
|
* fix pydoc-topics to work with Sphinx 1.7 (GH-6475)Benjamin Peterson2018-04-171-4/+8
| | | In fact, we now require a newer Sphinx version because APIs have moved around.
* bpo-33283: Mention PNG as a supported format by Tcl/Tk. (GH-6479)Andrés Delfino2018-04-172-6/+7
|
* Revert 725476222a3c1f2f93162d75a540e6bcdeaa36fd (#6494)Łukasz Langa2018-04-171-4/+0
| | | This note in documentation was never true.
* [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'.