Victor Stinner
8526a945a0
(Merge 3.4) Fix asyncio tests on Windows: wait for the subprocess exit
...
Before, regrtest failed to remove the temporary test directory because the
process was still running in this directory.
2014-06-04 00:42:17 +02:00
Victor Stinner
3f9535b7f8
Fix asyncio tests on Windows: wait for the subprocess exit
...
Before, regrtest failed to remove the temporary test directory because the
process was still running in this directory.
2014-06-04 00:42:04 +02:00
Victor Stinner
c3816b70e0
(Merge 3.4) Issue #21651 : Fix ResourceWarning when running asyncio tests on
...
Windows. Patch written by Claudiu Popa.
2014-06-04 00:23:43 +02:00
Victor Stinner
27d411255a
Issue #21651 : Fix ResourceWarning when running asyncio tests on Windows.
...
Patch written by Claudiu Popa.
2014-06-04 00:23:26 +02:00
Victor Stinner
b18b2d797b
(Merge 3.4) cleanup test_asyncio/test_base_events.py: cm variable was unused
2014-06-04 00:19:21 +02:00
Victor Stinner
8551e0f3e0
cleanup test_asyncio/test_base_events.py: cm variable was unused
2014-06-04 00:18:41 +02:00
Victor Stinner
b470f0dd2a
Merge 3.4: Issue #21119 , fix ResourceWarning in asyncio
...
* Make sure that socketpair() close sockets on error. Close the listening
socket if sock.bind() raises an exception.
* asyncio now closes sockets on errors. Fix ResourceWarning:
create_connection(), create_datagram_endpoint() and create_unix_server()
methods of event loop now close the newly created socket on error.
2014-06-04 00:13:31 +02:00
Victor Stinner
a9fa2664ab
Issue #21119 : asyncio: Make sure that socketpair() close sockets on error
...
Close the listening socket if sock.bind() raises an exception.
2014-06-04 00:12:28 +02:00
Victor Stinner
223a624158
Issue #21119 : asyncio now closes sockets on errors
...
Fix ResourceWarning: create_connection(), create_datagram_endpoint() and
create_unix_server() methods of event loop now close the newly created socket
on error.
2014-06-04 00:11:52 +02:00
Victor Stinner
ef7f140366
All modern compilers provide a offsetof() function
...
offsetof() is used directly in many other .c files without any issue.
2014-06-03 18:45:05 +02:00
Vinay Sajip
4e9ae15967
Closes #21643 : Merged fix from 3.4.
2014-06-03 16:48:39 +01:00
Vinay Sajip
b9b965f6dd
Issue #21643 : Updated test and fixed logic bug in lib64 symlink creation.
2014-06-03 16:47:51 +01:00
Zachary Ware
b369f5875c
Issue #21439 : Merge with 3.4
2014-06-03 09:34:39 -05:00
Zachary Ware
2f78b84c47
Issue #21439 : Fix a couple of typos.
2014-06-03 09:32:40 -05:00
Senthil Kumaran
f6f61ff339
merge from 3.4
...
Fix issue #21641 : Close the socket before raising the SMTPResponseException. Fixes the ResourceWarning in the test run.
Patch by Claudiu.Popa.
2014-06-03 07:25:40 -07:00
Senthil Kumaran
4ce118e99a
Fix issue #21641 : Close the socket before raising the SMTPResponseException. Fixes the ResourceWarning in the test run.
...
Patch by Claudiu.Popa.
2014-06-03 07:24:54 -07:00
Senthil Kumaran
6120ab8150
merge from 3.4
...
Update references to Python docs in the sidebar index.
Patch contributed by Auke Willem Oosterhoff.
2014-06-02 23:00:43 -07:00
Senthil Kumaran
8dc3df1b60
Update references to Python docs in the sidebar index.
...
Patch contributed by Auke Willem Oosterhoff.
2014-06-02 22:58:13 -07:00
Terry Jan Reedy
15ec11e4e3
Merge with 3.4
2014-06-02 20:43:13 -04:00
Terry Jan Reedy
b52f876767
Issue 21533: Dicts take iterables, not iterators. Patch by Wolfgang Maier.
2014-06-02 20:42:56 -04:00
Victor Stinner
06d736a891
(Merge 3.4) Issue #21601 : Document asyncio.Task.cancel(). Initial patch written
...
by Vajrasky Kok.
2014-06-02 23:08:52 +02:00
Victor Stinner
8d21357fb5
Issue #21601 : Document asyncio.Task.cancel(). Initial patch written by Vajrasky
...
Kok.
2014-06-02 23:06:46 +02:00
Zachary Ware
e7e1375e57
Issue #18492 : Merge with 3.4
2014-06-02 16:04:25 -05:00
Zachary Ware
66f2928479
Issue #18492 : Allow all resources when tests are not run by regrtest.py.
...
This changeset also includes cleanup allowed by this behavior change.
2014-06-02 16:01:29 -05:00
Victor Stinner
2bc4d95bb6
Issue #21233 : Revert bytearray(int) optimization using calloc()
2014-06-02 22:22:42 +02:00
Victor Stinner
d8f0d922d5
Issue #21233 : Rename the C structure "PyMemAllocator" to "PyMemAllocatorEx" to
...
make sure that the code using it will be adapted for the new "calloc" field
(instead of crashing).
2014-06-02 21:57:10 +02:00
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