]> granicus.if.org Git - python/log
python
8 years agoSync typing.py with upstream.
Guido van Rossum [Wed, 8 Jun 2016 18:19:11 +0000 (11:19 -0700)]
Sync typing.py with upstream.

(Upstream is https://github.com/python/typing)

- Add TYPE_CHECKING (false at runtime, true in type checkers) (upstream #230).
- Avoid error on Union[xml.etree.cElementTree.Element, str] (upstream #229).
- Repr of Tuple[()] should be 'Tuple[()]' (upstream #231).
- Add NewType() (upstream #189).

8 years agoasyncio: Remove line about asyncio.timeout() from the NEWS file
Yury Selivanov [Wed, 8 Jun 2016 17:58:15 +0000 (13:58 -0400)]
asyncio: Remove line about asyncio.timeout() from the NEWS file

8 years agoasyncio: Remove asyncio.timeout() context manager.
Yury Selivanov [Wed, 8 Jun 2016 17:57:03 +0000 (13:57 -0400)]
asyncio: Remove asyncio.timeout() context manager.

It will probably be added back in Python 3.6, once its compatibility
issues are resolved; see [1] for more details.

[1] https://mail.python.org/pipermail/async-sig/2016-June/000045.html

8 years agoasyncio: Update whatsnew/3.5.2
Yury Selivanov [Wed, 8 Jun 2016 16:55:29 +0000 (12:55 -0400)]
asyncio: Update whatsnew/3.5.2

8 years agoIssue #27136: Update asyncio docs
Yury Selivanov [Wed, 8 Jun 2016 16:48:15 +0000 (12:48 -0400)]
Issue #27136: Update asyncio docs

8 years agoIssue #27136: Fix DNS static resolution; don't use it in getaddrinfo
Yury Selivanov [Wed, 8 Jun 2016 16:33:31 +0000 (12:33 -0400)]
Issue #27136: Fix DNS static resolution; don't use it in getaddrinfo

Patch by A. Jesse Jiryu Davis

8 years agoIssue #23275: Backport target list assignment documentation fixes
Martin Panter [Wed, 8 Jun 2016 12:44:30 +0000 (12:44 +0000)]
Issue #23275: Backport target list assignment documentation fixes

8 years agoIssue #21593: Clarify that re.search() returns the first match
Berker Peksag [Wed, 8 Jun 2016 11:56:56 +0000 (14:56 +0300)]
Issue #21593: Clarify that re.search() returns the first match

8 years agoIssue #25738: Don’t send message body for 205 Reset Content
Martin Panter [Wed, 8 Jun 2016 08:29:13 +0000 (08:29 +0000)]
Issue #25738: Don’t send message body for 205 Reset Content

Patch by Susumu Koshiba.

8 years agoIssue #21313: Tolerate truncated buildinfo in sys.version
Martin Panter [Wed, 8 Jun 2016 06:12:22 +0000 (06:12 +0000)]
Issue #21313: Tolerate truncated buildinfo in sys.version

8 years agoFixed #27251: corrected string/bytes handling in credentials.
Vinay Sajip [Tue, 7 Jun 2016 20:19:55 +0000 (21:19 +0100)]
Fixed #27251: corrected string/bytes handling in credentials.

8 years agoItems for NEWS and idlelib/NEWS.txt.
Terry Jan Reedy [Tue, 7 Jun 2016 19:33:53 +0000 (15:33 -0400)]
Items for NEWS and idlelib/NEWS.txt.

8 years agoos.urandom() doesn't block on Linux anymore
Victor Stinner [Tue, 7 Jun 2016 09:21:42 +0000 (11:21 +0200)]
os.urandom() doesn't block on Linux anymore

Issue #26839: On Linux, os.urandom() now calls getrandom() with GRND_NONBLOCK
to fall back on reading /dev/urandom if the urandom entropy pool is not
initialized yet. Patch written by Colm Buckley.

8 years agoIssue #27229: Comment in middle of shell command fails on BSD and OS X
Martin Panter [Tue, 7 Jun 2016 01:07:32 +0000 (01:07 +0000)]
Issue #27229: Comment in middle of shell command fails on BSD and OS X

8 years agoIssue #27229: Fix in-tree cross-build rule, by Xavier de Gaye
Martin Panter [Tue, 7 Jun 2016 00:27:17 +0000 (00:27 +0000)]
Issue #27229: Fix in-tree cross-build rule, by Xavier de Gaye

8 years agoIssue #26014: Update 3.x packaging documentation:
Ned Deily [Mon, 6 Jun 2016 00:38:48 +0000 (17:38 -0700)]
Issue #26014: Update 3.x packaging documentation:
- "See also" links to the new docs are now provided in the legacy pages
- links to setuptools documentation have been updated

(original patch by Susan Sun)

8 years agoIssue #27164: Allow decompressing raw Deflate streams with predefined zdict
Martin Panter [Sun, 5 Jun 2016 10:48:34 +0000 (10:48 +0000)]
Issue #27164: Allow decompressing raw Deflate streams with predefined zdict

Based on patch by Xiang Zhang.

8 years agoIssue #27225: Fixed a reference leak in type_new when setting __new__ fails.
Serhiy Storchaka [Sun, 5 Jun 2016 07:48:36 +0000 (10:48 +0300)]
Issue #27225: Fixed a reference leak in type_new when setting __new__ fails.
Patch by Xiang Zhang.

8 years agoIssue #21916: Added more tests for the turtle module.
Serhiy Storchaka [Sun, 5 Jun 2016 07:32:57 +0000 (10:32 +0300)]
Issue #21916: Added more tests for the turtle module.
Original patch by Jelle Zijlstra.

8 years agoIssue #24291: Avoid WSGIRequestHandler doing partial writes
Martin Panter [Sun, 5 Jun 2016 06:28:55 +0000 (06:28 +0000)]
Issue #24291: Avoid WSGIRequestHandler doing partial writes

If the underlying send() method indicates a partial write, such as when the
call is interrupted to handle a signal, the server would silently drop the
remaining data.

Also add deprecated support for SimpleHandler.stdout.write() doing partial
writes.

8 years agoissue27202 - Fix the mistake in changesets 70af472451cb (3.5) and 2bb806539ca6 (3.6)
Senthil Kumaran [Sun, 5 Jun 2016 05:22:26 +0000 (22:22 -0700)]
issue27202 - Fix the mistake in changesets 70af472451cb (3.5) and 2bb806539ca6 (3.6)

exclude_patterns in Sphinx conf.py will exclude the .rsts from the build. It
was incorrect exclude 2.x rsts in that.  This fix contributed again Jelle
Zijlstra, excludes doctests in whatsnew/2.7.rst from being exercised by using
doctests skip option.

8 years agoIssue #17888: Add a note about contributing to Python docs
Berker Peksag [Sun, 5 Jun 2016 04:47:44 +0000 (21:47 -0700)]
Issue #17888: Add a note about contributing to Python docs

Patch by Terry Chia and Laura Rupprecht.

8 years agoissue27202 - Exclude 2.x release notes from python3 make doctests.
Senthil Kumaran [Sun, 5 Jun 2016 03:52:57 +0000 (20:52 -0700)]
issue27202 - Exclude 2.x release notes from python3 make doctests.

Patch contributed by Jelle Zijlstra.

8 years agoIssue27203 - Fix doctests Doc/faq/programming.rst.
Senthil Kumaran [Sun, 5 Jun 2016 03:07:34 +0000 (20:07 -0700)]
Issue27203 - Fix doctests Doc/faq/programming.rst.

Patch contributed by Jelle Zijlstra.

8 years agoMove the BrokenPipeError tests to the POSIXProcessTestCase class
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Sun, 5 Jun 2016 02:57:47 +0000 (02:57 +0000)]
Move the BrokenPipeError tests to the POSIXProcessTestCase class
instead of the generic ProcessTestCase class as they are posix
specific.

8 years agoIssue #26930: Update OS X 32-bit-only installer builds to use OpenSSL 1.0.2h.
Ned Deily [Sun, 5 Jun 2016 00:21:21 +0000 (17:21 -0700)]
Issue #26930: Update OS X 32-bit-only installer builds to use OpenSSL 1.0.2h.

8 years ago- Issue #26884: Fix linking extension modules for cross builds.
doko@ubuntu.com [Sat, 4 Jun 2016 22:41:58 +0000 (00:41 +0200)]
- Issue #26884: Fix linking extension modules for cross builds.
  Patch by Xavier de Gaye.

8 years agoMerge heads
Serhiy Storchaka [Sat, 4 Jun 2016 20:30:45 +0000 (23:30 +0300)]
Merge heads

8 years agoIssue #21916: Added tests for the turtle module.
Serhiy Storchaka [Sat, 4 Jun 2016 20:27:26 +0000 (23:27 +0300)]
Issue #21916: Added tests for the turtle module.
Patch by ingrid, Gregory Loyse and Jelle Zijlstra.

8 years agoIssue #24759: Add 'private' notice for idlelib.idle_test.
Terry Jan Reedy [Sat, 4 Jun 2016 20:15:58 +0000 (16:15 -0400)]
Issue #24759: Add 'private' notice for idlelib.idle_test.

8 years agoRevise and synchronize idle_test.test_configdialog.
Terry Jan Reedy [Sat, 4 Jun 2016 19:54:44 +0000 (15:54 -0400)]
Revise and synchronize idle_test.test_configdialog.

8 years agoIssue #26809: Add __all__ to string module. Patch by Emanuel Barry
Zachary Ware [Sat, 4 Jun 2016 19:35:05 +0000 (14:35 -0500)]
Issue #26809: Add __all__ to string module.  Patch by Emanuel Barry

8 years agoissue26372 - use os.devnull instead of /dev/null
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Sat, 4 Jun 2016 19:04:43 +0000 (19:04 +0000)]
issue26372 - use os.devnull instead of /dev/null

8 years agoIssue #20041: Fixed TypeError when frame.f_trace is set to None.
Serhiy Storchaka [Sat, 4 Jun 2016 17:32:36 +0000 (20:32 +0300)]
Issue #20041: Fixed TypeError when frame.f_trace is set to None.
Patch by Xavier de Gaye.

8 years agoIssue #19234: Documents socket.fileno() returns -1 on failure
Kushal Das [Sat, 4 Jun 2016 17:20:12 +0000 (10:20 -0700)]
Issue #19234: Documents socket.fileno() returns -1 on failure

8 years agoIssue 27216: Fix typo (noticed by Alex Chan).
Ned Deily [Sat, 4 Jun 2016 16:40:40 +0000 (09:40 -0700)]
Issue 27216: Fix typo (noticed by Alex Chan).

8 years agoClarify deprecation of ElementTree.XMLParser(html=...) parameter
Martin Panter [Sat, 4 Jun 2016 07:12:51 +0000 (07:12 +0000)]
Clarify deprecation of ElementTree.XMLParser(html=...) parameter

8 years agoIDLE test README: 'gui' to 'GUI', except in "'gui'" and '-ugui'.
Terry Jan Reedy [Sat, 4 Jun 2016 06:32:18 +0000 (02:32 -0400)]
IDLE test README: 'gui' to 'GUI', except in "'gui'" and '-ugui'.

8 years agomerge heads
Benjamin Peterson [Sat, 4 Jun 2016 05:38:37 +0000 (22:38 -0700)]
merge heads

8 years agofix indentation of comment
Benjamin Peterson [Sat, 4 Jun 2016 05:37:48 +0000 (22:37 -0700)]
fix indentation of comment

8 years agoFix typos in code comment and documentation
Martin Panter [Sat, 4 Jun 2016 04:57:19 +0000 (04:57 +0000)]
Fix typos in code comment and documentation

8 years agoIssue #27196: Stop 'application destroyed' warnings when running IDLE tests.
Terry Jan Reedy [Sat, 4 Jun 2016 03:53:56 +0000 (23:53 -0400)]
Issue #27196: Stop 'application destroyed' warnings when running IDLE tests.
The update_idletasks solution was provided by Serhiy Storchaka.

8 years agoIssue 20567: Revise idle_test/README.txt and some tests to match new advice.
Terry Jan Reedy [Sat, 4 Jun 2016 02:19:17 +0000 (22:19 -0400)]
Issue 20567: Revise idle_test/README.txt and some tests to match new advice.

8 years agoFixes Issue #26373: subprocess.Popen.communicate now correctly ignores
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Sat, 4 Jun 2016 00:22:17 +0000 (00:22 +0000)]
Fixes Issue #26373: subprocess.Popen.communicate now correctly ignores
BrokenPipeError when the child process dies before .communicate()
is called in more (all?) circumstances.

8 years ago#16484: Fix pydoc doc links to modules whose names are mixed case.
R David Murray [Fri, 3 Jun 2016 23:28:35 +0000 (19:28 -0400)]
#16484: Fix pydoc doc links to modules whose names are mixed case.

Patch by Sean Rodman, test by Kaushik N.

8 years agofinal step in backout of bad default->3.5 merge d085b4f779af. merge 3.5 heads
Ned Deily [Fri, 3 Jun 2016 22:20:13 +0000 (15:20 -0700)]
final step in backout of bad default->3.5 merge d085b4f779af. merge 3.5 heads

8 years agofirst step in backout of bad default->3.5 merge d085b4f779af. Create new head and...
Ned Deily [Fri, 3 Jun 2016 22:17:13 +0000 (15:17 -0700)]
first step in backout of bad default->3.5 merge d085b4f779af.  Create new head and fix whitespace.

8 years agoMerge: #22797: clarify when URLErrors are raised by urlopen.
R David Murray [Fri, 3 Jun 2016 17:32:48 +0000 (13:32 -0400)]
Merge: #22797: clarify when URLErrors are raised by urlopen.

8 years ago#22797: clarify when URLErrors are raised by urlopen.
R David Murray [Fri, 3 Jun 2016 17:29:17 +0000 (13:29 -0400)]
#22797: clarify when URLErrors are raised by urlopen.

8 years agoNull merge
Serhiy Storchaka [Fri, 3 Jun 2016 07:48:43 +0000 (10:48 +0300)]
Null merge

8 years agoMerge heads
Serhiy Storchaka [Fri, 3 Jun 2016 07:48:13 +0000 (10:48 +0300)]
Merge heads

8 years agoMerge heads
Serhiy Storchaka [Fri, 3 Jun 2016 07:47:38 +0000 (10:47 +0300)]
Merge heads

8 years agoMerge 3.5.
Serhiy Storchaka [Fri, 3 Jun 2016 07:45:56 +0000 (10:45 +0300)]
Merge 3.5.

8 years agoMerge heads
Serhiy Storchaka [Fri, 3 Jun 2016 07:44:12 +0000 (10:44 +0300)]
Merge heads

8 years agoIssue #27185: Rename test_string_merged.py back to test_string.py.
Serhiy Storchaka [Fri, 3 Jun 2016 07:38:24 +0000 (10:38 +0300)]
Issue #27185: Rename test_string_merged.py back to test_string.py.

8 years agoIssue #27185: Merge test_pep292.py into test_string_merged.py.
Serhiy Storchaka [Fri, 3 Jun 2016 07:38:02 +0000 (10:38 +0300)]
Issue #27185: Merge test_pep292.py into test_string_merged.py.

8 years agoIssue #27185: Rename test_pep292.py to test_string_merged.py.
Serhiy Storchaka [Fri, 3 Jun 2016 07:32:36 +0000 (10:32 +0300)]
Issue #27185: Rename test_pep292.py to test_string_merged.py.

8 years agoIssue #27185: Rename test_string.py to test_string_merged.py.
Serhiy Storchaka [Fri, 3 Jun 2016 07:30:25 +0000 (10:30 +0300)]
Issue #27185: Rename test_string.py to test_string_merged.py.

8 years ago[merge from 3.5] - issue27113 - Document "check_same_thread" parameter in sqlite3...
Senthil Kumaran [Fri, 3 Jun 2016 07:04:28 +0000 (00:04 -0700)]
[merge from 3.5] - issue27113 - Document "check_same_thread" parameter in sqlite3.connect api.

Patch contributed by Dave Sawyer.

8 years agoissue27113 - Document "check_same_thread" parameter in sqlite3.connect api.
Senthil Kumaran [Fri, 3 Jun 2016 07:03:48 +0000 (00:03 -0700)]
issue27113 - Document "check_same_thread" parameter in sqlite3.connect api.

Patch contributed by Dave Sawyer.

8 years ago[merge from 3.5] - issue8519 - Reference termios and ioctl manual pages in the librar...
Senthil Kumaran [Fri, 3 Jun 2016 06:50:02 +0000 (23:50 -0700)]
[merge from 3.5] - issue8519 - Reference termios and ioctl manual pages in the library documentation.

8 years agoissue8519 - Reference termios and ioctl manual pages in the library documentation.
Senthil Kumaran [Fri, 3 Jun 2016 06:49:05 +0000 (23:49 -0700)]
issue8519 - Reference termios and ioctl manual pages in the library documentation.

8 years agoissue27167: make the test not care about the exact signal name in the
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Fri, 3 Jun 2016 06:19:35 +0000 (06:19 +0000)]
issue27167: make the test not care about the exact signal name in the
error message as some numbers map to multiple names.

8 years agoIssue #27167: Clarify the subprocess.CalledProcessError error message text
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Fri, 3 Jun 2016 06:14:06 +0000 (06:14 +0000)]
Issue #27167: Clarify the subprocess.CalledProcessError error message text
when the child process died due to a signal.

8 years agoissue25931: document that socketserver.Forking* are unavailable on platforms
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Fri, 3 Jun 2016 05:44:47 +0000 (05:44 +0000)]
issue25931: document that socketserver.Forking* are unavailable on platforms
lacking os.fork().

8 years agoIssue25931: fix tests broken by the conditional define of socketserver.Forking*
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Fri, 3 Jun 2016 05:26:14 +0000 (05:26 +0000)]
Issue25931: fix tests broken by the conditional define of socketserver.Forking*

8 years agotypo fix
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Fri, 3 Jun 2016 00:57:26 +0000 (00:57 +0000)]
typo fix

8 years agomerge 3.5
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Fri, 3 Jun 2016 00:33:02 +0000 (00:33 +0000)]
merge 3.5

8 years agoDocument that CalledProcessError.returncode is the negative
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Fri, 3 Jun 2016 00:31:21 +0000 (00:31 +0000)]
Document that CalledProcessError.returncode is the negative
signal number when the process died due to a signal.

8 years agoReindent properly.
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Fri, 3 Jun 2016 00:16:02 +0000 (00:16 +0000)]
Reindent properly.

8 years agoIssue #25931: Don't defining socketserver.Forking* names on platforms such
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Fri, 3 Jun 2016 00:13:36 +0000 (00:13 +0000)]
Issue #25931: Don't defining socketserver.Forking* names on platforms such
as Windows that do not support os.fork().

8 years agoMerge: #26829: Clarify that namespace is copied to a new __dict__ in instance creation.
R David Murray [Fri, 3 Jun 2016 00:06:13 +0000 (20:06 -0400)]
Merge: #26829: Clarify that namespace is copied to a new __dict__ in instance creation.

8 years ago#26829: Clarify that namespace is copied to a new __dict__ in instance creation.
R David Murray [Fri, 3 Jun 2016 00:05:43 +0000 (20:05 -0400)]
#26829: Clarify that namespace is copied to a new __dict__ in instance creation.

Patch by Emily Morehouse.

8 years agoMerge: #27185: move test_pep292 into test_string.
R David Murray [Thu, 2 Jun 2016 23:38:20 +0000 (19:38 -0400)]
Merge: #27185: move test_pep292 into test_string.

8 years ago#27185: move test_pep292 into test_string.
R David Murray [Thu, 2 Jun 2016 23:37:47 +0000 (19:37 -0400)]
#27185: move test_pep292 into test_string.

This makes the Template tests discoverable.  Patch by Erin Braswell.

8 years agoIssue #16192: Merge from 3.5
Berker Peksag [Thu, 2 Jun 2016 22:28:29 +0000 (15:28 -0700)]
Issue #16192: Merge from 3.5

8 years agoIssue #16192: Fix copy and paste mistake noticed by Eryk Sun
Berker Peksag [Thu, 2 Jun 2016 22:28:00 +0000 (15:28 -0700)]
Issue #16192: Fix copy and paste mistake noticed by Eryk Sun

8 years agoissue27186 -- initial docs, tests, and python version of os.fspath
Ethan Furman [Thu, 2 Jun 2016 22:06:09 +0000 (15:06 -0700)]
issue27186 -- initial docs, tests, and python version of os.fspath

8 years agoMerge 3.5 (asyncio)
Yury Selivanov [Thu, 2 Jun 2016 20:51:27 +0000 (16:51 -0400)]
Merge 3.5 (asyncio)

8 years agoasyncio: Fix getaddrinfo to accept service names (for port)
Yury Selivanov [Thu, 2 Jun 2016 20:51:07 +0000 (16:51 -0400)]
asyncio: Fix getaddrinfo to accept service names (for port)

Patch by A. Jesse Jiryu Davis

8 years agoMerge 3.5 (asyncio)
Yury Selivanov [Thu, 2 Jun 2016 20:44:10 +0000 (16:44 -0400)]
Merge 3.5  (asyncio)

8 years agoIssue #21776: Merge from 3.5
Berker Peksag [Thu, 2 Jun 2016 20:47:23 +0000 (13:47 -0700)]
Issue #21776: Merge from 3.5

8 years agoIssue #21776: distutils.upload now correctly handles HTTPError
Berker Peksag [Thu, 2 Jun 2016 20:45:53 +0000 (13:45 -0700)]
Issue #21776: distutils.upload now correctly handles HTTPError

Initial patch by Claudiu Popa.

8 years agoasyncio: Support host=b'' for getaddrinfo
Yury Selivanov [Thu, 2 Jun 2016 20:43:52 +0000 (16:43 -0400)]
asyncio: Support host=b'' for getaddrinfo

8 years agoMerge: #20973: add total ordering tests for ipaddress
R David Murray [Thu, 2 Jun 2016 19:49:41 +0000 (15:49 -0400)]
Merge: #20973: add total ordering tests for ipaddress

8 years ago#20973: add total ordering tests for ipaddress
R David Murray [Thu, 2 Jun 2016 19:46:04 +0000 (15:46 -0400)]
#20973: add total ordering tests for ipaddress

Patch by Tommy Beadle.

8 years agomerge 3.5
Benjamin Peterson [Thu, 2 Jun 2016 19:42:40 +0000 (12:42 -0700)]
merge 3.5

8 years agoremove (hilarious) defaults for various constants getpath.c needs
Benjamin Peterson [Thu, 2 Jun 2016 19:41:35 +0000 (12:41 -0700)]
remove (hilarious) defaults for various constants getpath.c needs

8 years agoMerge: #13784: fix xml.sax.reader getColumn/LineNumber docs.
R David Murray [Thu, 2 Jun 2016 19:15:12 +0000 (15:15 -0400)]
Merge: #13784: fix xml.sax.reader getColumn/LineNumber docs.

8 years agoIssue #16192: Merge from 3.5
Berker Peksag [Thu, 2 Jun 2016 19:18:21 +0000 (12:18 -0700)]
Issue #16192: Merge from 3.5

8 years agoIssue #16192: Clarify when c_int is an alias to c_long in ctypes documentation
Berker Peksag [Thu, 2 Jun 2016 19:17:51 +0000 (12:17 -0700)]
Issue #16192: Clarify when c_int is an alias to c_long in ctypes documentation

8 years ago#13784: fix xml.sax.reader getColumn/LineNumber docs.
R David Murray [Thu, 2 Jun 2016 19:14:30 +0000 (15:14 -0400)]
#13784: fix xml.sax.reader getColumn/LineNumber docs.

verification and patch by Emily Morehouse.

8 years agomerge 3.5
Benjamin Peterson [Thu, 2 Jun 2016 18:36:16 +0000 (11:36 -0700)]
merge 3.5

8 years agonote that Py_VISIT handles NULL (closes #27183)
Benjamin Peterson [Thu, 2 Jun 2016 18:35:59 +0000 (11:35 -0700)]
note that Py_VISIT handles NULL (closes #27183)

8 years agoIssue #23116: Improve ask_ok() example in the Python tutorial
Berker Peksag [Thu, 2 Jun 2016 18:31:19 +0000 (11:31 -0700)]
Issue #23116: Improve ask_ok() example in the Python tutorial

8 years agoreplace custom validation logic in the parse module with a simple DFA validator ...
Benjamin Peterson [Thu, 2 Jun 2016 18:30:18 +0000 (11:30 -0700)]
replace custom validation logic in the parse module with a simple DFA validator (closes #26526)

Patch from A. Skrobov.

8 years agoIssue #23116: Merge from 3.5
Berker Peksag [Thu, 2 Jun 2016 18:31:51 +0000 (11:31 -0700)]
Issue #23116: Merge from 3.5

8 years agoIssue #21271: Adds new keyword only parameters in reset_mock call
Kushal Das [Thu, 2 Jun 2016 17:20:16 +0000 (10:20 -0700)]
Issue #21271: Adds new keyword only parameters in reset_mock call

We now have two keyword only parameters in the reset_mock function to
selectively reset the return_value or the side_effects, or both.

8 years agoIssue #27171: Fix typo in exception message
Martin Panter [Thu, 2 Jun 2016 10:13:47 +0000 (10:13 +0000)]
Issue #27171: Fix typo in exception message

8 years agoIssue #27171: Merge typo fixes from 3.5
Martin Panter [Thu, 2 Jun 2016 10:11:18 +0000 (10:11 +0000)]
Issue #27171: Merge typo fixes from 3.5