Serhiy Storchaka
cfdfbb4d3c
Issue #27342 : Replaced some Py_XDECREFs with Py_DECREFs.
...
Patch by Xiang Zhang.
2016-06-18 09:44:03 +03:00
Berker Peksag
75a25867ab
Issue #27312 : Fix TypeError in test_setupapp
2016-06-18 04:18:24 +03:00
Terry Jan Reedy
fdb6ef774a
Issue #27312 : mock out function that fails when called from setupApp during
...
IDLE test_macosx and see if addOpenEventSupport() fails.
2016-06-17 19:55:46 -04:00
Steve Dower
ea93ac013d
Issue #26536 : socket.ioctl now supports SIO_LOOPBACK_FAST_PATH. Patch by Daniel Stokes.
2016-06-17 12:52:18 -07:00
Steve Dower
99d66f917a
Issue #27048 : Prevents distutils failing on Windows when environment variables contain non-ASCII characters
2016-06-17 09:33:11 -07:00
Steve Dower
08bb8a41cc
Issue #27048 : Prevents distutils failing on Windows when environment variables contain non-ASCII characters
2016-06-17 09:32:38 -07:00
Victor Stinner
d7292b5e9f
Issue #27336 : Fix compilation on Windows
...
Replace "#if WITH_THREAD" with "#ifdef WITH_THREAD".
2016-06-17 12:29:00 +02:00
Berker Peksag
531396c764
Issue #27336 : Fix compilation failures --without-threads
2016-06-17 13:25:01 +03:00
Serhiy Storchaka
d4b45cb9ca
ctypes: the type of b_size is Py_ssize_t.
2016-06-17 11:13:03 +03:00
Serhiy Storchaka
85e6635edf
ctypes: the type of b_size is Py_ssize_t.
2016-06-17 11:11:07 +03:00
Victor Stinner
a63073a807
Merge 3.5
2016-06-17 00:01:30 +02:00
Victor Stinner
ec721f3305
py_getrandom(): use long type for the syscall() result
...
Issue #27278 . It should fix a conversion warning.
In practice, the Linux kernel doesn't return more than 32 MB per call to the
getrandom() syscall.
2016-06-16 23:53:47 +02:00
Serhiy Storchaka
74108614b1
Issue #27330 : Fixed possible leaks in the ctypes module.
2016-06-16 22:10:13 +03:00
Serhiy Storchaka
adef6460d7
Issue #27330 : Fixed possible leaks in the ctypes module.
2016-06-16 22:08:46 +03:00
Zachary Ware
0475ffa64d
Issue #26930 : Merge with 3.5
2016-06-15 17:16:16 -05:00
Zachary Ware
f88d83b922
Issue #26930 : Update Windows build to OpenSSL 1.0.2h
2016-06-15 17:13:28 -05:00
Ned Deily
6df108b4be
Issue #27327 : null merge from 3.5
2016-06-15 18:09:45 -04:00
Ned Deily
dccc5edfa1
Issue #27327 : fix doc typo, noted by Jakub Wilk.
2016-06-15 18:06:32 -04:00
Serhiy Storchaka
607f8a5e28
Issue #27301 : Fixed incorrect return codes for errors in compile.c.
2016-06-15 20:07:53 +03:00
Serhiy Storchaka
694de3bff7
Issue #27301 : Fixed incorrect return codes for errors in compile.c.
2016-06-15 20:06:07 +03:00
Berker Peksag
f0f2960f45
Merge from 3.5
2016-06-15 18:13:12 +03:00
Berker Peksag
33e7ca78f9
Make faq/general.rst gender-inclusive, patch by Sam Hathaway.
2016-06-15 18:12:49 +03:00
Xavier de Gaye
c716f183f8
Issue #26862 : SYS_getdents64 does not need to be defined on android API 21.
2016-06-15 11:35:29 +02:00
Georg Brandl
d20cb0263a
merge with 3.5
2016-06-15 08:58:46 +02:00
Georg Brandl
b14f0c6409
merge with 3.4
2016-06-15 08:58:00 +02:00
Georg Brandl
4b9e75ba7f
Docs: add html-stable autobuild variant
2016-06-15 08:57:32 +02:00
Martin Panter
9a8b5ca2d7
Issue #27311 : Merge zipfile doc from 3.5
2016-06-15 01:05:27 +00:00
Martin Panter
71e86367e0
Issue #27311 : Fix ZipFile.writestr data argument name.
...
Patch by John Hagen.
2016-06-15 00:24:34 +00:00
Serhiy Storchaka
e80b658dbf
Issue #27238 : Got rid of bare excepts in the turtle module. Original patch
...
by Jelle Zijlstra.
2016-06-14 22:53:43 +03:00
Serhiy Storchaka
cefa9172a2
Issue #27238 : Got rid of bare excepts in the turtle module. Original patch
...
by Jelle Zijlstra.
2016-06-14 22:52:04 +03:00
Gregory P. Smith
319a57c338
issue27122: fix typo in the news file, wrong issue #. not issue27123.
2016-06-14 09:28:08 -07:00
Gregory P. Smith
fcbe337fef
issue27122: fix typo in the news file, wrong issue #. not issue27123.
2016-06-14 09:27:44 -07:00
Gregory P. Smith
881aa38972
Issue #27123 : When an exception is raised within the context being
...
managed by a contextlib.ExitStack() and one of the exit stack
generators catches and raises it in a chain, do not re-raise the
original exception when exiting, let the new chained one through.
This avoids the PEP 479 bug described in issue25782.
2016-06-14 09:24:31 -07:00
Gregory P. Smith
ba2ecd6841
Issue #27123 : When an exception is raised within the context being
...
managed by a contextlib.ExitStack() and one of the exit stack
generators catches and raises it in a chain, do not re-raise the
original exception when exiting, let the new chained one through.
This avoids the PEP 479 bug described in issue25782.
2016-06-14 09:19:20 -07:00
Victor Stinner
c206f1eb1c
subprocess: enhance ResourceWarning message
...
* Add the process identifier to the warning message
* Add also a comment to explain the issue
2016-06-14 16:42:59 +02:00
Victor Stinner
d017176209
Merge 3.5
2016-06-14 16:36:00 +02:00
Victor Stinner
c72828ba33
cleanup random.c
...
Casting Py_ssize_t to Py_ssize_t is useless.
2016-06-14 16:35:49 +02:00
Victor Stinner
370f5136d4
Merge 3.5 (os.urandom, issue #27278 )
2016-06-14 16:33:17 +02:00
Victor Stinner
b98a36e8f3
Fix os.urandom() using getrandom() on Linux
...
Issue #27278 : Fix os.urandom() implementation using getrandom() on Linux.
Truncate size to INT_MAX and loop until we collected enough random bytes,
instead of casting a directly Py_ssize_t to int.
2016-06-14 16:31:35 +02:00
Victor Stinner
673ac27499
Merge 3.5
2016-06-14 15:05:21 +02:00
Victor Stinner
fd7f19ea67
Issue #25843 : Fix the NEWS entry
2016-06-14 15:04:44 +02:00
Berker Peksag
e0b70cd8a9
Issue #16864 : Cursor.lastrowid now supports REPLACE statement
...
Initial patch by Alex LordThorsen.
2016-06-14 15:25:36 +03:00
Martin Panter
34f12d7315
Issue #16182 : Merge test_readline from 3.5
2016-06-14 11:31:39 +00:00
Martin Panter
a8cadb2243
Issue #16182 : One more check for set_pre_input_hook()
2016-06-14 11:29:31 +00:00
Berker Peksag
357be7ccdb
Merge from 3.5
2016-06-14 14:19:33 +03:00
Berker Peksag
f85bce74db
Mark tests as skipped when a SQLite version is not supported
2016-06-14 14:19:02 +03:00
Berker Peksag
7fb468bf3e
Merge from 3.5
2016-06-14 13:25:35 +03:00
Berker Peksag
2b50899a28
Remove empty setUp and tearDown methods from sqlite3 tests
...
They are not used as base classes by another tests so they
can safely be removed.
2016-06-14 13:25:11 +03:00
Berker Peksag
4762d5d5d1
Merge from 3.5
2016-06-14 12:51:28 +03:00
Berker Peksag
48b13f0427
Delete outdated paragraph about OptimizedUnicode again
...
sqlite3.OptimizedUnicode is an alias for str in Python 3 and
its behavior is already tested in CheckOptimizedUnicode in
Lib/sqlite3/test/factory.py.
sqlite3.OptimizedUnicode was undocumented in 0fc10a33eb4c and
probably added back with the result of a bad merge.
2016-06-14 12:51:07 +03:00