]> granicus.if.org Git - python/log
python
9 years agoFixed full Tcl version parsing in tests for pre-final versions.
Serhiy Storchaka [Wed, 22 Apr 2015 05:36:41 +0000 (08:36 +0300)]
Fixed full Tcl version parsing in tests for pre-final versions.

9 years agoFixed full Tcl version parsing in tests for pre-final versions.
Serhiy Storchaka [Wed, 22 Apr 2015 05:36:03 +0000 (08:36 +0300)]
Fixed full Tcl version parsing in tests for pre-final versions.

9 years agoMerge from 3.4
Andrew Kuchling [Tue, 21 Apr 2015 23:44:54 +0000 (19:44 -0400)]
Merge from 3.4

9 years ago#15183: clarify timeit documentation to say that setup statement isn't timed
Andrew Kuchling [Tue, 21 Apr 2015 23:43:33 +0000 (19:43 -0400)]
#15183: clarify timeit documentation to say that setup statement isn't timed

9 years agoIssue #23008: Fixed resolving attributes with boolean value is False in pydoc.
Serhiy Storchaka [Tue, 21 Apr 2015 18:11:13 +0000 (21:11 +0300)]
Issue #23008: Fixed resolving attributes with boolean value is False in pydoc.

9 years agoIssue #23008: Fixed resolving attributes with boolean value is False in pydoc.
Serhiy Storchaka [Tue, 21 Apr 2015 18:09:48 +0000 (21:09 +0300)]
Issue #23008: Fixed resolving attributes with boolean value is False in pydoc.

9 years agomerge 3.4 (#24022)
Benjamin Peterson [Tue, 21 Apr 2015 16:07:06 +0000 (12:07 -0400)]
merge 3.4 (#24022)

9 years agodo not call into python api if an exception is set (#24022)
Benjamin Peterson [Tue, 21 Apr 2015 16:05:19 +0000 (12:05 -0400)]
do not call into python api if an exception is set (#24022)

9 years agoGet rid of unused-but-set-variable warning. len and len2 should be equal and len2...
Christian Heimes [Tue, 21 Apr 2015 08:57:41 +0000 (10:57 +0200)]
Get rid of unused-but-set-variable warning. len and len2 should be equal and len2 is technically more correct, too.

9 years ago#17445: difflib: add diff_bytes(), to compare bytes rather than str
Greg Ward [Tue, 21 Apr 2015 00:21:21 +0000 (20:21 -0400)]
#17445: difflib: add diff_bytes(), to compare bytes rather than str

Some applications (e.g. traditional Unix diff, version control
systems) neither know nor care about the encodings of the files they
are comparing. They are textual, but to the diff utility they are just
bytes. This worked fine under Python 2, because all of the hardcoded
strings in difflib.py are ASCII, so could safely be combined with
old-style u'' strings. But it stopped working in 3.x.

The solution is to use surrogate escapes for a lossless
bytes->str->bytes roundtrip. That means {unified,context}_diff() can
continue to just handle strings without worrying about bytes. Callers
who have to deal with bytes will need to change to using diff_bytes().

Use case: Mercurial's test runner uses difflib to compare current hg
output with known good output. But Mercurial's output is just bytes,
since it can contain:
  * file contents (arbitrary unknown encoding)
  * filenames (arbitrary unknown encoding)
  * usernames and commit messages (usually UTF-8, but not guaranteed
    because old versions of Mercurial did not enforce it)
  * user messages (locale encoding)

Since the output of any given hg command can include text in multiple
encodings, it is hopeless to try to treat it as decodable Unicode
text. It's just bytes, all the way down.

This is an elaboration of a patch by Terry Reedy.

9 years agomerge 3.4 (#23989)
Benjamin Peterson [Mon, 20 Apr 2015 22:22:21 +0000 (18:22 -0400)]
merge 3.4 (#23989)

9 years agorecommend requests library (closes #23989)
Benjamin Peterson [Mon, 20 Apr 2015 22:18:14 +0000 (18:18 -0400)]
recommend requests library (closes #23989)

Patch from Van Lindberg

9 years ago - move some NEWS items to 3.5.0 beta 1
doko@ubuntu.com [Mon, 20 Apr 2015 19:05:23 +0000 (21:05 +0200)]
 - move some NEWS items to 3.5.0 beta 1

9 years agoFix asyncio issue 235 (merge from 3.4).
Guido van Rossum [Mon, 20 Apr 2015 16:29:57 +0000 (09:29 -0700)]
Fix asyncio issue 235 (merge from 3.4).

9 years agoFix asyncio issue 235: Queue subclass bug caused by JoinableQueue merge.
Guido van Rossum [Mon, 20 Apr 2015 16:24:24 +0000 (09:24 -0700)]
Fix asyncio issue 235: Queue subclass bug caused by JoinableQueue merge.

9 years agoIssue #16840: Turn on support of bignums only in final release of Tcl 8.5.
Serhiy Storchaka [Mon, 20 Apr 2015 11:07:41 +0000 (14:07 +0300)]
Issue #16840: Turn on support of bignums only in final release of Tcl 8.5.

9 years agoIssue #16840: Turn on support of bignums only in final release of Tcl 8.5.
Serhiy Storchaka [Mon, 20 Apr 2015 11:05:37 +0000 (14:05 +0300)]
Issue #16840: Turn on support of bignums only in final release of Tcl 8.5.

9 years agoMerge Python 3.5.0a4 release engineering commits.
Larry Hastings [Mon, 20 Apr 2015 08:19:55 +0000 (01:19 -0700)]
Merge Python 3.5.0a4 release engineering commits.

9 years agoPost-release updates for Python 3.5.0a4.
Larry Hastings [Mon, 20 Apr 2015 08:18:10 +0000 (01:18 -0700)]
Post-release updates for Python 3.5.0a4.

9 years agoIssue #23908: os functions now reject paths with embedded null character
Serhiy Storchaka [Mon, 20 Apr 2015 07:12:28 +0000 (10:12 +0300)]
Issue #23908: os functions now reject paths with embedded null character
on Windows instead of silently truncate them.

Removed no longer used _PyUnicode_HasNULChars().

9 years agoIssue #23908: os functions now reject paths with embedded null character
Serhiy Storchaka [Mon, 20 Apr 2015 06:53:58 +0000 (09:53 +0300)]
Issue #23908: os functions now reject paths with embedded null character
on Windows instead of silently truncate them.

9 years agoIssue #23728: binascii.crc_hqx() could return an integer outside of the range
Serhiy Storchaka [Mon, 20 Apr 2015 06:31:51 +0000 (09:31 +0300)]
Issue #23728: binascii.crc_hqx() could return an integer outside of the range
0-0xffff for empty data.

9 years agoIssue #23728: binascii.crc_hqx() could return an integer outside of the range
Serhiy Storchaka [Mon, 20 Apr 2015 06:26:49 +0000 (09:26 +0300)]
Issue #23728: binascii.crc_hqx() could return an integer outside of the range
0-0xffff for empty data.

9 years agoIssue #23842: Added tests for os.major(), os.minor() and os.makedev().
Serhiy Storchaka [Mon, 20 Apr 2015 06:23:21 +0000 (09:23 +0300)]
Issue #23842: Added tests for os.major(), os.minor() and os.makedev().

9 years agoIssue #23842: Added tests for os.major(), os.minor() and os.makedev().
Serhiy Storchaka [Mon, 20 Apr 2015 06:22:13 +0000 (09:22 +0300)]
Issue #23842: Added tests for os.major(), os.minor() and os.makedev().

9 years agomerge 3.4
Benjamin Peterson [Mon, 20 Apr 2015 03:14:57 +0000 (23:14 -0400)]
merge 3.4

9 years agofix grammar
Benjamin Peterson [Mon, 20 Apr 2015 03:14:37 +0000 (23:14 -0400)]
fix grammar

9 years agoMinor fixes to Windows build scripts
Steve Dower [Mon, 20 Apr 2015 02:50:35 +0000 (19:50 -0700)]
Minor fixes to Windows build scripts

9 years agoBacked out buildbot clean
Steve Dower [Mon, 20 Apr 2015 02:45:51 +0000 (19:45 -0700)]
Backed out buildbot clean

9 years agoForce the buildbots to clean up all externals.
Steve Dower [Mon, 20 Apr 2015 02:40:09 +0000 (19:40 -0700)]
Force the buildbots to clean up all externals.

9 years agoAdded tag v3.5.0a4 for changeset 413e0e0004f4
Larry Hastings [Sun, 19 Apr 2015 20:56:54 +0000 (13:56 -0700)]
Added tag v3.5.0a4 for changeset 413e0e0004f4

9 years agoVersion number bump for Python 3.5.0a4. v3.5.0a4
Larry Hastings [Sun, 19 Apr 2015 20:51:40 +0000 (13:51 -0700)]
Version number bump for Python 3.5.0a4.

9 years agoRegenerated pydoc-topics and fixed bad/suspicious doc markup for Python 3.5.0a4.
Larry Hastings [Sun, 19 Apr 2015 20:50:12 +0000 (13:50 -0700)]
Regenerated pydoc-topics and fixed bad/suspicious doc markup for Python 3.5.0a4.

9 years agoIssue #23998: PyImport_ReInitLock() now checks for lock allocation error
Christian Heimes [Sun, 19 Apr 2015 19:15:02 +0000 (21:15 +0200)]
Issue #23998: PyImport_ReInitLock() now checks for lock allocation error

9 years agoIssue #23998: PyImport_ReInitLock() now checks for lock allocation error
Christian Heimes [Sun, 19 Apr 2015 19:12:14 +0000 (21:12 +0200)]
Issue #23998: PyImport_ReInitLock() now checks for lock allocation error

9 years agoIssue #23998: PyImport_ReInitLock() now checks for lock allocation error
Christian Heimes [Sun, 19 Apr 2015 19:08:42 +0000 (21:08 +0200)]
Issue #23998: PyImport_ReInitLock() now checks for lock allocation error

9 years agoFixed error message for the "u#" format code.
Serhiy Storchaka [Sun, 19 Apr 2015 18:13:00 +0000 (21:13 +0300)]
Fixed error message for the "u#" format code.

9 years agoFixed error message for the "u#" format code.
Serhiy Storchaka [Sun, 19 Apr 2015 18:11:30 +0000 (21:11 +0300)]
Fixed error message for the "u#" format code.

9 years agoUse PyArg_ParseTuple (new API) instead of PyArg_Parse (old API) for parsing tuples.
Serhiy Storchaka [Sun, 19 Apr 2015 17:38:19 +0000 (20:38 +0300)]
Use PyArg_ParseTuple (new API) instead of PyArg_Parse (old API) for parsing tuples.

9 years ago - #22980: fix triplet configure test for more targets
doko@ubuntu.com [Sun, 19 Apr 2015 12:44:05 +0000 (14:44 +0200)]
 - #22980: fix triplet configure test for more targets

9 years agoMark TarInfo.frombuf() and TarInfo.fromtarfile() as classmethods.
Berker Peksag [Sun, 19 Apr 2015 01:38:01 +0000 (04:38 +0300)]
Mark TarInfo.frombuf() and TarInfo.fromtarfile() as classmethods.

9 years agoMark TarInfo.frombuf() and TarInfo.fromtarfile() as classmethods.
Berker Peksag [Sun, 19 Apr 2015 01:37:35 +0000 (04:37 +0300)]
Mark TarInfo.frombuf() and TarInfo.fromtarfile() as classmethods.

9 years agoIssue #15566: Document encoding and errors parameters of TarInfo.frombuf().
Berker Peksag [Sun, 19 Apr 2015 01:32:52 +0000 (04:32 +0300)]
Issue #15566: Document encoding and errors parameters of TarInfo.frombuf().

Patch by Andy Holst.

9 years agoIssue #15566: Document encoding and errors parameters of TarInfo.frombuf().
Berker Peksag [Sun, 19 Apr 2015 01:32:23 +0000 (04:32 +0300)]
Issue #15566: Document encoding and errors parameters of TarInfo.frombuf().

Patch by Andy Holst.

9 years agoCloses #23536: Clarified scope of fileConfig()'s API.
Vinay Sajip [Sat, 18 Apr 2015 12:15:10 +0000 (13:15 +0100)]
Closes #23536: Clarified scope of fileConfig()'s API.

9 years agoIssue #23536: Clarified scope of fileConfig()'s API.
Vinay Sajip [Sat, 18 Apr 2015 12:14:10 +0000 (13:14 +0100)]
Issue #23536: Clarified scope of fileConfig()'s API.

9 years agoRemove local dead code. In both blocks dir is always greater 0.
Christian Heimes [Sat, 18 Apr 2015 03:54:02 +0000 (05:54 +0200)]
Remove local dead code. In both blocks dir is always greater 0.

9 years agoIssue #20181: Converted the unicodedata module to Argument Clinic.
Serhiy Storchaka [Fri, 17 Apr 2015 18:18:49 +0000 (21:18 +0300)]
Issue #20181: Converted the unicodedata module to Argument Clinic.

9 years agoIssue #20184: Converted _dbm and _gdbm modules to Argument Clinic.
Serhiy Storchaka [Fri, 17 Apr 2015 18:05:18 +0000 (21:05 +0300)]
Issue #20184: Converted _dbm and _gdbm modules to Argument Clinic.

9 years agoFix two typos in AbstractBasicAuthHandler documentation.
Berker Peksag [Fri, 17 Apr 2015 01:58:45 +0000 (04:58 +0300)]
Fix two typos in AbstractBasicAuthHandler documentation.

9 years ago#16914: fix test errors under -W error::BytesWarning.
R David Murray [Thu, 16 Apr 2015 22:54:56 +0000 (18:54 -0400)]
#16914: fix test errors under -W error::BytesWarning.

There are doubtless other debug messages in smtplib that would trigger an
error if they were tested, but this fixes the things we do now test,
which is good enough for now.

9 years ago#16914: reflow paragraph and add missing versionchanged.
R David Murray [Thu, 16 Apr 2015 21:24:52 +0000 (17:24 -0400)]
#16914: reflow paragraph and add missing versionchanged.

9 years agoNews item for #16914.
R David Murray [Thu, 16 Apr 2015 21:16:15 +0000 (17:16 -0400)]
News item for #16914.

9 years ago#16914: add timestamps to smtplib debugging output via new debuglevel 2.
R David Murray [Thu, 16 Apr 2015 21:14:42 +0000 (17:14 -0400)]
#16914: add timestamps to smtplib debugging output via new debuglevel 2.

Patch by Gavin Chappell and Maciej Szulik.

9 years ago#7159: generalize urllib prior auth support.
R David Murray [Thu, 16 Apr 2015 20:36:18 +0000 (16:36 -0400)]
#7159: generalize urllib prior auth support.

This fix is a superset of the functionality introduced by the issue #19494
enhancement, and supersedes that fix.  Instead of a new handler, we have a new
password manager that tracks whether we should send the auth for a given uri.
This allows us to say "always send", satisfying #19494, or track that we've
succeeded in auth and send the creds right away on every *subsequent* request.
The support for using the password manager is added to AbstractBasicAuth,
which means the proxy handler also now can handle prior auth if passed
the new password manager.

Patch by Akshit Khurana, docs mostly by me.

9 years agoMerge
Christian Heimes [Thu, 16 Apr 2015 18:26:19 +0000 (20:26 +0200)]
Merge

9 years agoUpdate coverity modeling file to silence datetime warnings
Christian Heimes [Thu, 16 Apr 2015 18:25:03 +0000 (20:25 +0200)]
Update coverity modeling file to silence datetime warnings

9 years ago#18128: use standard +NNNN timezone format in POT-Creation-Date header.
R David Murray [Thu, 16 Apr 2015 16:15:09 +0000 (12:15 -0400)]
#18128: use standard +NNNN timezone format in POT-Creation-Date header.

Patch by Michael McFadden, with a few small style tweaks.

9 years agoRemove redundant check fro md5module.
Christian Heimes [Thu, 16 Apr 2015 15:29:11 +0000 (17:29 +0200)]
Remove redundant check fro md5module.
CID 1294331 (#1 of 1): Identical code for different branches (IDENTICAL_BRANCHES)

9 years agoRemove redundant check for tb != NULL to shut up Coverity . It has been set to Py_Non...
Christian Heimes [Thu, 16 Apr 2015 15:25:45 +0000 (17:25 +0200)]
Remove redundant check for tb != NULL to shut up Coverity . It has been set to Py_None a couple of lines earlier.
CID 1291697 (#1 of 1): Dereference before null check (REVERSE_INULL)
check_after_deref: Null-checking tb suggests that it may be null, but it has already been dereferenced on all paths leading to the check.

9 years agoFix typo in assert statement
Christian Heimes [Thu, 16 Apr 2015 15:21:54 +0000 (17:21 +0200)]
Fix typo in assert statement

9 years agoNull merge
Serhiy Storchaka [Thu, 16 Apr 2015 08:58:11 +0000 (11:58 +0300)]
Null merge

9 years agoBackported tests from issue #20175.
Serhiy Storchaka [Thu, 16 Apr 2015 08:54:14 +0000 (11:54 +0300)]
Backported tests from issue #20175.

9 years agoIssue #20175: Converted the _io module to Argument Clinic.
Serhiy Storchaka [Thu, 16 Apr 2015 08:19:43 +0000 (11:19 +0300)]
Issue #20175: Converted the _io module to Argument Clinic.

9 years agoIssue #23935: Argument Clinic's understanding of format units
Larry Hastings [Thu, 16 Apr 2015 03:02:12 +0000 (23:02 -0400)]
Issue #23935: Argument Clinic's understanding of format units
accepting bytes, bytearrays, and buffers is now consistent with
both the documentation and the implementation.

9 years agoRemove spurious text from build instructions README.
Guido van Rossum [Thu, 16 Apr 2015 00:40:07 +0000 (17:40 -0700)]
Remove spurious text from build instructions README.

It said "New text", an apparent test edit by MvL ages ago.

9 years agoIssues #22980, 23969: For OS X, use PEP 3149-style file names for extension
Ned Deily [Thu, 16 Apr 2015 00:11:47 +0000 (17:11 -0700)]
Issues #22980, 23969: For OS X, use PEP 3149-style file names for extension
module binaries, with a platform triple of just "darwin", resulting in
file names like:

    _ssl.cpython-35m-darwin.so

rather than just _ssl.so as previously.

Instead of attempting to encode differences in CPU architecture and OS X
deployment targets in the file name as is done on other platforms,
these continue to be managed by the use of Apple multi-architecture
("fat") files, by the system dynamic loader, and by logic in higher-levels
like sysconfig.get_platform() and pip.

9 years agoIssue #23703: Fix a regression in urljoin() introduced in 901e4e52b20a.
Berker Peksag [Wed, 15 Apr 2015 23:31:14 +0000 (02:31 +0300)]
Issue #23703: Fix a regression in urljoin() introduced in 901e4e52b20a.

Patch by Demian Brecht.

9 years agoIssue #4254: Adds _curses.update_lines_cols() Patch by Arnon Yaari
Steve Dower [Wed, 15 Apr 2015 22:06:05 +0000 (18:06 -0400)]
Issue #4254: Adds _curses.update_lines_cols() Patch by Arnon Yaari

9 years ago#22980: fix triplet configure test for powerpc-linux-gnu
doko@ubuntu.com [Wed, 15 Apr 2015 21:31:02 +0000 (23:31 +0200)]
#22980: fix triplet configure test for powerpc-linux-gnu

9 years ago#23949: Improve tuple unpacking error messages.
R David Murray [Wed, 15 Apr 2015 21:08:45 +0000 (17:08 -0400)]
#23949: Improve tuple unpacking error messages.

Patch by Arnon Yaari.

9 years agoUpdates layout of some text in the Windows installer.
Steve Dower [Wed, 15 Apr 2015 20:18:58 +0000 (16:18 -0400)]
Updates layout of some text in the Windows installer.

9 years agoIssue 19933: Provide default argument for ndigits in round. Patch by Vajrasky Kok.
Steve Dower [Wed, 15 Apr 2015 20:10:59 +0000 (16:10 -0400)]
Issue 19933: Provide default argument for ndigits in round. Patch by Vajrasky Kok.

9 years ago - #22980: fix typo in Lib/test/test_sysconfig.py triplet test
doko@ubuntu.com [Wed, 15 Apr 2015 18:52:39 +0000 (20:52 +0200)]
 - #22980: fix typo in Lib/test/test_sysconfig.py triplet test

9 years ago - configure.ac: remove duplicate PLATDIR definition
doko@ubuntu.com [Wed, 15 Apr 2015 18:45:33 +0000 (20:45 +0200)]
 - configure.ac: remove duplicate PLATDIR definition

9 years ago- Issue #22980: Under Linux, GNU/KFreeBSD and the Hurd, C extensions now include
doko@ubuntu.com [Wed, 15 Apr 2015 18:23:14 +0000 (20:23 +0200)]
- Issue #22980: Under Linux, GNU/KFreeBSD and the Hurd, C extensions now include
  the architecture triplet in the extension name, to make it easy to test builds
  for different ABIs in the same working tree.

9 years agoIssue 23193: Add numeric_owner to tarfile.TarFile.extract() and tarfile.TarFile.extra...
Eric V. Smith [Wed, 15 Apr 2015 14:27:58 +0000 (10:27 -0400)]
Issue 23193: Add numeric_owner to tarfile.TarFile.extract() and tarfile.TarFile.extractall().

9 years agoadd Allison Kaptur (#21217)
Benjamin Peterson [Wed, 15 Apr 2015 04:00:41 +0000 (00:00 -0400)]
add Allison Kaptur (#21217)

9 years agoproperly wrap
Benjamin Peterson [Wed, 15 Apr 2015 02:12:14 +0000 (22:12 -0400)]
properly wrap

9 years agoAdd a subprocess.run() function than returns a CalledProcess instance for a
Gregory P. Smith [Tue, 14 Apr 2015 23:14:25 +0000 (16:14 -0700)]
Add a subprocess.run() function than returns a CalledProcess instance for a
more consistent API than the existing call* functions.
(enhancement from issue 23342)

9 years agoIssue #21217: inspect.getsourcelines() now tries to compute the start and
Antoine Pitrou [Tue, 14 Apr 2015 22:41:29 +0000 (00:41 +0200)]
Issue #21217: inspect.getsourcelines() now tries to compute the start and
end lines from the code object, fixing an issue when a lambda function is
used as decorator argument.  Patch by Thomas Ballinger.

9 years agoUpdates Windows installer to promote per-user installs over all-users.
Steve Dower [Tue, 14 Apr 2015 22:34:04 +0000 (18:34 -0400)]
Updates Windows installer to promote per-user installs over all-users.

9 years agoGenerates and signs a self-extracting executable containing an embedded Python.
Steve Dower [Tue, 14 Apr 2015 22:34:04 +0000 (18:34 -0400)]
Generates and signs a self-extracting executable containing an embedded Python.

9 years agoissue9859: add the missing versionadded tag to the documentation.
Gregory P. Smith [Tue, 14 Apr 2015 22:25:01 +0000 (15:25 -0700)]
issue9859: add the missing versionadded tag to the documentation.

9 years agoIssue #23944: Argument Clinic now wraps long impl prototypes at column 78.
Larry Hastings [Tue, 14 Apr 2015 22:07:59 +0000 (18:07 -0400)]
Issue #23944: Argument Clinic now wraps long impl prototypes at column 78.

9 years agoMerge: #23925: stop (eg) PYTHONSTARTUP from causing test_cmd_line failure.
R David Murray [Tue, 14 Apr 2015 21:58:40 +0000 (17:58 -0400)]
Merge: #23925: stop (eg) PYTHONSTARTUP from causing test_cmd_line failure.

9 years ago#23925: stop (eg) PYTHONSTARTUP from causing test_cmd_line failure.
R David Murray [Tue, 14 Apr 2015 21:57:41 +0000 (17:57 -0400)]
#23925: stop (eg) PYTHONSTARTUP from causing test_cmd_line failure.

Patch by Jamiel Almeida.

9 years agoissue9859: Use an expected failure rather than a skip.
Gregory P. Smith [Tue, 14 Apr 2015 20:54:09 +0000 (13:54 -0700)]
issue9859: Use an expected failure rather than a skip.

9 years agoCloses #23956: Merge with 3.4
Zachary Ware [Tue, 14 Apr 2015 20:46:22 +0000 (15:46 -0500)]
Closes #23956: Merge with 3.4

9 years agoIssue #23956: Fix typo in imp.py docstring.
Zachary Ware [Tue, 14 Apr 2015 20:43:00 +0000 (15:43 -0500)]
Issue #23956: Fix typo in imp.py docstring.

Patch by Jacinda Shelly.

9 years agoMerge: #23957: fix typo.
R David Murray [Tue, 14 Apr 2015 20:42:49 +0000 (16:42 -0400)]
Merge: #23957: fix typo.

9 years ago#23957: fix typo.
R David Murray [Tue, 14 Apr 2015 20:42:08 +0000 (16:42 -0400)]
#23957: fix typo.

9 years agoissue9859: Document test.support.detect_api_mismatch() and simplify its test.
Gregory P. Smith [Tue, 14 Apr 2015 20:26:06 +0000 (13:26 -0700)]
issue9859: Document test.support.detect_api_mismatch() and simplify its test.

9 years agoissue9859: rename CPyMatchTest to APIMismatchTest and add @support.cpython_only.
Gregory P. Smith [Tue, 14 Apr 2015 20:24:34 +0000 (13:24 -0700)]
issue9859: rename CPyMatchTest to APIMismatchTest and add @support.cpython_only.

9 years agoissue9859: Adds a CPyMatchTest test case to compare the exposed APIs
Gregory P. Smith [Tue, 14 Apr 2015 19:58:05 +0000 (12:58 -0700)]
issue9859: Adds a CPyMatchTest test case to compare the exposed APIs
of the Python io module and the C io module.  They do not currently
match so the failing test is marked with @unittest.skip.

9 years agoissue9859: Adds a test.support.detect_api_mismatch function useful to
Gregory P. Smith [Tue, 14 Apr 2015 19:56:53 +0000 (12:56 -0700)]
issue9859: Adds a test.support.detect_api_mismatch function useful to
compare the public APIs of two modules or classes.

9 years agoissue9014: Include more formatting on :c:type:`PyObject` etc.
Gregory P. Smith [Tue, 14 Apr 2015 18:21:26 +0000 (11:21 -0700)]
issue9014: Include more formatting on :c:type:`PyObject` etc.

9 years agoissue9014: Include more formatting on :c:type:`PyObject` etc.
Gregory P. Smith [Tue, 14 Apr 2015 18:21:05 +0000 (11:21 -0700)]
issue9014: Include more formatting on :c:type:`PyObject` etc.

9 years agoissue9014: Properly document PyObject_HEAD and friends post-PEP-3123.
Gregory P. Smith [Tue, 14 Apr 2015 18:13:14 +0000 (11:13 -0700)]
issue9014: Properly document PyObject_HEAD and friends post-PEP-3123.

9 years agoissue9014: Properly document PyObject_HEAD and friends post-PEP-3123.
Gregory P. Smith [Tue, 14 Apr 2015 18:12:53 +0000 (11:12 -0700)]
issue9014: Properly document PyObject_HEAD and friends post-PEP-3123.