summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-31370: Remove references to threadless builds (#8805)Zackery Spytz2018-09-294-19/+10
| | | Support for threadless builds was removed in a6a4dc81.
* Fix astuple in dataclasses documentation (GH-9631)방성범 (Bang Seongbeom)2018-09-291-1/+1
|
* Fix incorrect error handling in _pickle.Unpickler.__init__() (GH-9630)Zackery Spytz2018-09-291-1/+1
| | | | _pickle.Unpickler.__init__() should return -1 if Pdata_New() fails, not 1.
* bpo-34797: Convert heapq to the argument clinic (GH-9560)Pablo Galindo2018-09-282-67/+296
|
* bpo-34687: Update asyncio doc for ProactorEventLoop (GH-9623)Victor Stinner2018-09-283-17/+0
| | | | | | | | | | Since ProactorEventLoop is now the default in 3.8, remove examples using it explicitly on Windows. https://bugs.python.org/issue34687
* bpo-34521: Fix tests in test_multiprocessing_spawn to use correctly ↵Pablo Galindo2018-09-281-1/+1
| | | | | | | | | | | | | | | | CMSG_SPACE (GH-9613) After some failures in AMD64 FreeBSD CURRENT Debug 3.x buildbots regarding tests in test_multiprocessing_spawn and after examining similar failures in test_socket, some errors in the calculation of ancillary data buffers were found in multiprocessing.reduction. CMSG_LEN() can often be used as the buffer size for recvmsg() to receive a single item of ancillary data, but RFC 3542 requires portable applications to use CMSG_SPACE() and thus include space for padding, even when the item will be the last in the buffer. The failures we experience are due to the usage of CMSG_LEN() instead of CMSG_SPACE().
* bpo-34736: improve error message for invalid length b64decode inputs (GH-9563)Tal Einat2018-09-282-4/+12
| | | | | | | | Improvements: 1. Include the number of valid data characters in the error message. 2. Mention "number of data characters" rather than "length". https://bugs.python.org/issue34736
* bpo-34248: Add filename to error raised in {gnu,ndbm}.open() (GH-8590)Zsolt Cserna2018-09-275-2/+18
| | | | | | Report the filename to the exception when raising {gdbm,dbm.ndbm}.error in dbm.gnu.open() and dbm.ndbm.open() functions, so it gets printed when the exception is raised, and can also be obtained by the filename attribute of the exception object.
* bpo-34802: Fix asyncio.iscoroutine() docs (GH-9611)Yury Selivanov2018-09-271-2/+1
|
* bpo-34762: Update PyContext* to PyObject* in asyncio and decimal (GH-9609)Yury Selivanov2018-09-272-12/+11
| | | This fixes various compiler warnings.
* bpo-32892: Use ast.Constant instead of specific constant AST types. (GH-9445)Serhiy Storchaka2018-09-2720-678/+337
|
* bpo-34819: Use a monotonic clock to compute timeouts in concurrent.futures ↵orlnub1232018-09-272-4/+5
| | | | | | | (GH-9599) Use a monotonic clock to compute timeouts in :meth:`Executor.map` and :func:`as_completed`, in order to prevent timeouts from deviating when the system clock is adjusted. This may not be sufficient on all systems. On POSIX for example, the actual waiting (e.g. in ``sem_timedwait``) is specified to rely on the CLOCK_REALTIME clock.
* Fix tests in test_socket to use correctly CMSG_LEN (GH-9594)Pablo Galindo2018-09-271-2/+3
| | | | | | | | | | | | | After some failures in AMD64 FreeBSD CURRENT Debug 3.x buildbots regarding tests in test_socket that are using testFDPassSeparateMinSpace(), FreeBDS revision 337423 was pointed out to be the reason the test started to fail. A close examination of the manpage for cmsg_space(3) reveals that the number of file descriptors needs to be taken into account when using CMSG_LEN(). This commit fixes tests in test_socket to use correctly CMSG_LEN, taking into account the number of FDs.
* bpo-31425: fix versionadded in docs and add attribution in NEWS (GH-9595)Tal Einat2018-09-262-2/+2
|
* Clarify that Type[SomeTypeVar] is legal (#9585)Michael Lee2018-09-261-3/+6
| | | | | | Currently, the docs state that when doing `Type[X]`, X is only allowed to be a class, a union of classes, and Any. This pull request amends that sentence to clarify X may also be a typevar (or a union involving classes, Any, and TypeVars).
* bpo-31425: Expose AF_QIPCRTR in socket module (GH-3706)Bjorn Andersson2018-09-268-2/+154
| | | | | | The AF_QIPCRTR address family was introduced in Linux v4.7. Co-authored-by: Bjorn Andersson <bjorn.andersson@linaro.org>
* bpo-34320: Fix dict(o) didn't copy order of dict subclass (GH-8624)INADA Naoki2018-09-265-1/+60
| | | | | | | When dict subclass overrides order (`__iter__()`, `keys()`, and `items()`), `dict(o)` should use it instead of dict ordering. https://bugs.python.org/issue34320
* bpo-34334: Don't log traceback twice in QueueHandler (GH-9537)Cheryl Sabella2018-09-254-5/+23
|
* asyncio/docs: Replace Python 4.0 -> 3.10 (GH-9579)Yury Selivanov2018-09-252-11/+11
|
* bpo-5950: Support reading zips with comments in zipimport (#9548)Zackery Spytz2018-09-255-1012/+1083
| | | * bpo-5950: Support reading zips with comments in zipimport
* bpo-34790: [docs] Passing coroutines to asyncio.wait() can be confusing. ↵Yury Selivanov2018-09-252-4/+37
| | | | (GH-9543)
* bpo-34162: idlelib/NEWS.txt entry for squeezer (GH-9573)Terry Jan Reedy2018-09-251-0/+7
|
* bpo-1529353: IDLE - Squeezer What's New for 3.8 (#9572)Terry Jan Reedy2018-09-251-0/+14
|
* bpo-1529353: IDLE - Squeezer What's New for 3.7.1 (#9568)Terry Jan Reedy2018-09-251-2/+11
|
* bpo-1529353: IDLE: Squeezer What's New for 3.6.7 (#9567)Terry Jan Reedy2018-09-251-2/+11
|
* bpo-33937: Catch ENOMEM error in test_socket (#9557)Victor Stinner2018-09-251-2/+13
| | | | | Fix test_socket.SendmsgSCTPStreamTest: catch ENOMEM error. testSendmsgTimeout() and testSendmsgDontWait() randomly fail on Travis CI with: "OSError: [Errno 12] Cannot allocate memory".
* bpo-34687: Make asynico use ProactorEventLoop by default (GH-9538)Victor Stinner2018-09-257-14/+30
|
* bpo-32557: allow shutil.disk_usage to take a file path on Windows also (GH-9372)Joe Pamer2018-09-254-4/+34
| | | https://bugs.python.org/issue32557
* bpo-1529353: IDLE: squeeze large output in the shell (GH-7626)Tal Einat2018-09-2511-29/+974
|
* Improved the more elaborate multiprocessing example in the logging cookbook ↵Géry Ogam2018-09-251-29/+29
| | | | (GH-9326)
* bpo-34770: Fix a possible null pointer dereference in pyshellext.cpp (GH-9497)Zackery Spytz2018-09-252-0/+6
| | | | | | | | The GlobalLock() call in UpdateDropDescription() was not checked for failure. https://bugs.python.org/issue34770
* Fix wrong exception reference: BrokenThreadPool -> BrokenProcessPool (GH-9533)Joni Kähärä2018-09-251-1/+1
|
* bpo-34162: Update idlelib/NEWS.txt to 2018-9-24. (GH-9551)Terry Jan Reedy2018-09-251-2/+15
|
* bpo-34162: Add entry for idlelib/NEWS.txt already included for 3.6/3.7 (GH-9549)Terry Jan Reedy2018-09-241-0/+5
|
* bpo-34683: Make SyntaxError column offsets consistently 1-indexed (gh-9338)Ammar Askar2018-09-2411-21/+65
| | | | | | Also point to start of tokens in parsing errors. Fixes bpo-34683
* bpo-34791: xml package obeys ignore env flags (GH-9544)Christian Heimes2018-09-243-2/+7
| | | | | | | | | | The xml.sax and xml.dom.domreg modules now obey sys.flags.ignore_environment. Signed-off-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue34791
* bpo-34783: Add test_cmd_line_script.test_nonexisting_script() (GH-9535)Victor Stinner2018-09-241-0/+19
| | | | Make sure that "./python script.py" does not crash if the script file doesn't exist.
* bpo-34582: Fixes Python version used for patch check (GH-9532)Steve Dower2018-09-241-1/+1
| | | https://bugs.python.org/issue34582
* Update Azure Pipelines badge (GH-9529)Steve Dower2018-09-241-10/+2
|
* bpo-34582: Update syntax of Azure Pipelines builds (GH-9521)Steve Dower2018-09-2418-542/+503
|
* bpo-24937: Replace the extension module porting HOWTO by links to external ↵Petr Viktorin2018-09-243-385/+18
| | | | projects (GH-9317)
* bpo-34728: Remove deprecate *loop* argument in asyncio.sleep (GH-9415)João Júnior2018-09-243-3/+47
| | | | | | | | | | | | | | | | * Insert the warn in the asyncio.sleep when the loop argument is used * Insert the warn in the asyncio.wait and asyncio.wait_for when the loop argument is used * Better format of the code * Add news file * change calls for get_event_loop() to calls for get_running_loop() * Change message to be more clear in News * Improve the comments in test_tasks
* Migrate datetime.date.fromtimestamp to Argument Clinic (GH-8535)Tim Hoffmann2018-09-244-18/+35
|
* bpo-34659: Adds initial kwarg to itertools.accumulate() (GH-9345)Lisa Roach2018-09-245-19/+65
|
* bpo-34548: IDLE: use configured theme colors in TextView (GH-9008)Tal Einat2018-09-233-9/+12
| | | https://bugs.python.org/issue34548
* Use in-memory streams instead of NamedTemporaryFile. (GH-9508)Serhiy Storchaka2018-09-231-4/+6
|
* bpo-17239: Disable external entities in SAX parser (GH-9217)Christian Heimes2018-09-239-5/+120
| | | | | | | | | | | | The SAX parser no longer processes general external entities by default to increase security. Before, the parser created network connections to fetch remote files or loaded local files from the file system for DTD and entities. Signed-off-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue17239
* bpo-34670: Add TLS 1.3 post handshake auth (GH-9460)Christian Heimes2018-09-239-16/+370
| | | | | | | | | | Add SSLContext.post_handshake_auth and SSLSocket.verify_client_post_handshake for TLS 1.3 post-handshake authentication. Signed-off-by: Christian Heimes <christian@python.org>q https://bugs.python.org/issue34670
* bpo-34421: Improve distutils logging for non-ASCII strings. (GH-9126)Serhiy Storchaka2018-09-232-24/+29
| | | | | | | Use "backslashreplace" instead of "unicode-escape". It is not implementation depended and escapes only non-encodable characters. Also simplify the code.
* bpo-32117: Iterable unpacking in return and yield documentation (GH-9487)jChapman2018-09-232-2/+6
| | | | | | | | News entry clean up, added to what's new Requested by @gvanrossum in https://github.com/python/cpython/pull/4509 https://bugs.python.org/issue32117