Ville Skyttä
49b2734bf1
Spelling fixes ( #2902 )
2017-08-03 09:00:59 +03:00
Alexander Mohr
de34cbe9cd
bpo-31061: fix crash in asyncio speedup module (GH-2966)
2017-08-02 15:31:07 +09:00
Alexander Belopolsky
018d353c1c
Closes issue bpo-5288: Allow tzinfo objects with sub-minute offsets. ( #2896 )
...
* Closes issue bpo-5288: Allow tzinfo objects with sub-minute offsets.
* bpo-5288: Implemented %z formatting of sub-minute offsets.
* bpo-5288: Removed mentions of the whole minute limitation on TZ offsets.
* bpo-5288: Removed one more mention of the whole minute limitation.
Thanks @csabella!
* Fix a formatting error in the docs
* Addressed review comments.
Thanks, @haypo.
2017-07-31 10:26:50 -04:00
Segev Finer
5cff637979
bpo-9566: Fixed _ssl module warnings ( #2495 )
...
* bpo-9566: Fixed some _ssl warnings
* bpo-9566: _ssl: Fixup the fixes and also fix the remainings warnings
* Add a comment about the downcast
2017-07-26 15:19:17 -07:00
Segev Finer
679b566622
bpo-9566: Fix some Windows x64 compiler warnings ( #2492 )
...
* bpo-9566: Silence liblzma warnings
* bpo-9566: Silence tcl warnings
* bpo-9566: Silence tk warnings
* bpo-9566: Silence tix warnings
* bpo-9566: Fix some library warnings
* bpo-9566: Fix msvcrtmodule.c warnings
* bpo-9566: Silence _bz2 warnings
* bpo-9566: Fixed some _ssl warnings
* bpo-9566: Fix _msi warnings
* bpo-9566: Silence _ctypes warnings
* Revert "bpo-9566: Fixed some _ssl warnings"
This reverts commit a639001c949ba53338a9ee047d2ec1efd2505e6f.
* bpo-9566: Also consider NULL as a possible error in HANDLE_return_converter
* bpo-9566: whitespace fixes
2017-07-26 15:17:57 -07:00
Utkarsh Upadhyay
cc5a65cd90
bpo-30302 Make timedelta.__repr__ more informative. ( #1493 )
2017-07-25 23:51:33 +02:00
Segev Finer
39243779f4
bpo-31018: Switch to #pragma pack from __declspec(align) ( #2848 )
2017-07-25 10:47:43 +02:00
Xiang Zhang
4ed5ad79ec
bpo-30961: Fix decrementing a borrowed reference in tracemalloc. ( #2747 )
2017-07-19 00:33:29 +08:00
Antoine Pitrou
f474c5a3f3
bpo-30946: Remove obsolete fallback code in readline module ( #2738 )
...
* Remove obsolete fallback code in readline module
* Add NEWS
* Remove obsolete include
* Fix macro on Windows
2017-07-18 17:05:03 +02:00
Antoine Pitrou
2c8a5e4c96
bpo-30808: Use _Py_atomic API for concurrency-sensitive signal state ( #2417 )
...
* Improve signal delivery
Avoid using Py_AddPendingCall from signal handler, to avoid calling signal-unsafe functions.
* Remove unused function
* Improve comments
* Use _Py_atomic API for concurrency-sensitive signal state
* Add blurb
2017-07-17 12:25:19 +02:00
Steve Dower
68d663cf85
[bpo-30916] Pre-build OpenSSL and Tcl/Tk for Windows ( #2688 )
...
Updates ssl and tkinter projects to use pre-built externals
2017-07-17 11:15:48 +02:00
Serhiy Storchaka
49f6449ef4
bpo-30936: Fix a reference leak in json when fail to sort keys. ( #2712 )
2017-07-16 07:29:16 +03:00
Segev Finer
541bd28941
bpo-30911: Fix a crash in json on platforms with unsigned char ( #2684 )
...
when pass bad strict argument.
2017-07-13 08:52:08 +03:00
Segev Finer
f52325598e
Avoid _GNU_SOURCE redefined warning in xmlparse.c ( #2670 )
2017-07-11 21:47:03 +02:00
Serhiy Storchaka
1180e5a518
bpo-30879: os.listdir() and os.scandir() now emit bytes names when ( #2634 )
...
called with bytes-like argument.
2017-07-11 06:36:46 +03:00
Victor Stinner
b136f11f3a
bpo-30892: Fix _elementtree module initialization ( #2647 )
...
Handle getattr(copy, 'deepcopy') error in _elementtree module
initialization.
2017-07-10 22:28:02 +02:00
Victor Stinner
64fa449f55
bpo-30866: Add _testcapi.stack_pointer() ( #2601 )
2017-07-10 14:37:49 +02:00
Serhiy Storchaka
7e60192fe0
Remove _PyArg_NoStackKeywords(). ( #2641 )
2017-07-10 10:25:34 +02:00
Victor Stinner
1881befb90
bpo-29854: test_readline logs versions ( #2619 )
...
* test_readline logs the versions of libreadline when run in verbose
mode
* Add also readline._READLINE_LIBRARY_VERSION
2017-07-07 16:06:58 +02:00
Nir Soffer
fae8f4a9cb
bpo-29854: Fix segfault in call_readline() (GH-728)
...
If history-length is set in .inputrc, and the history file is double the
history size (or more), history_get(N) returns NULL, and python
segfaults. Fix that by checking for NULL return value.
It seems that the root cause is incorrect handling of bigger history in
readline, but Python should not segfault even if readline returns
unexpected value.
This issue affects only GNU readline. When using libedit emulation
system history size option does not work.
2017-07-07 09:10:46 +03:00
Yury Selivanov
833a3b0d37
bpo-30828: Fix out of bounds write in `asyncio.CFuture.remove_done_callback() ( #2569 )
2017-07-05 13:32:03 -04:00
Victor Stinner
67e1478dba
bpo-30319: socket.close() now ignores ECONNRESET ( #2565 )
...
socket.close() was modified in Python 3.6 to raise OSError on
failure: see bpo-26685.
2017-07-04 16:20:06 +02:00
Serhiy Storchaka
6969eaf468
bpo-29464: Rename METH_FASTCALL to METH_FASTCALL|METH_KEYWORDS and make ( #1955 )
...
the bare METH_FASTCALL be used for functions with positional-only
parameters.
2017-07-03 21:20:15 +03:00
xdegaye
85f643023f
bpo-30695: Add set_nomemory(start, stop) to _testcapi (GH-2406)
2017-07-01 14:14:45 +02:00
Antoine Pitrou
729780a810
bpo-30807: signal.setitimer() may disable the timer by mistake ( #2493 )
...
* bpo-30807: signal.setitimer() may disable the timer by mistake
* Add NEWS blurb
2017-06-30 10:01:05 +02:00