]>
granicus.if.org Git - python/log
Martin Panter [Mon, 16 Nov 2015 07:21:38 +0000 (07:21 +0000)]
Issue #20220: Add DST rules to work around glibc quirk
This was triggering intermittent failures in unrelated tests.
Serhiy Storchaka [Mon, 16 Nov 2015 09:12:58 +0000 (11:12 +0200)]
Issue #9051: Added tests for pickling and copying the timezone objects.
Gregory P. Smith [Mon, 16 Nov 2015 02:19:10 +0000 (18:19 -0800)]
Fix issue #6973: When we know a subprocess.Popen process has died, do
not allow the send_signal(), terminate(), or kill() methods to do
anything as they could potentially signal a different process.
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:10:35 +0000 (15:10 +0200)]
Issue #25388: Fixed tokenizer crash 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 01:07:43 +0000 (01:07 +0000)]
Fix a few grammar problems in the documentation and comments
Martin Panter [Sat, 14 Nov 2015 00:58:32 +0000 (00:58 +0000)]
Correct Content-Type syntax in documentation
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 .
Martin Panter [Fri, 13 Nov 2015 21:43:39 +0000 (21:43 +0000)]
Issue #25498: Fix GC crash due to ctypes objects wrapping a memoryview
This was a regression caused by revision
1da9630e9b7f . Based on patch by
Eryksun.
Yury Selivanov [Fri, 13 Nov 2015 17:28:48 +0000 (12:28 -0500)]
asyncio: Fix sporadic failing unittests in debug mode
Victor Stinner [Fri, 13 Nov 2015 08:13:48 +0000 (09:13 +0100)]
Issue #25605: Document exceptions raised by fcntl.ioctl() and fcntl.flock()
Terry Jan Reedy [Thu, 12 Nov 2015 20:24:33 +0000 (15:24 -0500)]
Indent
Terry Jan Reedy [Thu, 12 Nov 2015 20:06:07 +0000 (15:06 -0500)]
Whitespace
Terry Jan Reedy [Thu, 12 Nov 2015 20:02:57 +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.
Serhiy Storchaka [Thu, 12 Nov 2015 11:15:41 +0000 (13:15 +0200)]
Restore old distutils logging threshold after running test_log.
Serhiy Storchaka [Thu, 12 Nov 2015 09:23:04 +0000 (11:23 +0200)]
Issue #22995: Default implementation of __reduce__ and __reduce_ex__ now
rejects builtin types with not defined __new__.
Added 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 [Tue, 10 Nov 2015 17:50:14 +0000 (19:50 +0200)]
Issue #6598: Avoid clock wrapping around in test_make_msgid_collisions.
Use time.monotonic or time.time instead of time.clock.
Serhiy Storchaka [Tue, 10 Nov 2015 13:30:35 +0000 (15:30 +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:20:43 +0000 (00:20 +0200)]
Added missed periods at the ends of sentences in Misc/NEWS.
Serhiy Storchaka [Mon, 9 Nov 2015 21:41:39 +0000 (23:41 +0200)]
Fixed markup 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.
Steve Dower [Sat, 7 Nov 2015 18:07:04 +0000 (10:07 -0800)]
Issue #24306: Sets component ID for launcher to match 3.5 and later to avoid downgrading.
Serhiy Storchaka [Sat, 7 Nov 2015 14:54:48 +0000 (16:54 +0200)]
Issue #22643: Skip test_case_operation_overflow on computers with low memory.
Serhiy Storchaka [Sat, 7 Nov 2015 09:16:10 +0000 (11:16 +0200)]
Issue #892902: Added new tests for pickling recursive collections.
Martin Panter [Sat, 7 Nov 2015 02:32:21 +0000 (02:32 +0000)]
Issue #24802: Copy bytes-like objects to null-terminated buffers if necessary
This avoids possible buffer overreads when int(), float(), compile(), exec()
and eval() are passed bytes-like objects. Similar code is removed from the
complex() constructor, where it was not reachable.
Patch by John Leitch, Serhiy Storchaka and Martin Panter.
Martin Panter [Fri, 6 Nov 2015 00:27:14 +0000 (00:27 +0000)]
Issue #18010: Fix pydoc web server search to handle package exceptions
Implementation by Antoine Pitrou.
Yury Selivanov [Thu, 5 Nov 2015 19:29:04 +0000 (14:29 -0500)]
asyncio: Optimize asyncio.sleep(0)
Benjamin Peterson [Wed, 4 Nov 2015 06:43:31 +0000 (22:43 -0800)]
remove trailing ws
Benjamin Peterson [Wed, 4 Nov 2015 06:42:02 +0000 (22:42 -0800)]
link to modern PUG url
Guido van Rossum [Mon, 2 Nov 2015 17:15:47 +0000 (09:15 -0800)]
Use sys.platform instead of os.name to detect Windows in asyncio docs. Patch by Akira Li.
Serhiy Storchaka [Mon, 2 Nov 2015 12:10:23 +0000 (14:10 +0200)]
Issue #25523: Further a-to-an corrections.
Martin Panter [Mon, 2 Nov 2015 03:37:02 +0000 (03:37 +0000)]
Issue #25523: Correct "a" article to "an" article
This changes the main documentation, doc strings, source code comments, and a
couple error messages in the test suite. In some cases the word was removed
or edited some other way to fix the grammar.
Serhiy Storchaka [Sun, 1 Nov 2015 14:43:58 +0000 (16:43 +0200)]
Issue #25510: fileinput.FileInput.readline() now returns b'' instead of ''
at the end if the FileInput was opened with binary mode.
Patch by Ryosuke Ito.
Martin Panter [Sat, 31 Oct 2015 11:48:53 +0000 (11:48 +0000)]
Fix some spelling errors in documentation and code comments
Terry Jan Reedy [Fri, 30 Oct 2015 23:41:16 +0000 (19:41 -0400)]
Issue #25519: Mark difflib.ndiff as a functions where not already.
Terry Jan Reedy [Fri, 30 Oct 2015 23:25:34 +0000 (19:25 -0400)]
Issue #25505: Remove unused buggy method.
Terry Jan Reedy [Fri, 30 Oct 2015 06:47:06 +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)
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:56 +0000 (03:14 -0400)]
Issue #25432: Explain isinstance behaviour when type is a tuple.
Zachary Ware [Wed, 28 Oct 2015 03:00:41 +0000 (22:00 -0500)]
Issue #25494: Remove extra quote from docstring.
Patch by John Mark Vandenberg.
Terry Jan Reedy [Tue, 27 Oct 2015 07:38:02 +0000 (03:38 -0400)]
Display IDLE warning as a warning rather than as an error.
Clarify message and expected action for beginners.
Guard against astral chars in path incorporated in message.
Martin Panter [Mon, 26 Oct 2015 11:05:42 +0000 (11:05 +0000)]
Issue #23391: Restore OSError constructor argument documentation
This restores details lost in revision
097f4fda61a4 (since Python 3.3,
related to the new OSError subclasses). Further additions:
* Markup for attributes and constructor signature
* Explain "winerror" and "filename2"
* Extend test to check for filename2 defaulting to None
* Clarify that the constructor can return a subclass
I have intentionally left out any details of allowing more than five
arguments, or how the "args" attribute is set for four or more arguments.
These details seem to be dependent on the Python version and platform.
Zachary Ware [Sun, 25 Oct 2015 04:22:16 +0000 (23:22 -0500)]
Issue #25456: Fix test_idle when Tcl/Tk DLLs are loaded from python.exe's home
rather than from elsewhere on PATH.
Benjamin Peterson [Sun, 25 Oct 2015 03:06:04 +0000 (20:06 -0700)]
accepted sockets shouldn't inherit the SOCK_NONBLOCK flag (closes #25471)
Serhiy Storchaka [Sat, 24 Oct 2015 14:39:36 +0000 (17:39 +0300)]
Issue21160: Correct comments in nturl2path. Patch by Jurko Gospodnetić.
Zachary Ware [Sat, 24 Oct 2015 06:34:22 +0000 (01:34 -0500)]
Closes #25456: Copy Tcl/Tk DLLs to build directory on Windows
This removes the need to add externals/tcltk[64]/bin to PATH to be able
to import tkinter. Also documents the necessity for the DLLs to be
on PATH or in python.exe's directory.
Victor Stinner [Fri, 23 Oct 2015 10:38:11 +0000 (12:38 +0200)]
Issue #25461: Rephrase os.walk() doc
Patch written by Bernt Røskar Brenna.
Terry Jan Reedy [Thu, 22 Oct 2015 07:27:31 +0000 (03:27 -0400)]
Issue #24782: Limit width of canvas and hence IDLE settings dialog.
Terry Jan Reedy [Tue, 20 Oct 2015 06:15:28 +0000 (02:15 -0400)]
Issue #24782: Don't try to run now-removed extension dialog test.
Berker Peksag [Tue, 20 Oct 2015 00:41:38 +0000 (03:41 +0300)]
rstlint: Fix "default role used" warning
This should make buildbots green.
Guido van Rossum [Mon, 19 Oct 2015 20:18:04 +0000 (13:18 -0700)]
Issue #24885: Update note in docs about stream convenience functions.
Guido van Rossum [Mon, 19 Oct 2015 19:00:04 +0000 (12:00 -0700)]
Fix whitespace.
Guido van Rossum [Mon, 19 Oct 2015 18:49:30 +0000 (11:49 -0700)]
Issue #25441: asyncio: Raise error from drain() when socket is closed.
doko@ubuntu.com [Mon, 19 Oct 2015 12:07:57 +0000 (14:07 +0200)]
- Issue #25440: Fix output of python-config --extension-suffix.
Vinay Sajip [Sat, 17 Oct 2015 15:13:10 +0000 (16:13 +0100)]
Closes #25411: Improved Unicode support in SMTPHandler.
Vinay Sajip [Sat, 17 Oct 2015 12:58:19 +0000 (13:58 +0100)]
Added entry to logging cookbook.
Berker Peksag [Fri, 16 Oct 2015 08:22:50 +0000 (11:22 +0300)]
Issue #25418: Fix markup in object.__hash__ documentation
Patch by TAKASE Arihiro.
Terry Jan Reedy [Wed, 14 Oct 2015 02:09:06 +0000 (22:09 -0400)]
Issue #24782: whitespace
Terry Jan Reedy [Wed, 14 Oct 2015 02:03:51 +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.
Serhiy Storchaka [Tue, 13 Oct 2015 18:12:32 +0000 (21:12 +0300)]
Issue #25380: Fixed protocol for the STACK_GLOBAL opcode in
pickletools.opcodes.
Zachary Ware [Tue, 13 Oct 2015 04:27:58 +0000 (23:27 -0500)]
Issue #25093: Fix test_tcl's testloadWithUNC for paths with spaces
Patch by Serhiy Storchaka.
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:31 +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.
Serhiy Storchaka [Sun, 11 Oct 2015 14:42:39 +0000 (17:42 +0300)]
Cleanup test_descr: remove C8 that is the same as C3.
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.
Benjamin Peterson [Sun, 11 Oct 2015 02:32:20 +0000 (19:32 -0700)]
add a missing comma (closes #25371)
Serhiy Storchaka [Sat, 10 Oct 2015 17:26:16 +0000 (20:26 +0300)]
Correct Misc/NEWS.
Brett Cannon [Fri, 9 Oct 2015 22:09:43 +0000 (15:09 -0700)]
Issue #25099: Skip relevant tests in test_compileall when an entry on
sys.path has an unwritable __pycache__ directory.
This typically comes up when someone runs the test suite from an
administrative install of Python on Windows where the user does not
have write permissions to the stdlib's directory.
Thanks to Zachary Ware and Matthias Klose for reporting bugs related
to this issue.
(grafted from
34bbd537b3e688dfbb6498e9083445a6a72fc4b1 )
Serhiy Storchaka [Sat, 10 Oct 2015 17:10:07 +0000 (20:10 +0300)]
Issue #25365: test_pickle now works in threads disabled builds.
Martin Panter [Sat, 10 Oct 2015 11:04:44 +0000 (11:04 +0000)]
Issue #25322: Fix test for nested contextlib.suppress
Martin Panter [Sat, 10 Oct 2015 10:36:22 +0000 (10:36 +0000)]
Issue #25161: Add full stops in documentation; patch by Takase Arihiro
Martin Panter [Sat, 10 Oct 2015 03:01:20 +0000 (03:01 +0000)]
Issue #22413: Document newline effect on StringIO initializer and getvalue
Also add to comment in the C code.
Martin Panter [Sat, 10 Oct 2015 05:27:15 +0000 (05:27 +0000)]
Issue #24402: Factor out PtyTests.run_child() in input() tests
This reuses existing code to hopefully make the new test_input_no_stdout_
fileno() test work. It is hanging Free BSD 9 and OS X Tiger buildbots, and I
don't know why.
Martin Panter [Sat, 10 Oct 2015 01:25:38 +0000 (01:25 +0000)]
Issue #24402: Fix input() when stdout.fileno() fails; diagnosed by Eryksun
Also factored out some test cases into a new PtyTests class.
Vinay Sajip [Fri, 9 Oct 2015 23:52:35 +0000 (00:52 +0100)]
Closes #25344: Added cookbook recipe to show buffering of logging events.
Berker Peksag [Thu, 8 Oct 2015 03:34:01 +0000 (06:34 +0300)]
Issue #16802: Document fileno parameter of socket.socket()
Patch by Henrik Heimbuerger and Bar Harel.
Martin Panter [Wed, 7 Oct 2015 10:26:23 +0000 (10:26 +0000)]
Various minor typos in documentation and comments
Martin Panter [Wed, 7 Oct 2015 09:56:46 +0000 (09:56 +0000)]
Issue #25286: Dictionary views are not sequences
Also change glossary heading from view
Benjamin Peterson [Wed, 7 Oct 2015 02:36:54 +0000 (19:36 -0700)]
prevent unacceptable bases from becoming bases through multiple inheritance (#24806)
Zachary Ware [Tue, 6 Oct 2015 20:28:43 +0000 (15:28 -0500)]
Issue #25097: Re-raise any other pywin32 error
Zachary Ware [Tue, 6 Oct 2015 20:22:13 +0000 (15:22 -0500)]
Issue #25097: fix Windows error number access
Serhiy Storchaka [Tue, 6 Oct 2015 15:38:25 +0000 (18:38 +0300)]
Merge heads
Guido van Rossum [Tue, 6 Oct 2015 15:24:10 +0000 (08:24 -0700)]
Issue #23972: Fix tests for Windows and Debian.
Serhiy Storchaka [Tue, 6 Oct 2015 15:16:28 +0000 (18:16 +0300)]
Issue #25317: Converted doctests in test_tokenize to unittests.
Made test_tokenize discoverable.
Benjamin Peterson [Tue, 6 Oct 2015 04:56:22 +0000 (21:56 -0700)]
reinitialize an Event's Condition with a regular lock (closes #25319)
Guido van Rossum [Mon, 5 Oct 2015 23:20:00 +0000 (16:20 -0700)]
Docs and one small improvement for issue #25304, by Vincent Michel.
Guido van Rossum [Mon, 5 Oct 2015 16:15:28 +0000 (09:15 -0700)]
Issue #23972: updates to asyncio datagram API. By Chris Laws.
Terry Jan Reedy [Sun, 4 Oct 2015 05:14:51 +0000 (01:14 -0400)]
Issue #24820: Update IDLE NEWS items.
Terry Jan Reedy [Sun, 4 Oct 2015 04:31:05 +0000 (00:31 -0400)]
Issue #24820: Add 'IDLE Dark' text color theme, warning, and solution.
Guido van Rossum [Sat, 3 Oct 2015 15:31:42 +0000 (08:31 -0700)]
Issue #25304: Add asyncio.run_coroutine_threadsafe(). By Vincent Michel.
Martin Panter [Sat, 3 Oct 2015 07:46:04 +0000 (07:46 +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.