Serhiy Storchaka
886a5f352f
Issue #27343 : Fixed error message for conflicting initializers of ctypes.Structure.
2016-06-18 09:58:24 +03: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
Serhiy Storchaka
85e6635edf
ctypes: the type of b_size is Py_ssize_t.
2016-06-17 11:11:07 +03: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
adef6460d7
Issue #27330 : Fixed possible leaks in the ctypes module.
2016-06-16 22:08:46 +03:00
Zachary Ware
f88d83b922
Issue #26930 : Update Windows build to OpenSSL 1.0.2h
2016-06-15 17:13:28 -05:00
Ned Deily
dccc5edfa1
Issue #27327 : fix doc typo, noted by Jakub Wilk.
2016-06-15 18:06:32 -04: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
33e7ca78f9
Make faq/general.rst gender-inclusive, patch by Sam Hathaway.
2016-06-15 18:12:49 +03: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
71e86367e0
Issue #27311 : Fix ZipFile.writestr data argument name.
...
Patch by John Hagen.
2016-06-15 00:24:34 +00: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
fcbe337fef
issue27122: fix typo in the news file, wrong issue #. not issue27123.
2016-06-14 09:27:44 -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
c72828ba33
cleanup random.c
...
Casting Py_ssize_t to Py_ssize_t is useless.
2016-06-14 16:35:49 +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
fd7f19ea67
Issue #25843 : Fix the NEWS entry
2016-06-14 15:04:44 +02:00
Martin Panter
a8cadb2243
Issue #16182 : One more check for set_pre_input_hook()
2016-06-14 11:29:31 +00: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
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
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
Serhiy Storchaka
8e6d09c1cc
Issue #26386 : Fixed ttk.TreeView selection operations with item id's
...
containing spaces.
2016-06-14 12:33:31 +03:00
Martin Panter
6afbc653a7
Issue #16182 : set_pre_input_hook() may not exist; document, and update test
2016-06-14 08:45:43 +00:00
Benjamin Peterson
11a693d330
merge 3.4
2016-06-13 23:41:40 -07:00
Benjamin Peterson
06d49bb895
sync ordering of stddef.h includes with expat 2.1.1
2016-06-13 23:41:19 -07:00
Martin Panter
056f76d978
Issue #16182 : Attempted workarounds for Apple Editline
2016-06-14 05:45:31 +00:00
Terry Jan Reedy
ec84417ce8
Issue #27245 : IDLE: Cleanly delete custom themes and key bindings.
...
Previously, when IDLE was started from a console or by import, a cascade
of warnings was emitted. Patch by Serhiy Storchaka.
2016-06-14 00:53:25 -04:00
Martin Panter
e1b3431cef
Issue #22636 : Handle OSError from subprocess, e.g. if command not found
2016-06-14 04:08:30 +00:00
Martin Panter
bfb15ab711
Issue #22636 : avoid using a shell in the ctypes.util module
...
Replace os.popen() with subprocess.Popen. Based on patch by Victor Stinner.
If the "gcc", "cc" or "objdump" command is not available, the code was
supposed to raise an OSError exception. But there was a bug in the code. The
shell code returns the exit code 10 if the required command is missing, and the
code tries to check for the status 10. The problem is that os.popen() doesn't
return the exit code directly, but a status which should be processed by
os.WIFEXITED() and os.WEXITSTATUS(). In practice, the exception was never
raised. The OSError exception was not documented and ctypes.util.find_library()
is expected to return None if the library is not found.
2016-06-14 01:27:11 +00:00
Martin Panter
f00c49df10
Issue #16182 : Fix readline begidx, endidx, and use locale encoding
...
Based on patch by Serhiy Storchaka.
2016-06-14 01:16:16 +00:00
Ned Deily
19e21e4948
Issue #27310 : remove vestigial import in IDLE.app
2016-06-13 20:22:53 -04:00
Martin Panter
5fc7c4dce1
Issue #27136 : Change test to use ::1 for better OS X Tiger compatibility
2016-06-13 03:17:47 +00:00
Berker Peksag
9748478086
Issue #27306 : Fix typo in tarfile documentation
...
Patch by Gareth Rees.
2016-06-14 00:48:35 +03:00
Berker Peksag
48b5c98e6e
Replace more boilerplate code with modern unittest features in sqlite3 tests
2016-06-14 00:42:50 +03:00
Larry Hastings
f5b1af6df5
Forward-merge from 3.4 to 3.5.
2016-06-13 12:55:11 -07:00
Larry Hastings
29f9637321
Merge 3.5.2rc1 with current 3.5 branch.
2016-06-12 20:26:28 -07:00
Larry Hastings
6e9a96be9e
Post-release fixups for Python 3.5.2rc1.
2016-06-12 20:22:18 -07:00
Berker Peksag
1003b34c71
Modernize sqlite3 tests
...
Update current tests that use old pattern with assertRaises
to make them more maintainable.
2016-06-12 22:34:49 +03:00
Berker Peksag
0e1d6802ff
Fix typo in _sqlite/module.h
2016-06-12 19:17:49 +03:00
Berker Peksag
8f95e65e5d
Issue #15657 : Delete incorrect statement from PyMethodDef documentation
2016-06-12 16:34:38 +03:00
Berker Peksag
c74cdc7170
Issue #27289 : Prevent test_urllib2net failures due to EOFError raised by ftplib
2016-06-12 16:27:48 +03:00
Serhiy Storchaka
46fe29de31
Issue #25455 : Clean up reference loops created in tests for recursive
...
functools.partial objects.
2016-06-12 15:45:14 +03:00
Berker Peksag
7bea2347c7
Issue #27190 : Raise NotSupportedError if sqlite3 is older than 3.3.1
...
Patch by Dave Sawyer.
2016-06-12 14:09:51 +03:00
Berker Peksag
c415440faa
Issue #27188 : Fix various sqlite3 documentation errors
...
* Connection.execute* methods don't create intermediate cursor objects
* Fix description of seq_of_parameters parameter
* Clarify that Warning is sqlite3.Warning
* sql_script parameter of Cursor.executescript() doesn't accept bytes
* Add missing tests
* Fix various markup errors
Initial patch by Dave Sawyer.
2016-06-12 13:41:47 +03:00
Berker Peksag
00eaa8a53b
Use exc role for ValueError in multiprocessing.rst
2016-06-12 12:25:43 +03:00
Berker Peksag
0b19e1e72c
Issue #27221 : Delete an outdated paragraph about pickle support of Process
...
Initial patch by Jelle Zijlstra.
2016-06-12 12:19:13 +03:00
Serhiy Storchaka
179f960d47
Issue #25455 : Fixed a crash in repr of recursive functools.partial objects.
2016-06-12 11:44:06 +03:00
Serhiy Storchaka
cbe6142135
Merge heads
2016-06-12 09:47:57 +03:00
Serhiy Storchaka
9062c261a4
Issue #25455 : Fixed a crash in repr of ElementTree.Element with recursive tag.
2016-06-12 09:43:55 +03:00