]> granicus.if.org Git - python/log
python
8 years agoPyMem_Malloc() now uses the fast pymalloc allocator
Victor Stinner [Fri, 22 Apr 2016 14:26:23 +0000 (16:26 +0200)]
PyMem_Malloc() now uses the fast pymalloc allocator

Issue #26249: PyMem_Malloc() allocator family now uses the pymalloc allocator
rather than system malloc(). Applications calling PyMem_Malloc() without
holding the GIL can now crash: use PYTHONMALLOC=debug environment variable to
validate the usage of memory allocators in your application.

8 years ago[minor] Doc fix in old python doc.
Senthil Kumaran [Thu, 21 Apr 2016 07:23:08 +0000 (00:23 -0700)]
[minor] Doc fix in old python doc.

8 years agoMerge 3.5
Victor Stinner [Wed, 20 Apr 2016 16:26:40 +0000 (18:26 +0200)]
Merge 3.5

8 years agogdb/libpython.py: inline _type_void_ptr()
Victor Stinner [Wed, 20 Apr 2016 16:26:12 +0000 (18:26 +0200)]
gdb/libpython.py: inline _type_void_ptr()

The function was only called in _sizeof_void_p()

8 years agoMerge 3.5
Victor Stinner [Wed, 20 Apr 2016 16:23:59 +0000 (18:23 +0200)]
Merge 3.5

8 years agoIssue #26799: Fix typo in Misc/NEWS
Victor Stinner [Wed, 20 Apr 2016 16:23:49 +0000 (18:23 +0200)]
Issue #26799: Fix typo in Misc/NEWS

8 years agoMerge 3.5: Issue #26799
Victor Stinner [Wed, 20 Apr 2016 16:12:38 +0000 (18:12 +0200)]
Merge 3.5: Issue #26799

8 years agopython-gdb.py: get C types at runtime
Victor Stinner [Wed, 20 Apr 2016 16:07:21 +0000 (18:07 +0200)]
python-gdb.py: get C types at runtime

Issue #26799: Fix python-gdb.py: don't get once C types when the Python code
is loaded, but get C types on demande. The C types can change if
python-gdb.py is loaded before the Python executable.

Patch written by Thomas Ilsche.

8 years agoIssue #21668: Add also Chi Hsuan Yen to Misc/ACKS
Victor Stinner [Wed, 20 Apr 2016 08:02:04 +0000 (10:02 +0200)]
Issue #21668: Add also Chi Hsuan Yen to Misc/ACKS

8 years agoIssue #21668: Fix author of the patch.
Victor Stinner [Wed, 20 Apr 2016 07:58:12 +0000 (09:58 +0200)]
Issue #21668: Fix author of the patch.

Sorry, it was hard to retrieve the original author of the patch in this issue
with a long history and many authors.

8 years agoAdditional grammar fix
Martin Panter [Tue, 19 Apr 2016 04:05:59 +0000 (04:05 +0000)]
Additional grammar fix

8 years agoMerge doc and comment fixes from 3.5
Martin Panter [Tue, 19 Apr 2016 23:23:16 +0000 (23:23 +0000)]
Merge doc and comment fixes from 3.5

8 years agoNull merge 3.5 (changes already applied to test_gdb)
Victor Stinner [Tue, 19 Apr 2016 22:31:04 +0000 (00:31 +0200)]
Null merge 3.5 (changes already applied to test_gdb)

8 years agoBackport test_gdb fix for s390x buildbots
Victor Stinner [Tue, 19 Apr 2016 22:30:14 +0000 (00:30 +0200)]
Backport test_gdb fix for s390x buildbots

8 years agoOptimize func(*tuple) function call
Victor Stinner [Tue, 19 Apr 2016 20:54:37 +0000 (22:54 +0200)]
Optimize func(*tuple) function call

Issue #26802: Optimize function calls only using unpacking like "func(*tuple)"
(no other positional argument, no keyword): avoid copying the tuple.

Patch written by Joe Jevnik.

8 years agoMerge with 3.5
Paul Moore [Tue, 19 Apr 2016 21:59:48 +0000 (22:59 +0100)]
Merge with 3.5

8 years agoIssue #26802: Optimized calling a function with *args only positional arguments.
Serhiy Storchaka [Tue, 19 Apr 2016 20:37:17 +0000 (23:37 +0300)]
Issue #26802: Optimized calling a function with *args only positional arguments.
Patch by Joe Jevnik.

8 years agoMerge 3.5: issue #26801
Victor Stinner [Tue, 19 Apr 2016 20:29:11 +0000 (22:29 +0200)]
Merge 3.5: issue #26801

8 years agoFix shutil.get_terminal_size() error handling
Victor Stinner [Tue, 19 Apr 2016 20:24:56 +0000 (22:24 +0200)]
Fix shutil.get_terminal_size() error handling

Issue #26801: Fix error handling in shutil.get_terminal_size(), catch
AttributeError instead of NameError. Patch written by Emanuel Barry.

test_shutil: skip the functional test using "stty size" command if
os.get_terminal_size() is missing.

8 years agoMERGE: Trivial typo
Jesus Cea [Tue, 19 Apr 2016 19:50:40 +0000 (21:50 +0200)]
MERGE: Trivial typo

8 years agoTrivial typo
Jesus Cea [Tue, 19 Apr 2016 19:50:19 +0000 (21:50 +0200)]
Trivial typo

8 years agoMention types.SimpleNamespace in collections.namedtuple doc
Paul Moore [Tue, 19 Apr 2016 18:17:16 +0000 (19:17 +0100)]
Mention types.SimpleNamespace in collections.namedtuple doc

Issue #26805.

8 years agoMention types.SimpleNamespace in collections.namedtuple doc
Paul Moore [Tue, 19 Apr 2016 18:17:16 +0000 (19:17 +0100)]
Mention types.SimpleNamespace in collections.namedtuple doc

Issue #26805.

8 years agoMerge with 3.5
Zachary Ware [Tue, 19 Apr 2016 16:49:56 +0000 (11:49 -0500)]
Merge with 3.5

8 years agoReplace assert statements with self.assertXxx() calls
Zachary Ware [Tue, 19 Apr 2016 16:49:37 +0000 (11:49 -0500)]
Replace assert statements with self.assertXxx() calls

Sync with upstream, see github.com/python/typing/pull/205

8 years agoDon't define _PyMem_PymallocEnabled() if pymalloc is disabled
Victor Stinner [Tue, 19 Apr 2016 15:02:55 +0000 (17:02 +0200)]
Don't define _PyMem_PymallocEnabled() if pymalloc is disabled

Isse #26516.

8 years agoMerge 3.5: Issue #21668
Victor Stinner [Tue, 19 Apr 2016 13:58:33 +0000 (15:58 +0200)]
Merge 3.5: Issue #21668

8 years agosetup.py: add missing libm dependency
Victor Stinner [Tue, 19 Apr 2016 13:58:11 +0000 (15:58 +0200)]
setup.py: add missing libm dependency

Issue #21668: Link audioop, _datetime, _ctypes_test modules to libm, except on
Mac OS X. Patch written by Xavier de Gaye.

8 years agoIssue #24838: Merge test_tarfile.py fix from 3.5.
Lars Gustäbel [Tue, 19 Apr 2016 09:59:39 +0000 (11:59 +0200)]
Issue #24838: Merge test_tarfile.py fix from 3.5.

8 years agoIssue #24838: Fix test_tarfile.py for non-utf8 filesystem encodings.
Lars Gustäbel [Tue, 19 Apr 2016 09:58:41 +0000 (11:58 +0200)]
Issue #24838: Fix test_tarfile.py for non-utf8 filesystem encodings.

8 years agoIssue #24838: Merge tarfile fix from 3.5.
Lars Gustäbel [Tue, 19 Apr 2016 06:53:14 +0000 (08:53 +0200)]
Issue #24838: Merge tarfile fix from 3.5.

8 years agoIssue #24838: tarfile's ustar and gnu formats now correctly calculate name and
Lars Gustäbel [Tue, 19 Apr 2016 06:43:17 +0000 (08:43 +0200)]
Issue #24838: tarfile's ustar and gnu formats now correctly calculate name and
link field limits for multibyte character encodings like utf-8.

8 years agoFix spelling (inital), grammar (may translates) in documentation, comments
Martin Panter [Tue, 19 Apr 2016 04:03:41 +0000 (04:03 +0000)]
Fix spelling (inital), grammar (may translates) in documentation, comments

8 years agoIssue #26615: Add missing __qualname__ entry to functools.update_wrapper() docs
Berker Peksag [Mon, 18 Apr 2016 18:21:10 +0000 (21:21 +0300)]
Issue #26615: Add missing __qualname__ entry to functools.update_wrapper() docs

Patch by Xiang Zhang.

8 years agoIssue #26615: Add missing __qualname__ entry to functools.update_wrapper() docs
Berker Peksag [Mon, 18 Apr 2016 18:20:50 +0000 (21:20 +0300)]
Issue #26615: Add missing __qualname__ entry to functools.update_wrapper() docs

Patch by Xiang Zhang.

8 years agotyping.py: merge 3.5->3.6 (Tuple/ellipsis/equality).
Guido van Rossum [Mon, 18 Apr 2016 14:39:54 +0000 (07:39 -0700)]
typing.py: merge 3.5->3.6 (Tuple/ellipsis/equality).

8 years agotyping.py: Consider ellipsis in TupleMeta.__eq__. By Kalle Tuure. github.com/python...
Guido van Rossum [Mon, 18 Apr 2016 14:37:41 +0000 (07:37 -0700)]
typing.py: Consider ellipsis in TupleMeta.__eq__. By Kalle Tuure. github.com/python/typing/pull/201.

8 years agoMerge 3.5 (test_asyncio)
Victor Stinner [Mon, 18 Apr 2016 08:29:19 +0000 (10:29 +0200)]
Merge 3.5 (test_asyncio)

8 years agoFix test_asyncio.test_timeout_disable()
Victor Stinner [Mon, 18 Apr 2016 08:28:42 +0000 (10:28 +0200)]
Fix test_asyncio.test_timeout_disable()

Issue #26777: Fix random failing of the test on the "AMD64 FreeBSD 9.x 3.5"
buildbot:

    File ".../Lib/test/test_asyncio/test_tasks.py", line 2398, in go
      self.assertTrue(0.09 < dt < 0.11, dt)
    AssertionError: False is not true : 0.11902812402695417

Replace "< 0.11" with "< 0.15".

8 years agoIssue #26657: Merge http.server fix from 3.5
Martin Panter [Mon, 18 Apr 2016 07:16:17 +0000 (07:16 +0000)]
Issue #26657: Merge http.server fix from 3.5

8 years ago#25987: add versionadded to Reversible.
Georg Brandl [Mon, 18 Apr 2016 05:25:54 +0000 (07:25 +0200)]
#25987: add versionadded to Reversible.

8 years agoFix spelling error
Raymond Hettinger [Mon, 18 Apr 2016 04:21:01 +0000 (21:21 -0700)]
Fix spelling error

8 years agoIssue #26657: Fix Windows directory traversal vulnerability with http.server
Martin Panter [Mon, 18 Apr 2016 03:45:18 +0000 (03:45 +0000)]
Issue #26657: Fix Windows directory traversal vulnerability with http.server

Based on patch by Philipp Hagemeister.  This fixes a regression caused by
revision f4377699fd47.

8 years agoSync test_typing.py with upstream git repo (typing.py was already synced). (3.5-...
Guido van Rossum [Mon, 18 Apr 2016 00:53:50 +0000 (17:53 -0700)]
Sync test_typing.py with upstream git repo (typing.py was already synced). (3.5->3.6)

8 years agoSync test_typing.py with upstream git repo (typing.py was already synced).
Guido van Rossum [Mon, 18 Apr 2016 00:52:05 +0000 (17:52 -0700)]
Sync test_typing.py with upstream git repo (typing.py was already synced).

8 years agoIssue #26745: Removed redundant code in _PyObject_GenericSetAttrWithDict.
Serhiy Storchaka [Sun, 17 Apr 2016 17:31:51 +0000 (20:31 +0300)]
Issue #26745: Removed redundant code in _PyObject_GenericSetAttrWithDict.
Based on patch by Xiang Zhang.

8 years agoAvoid fcntl() if possible in set_inheritable()
Victor Stinner [Sun, 17 Apr 2016 14:51:52 +0000 (16:51 +0200)]
Avoid fcntl() if possible in set_inheritable()

Issue #26770: set_inheritable() avoids calling fcntl() twice if the FD_CLOEXEC
is already set/cleared. This change only impacts platforms using the fcntl()
implementation of set_inheritable() (not Linux nor Windows).

8 years agoIssue #26778: Fixed "a/an/and" typos in code comment, documentation and error
Serhiy Storchaka [Sun, 17 Apr 2016 06:39:28 +0000 (09:39 +0300)]
Issue #26778: Fixed "a/an/and" typos in code comment, documentation and error
messages.

8 years agoIssue #26778: Fixed "a/an/and" typos in code comment and documentation.
Serhiy Storchaka [Sun, 17 Apr 2016 05:32:47 +0000 (08:32 +0300)]
Issue #26778: Fixed "a/an/and" typos in code comment and documentation.

8 years agoAutomated merge with ssh://hg.python.org/cpython
Steven D'Aprano [Sun, 17 Apr 2016 03:14:48 +0000 (13:14 +1000)]
Automated merge with ssh://hg.python.org/cpython

8 years agoShorten secrets module docstring, add function docstrings.
Steven D'Aprano [Sun, 17 Apr 2016 03:13:36 +0000 (13:13 +1000)]
Shorten secrets module docstring, add function docstrings.

8 years agoFix a few minor typos to secrets documentation.
Steven D'Aprano [Sun, 17 Apr 2016 03:05:10 +0000 (13:05 +1000)]
Fix a few minor typos to secrets documentation.

8 years agoIssue #26717: Merge wsgiref fix from 3.5
Martin Panter [Sun, 17 Apr 2016 02:36:50 +0000 (02:36 +0000)]
Issue #26717: Merge wsgiref fix from 3.5

8 years agoIssue #26717: Stop encoding Latin-1-ized WSGI paths with UTF-8
Martin Panter [Sun, 17 Apr 2016 02:17:03 +0000 (02:17 +0000)]
Issue #26717: Stop encoding Latin-1-ized WSGI paths with UTF-8

Patch by Anthony Sottile.

8 years agoIssue #26782: Add STARTUPINFO to subprocess.__all__ on Windows
Martin Panter [Sat, 16 Apr 2016 23:42:37 +0000 (23:42 +0000)]
Issue #26782: Add STARTUPINFO to subprocess.__all__ on Windows

8 years agoIssue #26782: Merge test_subprocess from 3.5
Martin Panter [Sat, 16 Apr 2016 23:40:15 +0000 (23:40 +0000)]
Issue #26782: Merge test_subprocess from 3.5

8 years agoIssue #26782: Acknowledge the incomplete status of __all__ in 3.5
Martin Panter [Sat, 16 Apr 2016 23:38:25 +0000 (23:38 +0000)]
Issue #26782: Acknowledge the incomplete status of __all__ in 3.5

Handle is probably meant to be excluded, and STARTUPINFO will be added to
__all__ in 3.6.

8 years agomerge 3.5
Benjamin Peterson [Sat, 16 Apr 2016 22:12:37 +0000 (15:12 -0700)]
merge 3.5

8 years agofix slice cache finalization to use gc del
Benjamin Peterson [Sat, 16 Apr 2016 22:12:29 +0000 (15:12 -0700)]
fix slice cache finalization to use gc del

8 years agomerge 3.5
Benjamin Peterson [Sat, 16 Apr 2016 22:02:29 +0000 (15:02 -0700)]
merge 3.5

8 years agotest_support -> support
Benjamin Peterson [Sat, 16 Apr 2016 22:02:23 +0000 (15:02 -0700)]
test_support -> support

8 years agomerge 3.5 (#26659)
Benjamin Peterson [Sat, 16 Apr 2016 21:54:27 +0000 (14:54 -0700)]
merge 3.5 (#26659)

8 years agoadd gc support to slice (closes #26659)
Benjamin Peterson [Sat, 16 Apr 2016 21:47:12 +0000 (14:47 -0700)]
add gc support to slice (closes #26659)

8 years agoDocumentation for secrets.py
Steven D'Aprano [Sat, 16 Apr 2016 15:42:33 +0000 (01:42 +1000)]
Documentation for secrets.py

8 years agoIssue #26783: test_os.WalkTests.test_walk_topdown did't test fwalk and bytes.
Serhiy Storchaka [Sat, 16 Apr 2016 14:51:17 +0000 (17:51 +0300)]
Issue #26783: test_os.WalkTests.test_walk_topdown did't test fwalk and bytes.
Patch by Aviv Palivoda.

8 years agoIssue #26783: test_os.WalkTests.test_walk_topdown did't test fwalk and bytes.
Serhiy Storchaka [Sat, 16 Apr 2016 14:51:00 +0000 (17:51 +0300)]
Issue #26783: test_os.WalkTests.test_walk_topdown did't test fwalk and bytes.
Patch by Aviv Palivoda.

8 years agomerge 3.5
Senthil Kumaran [Sat, 16 Apr 2016 14:34:24 +0000 (07:34 -0700)]
merge 3.5

issue26775 - Improve test coverage for urllib.parse
Patch contributed by Luiz Poleto.

8 years agoissue26775 - Improve test coverage for urllib.parse
Senthil Kumaran [Sat, 16 Apr 2016 14:33:15 +0000 (07:33 -0700)]
issue26775 - Improve test coverage for urllib.parse
Patch contributed by Luiz Poleto.

8 years agoMerge subprocess test from 3.5
Martin Panter [Sat, 16 Apr 2016 11:51:31 +0000 (11:51 +0000)]
Merge subprocess test from 3.5

8 years agoIssue #10838: Run test__all__() everywhere, even if poll() is not available
Martin Panter [Sat, 16 Apr 2016 11:28:10 +0000 (11:28 +0000)]
Issue #10838: Run test__all__() everywhere, even if poll() is not available

8 years agoMerge typo fixes from 3.5
Martin Panter [Sat, 16 Apr 2016 09:29:17 +0000 (09:29 +0000)]
Merge typo fixes from 3.5

8 years agoFix typos in code comments and documentation
Martin Panter [Sat, 16 Apr 2016 09:28:57 +0000 (09:28 +0000)]
Fix typos in code comments and documentation

8 years agoIssue #26638: Merge link fixes from 3.5
Martin Panter [Sat, 16 Apr 2016 07:36:08 +0000 (07:36 +0000)]
Issue #26638: Merge link fixes from 3.5

8 years agoIssue #26638: Fix links to some CLI options and section headings
Martin Panter [Sat, 16 Apr 2016 04:59:38 +0000 (04:59 +0000)]
Issue #26638: Fix links to some CLI options and section headings

* Disable inappropriate links to Python interpreter options
* Correct link to CLI section in zipapp
* Make CLI section label in timeit less ambiguous

8 years agoIssue #25314: Merge argparse doc from 3.5
Martin Panter [Sat, 16 Apr 2016 00:20:21 +0000 (00:20 +0000)]
Issue #25314: Merge argparse doc from 3.5

8 years agoIssue #25702: A --with-lto configure option has been added that will
Gregory P. Smith [Fri, 15 Apr 2016 23:58:51 +0000 (16:58 -0700)]
Issue #25702: A --with-lto configure option has been added that will
enable link time optimizations at build time during a make profile-opt.

8 years agoIssue #25702: A --with-lto configure option has been added that will
Gregory P. Smith [Fri, 15 Apr 2016 23:57:04 +0000 (16:57 -0700)]
Issue #25702: A --with-lto configure option has been added that will
enable link time optimizations at build time during a make profile-opt.

8 years agomerge heads
Gregory P. Smith [Fri, 15 Apr 2016 23:51:02 +0000 (16:51 -0700)]
merge heads

8 years agomerge heads
Gregory P. Smith [Fri, 15 Apr 2016 23:47:32 +0000 (16:47 -0700)]
merge heads

8 years agomerge heads
Gregory P. Smith [Fri, 15 Apr 2016 23:47:15 +0000 (16:47 -0700)]
merge heads

8 years agoExclude super long running tests from the PROFILE_TASK for PGO
Gregory P. Smith [Fri, 15 Apr 2016 23:46:14 +0000 (16:46 -0700)]
Exclude super long running tests from the PROFILE_TASK for PGO
builds.  multiprocessing and subprocess tests in particular
along with test_asyncore and test_gdb.  Running them does not
meaningfully add to the profile guidance.

8 years agoExclude super long running tests from the PROFILE_TASK for PGO
Gregory P. Smith [Fri, 15 Apr 2016 23:45:43 +0000 (16:45 -0700)]
Exclude super long running tests from the PROFILE_TASK for PGO
builds.  multiprocessing and subprocess tests in particular
along with test_asyncore and test_gdb.  Running them does not
meaningfully add to the profile guidance.

8 years agoIssue #26535: Merge struct doc from 3.5
Martin Panter [Fri, 15 Apr 2016 23:16:51 +0000 (23:16 +0000)]
Issue #26535: Merge struct doc from 3.5

8 years agoIssue #26535: Correct docs regarding the struct buffer size
Martin Panter [Fri, 15 Apr 2016 23:03:54 +0000 (23:03 +0000)]
Issue #26535: Correct docs regarding the struct buffer size

8 years agoIssue #26766: Remove redundant bytearray_format() from bytearrayobject.c
Berker Peksag [Fri, 15 Apr 2016 22:20:47 +0000 (01:20 +0300)]
Issue #26766: Remove redundant bytearray_format() from bytearrayobject.c

8 years agoMerge for issue #26760
Brett Cannon [Fri, 15 Apr 2016 19:44:09 +0000 (12:44 -0700)]
Merge for issue #26760

8 years agoIssue #26760: Minimally document PyFrameObject
Brett Cannon [Fri, 15 Apr 2016 19:43:50 +0000 (12:43 -0700)]
Issue #26760: Minimally document PyFrameObject

8 years agoRemove python fallback for compare_digest.
Steven D'Aprano [Fri, 15 Apr 2016 18:33:55 +0000 (04:33 +1000)]
Remove python fallback for compare_digest.

See https://mail.python.org/pipermail/python-dev/2016-April/144198.html
https://mail.python.org/pipermail/python-dev/2016-April/144203.html

8 years agoMerge for issue #25609
Brett Cannon [Fri, 15 Apr 2016 17:51:46 +0000 (10:51 -0700)]
Merge for issue #25609

8 years agoIssue #25609: Backport typing.ContextManager.
Brett Cannon [Fri, 15 Apr 2016 17:51:30 +0000 (10:51 -0700)]
Issue #25609: Backport typing.ContextManager.

This has no semantic impact as the class is guarded with a hasattr()
check; this is being done to keep typing.py in sync between Python 3.5
and 3.6 as requested by Guido.

8 years agoIssue #26766: Fix _PyBytesWriter_Finish()
Victor Stinner [Fri, 15 Apr 2016 15:52:27 +0000 (17:52 +0200)]
Issue #26766: Fix _PyBytesWriter_Finish()

Return a bytearray object when bytearray is requested and when the small buffer
is used.

Fix also test_bytes: bytearray%args must return a bytearray type.

8 years agoNull merge
Serhiy Storchaka [Fri, 15 Apr 2016 11:14:05 +0000 (14:14 +0300)]
Null merge

8 years agoIssue #26764: Bacported tests for bytes formatting.
Serhiy Storchaka [Fri, 15 Apr 2016 11:13:37 +0000 (14:13 +0300)]
Issue #26764: Bacported tests for bytes formatting.

8 years agoIssue #26764: Fixed SystemError in bytes.__rmod__.
Serhiy Storchaka [Fri, 15 Apr 2016 11:11:10 +0000 (14:11 +0300)]
Issue #26764: Fixed SystemError in bytes.__rmod__.

8 years agoIssue #15984: Merge PyUnicode doc from 3.5
Martin Panter [Fri, 15 Apr 2016 02:27:11 +0000 (02:27 +0000)]
Issue #15984: Merge PyUnicode doc from 3.5

8 years agoIssue #15984: Correct PyUnicode_FromObject() and _FromEncodedObject() docs
Martin Panter [Fri, 15 Apr 2016 00:56:21 +0000 (00:56 +0000)]
Issue #15984: Correct PyUnicode_FromObject() and _FromEncodedObject() docs

8 years agoCorrect “an” → “a” with “Unicode”, “user”, “UTF”, etc
Martin Panter [Fri, 15 Apr 2016 02:14:19 +0000 (02:14 +0000)]
Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc

This affects documentation, code comments, and a debugging messages.

8 years agoFix missing parens.
Steven D'Aprano [Fri, 15 Apr 2016 00:06:18 +0000 (10:06 +1000)]
Fix missing parens.

8 years agoImprove tests with more modern assert* methods and subTests.
Steven D'Aprano [Fri, 15 Apr 2016 00:04:24 +0000 (10:04 +1000)]
Improve tests with more modern assert* methods and subTests.

8 years agorun Tools/reindent.py on secrets.py to satisfy the checkwhitespace hook
Steven D'Aprano [Thu, 14 Apr 2016 15:55:14 +0000 (01:55 +1000)]
run Tools/reindent.py on secrets.py to satisfy the checkwhitespace hook