Commit Graph

84818 Commits

Author SHA1 Message Date
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 780b585fbc Quash extraneous quote. 2014-06-06 09:13:18 -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 2c0781853a #21662: fix typo, improve sentence flow
Patch by Steve Dougherty.
2014-06-05 15:31:56 -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 66f305b1a0 Issue #21661: Fix typo. 2014-06-05 13:41:06 -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 6d602c0ee9 Force a clean pull-and-build of Tcl/Tk on Windows buildbots. 2014-06-05 11:56:36 -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 f9e49dd346 Tulip issue 83, Python issue #21252: Fill some XXX docstrings in asyncio 2014-06-05 12:06:44 +02: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 7be121f2bc whitespace 2014-06-05 03:54:02 -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 0d3e4b4e1a Merge heads. 2014-06-04 21:01:08 -04:00
Terry Jan Reedy 7936e6f755 Issue #18292: Idle - test AutoExpand. Patch by Saihadhav Heblikar. 2014-06-04 20:50:59 -04:00
Barry Warsaw adaddde369 Don't chmod() if path is a symlink. 2014-06-04 14:11:46 -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 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 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 8551e0f3e0 cleanup test_asyncio/test_base_events.py: cm variable was unused 2014-06-04 00:18:41 +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 b9b965f6dd Issue #21643: Updated test and fixed logic bug in lib64 symlink creation. 2014-06-03 16:47:51 +01:00
Zachary Ware 2f78b84c47 Issue #21439: Fix a couple of typos. 2014-06-03 09:32:40 -05: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 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 b52f876767 Issue 21533: Dicts take iterables, not iterators. Patch by Wolfgang Maier. 2014-06-02 20:42:56 -04: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 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 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 797bcb51d0 Issue #21639: Fix name of _testcapi test functions 2014-06-02 21:29:07 +02: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 90441e857d Issue #21623: open pyproject.props with an explicit encoding 2014-06-02 12:09:13 -05: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 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 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
Ned Deily b166191886 Issue #17095: Fix Modules/Setup *shared* support.
Original patch by Thomas Wouters.
2014-06-02 01:05:29 -07:00
Vinay Sajip e81c637bf8 Updated logging HOWTO section on optimization. 2014-06-02 00:30:48 +01: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 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 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 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 694c3153b0 Issue #21605: Added tests for Tkinter images. 2014-06-01 12:34:56 +03:00
Serhiy Storchaka 8381f90ee0 Added missed calls of splitlist(). 2014-06-01 11:21:55 +03: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 a8195770fa give the correct fixer name (closes #21604) 2014-05-31 13:16:49 -07:00
Ned Deily 5f8784b7cc Issue #21572: Change license command to fallback to generic license URL. 2014-05-30 23:46:19 -07:00
Terry Jan Reedy 0edb5c1668 Issue #21593: (from StackOverflow) minor doc clarification for re.search. 2014-05-30 16:19:59 -04:00
Vinay Sajip c673a9ab87 Issue #21608: Updated HTTPHandler documentation. 2014-05-30 18:59:27 +01:00