]> granicus.if.org Git - python/log
python
12 years agoRemove packaging from the standard library.
Éric Araujo [Sun, 24 Jun 2012 04:07:41 +0000 (00:07 -0400)]
Remove packaging from the standard library.

Distutils2 will live on on PyPI and be included in the stdlib when it
is ready.  See discussion starting at
http://mail.python.org/pipermail/python-dev/2012-June/120430.html

12 years ago#11113: add a new "html5" dictionary containing the named character references define...
Ezio Melotti [Sun, 24 Jun 2012 02:37:41 +0000 (04:37 +0200)]
#11113: add a new "html5" dictionary containing the named character references defined by the HTML5 standard and the equivalent Unicode character(s) to the html.entities module.

12 years agoIssue #15154: Add "dir_fd" parameter to os.rmdir, remove "rmdir"
Larry Hastings [Sat, 23 Jun 2012 23:55:07 +0000 (16:55 -0700)]
Issue #15154: Add "dir_fd" parameter to os.rmdir, remove "rmdir"
parameter from os.remove / os.unlink.
Patch written by Georg Brandl.  (I'm really looking forward to George
getting commit privileges so I don't have to keep doing checkins on his
behalf.)

12 years agoErrors in "client" methods in test_socket were ignored because of a bogus except...
Antoine Pitrou [Sat, 23 Jun 2012 23:34:13 +0000 (01:34 +0200)]
Errors in "client" methods in test_socket were ignored because of a bogus except clause.
(this could reveal test failures!)

12 years agoIssue #13590: Improve support for OS X Xcode 4:
Ned Deily [Sat, 23 Jun 2012 23:02:19 +0000 (16:02 -0700)]
Issue #13590: Improve support for OS X Xcode 4:
- Try to avoid building Python or extension modules with problematic
  llvm-gcc compiler.
- Since Xcode 4 removes ppc support, extension module builds now
  check for ppc compiler support and automatically remove ppc and
  ppc64 archs when not available.
- Since Xcode 4 no longer install SDKs in default locations,
  extension module builds now revert to using installed headers
  and libs if the SDK used to build the interpreter is not
  available.
- Update ./configure to use better defaults for universal builds;
  in particular, --enable-universalsdk=yes uses the Xcode default
  SDK and --with-universal-archs now defaults to "intel" if ppc
  not available.

12 years agosmall refactor and PEP8 line width/docstring
Philip Jenvey [Sat, 23 Jun 2012 22:54:38 +0000 (15:54 -0700)]
small refactor and PEP8 line width/docstring

12 years agoTry to fix crash on x86 OpenIndiana buildbot.
Antoine Pitrou [Sat, 23 Jun 2012 22:42:59 +0000 (00:42 +0200)]
Try to fix crash on x86 OpenIndiana buildbot.

12 years agoReplace assert() with a more informative fatal error.
Antoine Pitrou [Sat, 23 Jun 2012 22:30:12 +0000 (00:30 +0200)]
Replace assert() with a more informative fatal error.

12 years agoMerge
Antoine Pitrou [Sat, 23 Jun 2012 22:20:26 +0000 (00:20 +0200)]
Merge

12 years agoIssue #15102: find python.exe in OutDir, not SolutionDir.
Martin v. Löwis [Sat, 23 Jun 2012 22:22:28 +0000 (00:22 +0200)]
Issue #15102: find python.exe in OutDir, not SolutionDir.

12 years agoMerge
Antoine Pitrou [Sat, 23 Jun 2012 22:20:11 +0000 (00:20 +0200)]
Merge

12 years agoUse struct member (ht_type) instead of casting pointers.
Antoine Pitrou [Sat, 23 Jun 2012 22:18:27 +0000 (00:18 +0200)]
Use struct member (ht_type) instead of casting pointers.

12 years agoIssue #11626: Add _SizeT functions to stable ABI.
Martin v. Löwis [Sat, 23 Jun 2012 22:00:30 +0000 (00:00 +0200)]
Issue #11626: Add _SizeT functions to stable ABI.

12 years agoFix whitespace.
Martin v. Löwis [Sat, 23 Jun 2012 21:21:48 +0000 (23:21 +0200)]
Fix whitespace.

12 years agoIssue #15146: Add PyType_FromSpecWithBases. Patch by Robin Schreiber.
Martin v. Löwis [Sat, 23 Jun 2012 21:20:45 +0000 (23:20 +0200)]
Issue #15146: Add PyType_FromSpecWithBases. Patch by Robin Schreiber.

12 years agoLower test-skipping threshold in test_reprlib
Antoine Pitrou [Sat, 23 Jun 2012 20:55:58 +0000 (22:55 +0200)]
Lower test-skipping threshold in test_reprlib

12 years agoIssue #14923: Optimize continuation-byte check in UTF-8 decoding. Patch by Serhiy...
Mark Dickinson [Sat, 23 Jun 2012 20:45:14 +0000 (21:45 +0100)]
Issue #14923: Optimize continuation-byte check in UTF-8 decoding.  Patch by Serhiy Storchaka.

12 years agoIssue #15102: Fix paths in external-amd64.bat.
Stefan Krah [Sat, 23 Jun 2012 20:18:19 +0000 (22:18 +0200)]
Issue #15102: Fix paths in external-amd64.bat.

12 years agoAdd MSVC-related entries to .hgignore
Antoine Pitrou [Sat, 23 Jun 2012 20:11:58 +0000 (22:11 +0200)]
Add MSVC-related entries to .hgignore

12 years agoAvoid depending on directory iteration order in test_shutil
Antoine Pitrou [Sat, 23 Jun 2012 20:05:11 +0000 (22:05 +0200)]
Avoid depending on directory iteration order in test_shutil

12 years agoAdd debug output to test_shutil
Antoine Pitrou [Sat, 23 Jun 2012 19:32:36 +0000 (21:32 +0200)]
Add debug output to test_shutil

12 years agoProper cleanup in test_shutil, even in case of error.
Antoine Pitrou [Sat, 23 Jun 2012 19:28:15 +0000 (21:28 +0200)]
Proper cleanup in test_shutil, even in case of error.

12 years agoIssue #15102: Use HOST_PYTHON only if it is set.
Martin v. Löwis [Sat, 23 Jun 2012 19:07:39 +0000 (21:07 +0200)]
Issue #15102: Use HOST_PYTHON only if it is set.

12 years ago#4489: Fix usage of fd-based functions to new api introduced earlier today
Hynek Schlawack [Sat, 23 Jun 2012 18:28:32 +0000 (20:28 +0200)]
#4489: Fix usage of fd-based functions to new api introduced earlier today

Also add an explicit test for safe implementation usage on supported platforms.

As a side effect, this commit adds a module-level attribute 'rmtree_is_safe'
which offers introspection whether the current rmtree implementation is safe
against symlink attacks.

12 years agoIssue #15150: regenerate python3stub.def.
Martin v. Löwis [Sat, 23 Jun 2012 17:56:19 +0000 (19:56 +0200)]
Issue #15150: regenerate python3stub.def.

12 years agoMerge with 3.2
Martin v. Löwis [Sat, 23 Jun 2012 17:51:48 +0000 (19:51 +0200)]
Merge with 3.2

12 years agoThe build target of this makefile is python3.dll, not python32.dll.
Martin v. Löwis [Sat, 23 Jun 2012 17:36:08 +0000 (19:36 +0200)]
The build target of this makefile is python3.dll, not python32.dll.

12 years agoIssue #15102: Allow platform-specific settings for the current project
Stefan Krah [Sat, 23 Jun 2012 16:57:45 +0000 (18:57 +0200)]
Issue #15102: Allow platform-specific settings for the current project
to override environment variables.

12 years agoIssue #15142: Fix reference leak when deallocating instances of types created using...
Antoine Pitrou [Sat, 23 Jun 2012 12:42:38 +0000 (14:42 +0200)]
Issue #15142: Fix reference leak when deallocating instances of types created using PyType_FromSpec().

12 years agoIssue #12965: More PyLong_As* clarifications. Thanks Stefan Krah.
Mark Dickinson [Sat, 23 Jun 2012 11:12:52 +0000 (12:12 +0100)]
Issue #12965:  More PyLong_As* clarifications.  Thanks Stefan Krah.

12 years agoIssue #12965: Clean up C-API docs for PyLong_AsLongLong(AndOverflow); clarify that...
Mark Dickinson [Sat, 23 Jun 2012 10:14:22 +0000 (11:14 +0100)]
Issue #12965: Clean up C-API docs for PyLong_AsLongLong(AndOverflow); clarify that __int__ will be called for non-PyLongs

12 years agoProperly test the various builtins lookup cases in inspect.getclosurevars
Nick Coghlan [Sat, 23 Jun 2012 10:07:39 +0000 (20:07 +1000)]
Properly test the various builtins lookup cases in inspect.getclosurevars

12 years agoFix typo in Misc/NEWS
Hynek Schlawack [Sat, 23 Jun 2012 16:21:11 +0000 (18:21 +0200)]
Fix typo in Misc/NEWS

12 years ago#4489: Add a shutil.rmtree that isn't suspectible to symlink attacks
Hynek Schlawack [Sat, 23 Jun 2012 15:58:42 +0000 (17:58 +0200)]
#4489: Add a shutil.rmtree that isn't suspectible to symlink attacks

It is used automatically on platforms supporting the necessary os.openat() and
os.unlinkat() functions. Main code by Martin von Löwis.

12 years agoUse non-deprecated speling.
Antoine Pitrou [Sat, 23 Jun 2012 16:11:59 +0000 (18:11 +0200)]
Use non-deprecated speling.

12 years agoProperly cleanup pep3147 modules in test_import
Antoine Pitrou [Sat, 23 Jun 2012 16:09:55 +0000 (18:09 +0200)]
Properly cleanup pep3147 modules in test_import

12 years agoTry to further debug occasional buildbot failure
Antoine Pitrou [Sat, 23 Jun 2012 15:27:56 +0000 (17:27 +0200)]
Try to further debug occasional buildbot failure

12 years agoOn behalf of Nadeem Vawda: issue #10376: micro-optimize reading from a Zipfile.
Antoine Pitrou [Sat, 23 Jun 2012 14:44:48 +0000 (16:44 +0200)]
On behalf of Nadeem Vawda: issue #10376: micro-optimize reading from a Zipfile.
(patch by Serhiy)

12 years ago#15114: the strict mode of HTMLParser and the HTMLParseError exception are deprecated...
Ezio Melotti [Sat, 23 Jun 2012 13:27:51 +0000 (15:27 +0200)]
#15114: the strict mode of HTMLParser and the HTMLParseError exception are deprecated now that the parser is able to parse invalid markup.

12 years agoIssue #15142: Fix reference leak when deallocating instances of types created using...
Antoine Pitrou [Sat, 23 Jun 2012 12:45:21 +0000 (14:45 +0200)]
Issue #15142: Fix reference leak when deallocating instances of types created using PyType_FromSpec().

12 years agoRemove outdated statement
Antoine Pitrou [Sat, 23 Jun 2012 12:19:58 +0000 (14:19 +0200)]
Remove outdated statement

12 years agoFix test_re failure under Windows.
Antoine Pitrou [Sat, 23 Jun 2012 12:17:39 +0000 (14:17 +0200)]
Fix test_re failure under Windows.

12 years agoIssue #3665: \u and \U escapes are now supported in unicode regular expressions.
Antoine Pitrou [Sat, 23 Jun 2012 11:29:19 +0000 (13:29 +0200)]
Issue #3665: \u and \U escapes are now supported in unicode regular expressions.
Patch by Serhiy Storchaka.

12 years agoIssue #12965: Merge from 3.2.
Mark Dickinson [Sat, 23 Jun 2012 11:13:15 +0000 (12:13 +0100)]
Issue #12965: Merge from 3.2.

12 years agoTry to fix shutil.which() tests on Windows by fixing a typo introduced in 27f9c26fdd8...
Georg Brandl [Sat, 23 Jun 2012 10:48:40 +0000 (12:48 +0200)]
Try to fix shutil.which() tests on Windows by fixing a typo introduced in 27f9c26fdd8b in posix_access().

12 years agoIssue #12965: Merge from 3.2.
Mark Dickinson [Sat, 23 Jun 2012 10:14:55 +0000 (11:14 +0100)]
Issue #12965: Merge from 3.2.

12 years agoClose #15153: Added inspect.getgeneratorlocals to simplify whitebox testing of genera...
Nick Coghlan [Sat, 23 Jun 2012 09:52:05 +0000 (19:52 +1000)]
Close #15153: Added inspect.getgeneratorlocals to simplify whitebox testing of generator state updates

12 years agoIssue #12965: Merge from 3.2
Mark Dickinson [Sat, 23 Jun 2012 09:49:36 +0000 (10:49 +0100)]
Issue #12965: Merge from 3.2

12 years agoIssue #12965: Clean up C-API docs for PyLong_AsLong(AndOverflow); clarify that __int_...
Mark Dickinson [Sat, 23 Jun 2012 09:49:12 +0000 (10:49 +0100)]
Issue #12965: Clean up C-API docs for PyLong_AsLong(AndOverflow); clarify that __int__ will be called for non-PyLongs

12 years agoClose #13062: Add inspect.getclosurevars to simplify testing stateful closures
Nick Coghlan [Sat, 23 Jun 2012 09:39:55 +0000 (19:39 +1000)]
Close #13062: Add inspect.getclosurevars to simplify testing stateful closures

12 years agomerge
Mark Dickinson [Sat, 23 Jun 2012 08:28:08 +0000 (09:28 +0100)]
merge

12 years agoIssue #14742: test_unparse now only checks a limited number of files unless the ...
Mark Dickinson [Sat, 23 Jun 2012 08:27:47 +0000 (09:27 +0100)]
Issue #14742: test_unparse now only checks a limited number of files unless the 'cpu' resource is specified.

12 years agoRemove useless test (flowinfo is unsigned).
Charles-François Natali [Sat, 23 Jun 2012 08:26:54 +0000 (10:26 +0200)]
Remove useless test (flowinfo is unsigned).

12 years agoRemove useless test (flowinfo is unsigned).
Charles-François Natali [Sat, 23 Jun 2012 08:17:05 +0000 (10:17 +0200)]
Remove useless test (flowinfo is unsigned).

12 years agoFix #15148. Capitalize PATH, hopefully leading to less confusion
Brian Curtin [Sat, 23 Jun 2012 03:49:12 +0000 (22:49 -0500)]
Fix #15148. Capitalize PATH, hopefully leading to less confusion

12 years agoFix #15148. Make the shutil.which docstring more thorough
Brian Curtin [Sat, 23 Jun 2012 03:48:06 +0000 (22:48 -0500)]
Fix #15148. Make the shutil.which docstring more thorough

12 years agoIssue #14626: Fix buildbot issue on OpenIndiana 3.x machines. (Hopefully.)
Larry Hastings [Sat, 23 Jun 2012 02:50:21 +0000 (19:50 -0700)]
Issue #14626: Fix buildbot issue on OpenIndiana 3.x machines.  (Hopefully.)

12 years agoRevert unintended change in 973b4806f760
Brian Curtin [Sat, 23 Jun 2012 02:40:52 +0000 (21:40 -0500)]
Revert unintended change in 973b4806f760

12 years agofile was the old arg name from an earlier patch. command matches the implementation
Brian Curtin [Sat, 23 Jun 2012 02:14:34 +0000 (21:14 -0500)]
file was the old arg name from an earlier patch. command matches the implementation

12 years agoIssue #15148: Fixed typos in shutil.which() docstring
Alexander Belopolsky [Sat, 23 Jun 2012 01:56:42 +0000 (21:56 -0400)]
Issue #15148: Fixed typos in shutil.which() docstring

12 years agofixed whitespace
Alexander Belopolsky [Sat, 23 Jun 2012 01:10:50 +0000 (21:10 -0400)]
fixed whitespace

12 years agoIssues #11024: Fixes and additional tests for Time2Internaldate.
Alexander Belopolsky [Sat, 23 Jun 2012 01:03:39 +0000 (21:03 -0400)]
Issues #11024: Fixes and additional tests for Time2Internaldate.

12 years agoSkip the test only if neccesary - Kernel bug in freebsd9 - #10142: Support for SEEK_H...
Jesus Cea [Sat, 23 Jun 2012 00:58:14 +0000 (02:58 +0200)]
Skip the test only if neccesary - Kernel bug in freebsd9 - #10142: Support for SEEK_HOLE/SEEK_DATA

12 years agoKernel bug in freebsd9 - #10142: Support for SEEK_HOLE/SEEK_DATA
Jesus Cea [Sat, 23 Jun 2012 00:55:36 +0000 (02:55 +0200)]
Kernel bug in freebsd9 - #10142: Support for SEEK_HOLE/SEEK_DATA

12 years agoA better repr() for FileFinder
Antoine Pitrou [Sat, 23 Jun 2012 00:12:56 +0000 (02:12 +0200)]
A better repr() for FileFinder

12 years agoIssue #14626: Fix buildbot issue on x86 Tiger 3.x.
Larry Hastings [Sat, 23 Jun 2012 00:06:48 +0000 (17:06 -0700)]
Issue #14626: Fix buildbot issue on x86 Tiger 3.x.

12 years agoIssue #14626: Fix buildbot issues on FreeBSD (AMD64). (Fingers crossed.)
Larry Hastings [Sat, 23 Jun 2012 00:01:41 +0000 (17:01 -0700)]
Issue #14626: Fix buildbot issues on FreeBSD (AMD64).  (Fingers crossed.)

12 years agoIssue #14626: Large refactoring of functions / parameters in the os module.
Larry Hastings [Fri, 22 Jun 2012 23:30:09 +0000 (16:30 -0700)]
Issue #14626: Large refactoring of functions / parameters in the os module.
Many functions now support "dir_fd" and "follow_symlinks" parameters;
some also support accepting an open file descriptor in place of of a path
string.  Added os.support_* collections as LBYL helpers.  Removed many
functions only previously seen in 3.3 alpha releases (often starting with
"f" or "l", or ending with "at").  Originally suggested by Serhiy Storchaka;
implemented by Larry Hastings.

12 years agoFix silly mistake in debugging code
Antoine Pitrou [Fri, 22 Jun 2012 22:49:44 +0000 (00:49 +0200)]
Fix silly mistake in debugging code

12 years agoWhitespace.
Stefan Krah [Fri, 22 Jun 2012 22:31:04 +0000 (00:31 +0200)]
Whitespace.

12 years agoIssue #15008: Implement PEP 362 "Signature Objects".
Larry Hastings [Fri, 22 Jun 2012 22:19:35 +0000 (15:19 -0700)]
Issue #15008: Implement PEP 362 "Signature Objects".
Patch by Yury Selivanov.

12 years agoMerge
Guido van Rossum [Fri, 22 Jun 2012 22:18:38 +0000 (15:18 -0700)]
Merge

12 years agoSpeed up base64.urlsafe_{en,de}code().
Guido van Rossum [Fri, 22 Jun 2012 22:16:09 +0000 (15:16 -0700)]
Speed up base64.urlsafe_{en,de}code().

12 years agoAdd debug output for temporary buildbot failures
Antoine Pitrou [Fri, 22 Jun 2012 22:07:38 +0000 (00:07 +0200)]
Add debug output for temporary buildbot failures

12 years agoIssue #444582: shutil.which() respects relative paths.
Antoine Pitrou [Fri, 22 Jun 2012 21:33:05 +0000 (23:33 +0200)]
Issue #444582: shutil.which() respects relative paths.

12 years agowhitespace normalize
Brian Curtin [Fri, 22 Jun 2012 21:03:06 +0000 (16:03 -0500)]
whitespace normalize

12 years agoFix #444582. Add shutil.which function for finding programs on the system path.
Brian Curtin [Fri, 22 Jun 2012 21:00:30 +0000 (16:00 -0500)]
Fix #444582. Add shutil.which function for finding programs on the system path.

12 years agoMerge heads
Martin v. Löwis [Fri, 22 Jun 2012 20:19:51 +0000 (22:19 +0200)]
Merge heads

12 years agoIssue #15143: Define _DEBUG when compiling resources.
Martin v. Löwis [Fri, 22 Jun 2012 20:16:42 +0000 (22:16 +0200)]
Issue #15143: Define _DEBUG when compiling resources.

12 years agoMerge
Antoine Pitrou [Fri, 22 Jun 2012 20:07:24 +0000 (22:07 +0200)]
Merge

12 years agomerge
Alexander Belopolsky [Fri, 22 Jun 2012 20:09:42 +0000 (16:09 -0400)]
merge

12 years agoAdd a docstring at the top of Tools/ssl/make_ssl_data.py
Antoine Pitrou [Fri, 22 Jun 2012 20:07:01 +0000 (22:07 +0200)]
Add a docstring at the top of Tools/ssl/make_ssl_data.py

12 years agoIssue #9527: tm_gmtoff has 'correct' sign.
Alexander Belopolsky [Fri, 22 Jun 2012 20:04:19 +0000 (16:04 -0400)]
Issue #9527: tm_gmtoff has 'correct' sign.

12 years agoIssue #14769: Incorporated mildly pedantic feedback from python-dev.
Larry Hastings [Fri, 22 Jun 2012 19:58:36 +0000 (12:58 -0700)]
Issue #14769: Incorporated mildly pedantic feedback from python-dev.
Mostly documentation changes; the code changes are clarifications,
not semantic changes.

12 years agoMerge
Antoine Pitrou [Fri, 22 Jun 2012 19:13:34 +0000 (21:13 +0200)]
Merge

12 years agoAdd forgotten files for #14837.
Antoine Pitrou [Fri, 22 Jun 2012 19:12:59 +0000 (21:12 +0200)]
Add forgotten files for #14837.

12 years agoIssue #14837: SSL errors now have `library` and `reason` attributes describing precis...
Antoine Pitrou [Fri, 22 Jun 2012 19:11:52 +0000 (21:11 +0200)]
Issue #14837: SSL errors now have `library` and `reason` attributes describing precisely what happened and in which OpenSSL submodule.
The str() of a SSLError is also enhanced accordingly.

NOTE: this commit creates a reference leak.  The leak seems tied to the
use of PyType_FromSpec() to create the SSLError type.  The leak is on the
type object when it is instantiated:

>>> e = ssl.SSLError()
>>> sys.getrefcount(ssl.SSLError)
35
>>> e = ssl.SSLError()
>>> sys.getrefcount(ssl.SSLError)
36
>>> e = ssl.SSLError()
>>> sys.getrefcount(ssl.SSLError)
37

12 years agoIssue #14785: Add sys._debugmallocstats() to help debug low-level memory allocation...
David Malcolm [Fri, 22 Jun 2012 18:55:41 +0000 (14:55 -0400)]
Issue #14785: Add sys._debugmallocstats() to help debug low-level memory allocation issues

12 years agoIssue #15124: Optimize _thread.LockType deletion and acquisition when
Kristjan Valur Jonsson [Fri, 22 Jun 2012 18:40:02 +0000 (18:40 +0000)]
Issue #15124: Optimize _thread.LockType deletion and acquisition when
not contested, similar to what _thread.RLock already has.

12 years agoFixed compiler warnings in datetime_astimezone()
Alexander Belopolsky [Fri, 22 Jun 2012 18:11:58 +0000 (14:11 -0400)]
Fixed compiler warnings in datetime_astimezone()

12 years agoIssue #9527: Fixes for platforms without tm_zone
Alexander Belopolsky [Fri, 22 Jun 2012 17:23:21 +0000 (13:23 -0400)]
Issue #9527: Fixes for platforms without tm_zone

12 years agomerge
Alexander Belopolsky [Fri, 22 Jun 2012 16:48:08 +0000 (12:48 -0400)]
merge

12 years agoIssue #7582: Use ISO timestamp in diff.py
Alexander Belopolsky [Fri, 22 Jun 2012 16:46:19 +0000 (12:46 -0400)]
Issue #7582: Use ISO timestamp in diff.py

12 years agoCloses #10142: Support for SEEK_HOLE/SEEK_DATA
Jesus Cea [Fri, 22 Jun 2012 16:32:07 +0000 (18:32 +0200)]
Closes #10142: Support for SEEK_HOLE/SEEK_DATA

12 years agoIssue #9527: datetime.astimezone() method will now supply a class
Alexander Belopolsky [Fri, 22 Jun 2012 16:25:57 +0000 (12:25 -0400)]
Issue #9527: datetime.astimezone() method will now supply a class
timezone instance corresponding to the system local timezone when
called with no arguments.

12 years agoIssue #9527: datetime.astimezone() method will now supply a class
Alexander Belopolsky [Fri, 22 Jun 2012 16:23:23 +0000 (12:23 -0400)]
Issue #9527: datetime.astimezone() method will now supply a class
timezone instance corresponding to the system local timezone when
called with no arguments.

12 years agoIssue #14769: test_capi now has SkipitemTest, which cleverly checks
Larry Hastings [Fri, 22 Jun 2012 10:56:29 +0000 (03:56 -0700)]
Issue #14769: test_capi now has SkipitemTest, which cleverly checks
for "parity" between PyArg_ParseTuple() and the Python/getargs.c static
function skipitem() for all possible "format units".

12 years agoWhitespace normalization
Martin v. Löwis [Fri, 22 Jun 2012 10:49:59 +0000 (12:49 +0200)]
Whitespace normalization

12 years agoAdd Stable ABI documentation.
Martin v. Löwis [Fri, 22 Jun 2012 10:49:08 +0000 (12:49 +0200)]
Add Stable ABI documentation.

12 years agoIssue #15042: Add PyState_AddModule and PyState_RemoveModule.
Martin v. Löwis [Fri, 22 Jun 2012 10:20:55 +0000 (12:20 +0200)]
Issue #15042: Add PyState_AddModule and PyState_RemoveModule.
Add version  guard for Py_LIMITED_API additions.
Issue #15081: Document PyState_FindModule.
Patch by Robin Schreiber.