python
8 years agoIssue #28387: Fixed possible crash in _io.TextIOWrapper deallocator when
Serhiy Storchaka [Thu, 3 Nov 2016 13:38:17 +0000 (15:38 +0200)]
Issue #28387: Fixed possible crash in _io.TextIOWrapper deallocator when
the garbage collector is invoked in other thread.
Based on patch by Sebastian Cufre.

8 years agoIssue #28387: Fixed possible crash in _io.TextIOWrapper deallocator when
Serhiy Storchaka [Thu, 3 Nov 2016 13:37:01 +0000 (15:37 +0200)]
Issue #28387: Fixed possible crash in _io.TextIOWrapper deallocator when
the garbage collector is invoked in other thread.
Based on patch by Sebastian Cufre.

8 years agoAllow ensurepip even when ssl is unavailable
Donald Stufft [Thu, 3 Nov 2016 00:32:37 +0000 (20:32 -0400)]
Allow ensurepip even when ssl is unavailable

8 years agoMerge updated pip/setuptools from 3.5
Donald Stufft [Wed, 2 Nov 2016 19:55:01 +0000 (15:55 -0400)]
Merge updated pip/setuptools from 3.5

8 years agoMerge new pip/setuptools from 3.4
Donald Stufft [Wed, 2 Nov 2016 19:53:58 +0000 (15:53 -0400)]
Merge new pip/setuptools from 3.4

8 years agoUpgrade pip to 9.0 and setuptools to 28.7.1
Donald Stufft [Wed, 2 Nov 2016 19:42:49 +0000 (15:42 -0400)]
Upgrade pip to 9.0 and setuptools to 28.7.1

8 years agoFixed hyperlinks for tarfile CLI options.
Serhiy Storchaka [Wed, 2 Nov 2016 19:05:49 +0000 (21:05 +0200)]
Fixed hyperlinks for tarfile CLI options.

8 years agoFixed hyperlinks for tarfile CLI options.
Serhiy Storchaka [Wed, 2 Nov 2016 19:04:45 +0000 (21:04 +0200)]
Fixed hyperlinks for tarfile CLI options.

8 years agoIssue #28513: Documented command-line interface of zipfile.
Serhiy Storchaka [Wed, 2 Nov 2016 10:11:32 +0000 (12:11 +0200)]
Issue #28513: Documented command-line interface of zipfile.

8 years agoIssue #28513: Documented command-line interface of zipfile.
Serhiy Storchaka [Wed, 2 Nov 2016 10:06:15 +0000 (12:06 +0200)]
Issue #28513: Documented command-line interface of zipfile.

8 years agoIssue #28583: PyDict_SetDefault didn't combine split table when needed.
INADA Naoki [Wed, 2 Nov 2016 09:45:16 +0000 (18:45 +0900)]
Issue #28583: PyDict_SetDefault didn't combine split table when needed.

Patch by Xiang Zhang.

8 years agoMinor code beautification
Raymond Hettinger [Wed, 2 Nov 2016 05:23:11 +0000 (22:23 -0700)]
Minor code beautification

8 years agoAdd cum_weights example (simulation of a cumulative binomial distribution).
Raymond Hettinger [Tue, 1 Nov 2016 05:53:52 +0000 (22:53 -0700)]
Add cum_weights example (simulation of a cumulative binomial distribution).

8 years agoStart 3.6.0b4
Ned Deily [Tue, 1 Nov 2016 04:35:39 +0000 (00:35 -0400)]
Start 3.6.0b4

8 years agoAdded tag v3.6.0b3 for changeset 8345e066c0ed
Ned Deily [Tue, 1 Nov 2016 00:45:16 +0000 (20:45 -0400)]
Added tag v3.6.0b3 for changeset 8345e066c0ed

8 years agoVersion bump for 3.6.0b3 v3.6.0b3
Ned Deily [Tue, 1 Nov 2016 00:43:30 +0000 (20:43 -0400)]
Version bump for 3.6.0b3

8 years agoUpdate pydoc topics for 3.6.0b3
Ned Deily [Tue, 1 Nov 2016 00:39:38 +0000 (20:39 -0400)]
Update pydoc topics for 3.6.0b3

8 years agoIssue #28248: merge from 3.5
Ned Deily [Mon, 31 Oct 2016 23:54:17 +0000 (19:54 -0400)]
Issue #28248: merge from 3.5

8 years agoIssue #28248: Update macOS installer build to use OpenSSL 1.0.2j.
Ned Deily [Mon, 31 Oct 2016 23:51:58 +0000 (19:51 -0400)]
Issue #28248: Update macOS installer build to use OpenSSL 1.0.2j.
Original patch by Mariatta Wijaya.

8 years agoIssue #28028: Update OS X installers to use SQLite 3.14.2.
Ned Deily [Mon, 31 Oct 2016 23:32:48 +0000 (19:32 -0400)]
Issue #28028: Update OS X installers to use SQLite 3.14.2.
Patch by Mariatta Wijaya.

8 years agoIssue 28128: Print out better error/warning messages for invalid string escapes....
Eric V. Smith [Mon, 31 Oct 2016 18:46:26 +0000 (14:46 -0400)]
Issue 28128: Print out better error/warning messages for invalid string escapes. Backport to 3.6.

8 years agoBacked out changeset 6b88dfc7b25d
Serhiy Storchaka [Mon, 31 Oct 2016 18:14:05 +0000 (20:14 +0200)]
Backed out changeset 6b88dfc7b25d

8 years agoIssue #28553: Fix logic error in example code of int.to_bytes doc.
INADA Naoki [Mon, 31 Oct 2016 08:42:10 +0000 (17:42 +0900)]
Issue #28553: Fix logic error in example code of int.to_bytes doc.

8 years agoIssue #28553: Fix logic error in example code of int.to_bytes doc.
INADA Naoki [Mon, 31 Oct 2016 08:41:47 +0000 (17:41 +0900)]
Issue #28553: Fix logic error in example code of int.to_bytes doc.

8 years agoIssue #27517: LZMA compressor and decompressor no longer raise exceptions if
Serhiy Storchaka [Mon, 31 Oct 2016 06:31:13 +0000 (08:31 +0200)]
Issue #27517: LZMA compressor and decompressor no longer raise exceptions if
given empty data twice.  Patch by Benjamin Fogle.

8 years agoIssue #27517: LZMA compressor and decompressor no longer raise exceptions if
Serhiy Storchaka [Mon, 31 Oct 2016 06:30:09 +0000 (08:30 +0200)]
Issue #27517: LZMA compressor and decompressor no longer raise exceptions if
given empty data twice.  Patch by Benjamin Fogle.

8 years agoUpdate the f-string test broken in issue #28385.
Serhiy Storchaka [Mon, 31 Oct 2016 06:13:00 +0000 (08:13 +0200)]
Update the f-string test broken in issue #28385.

8 years agoIssue #28541: Improve test coverage for encoding detection in json library.
Serhiy Storchaka [Sun, 30 Oct 2016 21:00:01 +0000 (23:00 +0200)]
Issue #28541: Improve test coverage for encoding detection in json library.
Original patch by Eric Appelt.

8 years agoIssue #28549: Fixed segfault in curses's addch() with ncurses6.
Serhiy Storchaka [Sun, 30 Oct 2016 20:53:09 +0000 (22:53 +0200)]
Issue #28549: Fixed segfault in curses's addch() with ncurses6.

8 years agoIssue #28549: Fixed segfault in curses's addch() with ncurses6.
Serhiy Storchaka [Sun, 30 Oct 2016 20:52:06 +0000 (22:52 +0200)]
Issue #28549: Fixed segfault in curses's addch() with ncurses6.

8 years agoIssue #28449: tarfile.open() with mode "r" or "r:" now tries to open a tar
Serhiy Storchaka [Sun, 30 Oct 2016 18:56:23 +0000 (20:56 +0200)]
Issue #28449: tarfile.open() with mode "r" or "r:" now tries to open a tar
file with compression before trying to open it without compression.  Otherwise
it had 50% chance failed with ignore_zeros=True.

8 years agoIssue #28449: tarfile.open() with mode "r" or "r:" now tries to open a tar
Serhiy Storchaka [Sun, 30 Oct 2016 18:52:29 +0000 (20:52 +0200)]
Issue #28449: tarfile.open() with mode "r" or "r:" now tries to open a tar
file with compression before trying to open it without compression.  Otherwise
it had 50% chance failed with ignore_zeros=True.

8 years agoIssue #28385: An error message when non-empty format spec is passed to
Serhiy Storchaka [Sun, 30 Oct 2016 17:37:46 +0000 (19:37 +0200)]
Issue #28385: An error message when non-empty format spec is passed to
object.__format__ now contains the name of actual type.

8 years agoIssue #28385: An error message when non-empty format spec is passed to
Serhiy Storchaka [Sun, 30 Oct 2016 17:33:54 +0000 (19:33 +0200)]
Issue #28385: An error message when non-empty format spec is passed to
object.__format__ now contains the name of actual type.

8 years ago- Issue #23262: The webbrowser module now supports Firefox 36+ and derived
Serhiy Storchaka [Sun, 30 Oct 2016 17:21:10 +0000 (19:21 +0200)]
- Issue #23262: The webbrowser module now supports Firefox 36+ and derived
  browsers.  Based on patch by Oleg Broytman.

8 years agoIssue #23262: The webbrowser module now supports Firefox 36+ and derived
Serhiy Storchaka [Sun, 30 Oct 2016 17:16:33 +0000 (19:16 +0200)]
Issue #23262: The webbrowser module now supports Firefox 36+ and derived
browsers.  Based on patch by Oleg Broytman.

8 years agoIssue #27939: Fixed bugs in tkinter.ttk.LabeledScale and tkinter.Scale caused
Serhiy Storchaka [Sun, 30 Oct 2016 16:52:02 +0000 (18:52 +0200)]
Issue #27939: Fixed bugs in tkinter.ttk.LabeledScale and tkinter.Scale caused
by representing the scale as float value internally in Tk.  tkinter.IntVar
now works if float value is set to underlying Tk variable.

8 years agoIssue #27939: Fixed bugs in tkinter.ttk.LabeledScale and tkinter.Scale caused
Serhiy Storchaka [Sun, 30 Oct 2016 16:49:52 +0000 (18:49 +0200)]
Issue #27939: Fixed bugs in tkinter.ttk.LabeledScale and tkinter.Scale caused
by representing the scale as float value internally in Tk.  tkinter.IntVar
now works if float value is set to underlying Tk variable.

8 years agoIssue #28561: Clean up UTF-8 encoder: remove dead code, update comments, etc.
Serhiy Storchaka [Sun, 30 Oct 2016 16:25:27 +0000 (18:25 +0200)]
Issue #28561: Clean up UTF-8 encoder: remove dead code, update comments, etc.
Patch by Xiang Zhang.

8 years agoMerge from 3.5.
Serhiy Storchaka [Sun, 30 Oct 2016 15:25:45 +0000 (17:25 +0200)]
Merge from 3.5.

8 years agoBacked out changeset 9f7505019767 (issue #27275).
Serhiy Storchaka [Sun, 30 Oct 2016 15:17:24 +0000 (17:17 +0200)]
Backed out changeset 9f7505019767 (issue #27275).

8 years agoIssue #26638: Merge option warning fixes from 3.5 into 3.6
Martin Panter [Sun, 30 Oct 2016 04:21:23 +0000 (04:21 +0000)]
Issue #26638: Merge option warning fixes from 3.5 into 3.6

8 years agoIssue #26638: Work around more CLI options that can’t be linked
Martin Panter [Sun, 30 Oct 2016 04:20:23 +0000 (04:20 +0000)]
Issue #26638: Work around more CLI options that can’t be linked

* Cannot seem to link directly to main options from the “unittest” module,
  because that module has its own set of options
* Mask out linking for options that no longer exist in Python 3

8 years agoIssue #26638: Mask undefined CLI options to defeat new Sphinx warnings
Martin Panter [Sun, 30 Oct 2016 04:20:17 +0000 (04:20 +0000)]
Issue #26638: Mask undefined CLI options to defeat new Sphinx warnings

8 years agoIssue #18844: Strengthen tests to include a case with unequal weighting
Raymond Hettinger [Sun, 30 Oct 2016 00:42:36 +0000 (17:42 -0700)]
Issue #18844:  Strengthen tests to include a case with unequal weighting

8 years agoIssue #18844: Make the various ways for specifing weights produce the same results.
Raymond Hettinger [Sat, 29 Oct 2016 23:55:36 +0000 (16:55 -0700)]
Issue #18844: Make the various ways for specifing weights produce the same results.

8 years agoIssue #28556: updates to typing.py (add Coroutine, prohibit Generic[T]()) (3.5->3.6)
Guido van Rossum [Sat, 29 Oct 2016 23:05:27 +0000 (16:05 -0700)]
Issue #28556: updates to typing.py (add Coroutine, prohibit Generic[T]()) (3.5->3.6)

8 years agoIssue #28556: updates to typing.py (add Coroutine, prohibit Generic[T]())
Guido van Rossum [Sat, 29 Oct 2016 23:05:26 +0000 (16:05 -0700)]
Issue #28556: updates to typing.py (add Coroutine, prohibit Generic[T]())

8 years agoIssue #28556: updates to typing.py (fix copy, deepcopy, pickle) (3.5->3.6)
Guido van Rossum [Sat, 29 Oct 2016 19:44:30 +0000 (12:44 -0700)]
Issue #28556: updates to typing.py (fix copy, deepcopy, pickle) (3.5->3.6)

8 years agoIssue #28556: updates to typing.py (fix copy, deepcopy, pickle)
Guido van Rossum [Sat, 29 Oct 2016 19:44:29 +0000 (12:44 -0700)]
Issue #28556: updates to typing.py (fix copy, deepcopy, pickle)

8 years agoAdds missing _asyncio.pyd to installer and generally tidies pyd management.
Steve Dower [Sat, 29 Oct 2016 16:23:39 +0000 (09:23 -0700)]
Adds missing _asyncio.pyd to installer and generally tidies pyd management.

8 years agoIssue #28556: updates to typing.py (3.5->3.6)
Guido van Rossum [Sat, 29 Oct 2016 15:54:57 +0000 (08:54 -0700)]
Issue #28556: updates to typing.py (3.5->3.6)

8 years agoIssue #28556: updates to typing.py
Guido van Rossum [Sat, 29 Oct 2016 15:54:56 +0000 (08:54 -0700)]
Issue #28556: updates to typing.py

8 years agoMakes test_underpth* tests more robust by copying the executable.
Steve Dower [Sat, 29 Oct 2016 15:50:31 +0000 (08:50 -0700)]
Makes test_underpth* tests more robust by copying the executable.

8 years agoIssue #28444: Merge with 3.5.
Xavier de Gaye [Sat, 29 Oct 2016 14:59:32 +0000 (16:59 +0200)]
Issue #28444: Merge with 3.5.

8 years agoIssue #28444: Fix missing extensions modules when cross compiling.
Xavier de Gaye [Sat, 29 Oct 2016 14:57:20 +0000 (16:57 +0200)]
Issue #28444: Fix missing extensions modules when cross compiling.

8 years agoIssue #28199: Microoptimized dict resizing. Based on patch by Naoki Inada.
Serhiy Storchaka [Sat, 29 Oct 2016 07:49:43 +0000 (10:49 +0300)]
Issue #28199: Microoptimized dict resizing.  Based on patch by Naoki Inada.

8 years agoIssue #28544: Fix inefficient call to _PyObject_CallMethodId()
Victor Stinner [Sat, 29 Oct 2016 07:05:39 +0000 (09:05 +0200)]
Issue #28544: Fix inefficient call to _PyObject_CallMethodId()

"()" format string creates an empty list of argument but requires extra work to
parse the format string.

8 years agoIssue #28544: Pass `PyObject*` to _PyDict_Pop, not `PyDictObject*`
Yury Selivanov [Fri, 28 Oct 2016 23:01:21 +0000 (19:01 -0400)]
Issue #28544: Pass `PyObject*` to _PyDict_Pop, not `PyDictObject*`

8 years agoIssue #28544: Fix compilation of _asynciomodule.c on Windows
Yury Selivanov [Fri, 28 Oct 2016 22:48:50 +0000 (18:48 -0400)]
Issue #28544: Fix compilation of _asynciomodule.c on Windows

8 years agoRemoves incorrect condition from lib_pdb.msi
Steve Dower [Fri, 28 Oct 2016 18:19:42 +0000 (11:19 -0700)]
Removes incorrect condition from lib_pdb.msi

8 years agoRemoves incorrect condition from lib_pdb.msi
Steve Dower [Fri, 28 Oct 2016 18:19:18 +0000 (11:19 -0700)]
Removes incorrect condition from lib_pdb.msi

8 years agoIssue #28544: Fix _asynciomodule.c on Windows
Victor Stinner [Fri, 28 Oct 2016 17:13:52 +0000 (19:13 +0200)]
Issue #28544: Fix _asynciomodule.c on Windows

PyType_Ready() sets the reference to &PyType_Type.

&PyType_Type cannot be resolved at compilation time (not on Windows?).

8 years agoIssue #28544: Implement asyncio.Task in C.
Yury Selivanov [Fri, 28 Oct 2016 16:52:37 +0000 (12:52 -0400)]
Issue #28544: Implement asyncio.Task in C.

This implementation provides additional 10-20% speed boost for
asyncio programs.

The patch also fixes _asynciomodule.c to use Arguments Clinic, and
makes '_schedule_callbacks' an overridable method (as it was in 3.5).

8 years agoMerge heads.
Xavier de Gaye [Fri, 28 Oct 2016 09:40:47 +0000 (11:40 +0200)]
Merge heads.

8 years agoIssue #28046: Fix the removal of the sysconfigdata module
Xavier de Gaye [Fri, 28 Oct 2016 09:22:05 +0000 (11:22 +0200)]
Issue #28046: Fix the removal of the sysconfigdata module
from lib-dynload on install.

8 years agoFixed possible NULL decrefing.
Serhiy Storchaka [Fri, 28 Oct 2016 09:16:21 +0000 (12:16 +0300)]
Fixed possible NULL decrefing.

8 years agoFixed possible NULL decrefing.
Serhiy Storchaka [Fri, 28 Oct 2016 09:14:34 +0000 (12:14 +0300)]
Fixed possible NULL decrefing.

8 years agoIssue #28353: Make test_os.WalkTests.test_walk_bad_dir stable.
Serhiy Storchaka [Fri, 28 Oct 2016 06:18:30 +0000 (09:18 +0300)]
Issue #28353: Make test_os.WalkTests.test_walk_bad_dir stable.

8 years agoIssue #28353: Make test_os.WalkTests.test_walk_bad_dir stable.
Serhiy Storchaka [Fri, 28 Oct 2016 06:17:38 +0000 (09:17 +0300)]
Issue #28353: Make test_os.WalkTests.test_walk_bad_dir stable.

8 years agoIssue #28522: Fixes mishandled buffer reallocation in getpathp.c
Steve Dower [Thu, 27 Oct 2016 21:28:07 +0000 (14:28 -0700)]
Issue #28522: Fixes mishandled buffer reallocation in getpathp.c

8 years agoIssue #22949: Documented that fnmatch.translate() is for use with re.match().
Serhiy Storchaka [Thu, 27 Oct 2016 19:50:15 +0000 (22:50 +0300)]
Issue #22949: Documented that fnmatch.translate() is for use with re.match().

8 years agoIssue #22949: Documented that fnmatch.translate() is for use with re.match().
Serhiy Storchaka [Thu, 27 Oct 2016 19:47:08 +0000 (22:47 +0300)]
Issue #22949: Documented that fnmatch.translate() is for use with re.match().

8 years agoIssue #22493: Updated an example for fnmatch.translate().
Serhiy Storchaka [Thu, 27 Oct 2016 19:44:03 +0000 (22:44 +0300)]
Issue #22493: Updated an example for fnmatch.translate().

8 years agoRevert incorrect file merge from 3.5.
Steve Dower [Thu, 27 Oct 2016 19:14:48 +0000 (12:14 -0700)]
Revert incorrect file merge from 3.5.

8 years agoMerge from 3.5
Steve Dower [Thu, 27 Oct 2016 19:12:24 +0000 (12:12 -0700)]
Merge from 3.5

8 years agoUpdates release build to collect symbols and binaries, and create nuget package.
Steve Dower [Thu, 27 Oct 2016 19:08:45 +0000 (12:08 -0700)]
Updates release build to collect symbols and binaries, and create nuget package.

8 years agoIssue #28496: Mark up constants 0, 1 and -1 that denote return values or
Serhiy Storchaka [Thu, 27 Oct 2016 18:42:15 +0000 (21:42 +0300)]
Issue #28496: Mark up constants 0, 1 and -1 that denote return values or
special input values as literal text.

8 years agoIssue #28496: Mark up constants 0, 1 and -1 that denote return values or
Serhiy Storchaka [Thu, 27 Oct 2016 18:41:19 +0000 (21:41 +0300)]
Issue #28496: Mark up constants 0, 1 and -1 that denote return values or
special input values as literal text.

8 years agoIssue #28426: Deprecated undocumented functions PyUnicode_AsEncodedObject(),
Serhiy Storchaka [Thu, 27 Oct 2016 18:05:49 +0000 (21:05 +0300)]
Issue #28426: Deprecated undocumented functions PyUnicode_AsEncodedObject(),
PyUnicode_AsDecodedObject(), PyUnicode_AsDecodedUnicode() and
PyUnicode_AsEncodedUnicode().

8 years agoIssue #28526: Use PyUnicode_AsEncodedString() instead of
Serhiy Storchaka [Thu, 27 Oct 2016 16:33:05 +0000 (19:33 +0300)]
Issue #28526: Use PyUnicode_AsEncodedString() instead of
PyUnicode_AsEncodedObject() in _curese to ensure that the result
is a bytes object.

8 years agoIssue #28526: Use PyUnicode_AsEncodedString() instead of
Serhiy Storchaka [Thu, 27 Oct 2016 16:31:49 +0000 (19:31 +0300)]
Issue #28526: Use PyUnicode_AsEncodedString() instead of
PyUnicode_AsEncodedObject() in _curese to ensure that the result
is a bytes object.

8 years agoIssue #28509: dict.update() no longer allocate unnecessary large memory
INADA Naoki [Thu, 27 Oct 2016 10:26:50 +0000 (19:26 +0900)]
Issue #28509: dict.update() no longer allocate unnecessary large memory

8 years agoIgnore harmless suspicious markup
Zachary Ware [Wed, 26 Oct 2016 02:43:41 +0000 (21:43 -0500)]
Ignore harmless suspicious markup

8 years agoMerge from 3.5
Zachary Ware [Wed, 26 Oct 2016 02:36:13 +0000 (21:36 -0500)]
Merge from 3.5

8 years agoFix default role usage
Zachary Ware [Wed, 26 Oct 2016 02:35:22 +0000 (21:35 -0500)]
Fix default role usage

8 years agoIssue #25002: Back out asyncore/asynchat deprecation.
Guido van Rossum [Wed, 26 Oct 2016 01:42:51 +0000 (18:42 -0700)]
Issue #25002: Back out asyncore/asynchat deprecation.

8 years agoIssue #26240: Merge subprocess doc string from 3.5 into 3.6
Martin Panter [Tue, 25 Oct 2016 23:41:42 +0000 (23:41 +0000)]
Issue #26240: Merge subprocess doc string from 3.5 into 3.6

8 years agoIssue #26240: Clean up the subprocess module doc string
Martin Panter [Tue, 25 Oct 2016 22:20:48 +0000 (22:20 +0000)]
Issue #26240: Clean up the subprocess module doc string

Patch by Tim Mitchell.

8 years agoIssue #28333: Fixes off-by-one error that was adding an extra space.
Steve Dower [Tue, 25 Oct 2016 18:51:54 +0000 (11:51 -0700)]
Issue #28333: Fixes off-by-one error that was adding an extra space.

8 years agoNull merge
Serhiy Storchaka [Tue, 25 Oct 2016 17:20:09 +0000 (20:20 +0300)]
Null merge

8 years agoIssue #28353: Fixed tests of os.fwalk() with broken links.
Serhiy Storchaka [Tue, 25 Oct 2016 17:18:31 +0000 (20:18 +0300)]
Issue #28353: Fixed tests of os.fwalk() with broken links.

8 years agoIssue #28107: Update typing module documentation for NamedTuple (Ivan)
Guido van Rossum [Tue, 25 Oct 2016 16:53:11 +0000 (09:53 -0700)]
Issue #28107: Update typing module documentation for NamedTuple (Ivan)

8 years agoIssue #28353: Try to fix tests.
Serhiy Storchaka [Tue, 25 Oct 2016 16:01:41 +0000 (19:01 +0300)]
Issue #28353: Try to fix tests.

8 years agoIssue 25002: Deprecate asyncore/asynchat. Patch by Mariatta.
Guido van Rossum [Tue, 25 Oct 2016 15:49:13 +0000 (08:49 -0700)]
Issue 25002: Deprecate asyncore/asynchat. Patch by Mariatta.

8 years agoIssue #27275: Fixed implementation of pop() and popitem() methods in
Serhiy Storchaka [Tue, 25 Oct 2016 12:36:56 +0000 (15:36 +0300)]
Issue #27275: Fixed implementation of pop() and popitem() methods in
subclasses of accelerated OrderedDict.

8 years agoIssue #27275: Fixed implementation of pop() and popitem() methods in
Serhiy Storchaka [Tue, 25 Oct 2016 12:33:23 +0000 (15:33 +0300)]
Issue #27275: Fixed implementation of pop() and popitem() methods in
subclasses of accelerated OrderedDict.

8 years agoIssue #28255: calendar.TextCalendar().prmonth() no longer prints a space
Serhiy Storchaka [Tue, 25 Oct 2016 12:02:36 +0000 (15:02 +0300)]
Issue #28255: calendar.TextCalendar().prmonth() no longer prints a space
at the start of new line after printing a month's calendar.  Patch by
Xiang Zhang.

8 years agoIssue #28255: calendar.TextCalendar().prmonth() no longer prints a space
Serhiy Storchaka [Tue, 25 Oct 2016 12:00:52 +0000 (15:00 +0300)]
Issue #28255: calendar.TextCalendar().prmonth() no longer prints a space
at the start of new line after printing a month's calendar.  Patch by
Xiang Zhang.

8 years agoIssue #20491: The textwrap.TextWrapper class now honors non-breaking spaces.
Serhiy Storchaka [Tue, 25 Oct 2016 11:46:44 +0000 (14:46 +0300)]
Issue #20491: The textwrap.TextWrapper class now honors non-breaking spaces.
Based on patch by Kaarle Ritvanen.