]>
granicus.if.org Git - python/log
Serhiy Storchaka [Wed, 25 Nov 2015 18:12:58 +0000 (20:12 +0200)]
Issue #19687: Fixed possible integer overflows in ElementTree.
Based on patch by Christian Heimes.
Serhiy Storchaka [Wed, 25 Nov 2015 16:35:33 +0000 (18:35 +0200)]
Issue #24097: Fixed crash in object.__reduce__() if slot name is freed inside
__getattr__. Original patch by Antoine Pitrou.
Serhiy Storchaka [Wed, 25 Nov 2015 15:19:27 +0000 (17:19 +0200)]
Issue #25616: Tests for OrderedDict are extracted from test_collections
into separate file test_ordered_dict.
Serhiy Storchaka [Wed, 25 Nov 2015 14:20:04 +0000 (16:20 +0200)]
Issue #25703: Skip test_43581 if one of stdout or stderr is redirected.
Serhiy Storchaka [Wed, 25 Nov 2015 14:13:56 +0000 (16:13 +0200)]
Issue #25697: Fixed rough alphabetical order in Misc/ACKS.
Serhiy Storchaka [Wed, 25 Nov 2015 13:55:54 +0000 (15:55 +0200)]
Issue #24731: Fixed crash on converting objects with special methods
__str__, __trunc__, and __float__ returning instances of subclasses of
str, long, and float to subclasses of str, long, and float correspondingly.
Serhiy Storchaka [Wed, 25 Nov 2015 13:07:49 +0000 (15:07 +0200)]
Issue #25725: Fixed a reference leak in cPickle.loads() when unpickling
invalid data including tuple instructions.
Vinay Sajip [Tue, 24 Nov 2015 23:18:30 +0000 (23:18 +0000)]
Issue #25508: Clarify documentation on LogRecord args attribute.
Raymond Hettinger [Tue, 24 Nov 2015 05:00:45 +0000 (21:00 -0800)]
Fix non-ascii character
Raymond Hettinger [Tue, 24 Nov 2015 04:47:05 +0000 (20:47 -0800)]
Add a missing docstring
Martin Panter [Mon, 23 Nov 2015 23:50:26 +0000 (23:50 +0000)]
Issue #25663: Make rlcompleter avoid duplicate global names
Serhiy Storchaka [Mon, 23 Nov 2015 13:46:36 +0000 (15:46 +0200)]
Issue #25688: Fixed file leak in ElementTree.iterparse() raising an error.
Serhiy Storchaka [Mon, 23 Nov 2015 13:20:43 +0000 (15:20 +0200)]
Issue #23914: Fixed SystemError raised by unpickler on broken pickle data.
Serhiy Storchaka [Mon, 23 Nov 2015 06:50:20 +0000 (08:50 +0200)]
Issue #25691: Added tests on deleting cElementTree.Element attributes.
Benjamin Peterson [Mon, 23 Nov 2015 03:05:29 +0000 (19:05 -0800)]
rm duplicate entry
Benjamin Peterson [Mon, 23 Nov 2015 03:05:14 +0000 (19:05 -0800)]
merge 2.7.11 release branch
Benjamin Peterson [Mon, 23 Nov 2015 03:04:56 +0000 (19:04 -0800)]
Issue #25624: ZipFile now always writes a ZIP_STORED header for directory entries. Patch by Dingyuan Wang.
Serhiy Storchaka [Sun, 22 Nov 2015 12:56:22 +0000 (14:56 +0200)]
Issue #25624: ZipFile now always writes a ZIP_STORED header for directory
entries. Patch by Dingyuan Wang.
Serhiy Storchaka [Sun, 22 Nov 2015 10:31:11 +0000 (12:31 +0200)]
Issue #19687: Fixed memory leak on failed Element slice assignment.
Benjamin Peterson [Sun, 22 Nov 2015 02:39:07 +0000 (18:39 -0800)]
news section for 2.7.12
Benjamin Peterson [Sun, 22 Nov 2015 02:38:18 +0000 (18:38 -0800)]
post rc1 updates
Benjamin Peterson [Sat, 21 Nov 2015 21:38:43 +0000 (13:38 -0800)]
Added tag v2.7.11rc1 for changeset
82dd9545bd93
Benjamin Peterson [Sat, 21 Nov 2015 21:38:35 +0000 (13:38 -0800)]
bump to 2.7.11rc1
Benjamin Peterson [Sat, 21 Nov 2015 21:35:41 +0000 (13:35 -0800)]
update pydoc-topics
Terry Jan Reedy [Sat, 21 Nov 2015 18:31:00 +0000 (13:31 -0500)]
Update idlelib/NEWS.txt.
Terry Jan Reedy [Sat, 21 Nov 2015 18:18:50 +0000 (13:18 -0500)]
Misc/NEWS entries for IDLE.
Serhiy Storchaka [Sat, 21 Nov 2015 12:11:57 +0000 (14:11 +0200)]
Issue #25686: test_shutil no longer uses the distutils package for running
external archivers.
Terry Jan Reedy [Sat, 21 Nov 2015 05:04:58 +0000 (00:04 -0500)]
Issue 15348: Stop debugger engine (normally in user process)
before closing debugger window in IDLE process.
This prevents one-per-line RuntimeErrors.
Terry Jan Reedy [Sat, 21 Nov 2015 00:36:38 +0000 (19:36 -0500)]
Issue #24455: Prevent IDLE from hanging when a) closing the shell while the
debugger is active (15347); b) closing the debugger with the [X] button
(15348); and c) activating the debugger when already active (24455).
The patch by Mark Roseman does this by making two changes.
1. To suspend and resume the gui.interaction method, use the tcl vwait
mechanism interded for this purpose instead of root.mainloop & .quit.
2. In gui.run, allow any existing interaction to terminate first.
Serhiy Storchaka [Fri, 20 Nov 2015 19:56:21 +0000 (21:56 +0200)]
Issue #25678: Copy buffer objects to null-terminated strings.
Avoid buffer overreads when int(), long(), float(), and compile()
are passed buffer objects. Similar code is removed from the
complex() constructor, where it was not reachable.
Patch backported from issue #24802 by Eryk Sun.
Terry Jan Reedy [Fri, 20 Nov 2015 17:21:40 +0000 (12:21 -0500)]
Make it slightly clearer that IDLE close message is referring to user program,
not to IDLE itself.
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.