Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [lib2to3] Make grammar pickling faster (#6491) | Łukasz Langa | 2018-04-17 | 2 | -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 Langa | 2018-04-16 | 2 | -0/+2 |
| | |||||
* | Add support for all string literals to lib2to3 (#6457) | Zsolt Dollenstein | 2018-04-16 | 2 | -52/+28 |
| | |||||
* | Remove to-be-deprecated urllib.request.urlretrieve function reference (#6454) | Andrés Delfino | 2018-04-16 | 1 | -4/+12 |
| | |||||
* | bpo-31947: remove None default for names param in Enum._create_ (GH-4288) | anentropic | 2018-04-16 | 1 | -1/+1 |
| | |||||
* | bpo-33270: Intern names for all anonymous code objects (#6472) | Zackery Spytz | 2018-04-15 | 4 | -8/+9 |
| | |||||
* | Removed a confusing line from a docstring in http.cookies (GH-6482) | Alex Gaynor | 2018-04-15 | 1 | -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 Coghlan | 2018-04-15 | 4 | -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 Coghlan | 2018-04-15 | 4 | -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 Pitrou | 2018-04-14 | 5 | -16/+73 |
| | |||||
* | bpo-33184: Update Windows installer to OpenSSL 1.1.0h (GH-6463) | Steve Dower | 2018-04-14 | 4 | -5/+6 |
| | |||||
* | bpo-33265: use an actual method instead of a method-like function in ↵ | jdemeyer | 2018-04-13 | 2 | -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) | WeizhongTu | 2018-04-13 | 1 | -0/+2 |
| | |||||
* | Fix error messages in argparse examples (GH-6435) | suic86 | 2018-04-11 | 1 | -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 Storchaka | 2018-04-11 | 3 | -9/+7 |
| | |||||
* | bpo-33097: Fix submit accepting callable after executor shutdown by ↵ | Mark Nemec | 2018-04-10 | 4 | -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 R | 2018-04-10 | 1 | -1/+1 |
| | |||||
* | bpo-31201: Clarify command to re-run failing test(s) with example (GH-6417) | Aaron Ang | 2018-04-09 | 1 | -2/+3 |
| | |||||
* | bpo-31920: Fixed handling directories as arguments in the ``pygettext`` ↵ | Serhiy Storchaka | 2018-04-09 | 4 | -20/+39 |
| | | | | | script. (GH-6259) Based on patch by Oleg Krasnikov. | ||||
* | bpo-33031: Remove dead code in C implementation of OrderedDict. (GH-6120) | Serhiy Storchaka | 2018-04-09 | 1 | -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 Pitrou | 2018-04-09 | 3 | -46/+150 |
| | | | | | Large shared arrays allocated using multiprocessing would remain allocated until the process ends. | ||||
* | Fix misleading docsting of shelve.open(). (GH-6427) | Serhiy Storchaka | 2018-04-09 | 1 | -1/+1 |
| | | | | The protocol parameter can be any protocol supported by the pickle module. | ||||
* | Update docstring of tempfile._RandomNameSequence (GH-6414) | Wolfgang Maier | 2018-04-09 | 1 | -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 Storchaka | 2018-04-08 | 29 | -137/+301 |
| | |||||
* | Add a prepend() recipe to teach a chain() idiom (GH-6415) | Raymond Hettinger | 2018-04-08 | 2 | -0/+13 |
| | |||||
* | bpo-29613: Added support for SameSite cookies (GH-6413) | Alex Gaynor | 2018-04-07 | 5 | -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 Pitrou | 2018-04-07 | 15 | -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 Deily | 2018-04-07 | 2 | -3/+4 |
| | |||||
* | bpo-8243: Doc patch for curses.window.addstr and curses.window.addch (GH-5179) | Jay Crotts | 2018-04-07 | 2 | -0/+14 |
| | |||||
* | bpo-33169: Remove values of `None` from sys.path_importer_cache when ↵ | Brett Cannon | 2018-04-06 | 6 | -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 Plch | 2018-04-06 | 4 | -8/+10 |
| | |||||
* | fixed capitalization of class name (GH-6396) | Alex Gaynor | 2018-04-06 | 1 | -1/+1 |
| | |||||
* | bpo-33231: Fix potential leak in normalizestring() (GH-6386) | INADA Naoki | 2018-04-06 | 2 | -2/+1 |
| | |||||
* | bpo-33224: PEP 479 fix for difflib.mdiff() (GH-6381) | Raymond Hettinger | 2018-04-05 | 3 | -8/+22 |
| | |||||
* | bpo-15817: Expose command documentation to gdb help (GH-6384) | Skip Montanaro | 2018-04-05 | 1 | -11/+25 |
| | | | Original patch by Alexander Belopolsky. Patch by Skip Montanaro. | ||||
* | bpo-33203: Ensure random.choice always raises IndexError on empty sequence ↵ | Wolfgang Maier | 2018-04-05 | 3 | -1/+9 |
| | | | | | | (GH-6338) | ||||
* | Clean up and enhance frozen dataclass tests. (GH-6380) | Eric V. Smith | 2018-04-05 | 1 | -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 Cannon | 2018-04-05 | 1 | -0/+5 |
| | |||||
* | bpo-32873: Remove a name hack for generic aliases in typing module (GH-6376) | Ivan Levkivskyi | 2018-04-05 | 2 | -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 Levkivskyi | 2018-04-04 | 2 | -0/+20 |
| | |||||
* | bpo-29922: Add more tests for error messages in 'async with'. (GH-6370) | Serhiy Storchaka | 2018-04-04 | 1 | -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 Langa | 2018-04-04 | 6 | -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 Naoki | 2018-04-04 | 2 | -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 shang | 2018-04-04 | 4 | -23/+21 |
| | |||||
* | bpo-33209: End framing at the end of C implementation of ↵ | Serhiy Storchaka | 2018-04-03 | 3 | -19/+22 |
| | | | | pickle.Pickler.dump(). (GH-6363) | ||||
* | bpo-32360: Remove object_pairs_hook=OrderedDict examples (GH-5001) | INADA Naoki | 2018-04-03 | 3 | -25/+11 |
| | |||||
* | closes bpo-33202: fix os.walk mentioning os.listdir instead of os.scandir ↵ | Andrés Delfino | 2018-04-03 | 1 | -1/+1 |
| | | | | | | (GH-6335) | ||||
* | bpo-33199: Initialize ma_version_tag in PyDict_Copy (GH-6341) | INADA Naoki | 2018-04-03 | 2 | -0/+3 |
| | |||||
* | bpo-29922: Improve error messages in 'async with' (GH-6352) | Serhiy Storchaka | 2018-04-02 | 3 | -4/+36 |
| | | | when __aenter__() or __aexit__() return non-awaitable object. | ||||
* | bpo-33204: IDLE - revise and extend colorizer test. (GH-6347) | Terry Jan Reedy | 2018-04-02 | 2 | -5/+8 |
| | | | Followup to primary PR for the issue, GH-6344. |