]> granicus.if.org Git - python/log
python
8 years agoIssue #24637: Document that locals can be any mapping object
Berker Peksag [Sat, 13 Aug 2016 02:37:49 +0000 (05:37 +0300)]
Issue #24637: Document that locals can be any mapping object

This behavior is already tested in test_general_eval in
Lib/test/test_builtin.py

Patch by Matthew Keeter.

8 years agoIssue #27712: Fix some typos in the import docs.
Brett Cannon [Fri, 12 Aug 2016 17:56:48 +0000 (10:56 -0700)]
Issue #27712: Fix some typos in the import docs.

Thanks to Xiang Zhang for the patch.

8 years agoIssue 27719: Remove a doc example that is not applicable in Python 3
Raymond Hettinger [Fri, 12 Aug 2016 16:43:59 +0000 (09:43 -0700)]
Issue 27719:  Remove a doc example that is not applicable in Python 3

8 years agoIssue #25825: Fix references to Modules/python.exp
Martin Panter [Fri, 12 Aug 2016 13:21:05 +0000 (13:21 +0000)]
Issue #25825: Fix references to Modules/python.exp

These were incorrectly changed in revision 88a532a31eb3.

8 years agoIssue #27745: Fix some typos in Argument Clinic howto, by Lele Gaifax
Martin Panter [Fri, 12 Aug 2016 12:02:03 +0000 (12:02 +0000)]
Issue #27745: Fix some typos in Argument Clinic howto, by Lele Gaifax

8 years agoIssue #26741: Clean up subprocess.Popen object in test_poll
Martin Panter [Fri, 12 Aug 2016 11:59:52 +0000 (11:59 +0000)]
Issue #26741: Clean up subprocess.Popen object in test_poll

8 years agoClose HTTP connections and responses in tests to avoid ResourceWarnings
Martin Panter [Fri, 12 Aug 2016 11:59:52 +0000 (11:59 +0000)]
Close HTTP connections and responses in tests to avoid ResourceWarnings

8 years agoIssue #27714: text_textview now passes when re-run in the same process
Terry Jan Reedy [Wed, 10 Aug 2016 20:52:24 +0000 (16:52 -0400)]
Issue #27714: text_textview now passes when re-run in the same process
because test_idle failed while running with test -w (and no -jn).

8 years agoCorrect misspellings of ISO-8859
Martin Panter [Wed, 10 Aug 2016 05:25:16 +0000 (05:25 +0000)]
Correct misspellings of ISO-8859

8 years agoIssue #27200: Fix doctests in Doc/library/hashlib.rst
Zachary Ware [Wed, 10 Aug 2016 06:05:19 +0000 (01:05 -0500)]
Issue #27200: Fix doctests in Doc/library/hashlib.rst

8 years agoIssue #27210: Fix doctests for a few modules.
Zachary Ware [Wed, 10 Aug 2016 05:59:59 +0000 (00:59 -0500)]
Issue #27210: Fix doctests for a few modules.

Initial patch by Jelle Zijlstra.

8 years agoIssue #27209: Fix doctests in Doc/library/email*.rst
Zachary Ware [Wed, 10 Aug 2016 05:39:41 +0000 (00:39 -0500)]
Issue #27209: Fix doctests in Doc/library/email*.rst

Patch by Jelle Zijlstra.

8 years agoIssue #27208: Fix doctest in Doc/library/traceback.rst
Zachary Ware [Wed, 10 Aug 2016 05:35:27 +0000 (00:35 -0500)]
Issue #27208: Fix doctest in Doc/library/traceback.rst

Patch by Jelle Zijlstra.

8 years agoIssue #27207: Fix doctests in Doc/whatsnew/3.2.rst
Zachary Ware [Wed, 10 Aug 2016 05:30:41 +0000 (00:30 -0500)]
Issue #27207: Fix doctests in Doc/whatsnew/3.2.rst

Initial patch by Jelle Zijlstra.

8 years agoIssue #27206: Fix doctests in Doc/tutorial.
Zachary Ware [Tue, 9 Aug 2016 22:44:52 +0000 (17:44 -0500)]
Issue #27206: Fix doctests in Doc/tutorial.

Patch by Jelle Zijlstra.

8 years agoIssue #27205: Fix doctests in Doc/library/collections.rst.
Zachary Ware [Tue, 9 Aug 2016 22:38:22 +0000 (17:38 -0500)]
Issue #27205: Fix doctests in Doc/library/collections.rst.

Initial patch by Jelle Zijlstra.

8 years agoIssue #27722: Fix default for touch method's 'mode' argument
Zachary Ware [Tue, 9 Aug 2016 22:10:39 +0000 (17:10 -0500)]
Issue #27722: Fix default for touch method's 'mode' argument

8 years agoIssue #27204: Fix doctests in Doc/howto
Zachary Ware [Tue, 9 Aug 2016 21:47:04 +0000 (16:47 -0500)]
Issue #27204: Fix doctests in Doc/howto

Patch by Jelle Zijlstra.

8 years agoCorrect signatures for a couple of logging handlers
Zachary Ware [Tue, 9 Aug 2016 21:20:41 +0000 (16:20 -0500)]
Correct signatures for a couple of logging handlers

Reported by Oleg Gromyak on docs@

8 years agoCloses #21999: Handled empty strings correctly when in POSIX mode.
Vinay Sajip [Tue, 9 Aug 2016 14:04:49 +0000 (15:04 +0100)]
Closes #21999: Handled empty strings correctly when in POSIX mode.

8 years agoIssue #27700: Document AbstractEventLoop, not BaseEventLoop.
Guido van Rossum [Mon, 8 Aug 2016 16:41:21 +0000 (09:41 -0700)]
Issue #27700: Document AbstractEventLoop, not BaseEventLoop.

8 years agoFix use of default reST role
Berker Peksag [Mon, 8 Aug 2016 10:34:49 +0000 (13:34 +0300)]
Fix use of default reST role

8 years agoIssue #23322: Remove outdated reference to an example in parser docs
Berker Peksag [Mon, 8 Aug 2016 10:07:08 +0000 (13:07 +0300)]
Issue #23322: Remove outdated reference to an example in parser docs

Initial patch by Sahil Chelaramani.

8 years agoUse asyncio.gather instead of asyncio.wait in example.
Andrew Svetlov [Mon, 8 Aug 2016 00:10:39 +0000 (03:10 +0300)]
Use asyncio.gather instead of asyncio.wait in example.

gather will raise exception in case of problem but wait just returns done and pending lists of futures.
For getting error every future result should be retrieved, which is boring and error prone.

8 years agoIssue #26750: unittest.mock.create_autospec() now works properly
Gregory P. Smith [Sun, 7 Aug 2016 15:52:26 +0000 (08:52 -0700)]
Issue #26750: unittest.mock.create_autospec() now works properly
for subclasses of property() and other data descriptors.

8 years agoBetter docs for typing.Any by Michael Lee. Fixes issue #27688.
Guido van Rossum [Sat, 6 Aug 2016 20:46:48 +0000 (13:46 -0700)]
Better docs for typing.Any by Michael Lee. Fixes issue #27688.

8 years agoIssue #18548: Fix unittest.TestSuite() example
Berker Peksag [Sat, 6 Aug 2016 00:00:03 +0000 (03:00 +0300)]
Issue #18548: Fix unittest.TestSuite() example

Initial patch by py.user.

8 years agoIssue #20160: Merged fix from 3.4.
Vinay Sajip [Fri, 5 Aug 2016 20:44:15 +0000 (21:44 +0100)]
Issue #20160: Merged fix from 3.4.

8 years agoIssue #20160: Merged fix from 3.3.
Vinay Sajip [Fri, 5 Aug 2016 20:43:25 +0000 (21:43 +0100)]
Issue #20160: Merged fix from 3.3.

8 years agoIssue #20160: Handled passing of large structs to callbacks correctly.
Vinay Sajip [Fri, 5 Aug 2016 20:24:27 +0000 (21:24 +0100)]
Issue #20160: Handled passing of large structs to callbacks correctly.

8 years agoAdd typing.Generator docs, by Michael Lee.
Guido van Rossum [Fri, 5 Aug 2016 19:56:09 +0000 (12:56 -0700)]
Add typing.Generator docs, by Michael Lee.

8 years agoFix spelling and grammar in documentation and code comments
Martin Panter [Thu, 4 Aug 2016 13:07:31 +0000 (13:07 +0000)]
Fix spelling and grammar in documentation and code comments

8 years agoFix half-finished sentence.
Zachary Ware [Thu, 4 Aug 2016 17:13:47 +0000 (12:13 -0500)]
Fix half-finished sentence.

Reported by Linda Pescatore on docs@.

8 years agoFix indentation of versionadded directive in IPv4Address.reverse_pointer docs
Berker Peksag [Thu, 4 Aug 2016 14:25:40 +0000 (17:25 +0300)]
Fix indentation of versionadded directive in IPv4Address.reverse_pointer docs

8 years agoIndent ipaddress.ip_address() example correctly
Berker Peksag [Thu, 4 Aug 2016 14:21:46 +0000 (17:21 +0300)]
Indent ipaddress.ip_address() example correctly

8 years agohttps link to the bug tracker (closes #27670)
Benjamin Peterson [Thu, 4 Aug 2016 05:01:32 +0000 (22:01 -0700)]
https link to the bug tracker (closes #27670)

8 years agoMerge 3.3
Donald Stufft [Wed, 3 Aug 2016 22:48:17 +0000 (18:48 -0400)]
Merge 3.3

8 years agoSwitch upload.pypi.io to upload.pypi.org
Donald Stufft [Wed, 3 Aug 2016 22:43:38 +0000 (18:43 -0400)]
Switch upload.pypi.io to upload.pypi.org

8 years ago[merge from 3.3] Prevent HTTPoxy attack (CVE-2016-1000110)
Senthil Kumaran [Sun, 31 Jul 2016 06:34:34 +0000 (23:34 -0700)]
[merge from 3.3] Prevent HTTPoxy attack (CVE-2016-1000110)

Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which
indicates that the script is in CGI mode.

Issue #27568 Reported and patch contributed by Rémi Rampin.

8 years agoPrevent HTTPoxy attack (CVE-2016-1000110)
Senthil Kumaran [Sun, 31 Jul 2016 06:24:16 +0000 (23:24 -0700)]
Prevent HTTPoxy attack (CVE-2016-1000110)

Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which
indicates that the script is in CGI mode.

Issue #27568 Reported and patch contributed by Rémi Rampin.

8 years agoIssue #27641: Comment out regeneration rules when cross compiling
Martin Panter [Fri, 29 Jul 2016 05:52:32 +0000 (05:52 +0000)]
Issue #27641: Comment out regeneration rules when cross compiling

8 years agoIssue #24278: Explain how argument parsing output buffers are managed
Martin Panter [Wed, 3 Aug 2016 14:35:05 +0000 (14:35 +0000)]
Issue #24278: Explain how argument parsing output buffers are managed

8 years agoMerge 3.4
Donald Stufft [Wed, 3 Aug 2016 22:49:19 +0000 (18:49 -0400)]
Merge 3.4

8 years agoIssue #23710: Update PyObject_HEAD documentation
Berker Peksag [Wed, 3 Aug 2016 09:58:49 +0000 (12:58 +0300)]
Issue #23710: Update PyObject_HEAD documentation

Since PEP 3123, PyObject_HEAD only has one field named ob_base.
Users now need to use the Py_TYPE macro instead of self->ob_type.

Initial patch by Ammar Askar.

8 years agoIssue #20767: Fix -R option for FreeBSD/clang.
Stefan Krah [Wed, 3 Aug 2016 09:18:26 +0000 (11:18 +0200)]
Issue #20767: Fix -R option for FreeBSD/clang.

8 years agoIssue #26576: Clarify that the @deco syntax is not always an equivalent of f = deco(f)
Berker Peksag [Wed, 3 Aug 2016 07:17:21 +0000 (10:17 +0300)]
Issue #26576: Clarify that the @deco syntax is not always an equivalent of f = deco(f)

Patch by Chris Angelico.

8 years agoIssue #27241: Catch exception when running pstats as main.
Stefan Krah [Tue, 2 Aug 2016 20:30:24 +0000 (22:30 +0200)]
Issue #27241: Catch exception when running pstats as main.

8 years agomerge heads
Senthil Kumaran [Sun, 31 Jul 2016 06:48:19 +0000 (23:48 -0700)]
merge heads

8 years ago[merge from 3.4] - Prevent HTTPoxy attack (CVE-2016-1000110)
Senthil Kumaran [Sun, 31 Jul 2016 06:39:06 +0000 (23:39 -0700)]
[merge from 3.4] - Prevent HTTPoxy attack (CVE-2016-1000110)

Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which
indicates that the script is in CGI mode.

Issue #27568 Reported and patch contributed by Rémi Rampin.

8 years agoall SCHED_ constants are optional (closes #27656)
Benjamin Peterson [Sun, 31 Jul 2016 06:21:50 +0000 (23:21 -0700)]
all SCHED_ constants are optional (closes #27656)

8 years agoIssue #27453: CPP invocation in configure must use CPPFLAGS.
Xavier de Gaye [Sat, 30 Jul 2016 09:28:35 +0000 (11:28 +0200)]
Issue #27453: CPP invocation in configure must use CPPFLAGS.
Patch by Chi Hsuan Yen.

8 years agoSilence another "default role used" warning in typing.rst
Berker Peksag [Sat, 30 Jul 2016 00:47:52 +0000 (03:47 +0300)]
Silence another "default role used" warning in typing.rst

This should make ware-docs green again.

8 years agoFix whitespace.
Guido van Rossum [Fri, 29 Jul 2016 22:41:17 +0000 (15:41 -0700)]
Fix whitespace.

8 years agoExpand documentation about type aliases and NewType in the typing module.
Guido van Rossum [Fri, 29 Jul 2016 22:38:14 +0000 (15:38 -0700)]
Expand documentation about type aliases and NewType in the typing module.

By Michael Lee.

8 years agoIssue #26462: Doc: reduce literal_block warnings, fix syntax highlighting.
Martin Panter [Tue, 26 Jul 2016 09:18:21 +0000 (11:18 +0200)]
Issue #26462: Doc: reduce literal_block warnings, fix syntax highlighting.

Patch by Julien Palard.

8 years agoCorrect typo in Windows docs.
Zachary Ware [Fri, 29 Jul 2016 00:00:53 +0000 (19:00 -0500)]
Correct typo in Windows docs.

Found by Jack Copper on docs@

8 years agoNEWS: tag security related changes with [Security] prefix
Victor Stinner [Thu, 28 Jul 2016 15:06:25 +0000 (17:06 +0200)]
NEWS: tag security related changes with [Security] prefix

Issue #27404.

8 years agoIssue #23943: Restore extra fixes lost in merge 4fb2075952a4
Martin Panter [Thu, 28 Jul 2016 03:48:29 +0000 (03:48 +0000)]
Issue #23943: Restore extra fixes lost in merge 4fb2075952a4

8 years agoIssue #27626: Spelling fixes in docs, comments and internal names
Martin Panter [Thu, 28 Jul 2016 01:11:04 +0000 (01:11 +0000)]
Issue #27626: Spelling fixes in docs, comments and internal names

Based on patch by Ville Skyttä.

8 years agoIssue #27490: Do not build pgen when cross-compiling
Martin Panter [Thu, 28 Jul 2016 01:28:27 +0000 (01:28 +0000)]
Issue #27490: Do not build pgen when cross-compiling

The dependendency on the $(PGEN) variable must only be
set when not cross-compiling. When cross-compiling,
$(PGEN) will not be used, so no need to build it.

Patch by Thomas Perl.

8 years agoctypes: fix CThunkObject_new()
Victor Stinner [Wed, 27 Jul 2016 14:58:47 +0000 (16:58 +0200)]
ctypes: fix CThunkObject_new()

* Initialize restype and flags fields to fix a crash when Python runs on a
  read-only file system
* Use Py_ssize_t type rather than int for the "i" iterator variable
* Reorder assignements to be able to more easily check if all fields are
  initialized

Issue #11048. Initial patch written by Marcin Bachry.

8 years agoIssue #27633: Fix usage of versionchanged directive in email.parser.rst
Berker Peksag [Wed, 27 Jul 2016 10:32:54 +0000 (13:32 +0300)]
Issue #27633: Fix usage of versionchanged directive in email.parser.rst

Patch by Florian Preinstorfer.

8 years agoIssue #26662: Set PYTHON_FOR_GEN in configure
Xavier de Gaye [Tue, 26 Jul 2016 10:48:08 +0000 (12:48 +0200)]
Issue #26662: Set PYTHON_FOR_GEN in configure
as the Python program to be used for file generation during the build.

8 years agoIssue #26638: Don’t link 2to3 -l option to the tarfile -l option
Martin Panter [Tue, 26 Jul 2016 06:46:06 +0000 (06:46 +0000)]
Issue #26638: Don’t link 2to3 -l option to the tarfile -l option

8 years agoIssue #27581: Don’t rely on overflow wrapping in PySequence_Tuple()
Martin Panter [Mon, 25 Jul 2016 02:30:05 +0000 (02:30 +0000)]
Issue #27581: Don’t rely on overflow wrapping in PySequence_Tuple()

Patch by Xiang Zhang.

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 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 #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 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: 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 #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: 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 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 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 #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 #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: 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: 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 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: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: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:45:29 +0000 (20:45 -0700)]
Closes #27545: Remove pyshellext.vcxproj from pcbuild.proj

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 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: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: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: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:24:17 +0000 (11:24 +0300)]
Issue #17711: Fixed unpickling by the persistent ID with protocol 0.
Original patch by Alexandre Vassalotti.

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: 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 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 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 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 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 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 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 #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 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: 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: 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.