]>
granicus.if.org Git - python/log
Bradley Meck [Mon, 8 Oct 2018 20:04:55 +0000 (15:04 -0500)]
bpo-31715 Add mimetype for extension .mjs (#3908)
Noah Wood [Mon, 8 Oct 2018 18:50:16 +0000 (14:50 -0400)]
bpo-34921: Allow escaped NoReturn in get_type_hints (GH-9750)
Paul Bailey [Mon, 8 Oct 2018 18:49:29 +0000 (13:49 -0500)]
bpo-34911: Added support for secure websocket cookies (GH-9734)
Juliette Monsel [Mon, 8 Oct 2018 16:29:24 +0000 (18:29 +0200)]
bpo-34829: Add missing selection_ methods to the Tkinter Spinbox. (GH-9617)
Implement the methods selection_from(), selection_range(), selection_present()
and selection_to() for Tkinter Spinbox.
Xtreak [Mon, 8 Oct 2018 15:14:16 +0000 (20:44 +0530)]
Use double quote instead of backtick to clarify Ellipsis constant (GH-9754)
Raymond Hettinger [Mon, 8 Oct 2018 15:02:41 +0000 (08:02 -0700)]
bpo-34925: Optimize common case for bisect() argument parsing (#9753)
Emanuele Gaifas [Mon, 8 Oct 2018 10:44:47 +0000 (12:44 +0200)]
Add missing closing quote and trailing period in str.isidentifier() docstring (GH-9756)
This rectifies commit
ffc5a14d00db984c8e72c7b67da8a493e17e2c14 .
Sanyam Khurana [Mon, 8 Oct 2018 06:53:32 +0000 (12:23 +0530)]
bpo-33014: Clarify str.isidentifier docstring (GH-6088)
* bpo-33014: Clarify str.isidentifier docstring
* bpo-33014: Add code example in isidentifier documentation
Danish Prakash [Sun, 7 Oct 2018 16:12:31 +0000 (16:12 +0000)]
bpo-34901: add isolated (-I) flag to sys.flags (GH-9708)
https://bugs.python.org/issue34901
Andrés Delfino [Sat, 6 Oct 2018 19:48:30 +0000 (16:48 -0300)]
Correct grammar mistake in re.rst. (GH-9745)
Zackery Spytz [Sat, 6 Oct 2018 17:41:45 +0000 (11:41 -0600)]
bpo-34824: Fix a possible NULL pointer dereference in _ssl.c (GH-9606)
On failure, _PyBytes_Resize() will deallocate the bytes object and set
"result" to NULL.
https://bugs.python.org/issue34824
Stéphane Wirtel [Sat, 6 Oct 2018 14:35:53 +0000 (16:35 +0200)]
bpo-34906: Doc: Fix typos (2) (GH-9735)
Fix typos
Zackery Spytz [Sat, 6 Oct 2018 06:44:25 +0000 (00:44 -0600)]
bpo-34910: Ensure that PyObject_Print() always returns -1 on error. (GH-9733)
Ethan Furman [Sat, 6 Oct 2018 06:29:36 +0000 (23:29 -0700)]
bpo-34909: keep searching mixins until base class is found (GH-9737)
Christophe Nanteuil [Fri, 5 Oct 2018 22:57:02 +0000 (00:57 +0200)]
bpo-34158: Documentation UTC offset update (GH-8377)
* Documentation of UTC offset update
Since changes in the UTC offset that allows sub-minute offsets, the documentation needs update:
- "%z" format code documentation update
Karthikeyan Singaravelan commented on bugs.python.org:
Added as part of
018d353c1c8c87767d2335cd884017c2ce12e045 and a fix regarding duplicate words for that part was added at
bac2d5ba30339298db7d4caa9c8cd31d807cf081 .
Relevant format string at https://github.com/python/cpython/pull/2896/files#diff-25e2d173c84057d069b7890450714eddR214.
Relevant test case with 6-digit string for microsecond : https://github.com/python/cpython/pull/2896/files#diff-acc40bec51c7de832de3361db3edae52R309.
Table at https://docs.python.org/3.7/library/datetime.html#strftime-and-strptime-behavior could also be updated with microseconds being optional in the second column
%z | UTC offset in the form ±HHMM[SS] (empty string if the object is naive). | (empty), +0000, -0400, +1030
- isoformat documentation update
According to me, needs confirmation:
Relevant format string at https://github.com/python/cpython/pull/4699/files#diff-25e2d173c84057d069b7890450714eddR176
Relevant test case at https://github.com/python/cpython/pull/4699/files#diff-
25e2d173c84057d069b7890450714edd
* From Martin Panter: some style improvment;
From @pganssle: using f for fractional part of seconds in all file.
Zackery Spytz [Fri, 5 Oct 2018 21:02:23 +0000 (15:02 -0600)]
bpo-34899: Fix a possible assertion failure due to int_from_bytes_impl() (GH-9705)
The _PyLong_FromByteArray() call in int_from_bytes_impl() was
unchecked.
Serhiy Storchaka [Fri, 5 Oct 2018 18:20:02 +0000 (21:20 +0300)]
Fix a compiler warning added in bpo-34872. (GH-9722)
Serhiy Storchaka [Fri, 5 Oct 2018 18:09:56 +0000 (21:09 +0300)]
Use assertEqual() instead of assertEquals(). (GH-9721)
Fixes warnings in tests added in bpo-32117 and bpo-34603.
Steve Dower [Fri, 5 Oct 2018 18:05:47 +0000 (11:05 -0700)]
bpo-34902: Fixes VM image for Azure Pipelines build (GH-9719)
Serhiy Storchaka [Fri, 5 Oct 2018 17:53:45 +0000 (20:53 +0300)]
Simplify flags checks in sre_compile.py. (GH-9718)
Flags SRE_FLAG_UNICODE and SRE_FLAG_ASCII are mutually exclusive.
Xtreak [Fri, 5 Oct 2018 15:24:11 +0000 (20:54 +0530)]
bpo-34825: Add more entries to os to pathlib reference table (GH-9608)
The added functions are as below :
| os module | Pathlib |
| ------------- | ------------- |
| os.chmod | Path.chmod |
| os.mkdir | Path.mkdir |
| os.rename | Path.rename |
| os.replace | Path.replace |
| os.rmdir | Path.rmdir |
| os.remove, os.unlink | Path.unlink |
| os.path.samefile | Path.samefile |
Thanks
https://bugs.python.org/issue34825
Stéphane Wirtel [Fri, 5 Oct 2018 14:17:18 +0000 (16:17 +0200)]
bpo-34906: Doc: Fix typos (GH-9712)
E. M. Bray [Fri, 5 Oct 2018 11:38:50 +0000 (13:38 +0200)]
bpo-28441: Ensure `.exe` suffix in `sys.executable` on MinGW and Cygwin (GH-4348)
This is needed to even the run the test suite on buildbots for affected platforms; e.g.:
```
./python.exe ./Tools/scripts/run_tests.py -j 1 -u all -W --slowest --fail-env-changed --timeout=11700 -j2
/home/embray/src/python/test-worker/3.x.test-worker/build/python -u -W default -bb -E -W error::BytesWarning -m test -r -w -j 1 -u all -W --slowest --fail-env-changed --timeout=11700 -j2
Traceback (most recent call last):
File "./Tools/scripts/run_tests.py", line 56, in <module>
main(sys.argv[1:])
File "./Tools/scripts/run_tests.py", line 52, in main
os.execv(sys.executable, args)
PermissionError: [Errno 13] Permission denied
make: *** [Makefile:1073: buildbottest] Error 1
```
Matt Eaton [Fri, 5 Oct 2018 07:00:45 +0000 (02:00 -0500)]
Fix a typo ssl.py docstring (GH-9697)
INADA Naoki [Thu, 4 Oct 2018 16:47:09 +0000 (01:47 +0900)]
bpo-34871: inspect: Don't pollute sys.modules (GH-9696)
https://bugs.python.org/issue34871
Chih-Hsuan Yen [Thu, 4 Oct 2018 13:15:00 +0000 (21:15 +0800)]
bpo-34871: Fix two typos in test_inspect.py (GH-9698)
`arg` is misspelled as `agr`. I noticed this when playing with https://bugs.python.org/issue34871
https://bugs.python.org/issue34871
Serhiy Storchaka [Thu, 4 Oct 2018 07:42:06 +0000 (10:42 +0300)]
bpo-34740: Get rid of tp_getattro in ossaudiodev.oss_audio_device. (GH-9421)
Use tp_members and tp_getset instead.
Serhiy Storchaka [Thu, 4 Oct 2018 07:41:27 +0000 (10:41 +0300)]
bpo-34739: Get rid of tp_getattro in xml.etree.ElementTree.XMLParser. (GH-9420)
Use tp_members and tp_getset instead.
Benjamin Peterson [Thu, 4 Oct 2018 02:23:24 +0000 (19:23 -0700)]
closes bpo-34869: Remove LDLAST. (GH-9667)
Elvis Pranskevichus [Wed, 3 Oct 2018 14:30:31 +0000 (10:30 -0400)]
bpo-34872: Fix self-cancellation in C implementation of asyncio.Task (GH-9679)
The C implementation of asyncio.Task currently fails to perform the
cancellation cleanup correctly in the following scenario.
async def task1():
async def task2():
await task3 # task3 is never cancelled
asyncio.current_task().cancel()
await asyncio.create_task(task2())
The actuall error is a hardcoded call to `future_cancel()` instead of
calling the `cancel()` method of a future-like object.
Thanks to Vladimir Matveev for noticing the code discrepancy and to
Yury Selivanov for coming up with a pathological scenario.
Zackery Spytz [Wed, 3 Oct 2018 06:01:30 +0000 (00:01 -0600)]
bpo-34879: Fix a possible null pointer dereference in bytesobject.c (GH-9683)
formatfloat() was not checking if PyBytes_FromStringAndSize()
failed, which could lead to a null pointer dereference in
_PyBytes_FormatEx().
Benjamin Peterson [Wed, 3 Oct 2018 04:38:39 +0000 (21:38 -0700)]
Make it clear that the msg argument to assertWarns/assertWarnsRegex/assertRaisesRegex is keyword-only. (GH-9680)
A follow up to
be4e5b89204283a62e369439025f00362d0424f6 .
tzickel [Tue, 2 Oct 2018 21:01:23 +0000 (00:01 +0300)]
bpo-34172: multiprocessing.Pool leaks resources after being deleted (GH-8450)
Fix a reference issue inside multiprocessing.Pool that caused the pool to remain alive if it was deleted without being closed or terminated explicitly.
Yury Selivanov [Tue, 2 Oct 2018 17:53:06 +0000 (13:53 -0400)]
bpo-34728: Fix asyncio tests to run under "-Werror" (GH-9661)
Cheryl Sabella [Tue, 2 Oct 2018 16:35:05 +0000 (12:35 -0400)]
Remove recent from logging cookbook (GH-9636)
William Orr [Tue, 2 Oct 2018 05:19:56 +0000 (22:19 -0700)]
closes bpo-34862: Guard definition of convert_sched_param with POSIX_SPAWN_SETSCHEDULER. (GH-9658)
Fixes broken build on OpenBSD-current.
Benjamin Peterson [Tue, 2 Oct 2018 05:18:44 +0000 (22:18 -0700)]
Make it clear that the msg argument to assertRaises is keyword-only. (GH-9670)
Benjamin Peterson [Tue, 2 Oct 2018 04:54:39 +0000 (21:54 -0700)]
closes bpo-34868: Improve error message with '_' is combined with an invalid type specifier. (GH-9666)
Ezio Melotti [Tue, 2 Oct 2018 00:34:46 +0000 (17:34 -0700)]
bpo-31865: Fix a couple of typos in the html.unescape() docs. (GH-9662)
INADA Naoki [Mon, 1 Oct 2018 12:10:37 +0000 (21:10 +0900)]
bpo-30167: Add test for module.__cached__ is None (GH-7617)
Hrvoje Nikšić [Mon, 1 Oct 2018 10:09:38 +0000 (12:09 +0200)]
bpo-34476: Document that asyncio.sleep() always suspends. (#9643)
Victor Stinner [Mon, 1 Oct 2018 10:03:22 +0000 (03:03 -0700)]
bpo-30156: Remove property_descr_get() optimization (GH-9541)
property_descr_get() uses a "cached" tuple to optimize function
calls. But this tuple can be discovered in debug mode with
sys.getobjects(). Remove the optimization, it's not really worth it
and it causes 3 different crashes last years.
Microbenchmark:
./python -m perf timeit -v \
-s "from collections import namedtuple; P = namedtuple('P', 'x y'); p = P(1, 2)" \
--duplicate 1024 "p.x"
Result:
Mean +- std dev: [ref] 32.8 ns +- 0.8 ns -> [patch] 40.4 ns +- 1.3 ns: 1.23x slower (+23%)
Brendan Jurd [Mon, 1 Oct 2018 06:52:10 +0000 (16:52 +1000)]
Fix name of argument in docs for functools.reduce(). (#9634)
Terry Jan Reedy [Sun, 30 Sep 2018 21:17:17 +0000 (17:17 -0400)]
bpo-34850: Replace is with == in idlelib.iomenu (GH-9649)
Patch by Serhiy Storchaka (in PR #9642).
Serhiy Storchaka [Sun, 30 Sep 2018 18:07:05 +0000 (21:07 +0300)]
bpo-34854: Fix compiling string annotations containing lambdas. (GH-9645)
* Compiling a string annotation containing a lambda with keyword-only
argument without default value caused a crash.
* Remove the final "*" (it is incorrect syntax) in the representation of
lambda without *args and keyword-only arguments when compile from AST.
* Improve the representation of lambda without arguments.
Andrew Svetlov [Sun, 30 Sep 2018 05:28:40 +0000 (08:28 +0300)]
bpo-34849: Don't log wating for selector.select in asyncio loop iteration (GH-9641)
The waiting is pretty normal for any asyncio program, logging its time just adds
a noise to logs without any useful information provided.
https://bugs.python.org/issue34849
Raymond Hettinger [Sat, 29 Sep 2018 21:30:38 +0000 (14:30 -0700)]
Speed-up math.dist() by 30% (GH-9628)
Zackery Spytz [Sat, 29 Sep 2018 16:15:55 +0000 (10:15 -0600)]
bpo-27351: Fix ConfigParser.read() documentation and docstring (GH-8123)
Switch "list" with "iterable" to match with the implementation.
Zackery Spytz [Sat, 29 Sep 2018 16:07:11 +0000 (10:07 -0600)]
bpo-31370: Remove references to threadless builds (#8805)
Support for threadless builds was removed in
a6a4dc81 .
방성범 (Bang Seongbeom) [Sat, 29 Sep 2018 10:50:31 +0000 (19:50 +0900)]
Fix astuple in dataclasses documentation (GH-9631)
Zackery Spytz [Sat, 29 Sep 2018 05:48:46 +0000 (23:48 -0600)]
Fix incorrect error handling in _pickle.Unpickler.__init__() (GH-9630)
_pickle.Unpickler.__init__() should return -1 if Pdata_New() fails, not 1.
Pablo Galindo [Fri, 28 Sep 2018 19:39:43 +0000 (20:39 +0100)]
bpo-34797: Convert heapq to the argument clinic (GH-9560)
Victor Stinner [Fri, 28 Sep 2018 15:40:08 +0000 (08:40 -0700)]
bpo-34687: Update asyncio doc for ProactorEventLoop (GH-9623)
Since ProactorEventLoop is now the default in 3.8, remove examples
using it explicitly on Windows.
https://bugs.python.org/issue34687
Pablo Galindo [Fri, 28 Sep 2018 09:51:05 +0000 (10:51 +0100)]
bpo-34521: Fix tests in test_multiprocessing_spawn to use correctly 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().
Tal Einat [Fri, 28 Sep 2018 05:57:22 +0000 (08:57 +0300)]
bpo-34736: improve error message for invalid length b64decode inputs (GH-9563)
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
Zsolt Cserna [Thu, 27 Sep 2018 19:54:34 +0000 (21:54 +0200)]
bpo-34248: Add filename to error raised in {gnu,ndbm}.open() (GH-8590)
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.
Yury Selivanov [Thu, 27 Sep 2018 19:48:30 +0000 (15:48 -0400)]
bpo-34802: Fix asyncio.iscoroutine() docs (GH-9611)
Yury Selivanov [Thu, 27 Sep 2018 18:55:55 +0000 (14:55 -0400)]
bpo-34762: Update PyContext* to PyObject* in asyncio and decimal (GH-9609)
This fixes various compiler warnings.
Serhiy Storchaka [Thu, 27 Sep 2018 14:42:37 +0000 (17:42 +0300)]
bpo-32892: Use ast.Constant instead of specific constant AST types. (GH-9445)
orlnub123 [Thu, 27 Sep 2018 11:16:26 +0000 (14:16 +0300)]
bpo-34819: Use a monotonic clock to compute timeouts in concurrent.futures (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.
Pablo Galindo [Thu, 27 Sep 2018 09:25:03 +0000 (10:25 +0100)]
Fix tests in test_socket to use correctly CMSG_LEN (GH-9594)
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.
Tal Einat [Wed, 26 Sep 2018 21:20:38 +0000 (00:20 +0300)]
bpo-31425: fix versionadded in docs and add attribution in NEWS (GH-9595)
Michael Lee [Wed, 26 Sep 2018 15:13:28 +0000 (08:13 -0700)]
Clarify that Type[SomeTypeVar] is legal (#9585)
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).
Bjorn Andersson [Wed, 26 Sep 2018 13:47:52 +0000 (06:47 -0700)]
bpo-31425: Expose AF_QIPCRTR in socket module (GH-3706)
The AF_QIPCRTR address family was introduced in Linux v4.7.
Co-authored-by: Bjorn Andersson <bjorn.andersson@linaro.org>
INADA Naoki [Wed, 26 Sep 2018 03:59:00 +0000 (12:59 +0900)]
bpo-34320: Fix dict(o) didn't copy order of dict subclass (GH-8624)
When dict subclass overrides order (`__iter__()`, `keys()`, and `items()`), `dict(o)`
should use it instead of dict ordering.
https://bugs.python.org/issue34320
Cheryl Sabella [Tue, 25 Sep 2018 23:00:08 +0000 (19:00 -0400)]
bpo-34334: Don't log traceback twice in QueueHandler (GH-9537)
Yury Selivanov [Tue, 25 Sep 2018 21:44:52 +0000 (17:44 -0400)]
asyncio/docs: Replace Python 4.0 -> 3.10 (GH-9579)
Zackery Spytz [Tue, 25 Sep 2018 19:15:47 +0000 (13:15 -0600)]
bpo-5950: Support reading zips with comments in zipimport (#9548)
* bpo-5950: Support reading zips with comments in zipimport
Yury Selivanov [Tue, 25 Sep 2018 18:51:21 +0000 (14:51 -0400)]
bpo-34790: [docs] Passing coroutines to asyncio.wait() can be confusing. (GH-9543)
Terry Jan Reedy [Tue, 25 Sep 2018 17:41:25 +0000 (13:41 -0400)]
bpo-34162: idlelib/NEWS.txt entry for squeezer (GH-9573)
Terry Jan Reedy [Tue, 25 Sep 2018 16:45:27 +0000 (12:45 -0400)]
bpo-
1529353 : IDLE - Squeezer What's New for 3.8 (#9572)
Terry Jan Reedy [Tue, 25 Sep 2018 16:09:43 +0000 (12:09 -0400)]
bpo-
1529353 : IDLE - Squeezer What's New for 3.7.1 (#9568)
Terry Jan Reedy [Tue, 25 Sep 2018 16:08:54 +0000 (12:08 -0400)]
bpo-
1529353 : IDLE: Squeezer What's New for 3.6.7 (#9567)
Victor Stinner [Tue, 25 Sep 2018 15:30:15 +0000 (08:30 -0700)]
bpo-33937: Catch ENOMEM error in test_socket (#9557)
Fix test_socket.SendmsgSCTPStreamTest: catch ENOMEM error.
testSendmsgTimeout() and testSendmsgDontWait() randomly fail on
Travis CI with: "OSError: [Errno 12] Cannot allocate memory".
Victor Stinner [Tue, 25 Sep 2018 15:27:08 +0000 (08:27 -0700)]
bpo-34687: Make asynico use ProactorEventLoop by default (GH-9538)
Joe Pamer [Tue, 25 Sep 2018 14:57:36 +0000 (10:57 -0400)]
bpo-32557: allow shutil.disk_usage to take a file path on Windows also (GH-9372)
https://bugs.python.org/issue32557
Tal Einat [Tue, 25 Sep 2018 12:10:14 +0000 (15:10 +0300)]
bpo-
1529353 : IDLE: squeeze large output in the shell (GH-7626)
Géry Ogam [Tue, 25 Sep 2018 07:24:52 +0000 (09:24 +0200)]
Improved the more elaborate multiprocessing example in the logging cookbook (GH-9326)
Zackery Spytz [Tue, 25 Sep 2018 04:25:23 +0000 (22:25 -0600)]
bpo-34770: Fix a possible null pointer dereference in pyshellext.cpp (GH-9497)
The GlobalLock() call in UpdateDropDescription() was not checked for
failure.
https://bugs.python.org/issue34770
Joni Kähärä [Tue, 25 Sep 2018 03:30:25 +0000 (06:30 +0300)]
Fix wrong exception reference: BrokenThreadPool -> BrokenProcessPool (GH-9533)
Terry Jan Reedy [Tue, 25 Sep 2018 00:11:45 +0000 (20:11 -0400)]
bpo-34162: Update idlelib/NEWS.txt to 2018-9-24. (GH-9551)
Terry Jan Reedy [Mon, 24 Sep 2018 23:15:40 +0000 (19:15 -0400)]
bpo-34162: Add entry for idlelib/NEWS.txt already included for 3.6/3.7 (GH-9549)
Ammar Askar [Mon, 24 Sep 2018 21:12:49 +0000 (17:12 -0400)]
bpo-34683: Make SyntaxError column offsets consistently 1-indexed (gh-9338)
Also point to start of tokens in parsing errors.
Fixes bpo-34683
Christian Heimes [Mon, 24 Sep 2018 17:21:12 +0000 (19:21 +0200)]
bpo-34791: xml package obeys ignore env flags (GH-9544)
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
Victor Stinner [Mon, 24 Sep 2018 15:06:29 +0000 (08:06 -0700)]
bpo-34783: Add test_cmd_line_script.test_nonexisting_script() (GH-9535)
Make sure that "./python script.py" does not crash if the script
file doesn't exist.
Steve Dower [Mon, 24 Sep 2018 13:03:02 +0000 (09:03 -0400)]
bpo-34582: Fixes Python version used for patch check (GH-9532)
https://bugs.python.org/issue34582
Steve Dower [Mon, 24 Sep 2018 12:04:33 +0000 (08:04 -0400)]
Update Azure Pipelines badge (GH-9529)
Steve Dower [Mon, 24 Sep 2018 11:44:50 +0000 (07:44 -0400)]
bpo-34582: Update syntax of Azure Pipelines builds (GH-9521)
Petr Viktorin [Mon, 24 Sep 2018 10:42:33 +0000 (12:42 +0200)]
bpo-24937: Replace the extension module porting HOWTO by links to external projects (GH-9317)
João Júnior [Mon, 24 Sep 2018 09:51:22 +0000 (06:51 -0300)]
bpo-34728: Remove deprecate *loop* argument in asyncio.sleep (GH-9415)
* 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
Tim Hoffmann [Mon, 24 Sep 2018 08:39:02 +0000 (10:39 +0200)]
Migrate datetime.date.fromtimestamp to Argument Clinic (GH-8535)
Lisa Roach [Mon, 24 Sep 2018 00:34:59 +0000 (17:34 -0700)]
bpo-34659: Adds initial kwarg to itertools.accumulate() (GH-9345)
Tal Einat [Sun, 23 Sep 2018 12:23:15 +0000 (15:23 +0300)]
bpo-34548: IDLE: use configured theme colors in TextView (GH-9008)
https://bugs.python.org/issue34548
Serhiy Storchaka [Sun, 23 Sep 2018 11:10:07 +0000 (14:10 +0300)]
Use in-memory streams instead of NamedTemporaryFile. (GH-9508)
Christian Heimes [Sun, 23 Sep 2018 07:50:25 +0000 (09:50 +0200)]
bpo-17239: Disable external entities in SAX parser (GH-9217)
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
Christian Heimes [Sun, 23 Sep 2018 06:32:31 +0000 (08:32 +0200)]
bpo-34670: Add TLS 1.3 post handshake auth (GH-9460)
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
Serhiy Storchaka [Sun, 23 Sep 2018 06:12:59 +0000 (09:12 +0300)]
bpo-34421: Improve distutils logging for non-ASCII strings. (GH-9126)
Use "backslashreplace" instead of "unicode-escape". It is not
implementation depended and escapes only non-encodable characters.
Also simplify the code.
jChapman [Sun, 23 Sep 2018 01:13:10 +0000 (21:13 -0400)]
bpo-32117: Iterable unpacking in return and yield documentation (GH-9487)
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
Krzysztof Wroblewski [Sat, 22 Sep 2018 15:13:53 +0000 (16:13 +0100)]
Fix pickletools doc for NEWFALSE. (GH-9432)
Also make docs for NEWFALSE and NEWTRUE more consistent
with docs for other opcodes.
Nathaniel J. Smith [Sat, 22 Sep 2018 04:44:12 +0000 (21:44 -0700)]
bpo-34759: Fix error handling in ssl 'unwrap()' (GH-9468)
OpenSSL follows the convention that whenever you call a function, it
returns an error indicator value; and if this value is negative, then
you need to go look at the actual error code to see what happened.
Commit
c6fd1c1c3a introduced a small mistake in
_ssl__SSLSocket_shutdown_impl: instead of checking whether the error
indicator was negative, it started checking whether the actual error
code was negative, and it turns out that the error codes are never
negative. So the effect was that 'unwrap()' lost the ability to raise
SSL errors.
https://bugs.python.org/issue34759