- 09 Oct, 2018 4 commits
-
-
Victor Stinner authored
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 9b7c74ca)
-
Romuald Brunet authored
By default the smtplib.SMTP objects did not have a sock attribute, it was only created during connect()
-
Andrew Svetlov authored
-
travisoneill authored
-
- 08 Oct, 2018 10 commits
-
-
animalize authored
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.
-
Andrew Svetlov authored
-
Bradley Meck authored
-
Noah Wood authored
-
Paul Bailey authored
-
Juliette Monsel authored
Implement the methods selection_from(), selection_range(), selection_present() and selection_to() for Tkinter Spinbox.
-
Xtreak authored
-
Raymond Hettinger authored
-
Emanuele Gaifas authored
This rectifies commit ffc5a14d.
-
Sanyam Khurana authored
* bpo-33014: Clarify str.isidentifier docstring * bpo-33014: Add code example in isidentifier documentation
-
- 07 Oct, 2018 1 commit
-
-
- 06 Oct, 2018 5 commits
-
-
Andrés Delfino authored
-
Zackery Spytz authored
On failure, _PyBytes_Resize() will deallocate the bytes object and set "result" to NULL. https://bugs.python.org/issue34824
-
Stéphane Wirtel authored
Fix typos
-
Zackery Spytz authored
-
Ethan Furman authored
-
- 05 Oct, 2018 10 commits
-
-
Christophe Nanteuil authored
* 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 018d353c and a fix regarding duplicate words for that part was added at bac2d5ba. 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 authored
The _PyLong_FromByteArray() call in int_from_bytes_impl() was unchecked.
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
Fixes warnings in tests added in bpo-32117 and bpo-34603.
-
Steve Dower authored
-
Serhiy Storchaka authored
Flags SRE_FLAG_UNICODE and SRE_FLAG_ASCII are mutually exclusive.
-
Xtreak authored
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 authored
-
E. M. Bray authored
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 authored
-
- 04 Oct, 2018 5 commits
-
-
-
Chih-Hsuan Yen authored
`arg` is misspelled as `agr`. I noticed this when playing with https://bugs.python.org/issue34871 https://bugs.python.org/issue34871
-
Serhiy Storchaka authored
Use tp_members and tp_getset instead.
-
Serhiy Storchaka authored
Use tp_members and tp_getset instead.
-
Benjamin Peterson authored
-
- 03 Oct, 2018 3 commits
-
-
Elvis Pranskevichus authored
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 authored
formatfloat() was not checking if PyBytes_FromStringAndSize() failed, which could lead to a null pointer dereference in _PyBytes_FormatEx().
-
Benjamin Peterson authored
Make it clear that the msg argument to assertWarns/assertWarnsRegex/assertRaisesRegex is keyword-only. (GH-9680) A follow up to be4e5b89.
-
- 02 Oct, 2018 2 commits
-
-
tzickel authored
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 authored
-