Commit Graph

84581 Commits

Author SHA1 Message Date
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
Serhiy Storchaka
aecfa9ead9 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:54:35 +03:00
Serhiy Storchaka
79851d755b Issue #21552: Fixed possible integer overflow of too long string lengths in
the tkinter module on 64-bit platforms.
2014-05-30 14:24:03 +03:00
Serhiy Storchaka
9f1f4f40e4 Add tests for getint, getdouble and getboolean methods of the tkapp object. 2014-05-30 14:07:38 +03:00
Gregory P. Smith
0af8a86be8 Fix issue #14315: The zipfile module now ignores extra fields in the central
directory that are too short to be parsed instead of letting a struct.unpack
error bubble up as this "bad data" appears in many real world zip files in the
wild and is ignored by other zip tools.
2014-05-29 23:42:14 -07:00
Eric Snow
58cfdd8af8 Issue #21226: fix a ref leak. 2014-05-29 12:31:39 -06:00
Terry Jan Reedy
2e8234a597 Issue #21477: Add htests for GrepDialog, UndoDelegator, and configDialog.
Put instructions in a fixed size scrollable Text. Patch by Saimadhav Heblikar.
2014-05-29 01:46:26 -04:00
Victor Stinner
a5b257af22 Issue #21454: Fix asyncio.BaseEventLoop.connect_read_pipe doc
The function sets the the pipe to non-blocking mode.
2014-05-29 00:14:03 +02:00
Victor Stinner
28d0ae48e9 Issue #21376: document asyncio.TimeoutError 2014-05-29 00:04:57 +02:00
Serhiy Storchaka
12c575f2f6 Restore performance of some dumb database methods (regression introduced by #19385). 2014-05-28 18:49:52 +03:00
Serhiy Storchaka
b49eff25b7 Issue #21402: tkinter.ttk now works when default root window is not set. 2014-05-28 18:38:27 +03:00
Serhiy Storchaka
ffc1e6d42b Issue #21493: Added test for ntpath.expanduser(). Original patch by
Claudiu Popa.
2014-05-28 18:11:29 +03:00
Serhiy Storchaka
47a981337a Issue #10203: sqlite3.Row now truly supports sequence protocol. In particulr
it supports reverse() and negative indices.  Original patch by Claudiu Popa.
2014-05-28 12:58:34 +03:00
Vinay Sajip
432810f9f3 Issue #18807: If copying (no symlinks) specified for a venv, then the python interpreter aliases (python, python3) are now created by copying rather than symlinking. 2014-05-28 08:06:24 +01:00
Andrew Svetlov
3207a03035 Fix for raising exception not derived from BaseException in _SelectorSslTransport.resume_reading 2014-05-27 21:24:43 +03:00
Terry Jan Reedy
0a4d13e87e Issue #21477: Add htests for Search and Replace dialogs.
Patch by Saimadhav Heblikar.
2014-05-27 03:30:54 -04:00
Raymond Hettinger
aa7886dd3f Issue 21439: Minor issues in the reference manual.
(Contributed by Feliks Kluzniak.)
2014-05-26 22:20:37 -07:00
Benjamin Peterson
c7ceefc1a2 a post 3.4.1 world 2014-05-26 15:53:27 -07:00
Benjamin Peterson
5e2c4d2de0 grammar and sentence flow fix 2014-05-26 15:48:12 -07:00
Benjamin Peterson
f9ea5f39d8 format reST directive in the usual way 2014-05-26 15:45:14 -07:00
Benjamin Peterson
0d81d80f6e link to wikipedia description of cryptographic salt 2014-05-26 15:42:29 -07:00
Benjamin Peterson
0ccff4d3e1 oxford comma 2014-05-26 15:41:26 -07:00
Benjamin Peterson
1a2cf9aba7 remove tab (closes #21587) 2014-05-26 15:12:28 -07:00
Benjamin Peterson
419f1fa9bc fix typo in variable name (closes #21586) 2014-05-26 15:10:42 -07:00
Raymond Hettinger
dea46ec965 Issue #21481: Teach argparse equality tests to return NotImplemented when comparing to unknown types. 2014-05-26 00:43:27 -07:00
Raymond Hettinger
dd5e53a086 Issue 8743: Improve interoperability between sets and the collections.Set abstract base class. 2014-05-26 00:09:04 -07:00
Raymond Hettinger
e8e2df3daa Issue 21558: Fix a typo in the contextlib docs 2014-05-25 18:06:04 -07:00
Raymond Hettinger
978c6abced Issue 13355: Make random.triangular degrade gracefully when low == high. 2014-05-25 17:25:27 -07:00
Terry Jan Reedy
a2fc99ecea Issue #21477: Idle htest: modify run; add more tests.
Patch by Saimadhav Heblikar. 2.7 version will follow.
2014-05-25 18:44:05 -04:00
Nick Coghlan
e1d54e5f8e Mention setuptools & wheel as key terms for distribution 2014-05-26 00:50:11 +10:00
Serhiy Storchaka
7df417d50a Issue #19925: Added tests for the spwd module. Original patch by Vajrasky Kok. 2014-05-25 16:21:45 +03:00
Serhiy Storchaka
5bb446f57e Issue #18918: Removed non-existing topic from a list of available topics.
The 'File objects' section was removed in Python 3.
Patch by Claudiu Popa.
2014-05-25 13:04:13 +03:00
Terry Jan Reedy
1b392ffe67 Issue #21477: Idle htest: merge and modify run and runall; add many tests.
Patch by Saimadhav Heblikar
2014-05-24 18:48:18 -04:00
Serhiy Storchaka
10cbb1e463 Fixed new Tkinter tests added in issue #21522 with Tk 8.4. 2014-05-23 23:58:13 +03:00
Brett Cannon
8447c703d1 Issue #14710: Fix both pkgutil.find_loader() and get_loader() to not
raise an exception when a module doesn't exist.

Thanks to Pavel Aslanov for the bug report.
2014-05-23 12:30:37 -04:00
Serhiy Storchaka
065266450e Issue #21538: The plistlib module now supports loading of binary plist files
when reference or offset size is not a power of two.
2014-05-23 16:13:33 +03:00
Serhiy Storchaka
f01fffedd1 Issue #21522: Added Tkinter tests for Listbox.itemconfigure(),
PanedWindow.paneconfigure(), and Menu.entryconfigure().
2014-05-23 14:08:43 +03:00
Antoine Pitrou
9961405ed1 Issue #21523: Fix over-pessimistic computation of the stack effect of some opcodes in the compiler.
This also fixes a quadratic compilation time issue noticeable when compiling
code with a large number of "and" and "or" operators.
2014-05-23 11:46:03 +02:00