summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-36007: Bump minimum sphinx version to 1.8 (GH-11887)Anthony Sottile2019-02-152-2/+3
| | | https://bugs.python.org/issue36007
* bpo-35984: _xxsubinterpreters: Fix memory leak in _channel_send() (GH-11845)Alexey Izbyshev2019-02-151-0/+1
| | | https://bugs.python.org/issue35984
* bpo-35931: Gracefully handle SyntaxError in pdb debug command (GH-11782)Daniel Hahler2019-02-153-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 Hettinger2019-02-151-2/+6
| | | Based on reviewer feedback from Allen Downey, convert ``lambda`` to ``def``.
* Fix the versionadded info for typing.NoReturn (GH-11880)Jack Wilsdon2019-02-151-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 Arias2019-02-151-2/+2
| | | | | (GH-11881) https://bugs.python.org/issue36006
* bpo-35746: Credit Colin Read and Nicolas Edet (GH-11863)Victor Stinner2019-02-151-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 ↵pxinwr2019-02-151-1/+1
| | | | | supported (GH-11853) https://bugs.python.org/issue35994
* bpo-30410: Documentation of sys.stdin/out/err update to reflect change in ↵Lysandros Nikolaou2019-02-141-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)kk2019-02-140-0/+0
|
* bpo-35633: test_lockf() fails with "PermissionError: [Errno 13] Permission ↵Michael Felt2019-02-141-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 Monson2019-02-1446-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 Spytz2019-02-142-1/+1
| | | | (GH-11849)
* Fix typo: equivalent code of `async with cond` (GH-11681)Kevin Mai-Husan Chia2019-02-141-2/+2
|
* bpo-35500: align expected and actual calls on mock.assert_called_with error ↵Susan Su2019-02-143-9/+14
| | | | message. (GH-11804)
* bpo-35887: Add make regen-importlib step to importlib._bootstrap docstring ↵Nina Zakharenko2019-02-131-3/+3
| | | | (GH-11777)
* bpo-35961: Fix a crash in slice_richcompare() (GH-11830)Victor Stinner2019-02-132-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 Sabella2019-02-134-14/+45
|
* Be consistent about the use of from-imports in random module (GH-11837)Raymond Hettinger2019-02-131-4/+4
| | | Minor code clean-up.
* Remove stray quote in os.replace docstring. (GH-11556)Anthony Sottile2019-02-132-4/+4
|
* Fix potential memory leak in parsetok.c (GH-11832)Pablo Galindo2019-02-131-1/+2
|
* bpo-35505: Skip test_imap4_host_default_value if localhost listens on IMAP ↵Matěj Cepl2019-02-122-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 Izbyshev2019-02-122-3/+19
| | | | channel_send() (gh-11822)
* bpo-35960: Fix dataclasses.field throwing away empty metadata. (GH-11815)Christopher Hunt2019-02-123-3/+15
|
* bpo-35918: Remove broken has_key method and add test (#11819)Rémi Lapeyre2019-02-123-3/+3
|
* Complete switch cases in symtable.c; fixes bpo-35963 (GH-11821)Guido van Rossum2019-02-111-0/+4
|
* bpo-35378: Fix multiprocessing.Pool references (GH-11627)Pablo Galindo2019-02-113-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 Rossum2019-02-111-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 Teig2019-02-113-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 Palard2019-02-101-1/+1
|
* Fix compiler warning about non initialised variable (GH-11806)Pablo Galindo2019-02-101-2/+2
|
* Fix division by 0 when checking for overflow in math.prod (GH-11808)Pablo Galindo2019-02-102-2/+6
|
* Fix compiler warnings about end_col_offset and end_lineno (GH-11735)Ivan Levkivskyi2019-02-101-5/+2
|
* Fix broken :ref: in asyncio docs (GH-11805)Pablo Galindo2019-02-101-1/+1
|
* Make sure the BaseManager in test_multiprocessing is cleaned up correctly ↵Pablo Galindo2019-02-091-15/+20
| | | | (GH-11653)
* Do not retain references to processes and managers in TestSyncManagerTypes ↵Pablo Galindo2019-02-091-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 Reedy2019-02-094-22/+62
| | | Add a code example block.
* lru_cache: Add more comments. Fix comment typos. Clarify a comment. (GH-11795)Raymond Hettinger2019-02-091-4/+25
|
* Rework tuple hash tests. (GH-10161)Tim Peters2019-02-082-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 Schemenauer2019-02-084-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 Hettinger2019-02-081-6/+3
| | | | with derefs (GH-11794)
* Add What's New entry for date subclass behavior (#11790)Paul Ganssle2019-02-081-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)Fish2019-02-073-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 Glaser2019-02-076-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. Coombs2019-02-073-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 Rodola2019-02-072-0/+249
| | | | multiprocessing: provide unittests for manager classes and shareable types
* bpo-35606: Implement math.prod (GH-11359)Pablo Galindo2019-02-076-1/+260
|
* Fix url to core-mentorship mailing list (GH-11775)Mariatta2019-02-061-1/+1
|
* bpo-20001: update pathlib landing image (GH-11304)Harmandeep Singh2019-02-052-4/+1
|
* email: use dict instead of OrderedDict (GH-11709)Inada Naoki2019-02-051-2/+1
|