Terry Jan Reedy
6d4f8f0fea
Merge heads.
2014-06-08 14:49:07 -04:00
Benjamin Peterson
4fb01ffe66
backout 0fb7789b5eeb for test breakage ( #20578 )
2014-06-07 23:18:12 -07:00
Benjamin Peterson
eac219436c
merge 3.4 ( #11709 )
2014-06-07 20:17:29 -07:00
Benjamin Peterson
159824ea2a
make sure the builtin help function doesn't fail when sys.stdin is not a valid file ( closes #11709 )
...
Original patch by Amaury Forgeot d'Arc with a test by bdettmer.
2014-06-07 20:14:26 -07:00
Benjamin Peterson
10e847bbc7
add BufferedIOBase.readinto1 ( closes #20578 )
...
Patch by Nikolaus Rath.
2014-06-07 20:06:48 -07:00
Benjamin Peterson
9d19da701d
merge 3.4 ( #13223 )
2014-06-07 16:47:15 -07:00
Benjamin Peterson
ed1160b39c
don't remove self from example code in the HTML output ( closes #13223 )
...
Patch by Víctor Terrón.
2014-06-07 16:44:00 -07:00
Benjamin Peterson
edb07d28fb
merge 3.4 ( #21463 )
2014-06-07 15:09:36 -07:00
Benjamin Peterson
3c2dca67ac
in ftp cache pruning, avoid changing the size of a dict while iterating over it ( closes #21463 )
...
Patch by Skyler Leigh Amador.
2014-06-07 15:08:04 -07:00
Benjamin Peterson
3e439797ba
merge 3.4 ( #21642 )
2014-06-07 12:39:51 -07:00
Benjamin Peterson
c416162302
allow the keyword else immediately after (no space) an integer ( closes #21642 )
2014-06-07 12:36:39 -07:00
Terry Jan Reedy
7244d775db
Merge with 3.4
2014-06-07 04:28:16 -04:00
Terry Jan Reedy
38ebdf528e
Issue #21682 : Replace EditorWindow with mock to eliminate memory leaks.
...
Patch by Saimadhav Heblikar.
2014-06-07 04:27:50 -04:00
Terry Jan Reedy
f2d9526391
Merge with 3.4
2014-06-06 17:43:37 -04:00
Terry Jan Reedy
4a3f135c8d
Issue #18910 : test_textView - since all tests require 'gui', make root global.
...
Subclass TextViewer to add mock methods instead of monkey-patching it.
2014-06-06 17:43:19 -04:00
Victor Stinner
d967fc9da2
Issue #21515 : tempfile.TemporaryFile now uses os.O_TMPFILE flag is available
2014-06-05 14:27:45 +02:00
Victor Stinner
7088b99eb8
(Merge 3.4) Tulip issue 83, Python issue #21252 : Fill some XXX docstrings in asyncio
2014-06-05 12:07:14 +02:00
Victor Stinner
f9e49dd346
Tulip issue 83, Python issue #21252 : Fill some XXX docstrings in asyncio
2014-06-05 12:06:44 +02:00
Vinay Sajip
ae0767bb5b
Closes #21663 : Merged fix from 3.4.
2014-06-05 09:32:24 +01:00
Vinay Sajip
1a170a74f7
Issue #21663 : Fixed error caused by trying to create an existing directory.
2014-06-05 09:31:20 +01:00
Terry Jan Reedy
cbd619bd6a
Merge with 3.4
2014-06-05 03:54:21 -04:00
Terry Jan Reedy
7be121f2bc
whitespace
2014-06-05 03:54:02 -04:00
Terry Jan Reedy
7497ec0fd0
Merge heads from 3.4.
2014-06-05 03:45:08 -04:00
Terry Jan Reedy
537e2c8632
Issue #18910 : Add unittest for textView. Patch by Phil Webster.
2014-06-05 03:38:34 -04:00
Terry Jan Reedy
be856e9a21
Merge heads.
2014-06-04 21:02:48 -04:00
Terry Jan Reedy
0d3e4b4e1a
Merge heads.
2014-06-04 21:01:08 -04:00
Terry Jan Reedy
13f4aba10b
merge from 3.4
2014-06-04 20:54:43 -04:00
Terry Jan Reedy
7936e6f755
Issue #18292 : Idle - test AutoExpand. Patch by Saihadhav Heblikar.
2014-06-04 20:50:59 -04:00
Guido van Rossum
2aebd4a816
Replace deprecated time.clock() with time.time(). Fixes issue #20475 .
2014-06-04 11:45:05 -07:00
Barry Warsaw
9661efe6a7
Don't chmod() if path is a symlink.
2014-06-04 14:13:13 -04:00
Barry Warsaw
adaddde369
Don't chmod() if path is a symlink.
2014-06-04 14:11:46 -04:00
Terry Jan Reedy
24330ffb4d
Merge with 3.4
2014-06-03 20:57:15 -04:00
Terry Jan Reedy
e3fcfc240d
Issue #18409 : Idle: add unittest for AutoComplete. Patch by Phil Webster.
2014-06-03 20:54:21 -04:00
Victor Stinner
17f3663497
Issue #21326 : Add asyncio.BaseEventLoop.is_closed() method
...
Add BaseEventLoop._closed attribute and use it to check if the event loop was
closed or not, instead of checking different attributes in each subclass of
BaseEventLoop.
run_forever() and run_until_complete() now raises a RuntimeError('Event loop is
closed') exception if the event loop was closed.
BaseProactorEventLoop.close() now also cancels "accept futures".
2014-06-04 01:06:24 +02:00
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
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
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
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