summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* Revert "bpo-29406: asyncio SSL contexts leak sockets after calling close ↵Yury Selivanov2017-06-111-4/+0
| | | | | with certain servers (#409)" (#2111) This reverts commit a608d2d5a7f1aabe9bcbfc220135c5e126189390.
* bpo-30508: Don't log exceptions if Task/Future "cancel()" method called (#2050)Yury Selivanov2017-06-111-0/+3
|
* bpo-30501: Make the compiler producing optimized code for condition ↵Serhiy Storchaka2017-06-111-0/+4
| | | | expressions. (#1851)
* bpo-11822: Improve disassembly to show embedded code objects. (#1844)Serhiy Storchaka2017-06-111-0/+3
| | | The depth argument limits recursion.
* bpo-28180: Implementation for PEP 538 (#659)Nick Coghlan2017-06-111-0/+5
| | | | | | | | | | - new PYTHONCOERCECLOCALE config setting - coerces legacy C locale to C.UTF-8, C.utf8 or UTF-8 by default - always uses C.UTF-8 on Android - uses `surrogateescape` on stdin and stdout in the coercion target locales - configure option to disable locale coercion at build time - configure option to disable C locale warning at build time
* Add IDLE NEWS items for 3.7 (#2090)terryjreedy2017-06-111-0/+16
|
* #30624 / selectors: use bare except clause in order to not leave the fd in a ↵Giampaolo Rodola2017-06-101-0/+4
| | | | bad state in case of error (#2082)
* bpo-28556: Updates to typing module (#2076)Ivan Levkivskyi2017-06-101-0/+4
| | | | | | | This PR contains two updates to typing module: - Support ContextManager on all versions (original PR by Jelle Zijlstra). - Add generic AsyncContextManager.
* bpo-30595: Fix multiprocessing.Queue.get(timeout) (#2027)Victor Stinner2017-06-101-1/+5
| | | | | | | multiprocessing.Queue.get() with a timeout now polls its reader in non-blocking mode if it succeeded to aquire the lock but the acquire took longer than the timeout. Co-Authored-By: Grzegorz Grzywacz <grzgrzgrz3@gmail.com>
* bpo-30605: Fix compiling binary regexs with BytesWarnings enabled. (#2016)Roy Williams2017-06-102-0/+4
| | | | Running our unit tests with `-bb` enabled triggered this failure.
* bpo-29406: asyncio SSL contexts leak sockets after calling close with ↵Nikolay Kim2017-06-101-0/+4
| | | | | | | | certain servers (#409) * asyncio SSL contexts leak sockets after calling close with certain servers * cleanup _shutdown_timeout_handle on _fatal_error
* Add a NEWS entry for #29870 (PR #981) (#2047)Yury Selivanov2017-06-091-0/+3
|
* Closing transport during handshake process leaks socket (#480)Nikolay Kim2017-06-091-0/+3
|
* bpo-27585: Add a NEWS entry for #1031 (#2036)Yury Selivanov2017-06-091-0/+3
|
* bpo-30014: make poll-like selector's modify() method faster (#1030)Giampaolo Rodola2017-06-091-0/+3
| | | | | | | | | | | | | | | | * #30014: make selectors.DefaultSelector.modify() faster by relying on selector's modify() method instead of un/register()ing the fd * #30014: add unit test * speedup poll/epoll/devpoll modify() method by using internal modify() call * update doc * address PR comments * update NEWS entries * use != instead of 'is not'
* bpo-30266: support "= None" pattern in AbstractContextManager (#1448)Jelle Zijlstra2017-06-091-0/+4
| | | | | contextlib.AbstractContextManager now supports anti-registration by setting __enter__ = None or __exit__ = None, following the pattern introduced in bpo-25958.
* bpo-30418: Popen.communicate() always ignore EINVAL (#2002)Victor Stinner2017-06-081-0/+3
| | | | | On Windows, subprocess.Popen.communicate() now also ignore EINVAL on stdin.write() if the child process is still running but closed the pipe.
* bpo-30486: Allow setting cell value (#1840)Lisa Roach2017-06-081-3/+5
| | | The cell_contents attribute of the cell object is now writable.
* bpo-30537: use PyNumber in itertools.islice instead of PyLong (#1918)Will Roberts2017-06-081-0/+3
| | | | | | | | * bpo-30537: use PyNumber in itertools instead of PyLong * bpo-30537: revert changes except to islice_new * bpo-30537: test itertools.islice and add entry to Misc/NEWS
* bpo-30584: Fix test_os fails on non-English Windows (#1980)Denis Osipov2017-06-071-0/+1
| | | | | | | | * Fix bpo-30584 * Adding a comment mentionning the bpo and explaining what is the identifier * Add Denis Osipov to Misc/ACKS
* bpo-30177: pathlib: include the full path in resolve(strict=False) (#1893)Antoine Pietri2017-06-071-0/+1
|
* bpo-30463: Add an empty __slots__ to abc.ABC.Aaron Hall, MBA2017-06-061-0/+3
|
* bpo-30520: Implemented pickling for loggers. (#1956)Vinay Sajip2017-06-061-1/+3
| | | Implemented pickling for loggers.
* bpo-30095: Make CSS classes used by calendar.HTMLCalendar customizable (GH-1439)Oz N Tiram2017-06-061-0/+1
| | | Several class attributes have been added to calendar.HTMLCalendar that allow customization of the CSS classes used in the resulting HTML. This can be done by subclasses HTMLCalendar and overwriting those class attributes (Patch by Oz Tiram).
* bpo-30557: faulthandler now correctly filters and displays exception codes ↵Steve Dower2017-06-051-0/+3
| | | | | | | | | | on Windows (#1924) * bpo-30557: faulthandler now correctly filters and displays exception codes on Windows * Adds test for non-fatal exceptions. * Adds bpo number to comment.
* Fix bpo-30526: Add TextIOWrapper.reconfigure() and a ↵Antoine Pitrou2017-06-031-0/+3
| | | | | | | | | | TextIOWrapper.write_through attribute (#1922) * Fix bpo-30526: Add TextIOWrapper.reconfigure() * Apply Nick's improved wording * Update Misc/NEWS
* bpo-24899: Add comparison table for os.path -> pathlib (GH-1753)Jamiel Almeida2017-06-021-4/+5
|
* bpo-30052: Always regenerate cross-references (#1339)Nick Coghlan2017-06-021-0/+9
| | | | | | | | | | | | | * bpo-30052: Always regenerate cross-references The patch for bpo-30052 changed the preferred link target for :func:`bytes` and :func`bytearray` references to be the respective type definitions rather than the corresponding builtin function entries. This patch changes the daily documentation builds to disable the output caching in Sphinx, in order to ensure that cross-reference changes like this one are reliably picked up and applied automatically after merging.
* bpo-30245: Fix possible overflow when organize struct.pack_into error ↵Johan Liu2017-06-022-0/+4
| | | | message (#1682)
* bpo-30378: Fix the problem that SysLogHandler can't handle IPv6 addresses ↵Xiang Zhang2017-06-011-0/+3
| | | | (#1676)
* bpo-25324: copy tok_name before changing it (#1608)Albert-Jan Nijburg2017-05-311-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | * add test to check if were modifying token * copy list so import tokenize doesnt have side effects on token * shorten line * add tokenize tokens to token.h to get them to show up in token * move ERRORTOKEN back to its previous location, and fix nitpick * copy comments from token.h automatically * fix whitespace and make more pythonic * change to fix comments from @haypo * update token.rst and Misc/NEWS * change wording * some more wording changes
* Doc nits for bpo-16500 (#1841)Antoine Pitrou2017-05-281-0/+3
| | | | | | * Doc nits for bpo-16500 * Fix more references
* bpo-20210: Support the *disabled* marker in Setup files (GH-132)xdegaye2017-05-271-0/+4
| | | | | Extension modules listed after the *disabled* marker are not built at all, neither by the Makefile nor by setup.py.
* bpo-16500: Allow registering at-fork handlers (#1715)Antoine Pitrou2017-05-271-0/+2
| | | | | | | | | | | | * bpo-16500: Allow registering at-fork handlers * Address Serhiy's comments * Add doc for new C API * Add doc for new Python-facing function * Add NEWS entry + doc nit
* bpo-30470: Deprecate invalid ctypes call protection on Windows. (GH-1810)Mariatta2017-05-271-0/+3
| | | Calling Ctypes functions is deprecated in 3.6.2 and will be removed in 3.7
* bpo-30414: multiprocessing.Queue._feed do not break from main loop on exc ↵grzgrzgrz32017-05-251-0/+3
| | | | | | | | | | | | | | | | | | (#1683) * bpo-30414: multiprocesing.Queue._feed do not break from main loop on exc Queue background running thread was not handling exceptions correctly. Any exception occurred inside thread (putting unpickable object) cause feeder to finish running. After that every message put into queue is silently ignored. * bpo-30414: multiprocesing.Queue._feed do not break from main loop on exc Queue background running thread was not handling exceptions correctly. Any exception occurred inside thread (putting unpickable object) cause feeder to finish running. After that every message put into queue is silently ignored.
* bpo-29104: Fixed parsing backslashes in f-strings. (#490)Serhiy Storchaka2017-05-251-0/+2
|
* bpo-29851: Have importlib.reload() raise ImportError if the module's spec is ↵Garvit Khatri2017-05-242-0/+4
| | | | not found (GH-972)
* bpo-28845: Clean up known issues for AIX (GH-1670)Eric N. Vander Weele2017-05-241-7/+0
| | | | | | | | | Clean up `Misc/README.AIX` for addressed known issues. - Issues that have been marked fixed: #11184, #11185 - Issues resolved by new AIX version: #1745108 - Issues resolved, but not yet marked fixed/closed: #11188 Signed-off-by: Eric N. Vander Weele <ericvw@gmail.com>
* bpo-22257: Small changes for PEP 432. (#1728)Eric Snow2017-05-231-0/+2
| | | PEP 432 specifies a number of large changes to interpreter startup code, including exposing a cleaner C-API. The major changes depend on a number of smaller changes. This patch includes all those smaller changes.
* bpo-25532: Protect against infinite loops in inspect.unwrap() (#1717)Thomas Kluyver2017-05-231-0/+4
| | | | | | | | | Some objects (like test mocks) auto-generate new objects on attribute access, which can lead to an infinite loop in inspect.unwrap(). Ensuring references are retained to otherwise temporary objects and capping the size of the memo dict turns this case into a conventional exception instead.
* bpo-29102: Add a unique ID to PyInterpreterState. (#1639)Eric Snow2017-05-231-0/+3
|
* bpo-30395 _PyGILState_Reinit deadlock fix (#1734)Jason Fried2017-05-221-0/+1
| | | | head_lock could be held by another thread when fork happened. We should reset it to avoid deadlock.
* Add --with-assertions configure flag to enable C assertions(#1731)T. Wouters2017-05-221-0/+4
| | | Defaults to 'no', but as before assertions are implied by --with-pydebug.
* bpo-30003: Fix handling escape characters in HZ codec (#1556)Xiang Zhang2017-05-221-0/+3
|
* bpo-27945: Fixed various segfaults with dict. (#1657)Serhiy Storchaka2017-05-202-0/+5
| | | | Based on patches by Duane Griffin and Tim Mitchell.
* bpo-17188: DOC: Document 'from None' in raise statement (#1671)csabella2017-05-201-0/+1
| | | | | Original patch by Dennis Mårtensson.
* bpo-25794: Fix `type.__setattr__()` for non-interned attribute names. (#1652)Serhiy Storchaka2017-05-201-0/+3
| | | | Based on patch by Eryk Sun.
* bpo-30039: Don't run signal handlers while resuming a yield from stack (#1081)Nathaniel J. Smith2017-05-171-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we have a chain of generators/coroutines that are 'yield from'ing each other, then resuming the stack works like: - call send() on the outermost generator - this enters _PyEval_EvalFrameDefault, which re-executes the YIELD_FROM opcode - which calls send() on the next generator - which enters _PyEval_EvalFrameDefault, which re-executes the YIELD_FROM opcode - ...etc. However, every time we enter _PyEval_EvalFrameDefault, the first thing we do is to check for pending signals, and if there are any then we run the signal handler. And if it raises an exception, then we immediately propagate that exception *instead* of starting to execute bytecode. This means that e.g. a SIGINT at the wrong moment can "break the chain" – it can be raised in the middle of our yield from chain, with the bottom part of the stack abandoned for the garbage collector. The fix is pretty simple: there's already a special case in _PyEval_EvalFrameEx where it skips running signal handlers if the next opcode is SETUP_FINALLY. (I don't see how this accomplishes anything useful, but that's another story.) If we extend this check to also skip running signal handlers when the next opcode is YIELD_FROM, then that closes the hole – now the exception can only be raised at the innermost stack frame. This shouldn't have any performance implications, because the opcode check happens inside the "slow path" after we've already determined that there's a pending signal or something similar for us to process; the vast majority of the time this isn't true and the new check doesn't run at all.
* bpo-30149: Fix partialmethod without explicit self parameter (#1308)Dong-hee Na2017-05-171-0/+4
|