Commit Graph

85446 Commits

Author SHA1 Message Date
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
Zachary Ware 83500dc7a5 Merge quote quashing. 2014-06-06 09:14:33 -05:00
Zachary Ware 780b585fbc Quash extraneous quote. 2014-06-06 09:13:18 -05:00
Zachary Ware 3266a8fa59 Issue #21671: Merge with 3.4 2014-06-06 01:27:34 -05:00
Zachary Ware 7d55da42a4 Issue #21671, CVE-2014-0224: Update the Windows build to openssl-1.0.1h 2014-06-06 01:23:53 -05:00
R David Murray cc568b1222 Merge #21662: fix typo, improve sentence flow 2014-06-05 15:32:34 -04:00
R David Murray 2c0781853a #21662: fix typo, improve sentence flow
Patch by Steve Dougherty.
2014-06-05 15:31:56 -04:00
R David Murray d1130e3d05 Merge: #21653: fix doc for return type of sqlite3.Row.keys(). 2014-06-05 15:17:01 -04:00
R David Murray 092135ebc8 #21653: fix doc for return type of sqlite3.Row.keys(). 2014-06-05 15:16:38 -04:00
Zachary Ware 55757419bd Closes #21661: Merge typo fix. 2014-06-05 13:41:36 -05:00
Zachary Ware 66f305b1a0 Issue #21661: Fix typo. 2014-06-05 13:41:06 -05:00
Zachary Ware 7490554a4c Revert Tools/buildbot/external-common.bat to normal (with updated versions). 2014-06-05 12:00:51 -05:00
Zachary Ware 60cc211cde Revert Tools/buildbot/external-common.bat to normal (with updated versions). 2014-06-05 12:00:28 -05:00
Zachary Ware c6d6784ed4 Force a clean pull-and-build of Tcl/Tk on Windows buildbots. 2014-06-05 11:56:58 -05:00
Zachary Ware 6d602c0ee9 Force a clean pull-and-build of Tcl/Tk on Windows buildbots. 2014-06-05 11:56:36 -05:00
Zachary Ware ba9d233d83 Issue #21665: Don't use 'OPTS=noxp' when compiling Tk.
That option had been for Win2k compatibility (which was dropped with
Python 3.3) and makes default ttk ugly on post-Win2k systems.
2014-06-05 11:53:44 -05:00
Zachary Ware 4a01fd2d65 Clean up Tcl/Tk building in the Windows buildbot scripts.
- Nix the 'noxp' option, it was for Win2k compatibility (which was dropped
  with Python 3.3) and made default ttk ugly on post-Win2k systems (#21665)
- Use 'OPTS=symbols' instead of 'DEBUG=1'; symbols is the official method
- Use core, shell, dlls, install-binaries, and install-libraries targets
  instead of all and install to avoid trying to 1) build packages that don't
  work with MSVC 10+ and 2) install unnecessary bits and pieces.
2014-06-05 11:44:22 -05: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 bb0f3ee386 Merge with 3.4 2014-06-04 21:20:54 -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
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