Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-36007: Bump minimum sphinx version to 1.8 (GH-11887) | Anthony Sottile | 2019-02-15 | 2 | -2/+3 |
| | | | https://bugs.python.org/issue36007 | ||||
* | bpo-35984: _xxsubinterpreters: Fix memory leak in _channel_send() (GH-11845) | Alexey Izbyshev | 2019-02-15 | 1 | -0/+1 |
| | | | https://bugs.python.org/issue35984 | ||||
* | bpo-35931: Gracefully handle SyntaxError in pdb debug command (GH-11782) | Daniel Hahler | 2019-02-15 | 3 | -1/+16 |
| | | | | | | | | Previously, `debug print(` would cause the interpreter to exit on a SyntaxError whereas `print(` would properly display the error and return to the pdb prompt. This patch fixes this by pre-compiling the code before passing it to `Pdb.run`. https://bugs.python.org/issue35931 | ||||
* | Improve readability of random module examples (GH-11884) | Raymond Hettinger | 2019-02-15 | 1 | -2/+6 |
| | | | Based on reviewer feedback from Allen Downey, convert ``lambda`` to ``def``. | ||||
* | Fix the versionadded info for typing.NoReturn (GH-11880) | Jack Wilsdon | 2019-02-15 | 1 | -1/+1 |
| | | | The earliest version that `typing.NoReturn` appears in is [3.5.4rc1](https://docs.python.org/3/whatsnew/changelog.html#python-3-5-4-release-candidate-1) | ||||
* | bpo-36006: Fix versionchanged directive alignment in io module documentation ↵ | Emmanuel Arias | 2019-02-15 | 1 | -2/+2 |
| | | | | | (GH-11881) https://bugs.python.org/issue36006 | ||||
* | bpo-35746: Credit Colin Read and Nicolas Edet (GH-11863) | Victor Stinner | 2019-02-15 | 1 | -1/+2 |
| | | | | Add credit for the cert parser vulnerability. Mention also Cisco TALOS-2018-0758 identifier. | ||||
* | bpo-35994: add sub dir for sub2_tree in os.walk test if symlink is not ↵ | pxinwr | 2019-02-15 | 1 | -1/+1 |
| | | | | | supported (GH-11853) https://bugs.python.org/issue35994 | ||||
* | bpo-30410: Documentation of sys.stdin/out/err update to reflect change in ↵ | Lysandros Nikolaou | 2019-02-14 | 1 | -7/+24 |
| | | | | | | | | | | | 3.6 (GH-10264) Documentation of sys.stdin/out/err update to reflect change in 3.6 on Windows to use UTF-8. Wording by Eryk Sun and Paul Moore. https://bugs.python.org/issue30410 | ||||
* | Doc: Fix example in contextlib asynccontextmanager document (GH-8111) | kk | 2019-02-14 | 0 | -0/+0 |
| | |||||
* | bpo-35633: test_lockf() fails with "PermissionError: [Errno 13] Permission ↵ | Michael Felt | 2019-02-14 | 1 | -0/+4 |
| | | | | | | | | | | | | denied" on AIX (GH-11424) [bpo-35633](https://bugs.python.org/issue35633): Fix a test regression introduced with [bpo-35189](https://bugs.python.org/issue35189) (PEP 475: fnctl functions are not retried if interrupted (EINTR)). Not only a blocking IO error needs to be ignored - permission errors also need to be ignored. p.s. - iirc as a "test" only correction a NEWS item is not required. If this is not correct - just mention, and I'll add a NEWS blurb. https://bugs.python.org/issue35633 | ||||
* | bpo-35976: Enable Windows projects to build with platform ARM32 (GH-11825) | Paul Monson | 2019-02-14 | 46 | -5/+959 |
| | | | This change adds the necessary items to the build projects to avoid erroring out right at the start. It does not add _support_ for targeting Windows on ARM32, but is a necessary prerequisite for adding it. | ||||
* | closes bpo-35991: Fix a potential double free in Modules/_randommodule.c. ↵ | Zackery Spytz | 2019-02-14 | 2 | -1/+1 |
| | | | | (GH-11849) | ||||
* | Fix typo: equivalent code of `async with cond` (GH-11681) | Kevin Mai-Husan Chia | 2019-02-14 | 1 | -2/+2 |
| | |||||
* | bpo-35500: align expected and actual calls on mock.assert_called_with error ↵ | Susan Su | 2019-02-14 | 3 | -9/+14 |
| | | | | message. (GH-11804) | ||||
* | bpo-35887: Add make regen-importlib step to importlib._bootstrap docstring ↵ | Nina Zakharenko | 2019-02-13 | 1 | -3/+3 |
| | | | | (GH-11777) | ||||
* | bpo-35961: Fix a crash in slice_richcompare() (GH-11830) | Victor Stinner | 2019-02-13 | 2 | -24/+16 |
| | | | | | | | | Fix a crash in slice_richcompare(): use strong references rather than stolen references for the two temporary internal tuples. The crash (or assertion error) occurred if a garbage collection occurred during slice_richcompare(), especially while calling PyObject_RichCompare(t1, t2, op). | ||||
* | bpo-18283: Add support for bytes to shutil.which (GH-11818) | Cheryl Sabella | 2019-02-13 | 4 | -14/+45 |
| | |||||
* | Be consistent about the use of from-imports in random module (GH-11837) | Raymond Hettinger | 2019-02-13 | 1 | -4/+4 |
| | | | Minor code clean-up. | ||||
* | Remove stray quote in os.replace docstring. (GH-11556) | Anthony Sottile | 2019-02-13 | 2 | -4/+4 |
| | |||||
* | Fix potential memory leak in parsetok.c (GH-11832) | Pablo Galindo | 2019-02-13 | 1 | -1/+2 |
| | |||||
* | bpo-35505: Skip test_imap4_host_default_value if localhost listens on IMAP ↵ | Matěj Cepl | 2019-02-12 | 2 | -0/+12 |
| | | | | | | port (GH-11823) Make test_imap4_host_default_value independent on whether the local IMAP server is running. | ||||
* | bpo-35972: _xxsubinterpreters: Fix potential integer truncation on 32-bit in ↵ | Alexey Izbyshev | 2019-02-12 | 2 | -3/+19 |
| | | | | channel_send() (gh-11822) | ||||
* | bpo-35960: Fix dataclasses.field throwing away empty metadata. (GH-11815) | Christopher Hunt | 2019-02-12 | 3 | -3/+15 |
| | |||||
* | bpo-35918: Remove broken has_key method and add test (#11819) | Rémi Lapeyre | 2019-02-12 | 3 | -3/+3 |
| | |||||
* | Complete switch cases in symtable.c; fixes bpo-35963 (GH-11821) | Guido van Rossum | 2019-02-11 | 1 | -0/+4 |
| | |||||
* | bpo-35378: Fix multiprocessing.Pool references (GH-11627) | Pablo Galindo | 2019-02-11 | 3 | -39/+80 |
| | | | | | | | | | Changes in this commit: 1. Use a _strong_ reference between the Pool and associated iterators 2. Rework PR #8450 to eliminate a cycle in the Pool. There is no test in this commit because any test that automatically tests this behaviour needs to eliminate the pool before joining the pool to check that the pool object is garbaged collected/does not hang. But doing this will potentially leak threads and processes (see https://bugs.python.org/issue35413). | ||||
* | bpo-35766 follow-up: Add an error check to new_type_comment() (#11766) | Guido van Rossum | 2019-02-11 | 1 | -0/+2 |
| | | | | If PyUnicode_DecodeUTF8() returns NULL, PyArena_AddPyObject() would crash. Found by @msullivan for https://github.com/python/typed_ast/pull/93. | ||||
* | bpo-22062: Updated docstring and documentation for pathlib (GH-8519) | Eivind Teig | 2019-02-11 | 3 | -5/+7 |
| | | | | | | Original patch by Mike Short https://bugs.python.org/issue22062 | ||||
* | Doc sidebar: 3.6 has moved to security-fix mode. (GH-11810) | Julien Palard | 2019-02-10 | 1 | -1/+1 |
| | |||||
* | Fix compiler warning about non initialised variable (GH-11806) | Pablo Galindo | 2019-02-10 | 1 | -2/+2 |
| | |||||
* | Fix division by 0 when checking for overflow in math.prod (GH-11808) | Pablo Galindo | 2019-02-10 | 2 | -2/+6 |
| | |||||
* | Fix compiler warnings about end_col_offset and end_lineno (GH-11735) | Ivan Levkivskyi | 2019-02-10 | 1 | -5/+2 |
| | |||||
* | Fix broken :ref: in asyncio docs (GH-11805) | Pablo Galindo | 2019-02-10 | 1 | -1/+1 |
| | |||||
* | Make sure the BaseManager in test_multiprocessing is cleaned up correctly ↵ | Pablo Galindo | 2019-02-09 | 1 | -15/+20 |
| | | | | (GH-11653) | ||||
* | Do not retain references to processes and managers in TestSyncManagerTypes ↵ | Pablo Galindo | 2019-02-09 | 1 | -0/+2 |
| | | | | | (GH-11801) Keeping references to processes and managers between tests makes them count as dangling processes. | ||||
* | bpo-35833: Revise IDLE doc for control codes sent to Shell. (GH-11799) | Terry Jan Reedy | 2019-02-09 | 4 | -22/+62 |
| | | | Add a code example block. | ||||
* | lru_cache: Add more comments. Fix comment typos. Clarify a comment. (GH-11795) | Raymond Hettinger | 2019-02-09 | 1 | -4/+25 |
| | |||||
* | Rework tuple hash tests. (GH-10161) | Tim Peters | 2019-02-08 | 2 | -84/+308 |
| | | | Add tooling that will useful in future updates, paying particular attention to difficult cases where only the upper bits on the input vary. | ||||
* | bpo-35903: Use autoconfig to probe for shm_open() and shm_unlink(). (#11765) | Neil Schemenauer | 2019-02-08 | 4 | -3/+142 |
| | | | | | | Use autoconfig to probe for shm_open() and shm_unlink(). Set SHM_NEEDS_LIBRT if we must link with librt to get the shm_* functions. Change setup.py to use the autoconfig defines. These changes should make it more likely that _multiprocessing/posixshmem.c gets built correctly on different platforms. | ||||
* | Complete and neaten-up namedtuple's replacement of builtin function lookups ↵ | Raymond Hettinger | 2019-02-08 | 1 | -6/+3 |
| | | | | with derefs (GH-11794) | ||||
* | Add What's New entry for date subclass behavior (#11790) | Paul Ganssle | 2019-02-08 | 1 | -0/+8 |
| | | | | | | | | This was a backwards incompatible change and should be clearly noted. Related bugs: bpo-32417: https://bugs.python.org/issue32417 bpo-35364: https://bugs.python.org/issue35364 | ||||
* | bpo-35615: Fix crashes when copying a Weak{Key,Value}Dictionary. (GH-11384) | Fish | 2019-02-07 | 3 | -16/+105 |
| | | | | | | | | | | Protect dict iterations by wrapping them with _IterationGuard in the following methods: - WeakValueDictionary.copy() - WeakValueDictionary.__deepcopy__() - WeakKeyDictionary.copy() - WeakKeyDictionary.__deepcopy__() | ||||
* | bpo-35911: add cell constructor (GH-11771) | Pierre Glaser | 2019-02-07 | 6 | -2/+71 |
| | | | | Add a cell constructor, expose the cell type in the types module. | ||||
* | bpo-24209: In http.server script, rely on getaddrinfo to bind to preferred ↵ | Jason R. Coombs | 2019-02-07 | 3 | -23/+76 |
| | | | | | | | address based on the bind parameter. (#11767) In http.server script, rely on getaddrinfo to bind to preferred address based on the bind parameter. As a result, now IPv6 is used as the default (including IPv4 on dual-stack systems). Enhanced tests. | ||||
* | bpo-35917: Test multiprocessing manager classes and shareable types (GH-11772) | Giampaolo Rodola | 2019-02-07 | 2 | -0/+249 |
| | | | | multiprocessing: provide unittests for manager classes and shareable types | ||||
* | bpo-35606: Implement math.prod (GH-11359) | Pablo Galindo | 2019-02-07 | 6 | -1/+260 |
| | |||||
* | Fix url to core-mentorship mailing list (GH-11775) | Mariatta | 2019-02-06 | 1 | -1/+1 |
| | |||||
* | bpo-20001: update pathlib landing image (GH-11304) | Harmandeep Singh | 2019-02-05 | 2 | -4/+1 |
| | |||||
* | email: use dict instead of OrderedDict (GH-11709) | Inada Naoki | 2019-02-05 | 1 | -2/+1 |
| |