Commit Graph

85322 Commits

Author SHA1 Message Date
Serhiy Storchaka 0db1a52227 Issue #6181: Fixed errors in tkinter.Listbox docstrings.
Based on patch by Guilherme Polo.
2014-06-02 16:52:16 +03:00
Serhiy Storchaka ca3cd004f3 Issue #6181: Fixed errors in tkinter.Listbox docstrings.
Based on patch by Guilherme Polo.
2014-06-02 16:51:44 +03:00
Victor Stinner 8ff373714c (Merge 3.4) Issue #21636: Fix test_logging, skip UNIX stream (AF_UNIX) tests on
Windows. Patch written by Claudiu Popa.
2014-06-02 14:43:24 +02:00
Victor Stinner ec5a860e60 Issue #21636: Fix test_logging, skip UNIX stream (AF_UNIX) tests on Windows.
Patch written by Claudiu Popa.
2014-06-02 14:41:51 +02:00
Victor Stinner f849f46487 (Merge 3.4) Issue #21634: Fix pystone micro-benchmark: use floor division
instead of true division to benchmark integers instead of floating point
numbers. Set pystone version to 1.2. Patch written by Lennart Regebro.
2014-06-02 14:18:15 +02:00
Victor Stinner d4d39c761c Issue #21634: Fix pystone micro-benchmark: use floor division instead of true
division to benchmark integers instead of floating point numbers. Set pystone
version to 1.2. Patch written by Lennart Regebro.
2014-06-02 14:16:44 +02:00
Victor Stinner 5a1bb4e080 Initialize base types before child types
object (PyBaseObject_Type) is the base type of type (PyType_Type), int
(PyLong_Type) is the base type of bool (PyBool_Type).
2014-06-02 14:10:59 +02:00
Raymond Hettinger 7df3c156fa Fix comment 2014-06-02 01:32:23 -07:00
Ned Deily 8f794eef9b Issue #17095: Fix Modules/Setup *shared* support.
Original patch by Thomas Wouters.
2014-06-02 01:15:32 -07:00
Ned Deily b166191886 Issue #17095: Fix Modules/Setup *shared* support.
Original patch by Thomas Wouters.
2014-06-02 01:05:29 -07:00
Raymond Hettinger 450ed10c5e Minor clean-ups. 2014-06-01 23:40:01 -07:00
Vinay Sajip 68b272b477 Merged documentation update from 3.4. 2014-06-02 00:31:44 +01:00
Vinay Sajip e81c637bf8 Updated logging HOWTO section on optimization. 2014-06-02 00:30:48 +01:00
Gregory P. Smith f2538e1bae Skip test_subprocess test_close_fds_when_max_fd_is_lowered on FreeBSD
when fdescfs is not mounted on /dev/fd.
2014-06-01 15:28:11 -07:00
Gregory P. Smith d04f699498 Skip test_subprocess test_close_fds_when_max_fd_is_lowered on FreeBSD
when fdescfs is not mounted on /dev/fd.
2014-06-01 15:27:28 -07:00
Gregory P. Smith 69b778df5d Attempt to fix the "too many open files" errors on several of the
buildbots that the new test_close_fds_when_max_fd_is_lowered test causes.
It now leaves 10 more low fd's available.
2014-06-01 15:16:16 -07:00
Gregory P. Smith 8fed4deb44 Attempt to fix the "too many open files" errors on several of the
buildbots that the new test_close_fds_when_max_fd_is_lowered test causes.
It now leaves 10 more low fd's available.
2014-06-01 15:15:44 -07:00
Gregory P. Smith 45f31d1492 merge the end_fd comment fix and explicit wait() for the child. 2014-06-01 13:47:34 -07:00
Gregory P. Smith ffd529cde1 Explicitly wait for the child instead of letting a destructor do it. 2014-06-01 13:46:54 -07:00
Gregory P. Smith a26987a0a5 Fix the comment to not refer to the removed end_fd parameter. 2014-06-01 13:46:36 -07:00
Gregory P. Smith 3fe9e8d5a5 Don't restrict ourselves to a "max" fd when closing fds before exec()
when we have a way to get an actual list of all open fds from the OS.

Fixes issue #21618: The subprocess module would ignore fds that were
inherited by the calling process and already higher than POSIX resource
limits would otherwise allow.  On systems with a functioning /proc/self/fd
or /dev/fd interface the max is now ignored and all fds are closed.
2014-06-01 13:22:12 -07:00
Gregory P. Smith d4dcb70287 Don't restrict ourselves to a "max" fd when closing fds before exec()
when we have a way to get an actual list of all open fds from the OS.

Fixes issue #21618: The subprocess module would ignore fds that were
inherited by the calling process and already higher than POSIX resource
limits would otherwise allow.  On systems with a functioning /proc/self/fd
or /dev/fd interface the max is now ignored and all fds are closed.
2014-06-01 13:18:28 -07:00
Serhiy Storchaka 3ffa7ab2ef Issue #21605: Added tests for Tkinter images. 2014-06-01 12:36:39 +03:00
Serhiy Storchaka 694c3153b0 Issue #21605: Added tests for Tkinter images. 2014-06-01 12:34:56 +03:00
Serhiy Storchaka 05ef4d3ead Added missed calls of splitlist(). 2014-06-01 11:22:21 +03:00
Serhiy Storchaka 8381f90ee0 Added missed calls of splitlist(). 2014-06-01 11:21:55 +03:00
Gregory P. Smith 7be74cffbe Remove the obsolete MAXFD constant and Popen._close_fds() method.
They should have been removed years ago when removing the old pure
Python implementation from the file.
2014-06-01 00:33:35 -07:00
Terry Jan Reedy d3e50be6d0 Merge with 3.4 2014-06-01 00:30:55 -04:00
Terry Jan Reedy 078b8a81b1 Issue #21477: Update htest docstring and remove extraneous differences between
2.7 and 3.4. Original patch by Saimadhav Heblikar.
2014-06-01 00:30:34 -04:00
Benjamin Peterson da30b46e57 merge 3.4 2014-05-31 13:17:15 -07:00
Benjamin Peterson a8195770fa give the correct fixer name (closes #21604) 2014-05-31 13:16:49 -07:00
Vinay Sajip 1feedb43be Closes #21583: Improved test_logging. Thanks to Diana Joan Clarke for the patch. 2014-05-31 08:19:12 +01:00
Ned Deily d53c41eacc Issue #21572: Change license command to fallback to generic license URL. 2014-05-30 23:47:41 -07:00
Ned Deily 5f8784b7cc Issue #21572: Change license command to fallback to generic license URL. 2014-05-30 23:46:19 -07:00
Brett Cannon 42535f0104 Fix a parameter name to make sense again 2014-05-30 16:28:00 -04:00
Terry Jan Reedy 069c87bee4 Merge with 3.4 2014-05-30 16:20:25 -04:00
Terry Jan Reedy 0edb5c1668 Issue #21593: (from StackOverflow) minor doc clarification for re.search. 2014-05-30 16:19:59 -04:00
Brett Cannon 2a17bde930 Issue #20383: Introduce importlib.util.module_from_spec().
Along the way, dismantle importlib._bootstrap._SpecMethods as it was
no longer relevant and constructing the new function required
partially dismantling the class anyway.
2014-05-30 14:55:29 -04:00
Vinay Sajip c8f0d6ebfc Closes #21608: Merged documentation update from 3.4. 2014-05-30 19:04:08 +01:00
Vinay Sajip c673a9ab87 Issue #21608: Updated HTTPHandler documentation. 2014-05-30 18:59:27 +01:00
Brett Cannon fd4d0504df Move import.c to use Clinic file output. 2014-05-30 11:21:14 -04:00
Serhiy Storchaka 17158306d8 Test correct getXXX methods in Tkinter bigmem tests.
Tk.getint is just int, true Tk wrapper is available as Tk.tk.getint.
2014-05-30 15:55:12 +03:00
Serhiy Storchaka aecfa9ead9 Test correct getXXX methods in Tkinter bigmem tests.
Tk.getint is just int, true Tk wrapper is available as Tk.tk.getint.
2014-05-30 15:54:35 +03:00
Serhiy Storchaka 1753d2255e Issue #21552: Fixed possible integer overflow of too long string lengths in
the tkinter module on 64-bit platforms.
2014-05-30 14:25:22 +03:00
Serhiy Storchaka 79851d755b Issue #21552: Fixed possible integer overflow of too long string lengths in
the tkinter module on 64-bit platforms.
2014-05-30 14:24:03 +03:00
Serhiy Storchaka 88c56cbba5 Add tests for getint, getdouble and getboolean methods of the tkapp object. 2014-05-30 14:08:49 +03:00
Serhiy Storchaka 9f1f4f40e4 Add tests for getint, getdouble and getboolean methods of the tkapp object. 2014-05-30 14:07:38 +03:00
Raymond Hettinger 35db43955c Issue #13742: Add key and reverse parameters to heapq.merge() 2014-05-30 02:28:36 -07:00
Gregory P. Smith e7bfe13635 Fix issue #14315: The zipfile module now ignores extra fields in the central
directory that are too short to be parsed instead of letting a struct.unpack
error bubble up as this "bad data" appears in many real world zip files in the
wild and is ignored by other zip tools.
2014-05-29 23:42:47 -07:00
Gregory P. Smith 0af8a86be8 Fix issue #14315: The zipfile module now ignores extra fields in the central
directory that are too short to be parsed instead of letting a struct.unpack
error bubble up as this "bad data" appears in many real world zip files in the
wild and is ignored by other zip tools.
2014-05-29 23:42:14 -07:00