]>
granicus.if.org Git - python/log
Benjamin Peterson [Sun, 25 Oct 2015 03:07:08 +0000 (20:07 -0700)]
merge 3.4 (#25471)
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:42:44 +0000 (17:42 +0300)]
Issue21160: Correct comments in nturl2path. Patch by Jurko Gospodnetić.
Serhiy Storchaka [Sat, 24 Oct 2015 14:39:36 +0000 (17:39 +0300)]
Issue21160: Correct comments in nturl2path. Patch by Jurko Gospodnetić.
Serhiy Storchaka [Sat, 24 Oct 2015 06:51:53 +0000 (09:51 +0300)]
Removed redundant call of update_wrapper().
Serhiy Storchaka [Sat, 24 Oct 2015 06:49:56 +0000 (09:49 +0300)]
Issue #25447: The lru_cache() wrapper objects now can be copied and pickled
(by returning the original object unchanged).
Zachary Ware [Sat, 24 Oct 2015 06:35:44 +0000 (01:35 -0500)]
Null merge with 3.4
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.
Steve Dower [Fri, 23 Oct 2015 16:50:49 +0000 (09:50 -0700)]
Moves Windows installer externals onto SVN and updates the build process to grab them automatically.
Victor Stinner [Fri, 23 Oct 2015 10:39:01 +0000 (12:39 +0200)]
Merge 3.4 (Issue #25461)
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.
Serhiy Storchaka [Thu, 22 Oct 2015 17:18:24 +0000 (20:18 +0300)]
Issue #25410: C implementation of OrderedDict now uses type(self) instead of
self.__class__ in __repr__() and __reduce__() for simplicity and reliability.
Terry Jan Reedy [Thu, 22 Oct 2015 07:27:44 +0000 (03:27 -0400)]
Merge with 3.4
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.
Berker Peksag [Thu, 22 Oct 2015 00:34:16 +0000 (03:34 +0300)]
Issue #25417: Remove the extra dot from docstring
Berker Peksag [Thu, 22 Oct 2015 00:29:10 +0000 (03:29 +0300)]
Issue #23981: Update test_unicodedata to use script_helpers
Patch by Christie.
Berker Peksag [Wed, 21 Oct 2015 17:10:24 +0000 (20:10 +0300)]
Issue #25417: Fix typo in Path.samefile() docstring
Reported by Antony Lee.
Berker Peksag [Wed, 21 Oct 2015 13:38:36 +0000 (16:38 +0300)]
Fix merge conflict artifacts and move the entry to correct place
Victor Stinner [Tue, 20 Oct 2015 22:15:08 +0000 (00:15 +0200)]
Issue #21515: Elaborate tempfile.TemporaryFile() comment
Explain why calling os.open() with os.O_TMPFILE is a safe test to check if
O_TMPFILE is supported by the running kernel.
Serhiy Storchaka [Tue, 20 Oct 2015 15:21:48 +0000 (18:21 +0300)]
Issue #25410: Fixed a memory leak in OrderedDict in the case when key's hash
calculation fails.
Terry Jan Reedy [Tue, 20 Oct 2015 06:15:43 +0000 (02:15 -0400)]
Merge with 3.4
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:59:24 +0000 (03:59 +0300)]
Silence a "unused rule" warning
This one should make Docs 3.5 and Docs 3.x green again.
Berker Peksag [Tue, 20 Oct 2015 00:41:59 +0000 (03:41 +0300)]
rstlint: Fix "default role used" warning
This should make buildbots green.
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 21:55:47 +0000 (14:55 -0700)]
Issue #25390: typing: Don't crash on Union[str, Pattern].
Guido van Rossum [Mon, 19 Oct 2015 20:18:40 +0000 (13:18 -0700)]
Issue #24885: Update note in docs about stream convenience functions. (Merge 3.4->3.5)
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:25 +0000 (12:00 -0700)]
Fix whitespace.
Guido van Rossum [Mon, 19 Oct 2015 19:00:04 +0000 (12:00 -0700)]
Fix whitespace.
Guido van Rossum [Mon, 19 Oct 2015 18:54:04 +0000 (11:54 -0700)]
Issue #25441: asyncio: Raise error from drain() when socket is closed. (Merge 3.4->3.5)
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:13:35 +0000 (14:13 +0200)]
- Issue #25440: Fix output of python-config --extension-suffix.
doko@ubuntu.com [Mon, 19 Oct 2015 12:07:57 +0000 (14:07 +0200)]
- Issue #25440: Fix output of python-config --extension-suffix.
Berker Peksag [Sun, 18 Oct 2015 21:56:39 +0000 (00:56 +0300)]
Fix another typo noticed by SilentGhost
Berker Peksag [Sun, 18 Oct 2015 17:22:15 +0000 (20:22 +0300)]
Issue #25434: Fix typo in whatsnew/3.5rst
Patch by Louis Sautier.
Serhiy Storchaka [Sun, 18 Oct 2015 06:53:17 +0000 (09:53 +0300)]
Issue #25410: Cleaned up and fixed minor bugs in C implementation of OrderedDict.
Vinay Sajip [Sat, 17 Oct 2015 15:17:52 +0000 (16:17 +0100)]
Closes #25411: Merged fix from 3.4.
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:59:12 +0000 (13:59 +0100)]
Merged cookbook update from 3.4.
Vinay Sajip [Sat, 17 Oct 2015 12:58:19 +0000 (13:58 +0100)]
Added entry to logging cookbook.
Brett Cannon [Fri, 16 Oct 2015 19:09:33 +0000 (12:09 -0700)]
Issue #25407: Drop the mention of the formatter module being removed
in Python 3.6.
The new PEP 4 policy of any module existing in both 2.7 and 3.5
applies here, hence the module will be with us for a bit longer.
Berker Peksag [Fri, 16 Oct 2015 08:23:11 +0000 (11:23 +0300)]
Issue #25418: Fix markup in object.__hash__ documentation
Patch by TAKASE Arihiro.
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.
Steve Dower [Wed, 14 Oct 2015 17:40:09 +0000 (10:40 -0700)]
Enabled --pgo option for building 64-bit PGO enabled releases.
Steve Dower [Wed, 14 Oct 2015 17:36:36 +0000 (10:36 -0700)]
Issue #25164: Changes default all-users install directory to match per-user directory.
Serhiy Storchaka [Wed, 14 Oct 2015 16:21:24 +0000 (19:21 +0300)]
Issue #25406: Fixed a bug in C implementation of OrderedDict.move_to_end()
that caused segmentation fault or hang in iterating after moving several
items to the start of ordered dict.
Terry Jan Reedy [Wed, 14 Oct 2015 02:09:19 +0000 (22:09 -0400)]
Merge with 3.4
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:04:07 +0000 (22:04 -0400)]
Merge with 3.4
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:13:34 +0000 (21:13 +0300)]
Issue #25380: Fixed protocol for the STACK_GLOBAL opcode in
pickletools.opcodes.
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:30:15 +0000 (23:30 -0500)]
Issue #25093: Merge with 3.4
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.
Victor Stinner [Mon, 12 Oct 2015 22:11:21 +0000 (00:11 +0200)]
sys.setrecursionlimit() now raises RecursionError
Issue #25274: sys.setrecursionlimit() now raises a RecursionError if the new
recursion limit is too low depending at the current recursion depth. Modify
also the "lower-water mark" formula to make it monotonic. This mark is used to
decide when the overflowed flag of the thread state is reset.
Victor Stinner [Mon, 12 Oct 2015 21:37:02 +0000 (23:37 +0200)]
Issue #25277: Use a longer sleep in test_eintr to reduce the risk of race
condition in test_eintr.
Benjamin Peterson [Mon, 12 Oct 2015 06:03:41 +0000 (23:03 -0700)]
merge 3.4
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:48 +0000 (22:07 -0400)]
Merge with 3.4
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.
Steve Dower [Mon, 12 Oct 2015 01:06:55 +0000 (18:06 -0700)]
Keeps all-users launcher checkbox visible when the option cannot be changed.
Steve Dower [Mon, 12 Oct 2015 01:05:11 +0000 (18:05 -0700)]
Only detects features from previous version when a bundle is found.
Otherwise, stray registry entries would cause issues.
Also fixes an accelerator collision and improves UAC icons when upgrading.
Steve Dower [Sun, 11 Oct 2015 23:40:41 +0000 (16:40 -0700)]
Issue #25143: Improves installer error messages for unsupported platforms.
Steve Dower [Sun, 11 Oct 2015 22:37:22 +0000 (15:37 -0700)]
Issue #25163: Display correct directory in installer when using non-default settings.
Steve Dower [Sun, 11 Oct 2015 22:15:52 +0000 (15:15 -0700)]
Issue #25361: Disables use of SSE2 instructions in Windows 32-bit build
Serhiy Storchaka [Sun, 11 Oct 2015 14:48:28 +0000 (17:48 +0300)]
No longer skip tests for classes with __getnewargs_ex__. The copy module
already supports reduce protocol 4 (issue #20289).
Serhiy Storchaka [Sun, 11 Oct 2015 14:43:12 +0000 (17:43 +0300)]
Cleanup test_descr: remove C8 that is the same as C3.
Serhiy Storchaka [Sun, 11 Oct 2015 14:42:39 +0000 (17:42 +0300)]
Cleanup test_descr: remove C8 that is the same as C3.
Victor Stinner [Sun, 11 Oct 2015 08:53:15 +0000 (10:53 +0200)]
Close #25367: Fix test_coroutines()
Fix usage of support.import_module('asyncio'): store the result in an 'asyncio'
variable.
Victor Stinner [Sun, 11 Oct 2015 08:39:56 +0000 (10:39 +0200)]
lose #25373: Fix regrtest --slow with interrupted test
Victor Stinner [Sun, 11 Oct 2015 08:10:31 +0000 (10:10 +0200)]
Close #25367: Fix test_coroutines with no thread support
Skip test_asyncio_1() when the asyncio module cannot be imported because
CPython is compiled with no thread support.
Victor Stinner [Sun, 11 Oct 2015 07:54:42 +0000 (09:54 +0200)]
Close #24784: Fix compilation without thread support
Add "#ifdef WITH_THREAD" around cals to:
* PyGILState_Check()
* _PyImport_AcquireLock()
* _PyImport_ReleaseLock()
Benjamin Peterson [Sun, 11 Oct 2015 06:24:39 +0000 (23:24 -0700)]
merge 3.4
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:36:40 +0000 (19:36 -0700)]
merge 3.4 (#25362)
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:33 +0000 (19:32 -0700)]
merge 3.4 (#25371)
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:27:28 +0000 (20:27 +0300)]
Null merge
Serhiy Storchaka [Sat, 10 Oct 2015 17:26:16 +0000 (20:26 +0300)]
Correct Misc/NEWS.
Serhiy Storchaka [Sat, 10 Oct 2015 17:10:54 +0000 (20:10 +0300)]
Issue #25365: test_pickle now works in threads disabled builds.
Serhiy Storchaka [Sat, 10 Oct 2015 17:10:07 +0000 (20:10 +0300)]
Issue #25365: test_pickle now works in threads disabled builds.
Serhiy Storchaka [Sat, 10 Oct 2015 16:43:32 +0000 (19:43 +0300)]
Issue #25364: zipfile now works in threads disabled builds.
Martin Panter [Sat, 10 Oct 2015 11:05:47 +0000 (11:05 +0000)]
Issue #25322: Merge contextlib.suppress test fix from 3.4 into 3.5
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:44:25 +0000 (10:44 +0000)]
Issue #25161: Merge full stops from 3.4 into 3.5
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 10:17:57 +0000 (10:17 +0000)]
Issue #22413: Remove comment made out of date by Argument Clinic
Martin Panter [Sat, 10 Oct 2015 10:15:21 +0000 (10:15 +0000)]
Issue #22413: Merge StringIO doc from 3.4 into 3.5
Martin Panter [Sat, 10 Oct 2015 05:28:17 +0000 (05:28 +0000)]
Issue #24402: Merge potential test fix from 3.4 into 3.5
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 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 01:55:23 +0000 (01:55 +0000)]
Issue #24402: Merge input() fix from 3.4 into 3.5
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:53:37 +0000 (00:53 +0100)]
Closes #25344: Merged fix from 3.4.
Vinay Sajip [Fri, 9 Oct 2015 23:52:35 +0000 (00:52 +0100)]
Closes #25344: Added cookbook recipe to show buffering of logging events.
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 )
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.
R David Murray [Fri, 9 Oct 2015 14:19:33 +0000 (10:19 -0400)]
#25328: add missing raise keyword in decode_data+SMTPUTF8 check.
This is a relatively benign bug, since having both be true was correctly
rejected at in SMTPServer even before this patch.
Patch by Xiang Zhang.