Victor Stinner
aa0e7afa43
Issue #21639 : Fix a division by zero in tracemalloc on calloc(0, 0). The
...
regression was introduced recently with the introduction of the new "calloc"
functions (PyMem_RawCalloc, PyMem_Calloc, PyObject_Calloc).
Add also a unit test to check for the non-regression.
2014-06-02 21:40:22 +02:00
Victor Stinner
8dd49fe09f
Issue #21639 : Add a test to check that PyMem_Malloc(0) with tracemalloc enabled
...
does not crash.
2014-06-02 21:36:59 +02:00
Victor Stinner
38d65dff7c
(Merge 3.4) Issue #21639 : Fix name of _testcapi test functions
2014-06-02 21:29:28 +02:00
Victor Stinner
797bcb51d0
Issue #21639 : Fix name of _testcapi test functions
2014-06-02 21:29:07 +02:00
Serhiy Storchaka
07bcf14b60
Issue #6181 : Fixed minor bugs in tkinter.Listbox methods:
...
bbox(), curselection() and get().
2014-06-02 21:32:49 +03:00
Serhiy Storchaka
fc14ad9962
Issue #6181 : Fixed minor bugs in tkinter.Listbox methods:
...
bbox(), curselection() and get().
2014-06-02 21:31:07 +03:00
Zachary Ware
5631e1f38d
Null merge
2014-06-02 12:11:09 -05:00
Zachary Ware
90441e857d
Issue #21623 : open pyproject.props with an explicit encoding
2014-06-02 12:09:13 -05:00
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