]>
granicus.if.org Git - python/log
Nick Coghlan [Thu, 19 Nov 2015 02:59:39 +0000 (12:59 +1000)]
Close #10128: don't rerun __main__.py in multiprocessing
- backports issue #10845's mitigation of incompatibilities between
the multiprocessing module and directory and zipfile execution
- Multiprocessing on Windows will now automatically skip rerunning top
level __main__.py modules in spawned processes, rather than failing
with AssertionError
Martin Panter [Wed, 18 Nov 2015 00:59:17 +0000 (00:59 +0000)]
Issue #23200: Document that max_length=0 is not supported
Martin Panter [Tue, 17 Nov 2015 22:13:47 +0000 (22:13 +0000)]
Issue #20468: Remove incorrect information about maxrss and page size
Extract of patch by Ronald Oussoren.
Martin Panter [Mon, 16 Nov 2015 23:46:22 +0000 (23:46 +0000)]
Issue #25615: Document unsorted behaviour of glob; patch by Dave Jones
Terry Jan Reedy [Mon, 16 Nov 2015 12:36:12 +0000 (07:36 -0500)]
Issue #24750: whitespace
Terry Jan Reedy [Mon, 16 Nov 2015 12:32:19 +0000 (07:32 -0500)]
Issue #24750: Improve appearance of IDLE editor window status bar.
Patch by Mark Roseman.
Benjamin Peterson [Sat, 14 Nov 2015 23:12:38 +0000 (15:12 -0800)]
rm trailing ws
Benjamin Peterson [Sat, 14 Nov 2015 23:12:18 +0000 (15:12 -0800)]
fix possible memory lea k in _get_aia_uri (closes #25578)
Serhiy Storchaka [Sat, 14 Nov 2015 13:14:29 +0000 (15:14 +0200)]
Issue #25388: Fixed tokenizer hang when processing undecodable source code
with a null byte.
Benjamin Peterson [Sat, 14 Nov 2015 08:09:22 +0000 (00:09 -0800)]
fix build with older openssl (#25569)
Martin Panter [Sat, 14 Nov 2015 00:30:46 +0000 (00:30 +0000)]
Issue #25017: Document that htmllib is superseded by module HTMLParser
Martin Panter [Fri, 13 Nov 2015 22:47:00 +0000 (22:47 +0000)]
Issue #25590: Make rlcompleter only call getattr() once per attribute
Previously it was called another time via hasattr(), and both calls were
made once for dir(f) and again for dir(f.__class__). This includes a
backport of changing from a list to a set from revision
4dbb315fe667 .
Victor Stinner [Fri, 13 Nov 2015 08:13:16 +0000 (09:13 +0100)]
Issue #25605: Document exceptions raised by fcntl.ioctl() and fcntl.flock()
Raymond Hettinger [Fri, 13 Nov 2015 02:20:21 +0000 (18:20 -0800)]
Second instance of deque needing "len" instead of "Py_SIZE" in Py2.7
Terry Jan Reedy [Thu, 12 Nov 2015 20:24:22 +0000 (15:24 -0500)]
Indent
Terry Jan Reedy [Thu, 12 Nov 2015 20:06:02 +0000 (15:06 -0500)]
Whitespace
Terry Jan Reedy [Thu, 12 Nov 2015 20:02:50 +0000 (15:02 -0500)]
Issue #25313: Change the handling of new built-in text color themes to better
address the compatibility problem introduced by the addition of IDLE Dark.
Consistently use the revised idleConf.CurrentTheme everywhere in idlelib.
Serhiy Storchaka [Thu, 12 Nov 2015 17:46:23 +0000 (19:46 +0200)]
Issue #25607: Restore old distutils logging threshold after running tests that
parse command line arguments.
Zachary Ware [Thu, 12 Nov 2015 16:02:06 +0000 (10:02 -0600)]
Document the BUILD_SET opcode.
Reported by Hrvoje Abraham on docs@.
Raymond Hettinger [Thu, 12 Nov 2015 15:18:45 +0000 (07:18 -0800)]
Deque uses "len" instead of varhead in Py2.7
Serhiy Storchaka [Thu, 12 Nov 2015 09:59:03 +0000 (11:59 +0200)]
Issue #22995: Default implementation of __reduce__ and __reduce_ex__ now
rejects builtin types with not defined __new__.
Serhiy Storchaka [Thu, 12 Nov 2015 09:36:42 +0000 (11:36 +0200)]
Issue #22995: Backported additional tests for non-pickleable types.
Benjamin Peterson [Thu, 12 Nov 2015 06:38:41 +0000 (22:38 -0800)]
always set OP_NO_SSLv3 by default (closes #25530)
Benjamin Peterson [Thu, 12 Nov 2015 06:07:38 +0000 (22:07 -0800)]
fix memory leak in _get_crl_dp (closes #25569)
Patch started by Stéphane Wirtel.
Zachary Ware [Thu, 12 Nov 2015 05:32:14 +0000 (23:32 -0600)]
Rewrite re.VERBOSE section.
It now has slightly better rationale and a less awkward wording in the
explanation.
Inspired by a report of a neither/or conflict by 'animalize' on docs@.
Serhiy Storchaka [Wed, 11 Nov 2015 15:33:12 +0000 (17:33 +0200)]
Issue #7759: Fixed the mhlib module on filesystems that doesn't support
link counting for directories.
Serhiy Storchaka [Tue, 10 Nov 2015 17:53:37 +0000 (19:53 +0200)]
Issue #6598: Avoid clock wrapping around in test_make_msgid_collisions.
Use time.time instead of time.clock.
Serhiy Storchaka [Tue, 10 Nov 2015 13:32:54 +0000 (15:32 +0200)]
Issue #25263: Fixed the tkinter.test.test_tkinter.test_font.FontTest test
failure when the test is ran the second time.
The root attribute was set in parent class in setUpClass and then
overridded in child class in tearDownClass.
Serhiy Storchaka [Mon, 9 Nov 2015 22:31:41 +0000 (00:31 +0200)]
Added missed periods at the ends of sentences in Misc/NEWS.
Serhiy Storchaka [Mon, 9 Nov 2015 20:31:10 +0000 (22:31 +0200)]
Issue #25582: Fixed 100 MB memory leak in test_ctypes.
Victor Stinner [Mon, 9 Nov 2015 11:21:09 +0000 (12:21 +0100)]
Issue #7267: format(int, 'c') now raises OverflowError when the argument is not
in range(0, 256).
Serhiy Storchaka [Sat, 7 Nov 2015 18:04:46 +0000 (20:04 +0200)]
Issue #892902: Disable newly added tests in test_xpickle.
Serhiy Storchaka [Sat, 7 Nov 2015 09:15:32 +0000 (11:15 +0200)]
Issue #892902: Fixed pickling recursive objects.
Martin Panter [Sat, 7 Nov 2015 05:41:47 +0000 (05:41 +0000)]
Issue #18010: Fix pydoc GUI search to handle package exceptions
doko@ubuntu.com [Thu, 5 Nov 2015 19:41:57 +0000 (20:41 +0100)]
Issue #12612: Add some Valgrind suppressions for 64-bit machines.
Zachary Ware [Thu, 5 Nov 2015 16:28:18 +0000 (10:28 -0600)]
Fix use of default reST role
Benjamin Peterson [Wed, 4 Nov 2015 06:43:31 +0000 (22:43 -0800)]
remove trailing ws
Benjamin Peterson [Wed, 4 Nov 2015 06:42:08 +0000 (22:42 -0800)]
merge heads
Benjamin Peterson [Wed, 4 Nov 2015 06:42:02 +0000 (22:42 -0800)]
link to modern PUG url
Serhiy Storchaka [Mon, 2 Nov 2015 13:06:09 +0000 (15:06 +0200)]
Issue #25523: Backported a-to-an corrections.
Terry Jan Reedy [Fri, 30 Oct 2015 23:41:10 +0000 (19:41 -0400)]
Issue #25519: Mark difflib.ndiff as a functions where not already.
Terry Jan Reedy [Fri, 30 Oct 2015 23:25:28 +0000 (19:25 -0400)]
Issue #25505: Remove unused buggy method.
Terry Jan Reedy [Fri, 30 Oct 2015 06:47:01 +0000 (02:47 -0400)]
Issue #25507: move test-specific imports to test function (idlelib.IOBinding).
Benjamin Peterson [Fri, 30 Oct 2015 04:10:57 +0000 (21:10 -0700)]
fix usage of undefined name (#25504)
Benjamin Peterson [Fri, 30 Oct 2015 03:38:04 +0000 (20:38 -0700)]
always use os.urandom for the uuid4 algorithm (closes #25515)
Serhiy Storchaka [Wed, 28 Oct 2015 19:39:36 +0000 (21:39 +0200)]
Issue #21827: Fixed textwrap.dedent() for the case when largest common
whitespace is a substring of smallest leading whitespace.
Based on patch by Robert Li.
Terry Jan Reedy [Wed, 28 Oct 2015 07:14:46 +0000 (03:14 -0400)]
Issue #25432: Explain isinstance behaviour when type is a tuple.
Terry Jan Reedy [Tue, 27 Oct 2015 07:37:55 +0000 (03:37 -0400)]
Display IDLE warning as a warning rather than as an error.
Clarify message and expected action for beginners.
Serhiy Storchaka [Sat, 24 Oct 2015 14:39:36 +0000 (17:39 +0300)]
Issue21160: Correct comments in nturl2path. Patch by Jurko Gospodnetić.
Victor Stinner [Fri, 23 Oct 2015 10:42:39 +0000 (12:42 +0200)]
Issue #25461: Rephrase os.walk() doc
Patch written by Bernt Røskar Brenna.
Gregory P. Smith [Thu, 22 Oct 2015 20:12:20 +0000 (13:12 -0700)]
Issue21709: Call os.path.normcase when setting _srcfile for compatibility
with what findCaller() does when running on non-POSIX platforms.
(alternatively: the normcase calls in both places could be eliminated, but that
touches more code and that refactoring hasn't even been done in 3 yet...)
Gregory P. Smith [Thu, 22 Oct 2015 20:09:50 +0000 (13:09 -0700)]
Issue #21709: Fix the logging module to not depend upon __file__ being set
properly to get the filename of its caller from the stack. This allows it
to work if run in a frozen or embedded environment where the module's
.__file__ attribute does not match its code object's .co_filename.
This same much simpler always correct approach has already been deployed and
used widely in Python 3.4 per the issue referenced above.
Terry Jan Reedy [Thu, 22 Oct 2015 07:27:27 +0000 (03:27 -0400)]
Issue #24782: Limit width of canvas and hence IDLE settings dialog.
Terry Jan Reedy [Tue, 20 Oct 2015 06:15:23 +0000 (02:15 -0400)]
Issue #24782: Don't try to run now-removed extension dialog test.
Vinay Sajip [Sat, 17 Oct 2015 12:55:19 +0000 (13:55 +0100)]
Added entry to logging cookbook.
Brett Cannon [Fri, 16 Oct 2015 19:30:20 +0000 (12:30 -0700)]
Issue #25188: Clean up code to pass the --pgo flag to subprocesses
when running the test suite.
Patch by Arfrever Frehtes Taifersar Arahesis.
Terry Jan Reedy [Wed, 14 Oct 2015 02:08:45 +0000 (22:08 -0400)]
Issue #24782: whitespace
Terry Jan Reedy [Wed, 14 Oct 2015 02:03:44 +0000 (22:03 -0400)]
Issue #24782: Finish converting the Configure Extension dialog into a new
tab in the IDLE Preferences dialog. Code patch by Mark Roseman.
Benjamin Peterson [Mon, 12 Oct 2015 06:03:22 +0000 (23:03 -0700)]
actually link to the version attributes documentation
Terry Jan Reedy [Mon, 12 Oct 2015 02:07:25 +0000 (22:07 -0400)]
Issue #22726: Re-activate config dialog help button with some content about
the other buttons and the new IDLE Dark theme.
Benjamin Peterson [Sun, 11 Oct 2015 06:23:55 +0000 (23:23 -0700)]
don't mention Python 2.2 (closes #25375)
Benjamin Peterson [Sun, 11 Oct 2015 02:34:46 +0000 (19:34 -0700)]
use the with statement for locking the internal condition (closes #25362)
Patch by Nir Soffer.
Martin Panter [Sat, 10 Oct 2015 10:52:35 +0000 (10:52 +0000)]
Issue #25161: Add full stops in documentation; patch by Takase Arihiro
Martin Panter [Sat, 10 Oct 2015 02:52:30 +0000 (02:52 +0000)]
Issue #22413: Document newline effect on StringIO initializer and getvalue
Also add to comment in the C code.
Serhiy Storchaka [Sat, 10 Oct 2015 06:33:11 +0000 (09:33 +0300)]
Issue #24848: Fixed yet one bug in UTF-7 decoder. Testing for BASE64 character
was locale depending.
Vinay Sajip [Fri, 9 Oct 2015 23:49:10 +0000 (00:49 +0100)]
Closes #25344: Added cookbook recipe to show buffering of logging events.
Raymond Hettinger [Fri, 9 Oct 2015 01:14:15 +0000 (21:14 -0400)]
Issue #25326: Improve an obscure error message.
Martin Panter [Wed, 7 Oct 2015 10:39:13 +0000 (10:39 +0000)]
Issue #25286: Accidentally dropped "the"
Martin Panter [Wed, 7 Oct 2015 10:19:39 +0000 (10:19 +0000)]
Issue #25286: Dictionary views are not sequences
Also change glossary heading from "view" to "dictionary view". Patch by Akira
Li.
Raymond Hettinger [Wed, 7 Oct 2015 03:12:02 +0000 (23:12 -0400)]
Backport early-out
91259f061cfb to reduce the cost of
bb1a2944bcb6
Benjamin Peterson [Wed, 7 Oct 2015 02:37:15 +0000 (19:37 -0700)]
merge heads
Benjamin Peterson [Wed, 7 Oct 2015 02:36:54 +0000 (19:36 -0700)]
prevent unacceptable bases from becoming bases through multiple inheritance (#24806)
Serhiy Storchaka [Tue, 6 Oct 2015 15:13:38 +0000 (18:13 +0300)]
Issue #25317: Converted doctests in test_tokenize to unittests.
Benjamin Peterson [Tue, 6 Oct 2015 04:56:22 +0000 (21:56 -0700)]
reinitialize an Event's Condition with a regular lock (closes #25319)
Serhiy Storchaka [Sun, 4 Oct 2015 10:52:40 +0000 (13:52 +0300)]
Make error report in test_codecs more informative.
Terry Jan Reedy [Sun, 4 Oct 2015 05:14:45 +0000 (01:14 -0400)]
Issue #24820: Update IDLE NEWS items.
Terry Jan Reedy [Sun, 4 Oct 2015 04:30:59 +0000 (00:30 -0400)]
Issue #24820: Add 'IDLE Dark' text color theme, warning, and solution.
Martin Panter [Sat, 3 Oct 2015 07:37:22 +0000 (07:37 +0000)]
Issue #16701: Document += and *= for mutable sequences
Martin Panter [Sat, 3 Oct 2015 05:55:46 +0000 (05:55 +0000)]
Issue #24657: Prevent CGIRequestHandler from collapsing the URL query
Initial patch from Xiang Zhang. Also fix out-of-date _url_collapse_path() doc
string.
Martin Panter [Sat, 3 Oct 2015 05:38:07 +0000 (05:38 +0000)]
Issue #25232: Fix CGIRequestHandler's splitting of URL query
Patch from Xiang Zhang.
Terry Jan Reedy [Sat, 3 Oct 2015 03:22:54 +0000 (23:22 -0400)]
Issue #25224: README.txt is now an idlelib index for IDLE developers and
curious users. The previous user content is now in the IDLE doc and is
redundant. IDLE now means 'Integrated Development and Learning Environment'.
Terry Jan Reedy [Sat, 3 Oct 2015 02:12:09 +0000 (22:12 -0400)]
Issue #24820: Users can now set breakpoint colors in Settings ->
Custom Highlighting. Original patch by Mark Roseman.
Brett Cannon [Fri, 2 Oct 2015 23:22:32 +0000 (16:22 -0700)]
Fix indentation
Brett Cannon [Fri, 2 Oct 2015 23:21:34 +0000 (16:21 -0700)]
Issue #25188: Add -P/--pgo to test.regrtest for PGO building.
Initial patch by Alecsandru Patrascu of Intel.
Serhiy Storchaka [Fri, 2 Oct 2015 17:23:46 +0000 (20:23 +0300)]
Removed the "b" string prefix to make test_xpickle compatible with Python 2.5.
Berker Peksag [Fri, 2 Oct 2015 16:30:21 +0000 (19:30 +0300)]
Issue #25290: Fix typo in csv.reader() docstring
Patch by Johannes Niediek.
Serhiy Storchaka [Fri, 2 Oct 2015 10:14:53 +0000 (13:14 +0300)]
Issue #24848: Fixed bugs in UTF-7 decoding of misformed data:
1. Non-ASCII bytes were accepted after shift sequence.
2. A low surrogate could be emitted in case of error in high surrogate.
Victor Stinner [Thu, 1 Oct 2015 07:57:26 +0000 (09:57 +0200)]
Issue #25003: os.urandom() doesn't use getentropy() on Solaris because
getentropy() is blocking, whereas os.urandom() should not block. getentropy()
is supported since Solaris 11.3.
Serhiy Storchaka [Tue, 29 Sep 2015 20:51:27 +0000 (23:51 +0300)]
Issue #22958: Constructor and update method of weakref.WeakValueDictionary
now accept the self keyword argument.
Serhiy Storchaka [Tue, 29 Sep 2015 20:33:03 +0000 (23:33 +0300)]
Issue #22609: Constructor and the update method of collections.UserDict now
accept the self keyword argument.
Serhiy Storchaka [Tue, 29 Sep 2015 12:51:40 +0000 (15:51 +0300)]
Backported additional unpickling tests from 3.x.
Serhiy Storchaka [Tue, 29 Sep 2015 12:36:28 +0000 (15:36 +0300)]
Moved unpickling tests with prepickled data to separate class.
Terry Jan Reedy [Tue, 29 Sep 2015 05:55:50 +0000 (01:55 -0400)]
Issue #24028: Add subsection about Idle calltips.
Terry Jan Reedy [Tue, 29 Sep 2015 05:00:25 +0000 (01:00 -0400)]
Remove indent in news item. Error when building 3.x docs.
Terry Jan Reedy [Tue, 29 Sep 2015 03:38:46 +0000 (23:38 -0400)]
Add recent IDLE NEWS items. Move Build sectios down.
Berker Peksag [Mon, 28 Sep 2015 12:37:57 +0000 (15:37 +0300)]
Issue #25249: Remove unneeded mkstemp helper in test_subprocess
The helper was added in
76641824cf05 11 years ago and it can be
removed now since all supported Python versions have tempfile.mkstemp().
Patch by Nir Soffer.
Terry Jan Reedy [Mon, 28 Sep 2015 08:52:44 +0000 (04:52 -0400)]
Issue #24972: New option is only valid in tk 8.5+.
Terry Jan Reedy [Mon, 28 Sep 2015 02:46:12 +0000 (22:46 -0400)]
Issue #24972: Inactive selection background now matches active selection
background, as selected by user, on all systems. This also fixes a problem
with found items not highlighted on Windows. Initial patch by Mark Roseman.
Fix replaces workaround with obscure but proper configuration option.
Serhiy Storchaka [Sun, 27 Sep 2015 19:34:59 +0000 (22:34 +0300)]
Issue #25203: Failed readline.set_completer_delims() no longer left the
module in inconsistent state.
Benjamin Peterson [Sun, 27 Sep 2015 09:13:40 +0000 (02:13 -0700)]
fix spacing