]> granicus.if.org Git - python/log
python
8 years agoIssue #19198: IDLE: tab after initial whitespace should tab, not autocomplete.
Terry Jan Reedy [Mon, 25 Jul 2016 03:01:28 +0000 (23:01 -0400)]
Issue #19198: IDLE: tab after initial whitespace should tab, not autocomplete.
Fixes problem with writing docstrings at lease twice indented.

8 years agoIssue #7063: Remove dead code from array slice handling
Martin Panter [Mon, 25 Jul 2016 02:21:14 +0000 (02:21 +0000)]
Issue #7063: Remove dead code from array slice handling

Patch by Chuck.

8 years agoIssue #27601: Merge from 3.5
Berker Peksag [Mon, 25 Jul 2016 01:56:19 +0000 (04:56 +0300)]
Issue #27601: Merge from 3.5

8 years agoIssue #27601: Improve example in the "Hashing of numeric types" section
Berker Peksag [Mon, 25 Jul 2016 01:55:51 +0000 (04:55 +0300)]
Issue #27601: Improve example in the "Hashing of numeric types" section

* Fix return value of hash_compute() implementation
* Rename variable names to hash_value to improve readability

Patch by Emanuel Barry.

8 years agoIssue #27454: Use PyDict_SetDefault in PyUnicode_InternInPlace
Berker Peksag [Mon, 25 Jul 2016 01:40:39 +0000 (04:40 +0300)]
Issue #27454: Use PyDict_SetDefault in PyUnicode_InternInPlace

Patch by INADA Naoki.

8 years agoMerge from 3.5
Steve Dower [Mon, 25 Jul 2016 01:06:51 +0000 (18:06 -0700)]
Merge from 3.5

8 years agoIssue #27610: Adds PEP 514 metadata to Windows installer
Steve Dower [Mon, 25 Jul 2016 01:04:29 +0000 (18:04 -0700)]
Issue #27610: Adds PEP 514 metadata to Windows installer

8 years agoFixes default intermediate directory when building on Windows.
Steve Dower [Mon, 25 Jul 2016 01:03:22 +0000 (18:03 -0700)]
Fixes default intermediate directory when building on Windows.

8 years agoIssue 24773: Make zoneinfo tests more robust. (reapply)
Alexander Belopolsky [Mon, 25 Jul 2016 00:36:55 +0000 (20:36 -0400)]
Issue 24773: Make zoneinfo tests more robust. (reapply)

8 years agoIssue #27609: Explicitly return None when there are other returns.
Terry Jan Reedy [Mon, 25 Jul 2016 00:35:43 +0000 (20:35 -0400)]
Issue #27609: Explicitly return None when there are other returns.
In a few cases, reverse a condition and eliminate a return.

8 years agoReindented Lib/test/datetimetester.py.
Alexander Belopolsky [Sun, 24 Jul 2016 18:41:08 +0000 (14:41 -0400)]
Reindented Lib/test/datetimetester.py.

8 years agoIssue #24773: Made ZoneInfoCompleteTest a TestSuit.
Alexander Belopolsky [Sun, 24 Jul 2016 18:39:28 +0000 (14:39 -0400)]
Issue #24773: Made ZoneInfoCompleteTest a TestSuit.

This should improve the diagnostic and progress reports.

8 years agoIssue 24773: Make zoneinfo tests more robust.
Alexander Belopolsky [Sat, 23 Jul 2016 15:16:56 +0000 (11:16 -0400)]
Issue 24773: Make zoneinfo tests more robust.

8 years agoFixes bad Misc/NEWS merge
Steve Dower [Sat, 23 Jul 2016 15:04:11 +0000 (08:04 -0700)]
Fixes bad Misc/NEWS merge

8 years agoIssue #27469: Adds a shell extension to the launcher so that drag and drop works...
Steve Dower [Sat, 23 Jul 2016 15:02:02 +0000 (08:02 -0700)]
Issue #27469: Adds a shell extension to the launcher so that drag and drop works correctly.

8 years agoIssue #13849: Merge from 3.5
Berker Peksag [Sat, 23 Jul 2016 05:43:04 +0000 (08:43 +0300)]
Issue #13849: Merge from 3.5

8 years agoIssue #13849: Fix test_null_bytes under Windows
Berker Peksag [Sat, 23 Jul 2016 05:42:41 +0000 (08:42 +0300)]
Issue #13849: Fix test_null_bytes under Windows

8 years agoIssue #13849: Merge from 3.5
Berker Peksag [Sat, 23 Jul 2016 04:32:14 +0000 (07:32 +0300)]
Issue #13849: Merge from 3.5

8 years agoIssue #13849: Add tests for null byte checking in test_genericpath
Berker Peksag [Sat, 23 Jul 2016 04:31:47 +0000 (07:31 +0300)]
Issue #13849: Add tests for null byte checking in test_genericpath

8 years agoIssue #27493: Fix test_path_objects under Windows
Berker Peksag [Sat, 23 Jul 2016 04:15:12 +0000 (07:15 +0300)]
Issue #27493: Fix test_path_objects under Windows

8 years agoIssue #27591: Merge from 3.5
Berker Peksag [Sat, 23 Jul 2016 04:13:41 +0000 (07:13 +0300)]
Issue #27591: Merge from 3.5

8 years agoIssue #27591: Set sigint_event to NULL if _PyOS_IsMainThread() returns false
Berker Peksag [Sat, 23 Jul 2016 04:13:14 +0000 (07:13 +0300)]
Issue #27591: Set sigint_event to NULL if _PyOS_IsMainThread() returns false

Patch by Chris Angelico.

8 years agoIssue #27130: Merge zlib 64-bit fixes from 3.5
Martin Panter [Sat, 23 Jul 2016 03:39:49 +0000 (03:39 +0000)]
Issue #27130: Merge zlib 64-bit fixes from 3.5

8 years agoIssue #27130: Fix handling of buffers exceeding UINT_MAX in “zlib” module
Martin Panter [Sat, 23 Jul 2016 03:02:07 +0000 (03:02 +0000)]
Issue #27130: Fix handling of buffers exceeding UINT_MAX in “zlib” module

Patch by Xiang Zhang.

8 years agoCloses issue #24773: Implement PEP 495 (Local Time Disambiguation).
Alexander Belopolsky [Fri, 22 Jul 2016 22:47:04 +0000 (18:47 -0400)]
Closes issue #24773: Implement PEP 495 (Local Time Disambiguation).

8 years agoCloses #27493: accepted Path objects in file handlers for logging.
Vinay Sajip [Fri, 22 Jul 2016 17:23:04 +0000 (18:23 +0100)]
Closes #27493: accepted Path objects in file handlers for logging.

8 years agoMerge 3.5 (INVALID_SOCKET)
Victor Stinner [Fri, 22 Jul 2016 15:47:09 +0000 (17:47 +0200)]
Merge 3.5 (INVALID_SOCKET)

8 years agosocket: use INVALID_SOCKET
Victor Stinner [Fri, 22 Jul 2016 15:43:59 +0000 (17:43 +0200)]
socket: use INVALID_SOCKET

* Replace "fd = -1" with "fd = INVALID_SOCKET"
* Replace "fd < 0" with "fd == INVALID_SOCKET": SOCKET_T is unsigned on Windows

Bug found by Pavel Belikov ("Fragment N1"):
http://www.viva64.com/en/b/0414/#ID0ECDAE

8 years agoMerge 3.5 (fix internal_select)
Victor Stinner [Fri, 22 Jul 2016 15:28:55 +0000 (17:28 +0200)]
Merge 3.5 (fix internal_select)

8 years agoCloses #26559: Allow configuring flush-on-close behaviour of MemoryHandler.
Vinay Sajip [Fri, 22 Jul 2016 15:27:31 +0000 (16:27 +0100)]
Closes #26559: Allow configuring flush-on-close behaviour of MemoryHandler.

8 years agosocket: Fix internal_select()
Victor Stinner [Fri, 22 Jul 2016 15:26:53 +0000 (17:26 +0200)]
socket: Fix internal_select()

Bug found by Pavel Belikov ("Fragment N1"):
http://www.viva64.com/en/b/0414/#ID0ECDAE

8 years agoIssue #27472: Add test.support.unix_shell as the path to the default shell.
Xavier de Gaye [Fri, 22 Jul 2016 10:15:29 +0000 (12:15 +0200)]
Issue #27472: Add test.support.unix_shell as the path to the default shell.

8 years agoCloses #25393: Merge with 3.5
Zachary Ware [Tue, 19 Jul 2016 21:46:09 +0000 (16:46 -0500)]
Closes #25393: Merge with 3.5

8 years agoIssue #25393: Fix probable copy/paste error in resource docs
Zachary Ware [Tue, 19 Jul 2016 21:41:20 +0000 (16:41 -0500)]
Issue #25393: Fix probable copy/paste error in resource docs

Patch by Alakshendra Yadav.

8 years agoIssue #27567: Expose the POLLRDHUP constant in the select module
Berker Peksag [Tue, 19 Jul 2016 18:09:26 +0000 (21:09 +0300)]
Issue #27567: Expose the POLLRDHUP constant in the select module

8 years agoadd mising word
Benjamin Peterson [Tue, 19 Jul 2016 05:08:19 +0000 (22:08 -0700)]
add mising word

8 years agoadd EPOLLEXCLUSIVE
Benjamin Peterson [Tue, 19 Jul 2016 05:02:44 +0000 (22:02 -0700)]
add EPOLLEXCLUSIVE

8 years agoexpose EPOLLRDHUP (closes #27567)
Benjamin Peterson [Tue, 19 Jul 2016 04:47:39 +0000 (21:47 -0700)]
expose EPOLLRDHUP (closes #27567)

8 years agoIssue #1621: Avoid signed int negation overflow in audioop
Martin Panter [Tue, 19 Jul 2016 03:05:42 +0000 (03:05 +0000)]
Issue #1621: Avoid signed int negation overflow in audioop

8 years agoIssue #27528: Merge warning doc and test from 3.5
Martin Panter [Tue, 19 Jul 2016 02:50:51 +0000 (02:50 +0000)]
Issue #27528: Merge warning doc and test from 3.5

8 years agoIssue #27528: Document and test warning messages must match at beginning
Martin Panter [Tue, 19 Jul 2016 02:26:38 +0000 (02:26 +0000)]
Issue #27528: Document and test warning messages must match at beginning

8 years agoIssue #16191: Merge comment fixes from 3.5
Martin Panter [Mon, 18 Jul 2016 08:25:01 +0000 (08:25 +0000)]
Issue #16191: Merge comment fixes from 3.5

8 years agoIssue #16191: Fix up references to renamed variables
Martin Panter [Mon, 18 Jul 2016 08:23:26 +0000 (08:23 +0000)]
Issue #16191: Fix up references to renamed variables

8 years agoIssue #27507: Merge overflow check from 3.5
Martin Panter [Mon, 18 Jul 2016 08:18:32 +0000 (08:18 +0000)]
Issue #27507: Merge overflow check from 3.5

8 years agoIssue #27507: Check for integer overflow in bytearray.extend()
Martin Panter [Mon, 18 Jul 2016 07:53:13 +0000 (07:53 +0000)]
Issue #27507: Check for integer overflow in bytearray.extend()

Patch by Xiang Zhang.

8 years agoMerge from 3.5
Steve Dower [Mon, 18 Jul 2016 04:58:11 +0000 (21:58 -0700)]
Merge from 3.5

8 years agoRemoves unused files from PC folder.
Steve Dower [Mon, 18 Jul 2016 04:58:01 +0000 (21:58 -0700)]
Removes unused files from PC folder.

8 years agoIssue #27309: Enables proper Windows styles in python[w].exe manifest.
Steve Dower [Mon, 18 Jul 2016 04:40:06 +0000 (21:40 -0700)]
Issue #27309: Enables proper Windows styles in python[w].exe manifest.

8 years agoIssue #27309: Enables proper Windows styles in python[w].exe manifest.
Steve Dower [Mon, 18 Jul 2016 04:39:13 +0000 (21:39 -0700)]
Issue #27309: Enables proper Windows styles in python[w].exe manifest.

8 years agoIssue #27533: Release GIL in nt._isdir
Steve Dower [Mon, 18 Jul 2016 03:50:28 +0000 (20:50 -0700)]
Issue #27533: Release GIL in nt._isdir

8 years agoIssue #27533: Release GIL in nt._isdir
Steve Dower [Mon, 18 Jul 2016 03:49:38 +0000 (20:49 -0700)]
Issue #27533: Release GIL in nt._isdir

8 years agoCloses #27545: Remove pyshellext.vcxproj from pcbuild.proj
Steve Dower [Mon, 18 Jul 2016 03:46:01 +0000 (20:46 -0700)]
Closes #27545: Remove pyshellext.vcxproj from pcbuild.proj

8 years agoCloses #27545: Remove pyshellext.vcxproj from pcbuild.proj
Steve Dower [Mon, 18 Jul 2016 03:45:29 +0000 (20:45 -0700)]
Closes #27545: Remove pyshellext.vcxproj from pcbuild.proj

8 years agoIssue #27531: Merge from 3.5
Berker Peksag [Sun, 17 Jul 2016 12:27:10 +0000 (15:27 +0300)]
Issue #27531: Merge from 3.5

8 years agoIssue #27531: Update signature of Mock.assert_not_called method
Berker Peksag [Sun, 17 Jul 2016 12:26:46 +0000 (15:26 +0300)]
Issue #27531: Update signature of Mock.assert_not_called method

Since 01ae1ac2daf4, it doesn't accept any arguments.

Patch by Michael Killough.

8 years agoMerge 3.5.
Stefan Krah [Sun, 17 Jul 2016 12:12:59 +0000 (14:12 +0200)]
Merge 3.5.

8 years agoIssue #26974: Fix segfault in the presence of absurd subclassing. Proactively
Stefan Krah [Sun, 17 Jul 2016 12:01:42 +0000 (14:01 +0200)]
Issue #26974: Fix segfault in the presence of absurd subclassing. Proactively
eliminate all internal uses of overridden methods.

8 years agoIssue #27419: Added temporary workaround for subinterpreters.
Serhiy Storchaka [Sun, 17 Jul 2016 11:16:04 +0000 (14:16 +0300)]
Issue #27419: Added temporary workaround for subinterpreters.

8 years agoIssue #27419: Added temporary workaround for subinterpreters.
Serhiy Storchaka [Sun, 17 Jul 2016 11:15:28 +0000 (14:15 +0300)]
Issue #27419: Added temporary workaround for subinterpreters.

8 years agoIssues #23147, #23148: Presumably fixed bugs in folding UnstructuredTokenList.
Serhiy Storchaka [Sun, 17 Jul 2016 10:26:10 +0000 (13:26 +0300)]
Issues #23147, #23148: Presumably fixed bugs in folding UnstructuredTokenList.

8 years agoIssues #23147, #23148: Presumably fixed bugs in folding UnstructuredTokenList.
Serhiy Storchaka [Sun, 17 Jul 2016 10:25:15 +0000 (13:25 +0300)]
Issues #23147, #23148: Presumably fixed bugs in folding UnstructuredTokenList.

8 years agoIssue #27419: Standard __import__() no longer look up "__import__" in globals
Serhiy Storchaka [Sun, 17 Jul 2016 09:51:34 +0000 (12:51 +0300)]
Issue #27419: Standard __import__() no longer look up "__import__" in globals
or builtins for importing submodules or "from import".  Fixed a crash if
raise a warning about unabling to resolve package from __spec__ or
__package__.

8 years agoIssue #27419: Standard __import__() no longer look up "__import__" in globals
Serhiy Storchaka [Sun, 17 Jul 2016 09:47:17 +0000 (12:47 +0300)]
Issue #27419: Standard __import__() no longer look up "__import__" in globals
or builtins for importing submodules or "from import".  Fixed handling an
error of non-string package name.

8 years agoIssue #17711: Fixed unpickling by the persistent ID with protocol 0.
Serhiy Storchaka [Sun, 17 Jul 2016 08:35:35 +0000 (11:35 +0300)]
Issue #17711: Fixed unpickling by the persistent ID with protocol 0.
Original patch by Alexandre Vassalotti.

8 years agoIssue #17711: Fixed unpickling by the persistent ID with protocol 0.
Serhiy Storchaka [Sun, 17 Jul 2016 08:24:17 +0000 (11:24 +0300)]
Issue #17711: Fixed unpickling by the persistent ID with protocol 0.
Original patch by Alexandre Vassalotti.

8 years agoIssue #27469: Adds a shell extension to the launcher so that drag and drop works...
Steve Dower [Sat, 16 Jul 2016 23:17:33 +0000 (16:17 -0700)]
Issue #27469: Adds a shell extension to the launcher so that drag and drop works correctly.

8 years agoMerge from 3.5
Steve Dower [Sat, 16 Jul 2016 23:13:51 +0000 (16:13 -0700)]
Merge from 3.5

8 years agoFixes use of Py_IntDir and Py_OutDir to control build directories.
Steve Dower [Sat, 16 Jul 2016 23:13:19 +0000 (16:13 -0700)]
Fixes use of Py_IntDir and Py_OutDir to control build directories.

8 years agoIssue #25507: Merge from 3.5 with ttk replacing colorchooser.
Terry Jan Reedy [Sat, 16 Jul 2016 22:27:11 +0000 (18:27 -0400)]
Issue #25507: Merge from 3.5 with ttk replacing colorchooser.
IDLE no longer runs buggy code because of its tkinter imports.
Users must include the same imports required to run directly in Python.

8 years agoIssue #25507: IDLE no longer runs buggy code because of its tkinter imports.
Terry Jan Reedy [Sat, 16 Jul 2016 22:26:32 +0000 (18:26 -0400)]
Issue #25507: IDLE no longer runs buggy code because of its tkinter imports.
Users must include the same imports required to run directly in Python.

8 years agoCheck in update for importlib_external.h
Brett Cannon [Sat, 16 Jul 2016 17:46:10 +0000 (10:46 -0700)]
Check in update for importlib_external.h

8 years agoMerge for #27083
Brett Cannon [Sat, 16 Jul 2016 17:45:16 +0000 (10:45 -0700)]
Merge for #27083

8 years agoFix regressions introduced by fixes for issue #27083.
Brett Cannon [Sat, 16 Jul 2016 17:44:13 +0000 (10:44 -0700)]
Fix regressions introduced by fixes for issue #27083.

8 years agoIssue #27285: Cleanup leftover susp-ignored entry after text was changed
Martin Panter [Sat, 16 Jul 2016 07:17:46 +0000 (07:17 +0000)]
Issue #27285: Cleanup leftover susp-ignored entry after text was changed

8 years agoMerge: #27522: break unintended cycle in feedparser.
R David Murray [Sat, 16 Jul 2016 01:30:13 +0000 (21:30 -0400)]
Merge: #27522: break unintended cycle in feedparser.

8 years ago#27522: break unintended cycle in feedparser.
R David Murray [Sat, 16 Jul 2016 01:29:13 +0000 (21:29 -0400)]
#27522: break unintended cycle in feedparser.

Patch by Costas.

8 years agoMerge for #26696
Brett Cannon [Fri, 15 Jul 2016 19:16:42 +0000 (12:16 -0700)]
Merge for #26696

8 years agoIssue #26696: Document collections.abc.ByteString.
Brett Cannon [Fri, 15 Jul 2016 19:16:18 +0000 (12:16 -0700)]
Issue #26696: Document collections.abc.ByteString.

Thanks to Xiang Zhang for the patch.

8 years agoMerge from 3.5
Steve Dower [Fri, 15 Jul 2016 19:01:07 +0000 (12:01 -0700)]
Merge from 3.5

8 years agoFix building tcl/tk with only the VC build tools installed.
Steve Dower [Fri, 15 Jul 2016 18:55:52 +0000 (11:55 -0700)]
Fix building tcl/tk with only the VC build tools installed.

8 years agoMerge for #27083
Brett Cannon [Fri, 15 Jul 2016 18:55:21 +0000 (11:55 -0700)]
Merge for #27083

8 years agoIssue #27083: Respect the PYTHONCASEOK environment variable under
Brett Cannon [Fri, 15 Jul 2016 18:54:38 +0000 (11:54 -0700)]
Issue #27083: Respect the PYTHONCASEOK environment variable under
Windows.

Originally only b'PYTHONCASEOK' was being checked for in os.environ,
but that won't work under Windows where all environment variables are
strings (on OS X they are bytes).

Thanks to Eryk Sun for the bug report.

8 years agoFix a failing test introduced as part of issue #27512
Brett Cannon [Fri, 15 Jul 2016 18:26:53 +0000 (11:26 -0700)]
Fix a failing test introduced as part of issue #27512

8 years agoMerge for #26844
Brett Cannon [Fri, 15 Jul 2016 17:59:11 +0000 (10:59 -0700)]
Merge for #26844

8 years agoIssue #26844: Fix imp.find_module() to have the exception related to
Brett Cannon [Fri, 15 Jul 2016 17:58:54 +0000 (10:58 -0700)]
Issue #26844: Fix imp.find_module() to have the exception related to
type issues be about 'path' instead of 'name'.

Thanks to Lev Maximov for the patch.

8 years agoIssue #27512: Don't segfault when os.fspath() calls an object whose
Brett Cannon [Fri, 15 Jul 2016 17:41:49 +0000 (10:41 -0700)]
Issue #27512: Don't segfault when os.fspath() calls an object whose
__fspath__() raises an exception.

Thanks to Xiang Zhang for the patch.

8 years agoIssue #27518: Merge from 3.5
Berker Peksag [Fri, 15 Jul 2016 13:13:05 +0000 (16:13 +0300)]
Issue #27518: Merge from 3.5

8 years agoIssue #27518: Fix typo in Grammar/Grammar
Berker Peksag [Fri, 15 Jul 2016 13:12:39 +0000 (16:12 +0300)]
Issue #27518: Fix typo in Grammar/Grammar

Patch by Stéphane Wirtel.

8 years agoIssue #25507: Move 4 objects from pyshell to run and switch inports.
Terry Jan Reedy [Fri, 15 Jul 2016 06:43:03 +0000 (02:43 -0400)]
Issue #25507: Move 4 objects from pyshell to run and switch inports.
This removes one problem inport and reduces len(sys.modules) by 37.

8 years agomerge 3.5 (#27514)
Benjamin Peterson [Fri, 15 Jul 2016 05:02:09 +0000 (22:02 -0700)]
merge 3.5 (#27514)

8 years agomake too many nested blocks be a SyntaxError instead of a SystemError (closes #27514)
Benjamin Peterson [Fri, 15 Jul 2016 05:00:03 +0000 (22:00 -0700)]
make too many nested blocks be a SyntaxError instead of a SystemError (closes #27514)

Patch by Ammar Askar.

8 years agoIssue #27180: Merge from 3.5
Berker Peksag [Thu, 14 Jul 2016 04:45:24 +0000 (07:45 +0300)]
Issue #27180: Merge from 3.5

8 years agoIssue #27180: Clarify Path.rename() behavior on Unix systems
Berker Peksag [Thu, 14 Jul 2016 04:44:59 +0000 (07:44 +0300)]
Issue #27180: Clarify Path.rename() behavior on Unix systems

Patch by Evelyn Mitchell.

8 years agoIssue #27455: Merge from 3.5
Berker Peksag [Thu, 14 Jul 2016 04:33:16 +0000 (07:33 +0300)]
Issue #27455: Merge from 3.5

8 years agoIssue #27455: Improve examples in tkinter documentation
Berker Peksag [Thu, 14 Jul 2016 04:32:43 +0000 (07:32 +0300)]
Issue #27455: Improve examples in tkinter documentation

Patch by John Hagen.

8 years agoBacked out changeset af29d89083b3 (closes #25548) (closes #27498)
Benjamin Peterson [Thu, 14 Jul 2016 04:13:29 +0000 (21:13 -0700)]
Backed out changeset af29d89083b3 (closes #25548) (closes #27498)

8 years agoIssue #27369: Merge test_pyexpat from 3.5
Martin Panter [Thu, 14 Jul 2016 03:36:53 +0000 (03:36 +0000)]
Issue #27369: Merge test_pyexpat from 3.5

8 years agoIssue #27369: Merge test_pyexpat from 3.4 into 3.5
Martin Panter [Thu, 14 Jul 2016 03:35:15 +0000 (03:35 +0000)]
Issue #27369: Merge test_pyexpat from 3.4 into 3.5

8 years agoMerge from 3.5
Steve Dower [Thu, 14 Jul 2016 02:58:47 +0000 (19:58 -0700)]
Merge from 3.5

8 years agoFixes build order and lingering intermediate files.
Steve Dower [Thu, 14 Jul 2016 02:58:21 +0000 (19:58 -0700)]
Fixes build order and lingering intermediate files.