Stéphane Wirtel
84eec11995
bpo-23596: Add unit tests for the command line for the gzip module (GH-9775)
...
Add unit tests for the command line for the gzip module
2018-10-09 23:16:43 +02:00
twisteroid ambassador
c880ffe7d2
bpo-34769: Thread safety for _asyncgen_finalizer_hook(). (GH-9716)
2018-10-09 11:30:21 -04:00
Victor Stinner
79d21331e6
bpo-32962: Fix test_gdb failure in debug build with -mcet -fcf-protection -O0 (GH-9656)
...
When Python is built with the intel control-flow protection flags,
-mcet -fcf-protection, gdb is not able to read the stack without
actually jumping inside the function. This means an extra
'next' command is required to make the $pc (program counter)
enter the function and make the stack of the function exposed to gdb.
Co-Authored-By: Marcel Plch <gmarcel.plch@gmail.com >
(cherry picked from commit 9b7c74ca32 )
2018-10-09 16:54:04 +02:00
Romuald Brunet
7b31397180
bpo-32680 add default "sock" on SMTP objects ( #5345 )
...
By default the smtplib.SMTP objects did not have a sock attribute, it
was only created during connect()
2018-10-09 16:31:55 +02:00
Andrew Svetlov
2b2758d0b3
Extract sendfile tests into a separate test file ( #9757 )
2018-10-09 07:52:57 +03:00
travisoneill
199a280af5
bpo-34758: add .wasm to recognized file extensions in mimetypes module (GH-9464)
2018-10-09 07:43:58 +03:00
animalize
6261ae9b01
bpo-32174: Let .chm document display non-ASCII characters properly (GH-9758)
...
Let .chm document display non-ASCII characters properly
Escape the `body` part of .chm source file to 7-bit ASCII, to fix visual effect on some MBCS Windows systems.
2018-10-08 14:20:54 -07:00
Andrew Svetlov
60d230c78f
Extract tests for sock_*() functions into a separate file (GH-9761)
2018-10-08 23:06:18 +03:00
Bradley Meck
0854b92cd2
bpo-31715 Add mimetype for extension .mjs ( #3908 )
2018-10-08 23:04:55 +03:00
Noah Wood
5eea0ad50c
bpo-34921: Allow escaped NoReturn in get_type_hints (GH-9750)
2018-10-08 20:50:16 +02:00
Paul Bailey
4c33997057
bpo-34911: Added support for secure websocket cookies (GH-9734)
2018-10-08 21:49:29 +03:00
Juliette Monsel
af5658ae93
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.
2018-10-08 19:29:24 +03:00
Xtreak
a8d5e2f255
Use double quote instead of backtick to clarify Ellipsis constant (GH-9754)
2018-10-08 20:44:16 +05:30
Raymond Hettinger
de2e448414
bpo-34925: Optimize common case for bisect() argument parsing ( #9753 )
2018-10-08 08:02:41 -07:00
Emanuele Gaifas
fc8205cb4b
Add missing closing quote and trailing period in str.isidentifier() docstring (GH-9756)
...
This rectifies commit ffc5a14d00 .
2018-10-08 16:14:47 +05:30
Sanyam Khurana
ffc5a14d00
bpo-33014: Clarify str.isidentifier docstring (GH-6088)
...
* bpo-33014: Clarify str.isidentifier docstring
* bpo-33014: Add code example in isidentifier documentation
2018-10-08 12:23:32 +05:30
Danish Prakash
656d52dbfd
bpo-34901: add isolated (-I) flag to sys.flags (GH-9708)
...
https://bugs.python.org/issue34901
2018-10-07 09:12:31 -07:00
Andrés Delfino
7dfbd49671
Correct grammar mistake in re.rst. (GH-9745)
2018-10-06 22:48:30 +03:00
Zackery Spytz
365ad2ead5
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
2018-10-06 10:41:45 -07:00
Stéphane Wirtel
683281f536
bpo-34906: Doc: Fix typos (2) (GH-9735)
...
Fix typos
2018-10-06 16:35:53 +02:00
Zackery Spytz
ae62f01524
bpo-34910: Ensure that PyObject_Print() always returns -1 on error. (GH-9733)
2018-10-06 09:44:25 +03:00
Ethan Furman
cd45385ffa
bpo-34909: keep searching mixins until base class is found (GH-9737)
2018-10-05 23:29:36 -07:00
Christophe Nanteuil
92878829c3
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 018d353c1c and a fix regarding duplicate words for that part was added at bac2d5ba30 .
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.
2018-10-05 18:57:02 -04:00
Zackery Spytz
7bb9cd0a67
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.
2018-10-06 00:02:23 +03:00
Serhiy Storchaka
addf8afb43
Fix a compiler warning added in bpo-34872. (GH-9722)
2018-10-05 21:20:02 +03:00