]> granicus.if.org Git - python/log
python
13 years agoIssue #12881: ctypes: Fix segfault with large structure field names.
Meador Inge [Tue, 4 Oct 2011 02:34:04 +0000 (21:34 -0500)]
Issue #12881: ctypes: Fix segfault with large structure field names.

13 years agoupdate 2.7 - Document message_body arg in HTTPConnection.endheaders
Senthil Kumaran [Sun, 2 Oct 2011 23:37:58 +0000 (07:37 +0800)]
update 2.7 - Document message_body arg in HTTPConnection.endheaders

13 years ago#13076: fix links to datetime.time.
Ezio Melotti [Sun, 2 Oct 2011 09:22:13 +0000 (12:22 +0300)]
#13076: fix links to datetime.time.

13 years ago#4147: minidom's toprettyxml no longer adds whitespace to text nodes.
R David Murray [Sat, 1 Oct 2011 20:49:25 +0000 (16:49 -0400)]
#4147: minidom's toprettyxml no longer adds whitespace to text nodes.

Patch by Dan Kenigsberg.

13 years agoIssue #13034: When decoding some SSL certificates, the subjectAltName extension could...
Antoine Pitrou [Sat, 1 Oct 2011 17:30:58 +0000 (19:30 +0200)]
Issue #13034: When decoding some SSL certificates, the subjectAltName extension could be unreported.

13 years agoIssue #13058: ossaudiodev: fix a file descriptor leak on error. Patch by Thomas
Charles-François Natali [Thu, 29 Sep 2011 17:43:01 +0000 (19:43 +0200)]
Issue #13058: ossaudiodev: fix a file descriptor leak on error. Patch by Thomas
Jarosch.

13 years agoDoc fix. Mathematically correct sentence.
Senthil Kumaran [Wed, 28 Sep 2011 23:52:46 +0000 (07:52 +0800)]
Doc fix. Mathematically correct sentence.

13 years agoIssue #13013: ctypes: Fix a reference leak in PyCArrayType_from_ctype.
Meador Inge [Wed, 28 Sep 2011 01:35:28 +0000 (20:35 -0500)]
Issue #13013: ctypes: Fix a reference leak in PyCArrayType_from_ctype.

Thanks to Suman Saha for finding the bug and providing a patch.

13 years agoBackport issue #12973 itertools fix from 3.x.
Mark Dickinson [Sat, 24 Sep 2011 08:01:16 +0000 (09:01 +0100)]
Backport issue #12973 itertools fix from 3.x.

13 years agoIssue #7732: Fix a crash on importing a module if a directory has the same name
Victor Stinner [Fri, 23 Sep 2011 17:37:03 +0000 (19:37 +0200)]
Issue #7732: Fix a crash on importing a module if a directory has the same name
than a Python module (e.g. "__init__.py"): don't close the file twice.

PyFile_FromFile() does also close the file if PyString_FromString() failed. It
did already close the file on fill_file_fields() error (e.g. if the file is a
directory).

13 years agoIssue #12931: xmlrpclib now encodes Unicode URI to ISO-8859-1, instead of
Victor Stinner [Thu, 22 Sep 2011 23:15:32 +0000 (01:15 +0200)]
Issue #12931: xmlrpclib now encodes Unicode URI to ISO-8859-1, instead of
failing with a UnicodeDecodeError.

13 years agoFix a race condition in test_socket.ThreadableTest: the client is reported
Charles-François Natali [Wed, 21 Sep 2011 20:02:27 +0000 (22:02 +0200)]
Fix a race condition in test_socket.ThreadableTest: the client is reported
ready before having been set up.

13 years agoIssue #12981: test_multiprocessing: catch ImportError when importing
Charles-François Natali [Wed, 21 Sep 2011 16:44:49 +0000 (18:44 +0200)]
Issue #12981: test_multiprocessing: catch ImportError when importing
multiprocessing.reduction, which may not be available (e.g. if the OS doesn't
support FD passing over Unix domain sockets).

13 years agoClose #13022: _multiprocessing.recvfd() doesn't check that file descriptor was actual...
Jesus Cea [Wed, 21 Sep 2011 01:47:39 +0000 (03:47 +0200)]
Close #13022: _multiprocessing.recvfd() doesn't check that file descriptor was actually received

13 years agoBackport issue #12973 list_repeat fix from 3.x.
Mark Dickinson [Mon, 19 Sep 2011 18:23:55 +0000 (19:23 +0100)]
Backport issue #12973 list_repeat fix from 3.x.

13 years agoIssue #12973: Fix int.__pow__ overflow checks that invoked undefined behaviour, there...
Mark Dickinson [Mon, 19 Sep 2011 15:38:08 +0000 (16:38 +0100)]
Issue #12973: Fix int.__pow__ overflow checks that invoked undefined behaviour, thereby producing incorrect results on Clang.

13 years agoClose #13007: whichdb should recognize gdbm 1.9 magic numbers
Jesus Cea [Mon, 19 Sep 2011 14:57:18 +0000 (16:57 +0200)]
Close #13007: whichdb should recognize gdbm 1.9 magic numbers

13 years agoFix bug in heapq priority queue example.
Georg Brandl [Sun, 18 Sep 2011 05:40:05 +0000 (07:40 +0200)]
Fix bug in heapq priority queue example.

13 years agoAdd info from the docstring for random.gammavariate() to the docs.
Georg Brandl [Sat, 17 Sep 2011 18:36:28 +0000 (20:36 +0200)]
Add info from the docstring for random.gammavariate() to the docs.

13 years agoIssue #12935: Correct typo in findertools.
Ned Deily [Thu, 15 Sep 2011 21:07:31 +0000 (14:07 -0700)]
Issue #12935: Correct typo in findertools.

13 years agoUse bitwise instead of logical or for flags.
Stefan Krah [Thu, 15 Sep 2011 20:56:00 +0000 (22:56 +0200)]
Use bitwise instead of logical or for flags.

13 years agoFix the import machinery if there is an error on sys.path or sys.meta_path
Victor Stinner [Thu, 15 Sep 2011 17:45:53 +0000 (19:45 +0200)]
Fix the import machinery if there is an error on sys.path or sys.meta_path

find_module() now raises a RuntimeError, instead of ImportError, on an error on
sys.path or sys.meta_path because load_package() and import_submodule() returns
None and clear the exception if a ImportError occurred.

13 years agoBackport fix for issue #11149.
Stefan Krah [Wed, 14 Sep 2011 13:19:42 +0000 (15:19 +0200)]
Backport fix for issue #11149.

13 years agoPort the fix for Issue12924 (missing quote_plus) to 2.7 branch.
Senthil Kumaran [Mon, 12 Sep 2011 22:42:21 +0000 (06:42 +0800)]
Port the fix for Issue12924 (missing quote_plus) to 2.7 branch.

13 years agoRemove trailing spaces
Amaury Forgeot d'Arc [Mon, 12 Sep 2011 19:19:53 +0000 (21:19 +0200)]
Remove trailing spaces

13 years agoIssue #12483: ctypes: Fix a crash when the destruction of a callback
Amaury Forgeot d'Arc [Mon, 12 Sep 2011 18:12:09 +0000 (20:12 +0200)]
Issue #12483: ctypes: Fix a crash when the destruction of a callback
object triggers the garbage collector.

13 years agoBranch merge
Éric Araujo [Mon, 12 Sep 2011 15:47:48 +0000 (17:47 +0200)]
Branch merge

13 years agoFix determination of Metadata version (#8933). Patch by Filip Gruszczyński.
Éric Araujo [Sat, 10 Sep 2011 03:39:45 +0000 (05:39 +0200)]
Fix determination of Metadata version (#8933).  Patch by Filip Gruszczyński.

13 years agoSlight cleanup in distutils test_dist.
Éric Araujo [Sat, 10 Sep 2011 03:37:33 +0000 (05:37 +0200)]
Slight cleanup in distutils test_dist.

I have tests to add in this file and it’s always nice to start from a
clean base.  I’ve also changed a test that used to write an invalid
config file ('[global]command_packages = etc.' on one line), but the
test passes before and after this change, so either it magically works
or the test is poorly written.  Sigh.

13 years agoNEWS
Jesus Cea [Sat, 10 Sep 2011 02:35:18 +0000 (04:35 +0200)]
NEWS

13 years agoClose #12950: multiprocessing "test_fd_transfer" fails under OpenIndiana
Jesus Cea [Sat, 10 Sep 2011 02:04:09 +0000 (04:04 +0200)]
Close #12950: multiprocessing "test_fd_transfer" fails under OpenIndiana

13 years agoFix issue #12948: multiprocessing test failures can hang the buildbots
Jesus Cea [Fri, 9 Sep 2011 20:15:16 +0000 (22:15 +0200)]
Fix issue #12948: multiprocessing test failures can hang the buildbots

13 years agoClose issue #12948: multiprocessing test failures can hang the buildbots
Jesus Cea [Fri, 9 Sep 2011 18:26:57 +0000 (20:26 +0200)]
Close issue #12948: multiprocessing test failures can hang the buildbots

13 years agoPort a few markup edits from 3.x
Éric Araujo [Fri, 9 Sep 2011 17:20:27 +0000 (19:20 +0200)]
Port a few markup edits from 3.x

13 years agoIssue #12333: fix test_distutils failures under Solaris and derivatives. Patch by...
Jesus Cea [Fri, 9 Sep 2011 16:50:59 +0000 (18:50 +0200)]
Issue #12333: fix test_distutils failures under Solaris and derivatives. Patch by Antoine Pitrou

13 years agoCloses #12906: Fixed bug in YAML configuration.
Vinay Sajip [Tue, 6 Sep 2011 13:06:24 +0000 (14:06 +0100)]
Closes #12906: Fixed bug in YAML configuration.

13 years agoUpdate sys.platform doc for #12326.
Victor Stinner [Mon, 5 Sep 2011 20:33:55 +0000 (22:33 +0200)]
Update sys.platform doc for #12326.

Backport from Python 3.2 (e11b4c945f7e).

13 years agoIssue #12326: Remove plat-linux3 directory
Victor Stinner [Mon, 5 Sep 2011 19:38:05 +0000 (21:38 +0200)]
Issue #12326: Remove plat-linux3 directory

sys.platform is now always 'linux2' on Linux (even on Linux 3)

13 years agomerge from 3.2. Fix closes Issue11155 - Correct the multiprocessing.Queue.put's...
Senthil Kumaran [Mon, 5 Sep 2011 16:23:10 +0000 (00:23 +0800)]
merge from 3.2.  Fix closes Issue11155  - Correct the multiprocessing.Queue.put's arg (replace 'item' with 'obj') in the docs. Patch by Westley Martínez.

13 years agoBranch merge
Éric Araujo [Mon, 5 Sep 2011 15:45:48 +0000 (17:45 +0200)]
Branch merge

13 years agoIssue #12841: Fix tarfile extraction of non-existent uids/gids.
Lars Gustäbel [Mon, 5 Sep 2011 15:04:18 +0000 (17:04 +0200)]
Issue #12841: Fix tarfile extraction of non-existent uids/gids.

tarfile unnecessarily checked the existence of numerical user and group ids on
extraction. If one of them did not exist the respective id of the current user
(i.e. root) was used for the file and ownership information was lost. (Patch
by Sebastien Luttringer)

13 years agoWarn instead of crashing because of invalid path in MANIFEST.in (#8286).
Éric Araujo [Fri, 2 Sep 2011 22:47:07 +0000 (00:47 +0200)]
Warn instead of crashing because of invalid path in MANIFEST.in (#8286).

sdist used to crash with a full traceback dump instead of printing a
nice warning with the faulty line number.

13 years agoEnable catching WARN-level logging messages in distutils' test_sdist
Éric Araujo [Fri, 2 Sep 2011 22:28:43 +0000 (00:28 +0200)]
Enable catching WARN-level logging messages in distutils' test_sdist

13 years agoGive credit to Adam
Sandro Tosi [Fri, 2 Sep 2011 19:23:55 +0000 (21:23 +0200)]
Give credit to Adam

13 years agoIssue #12764: Fix a crash in ctypes when the name of a Structure field is not
Amaury Forgeot d'Arc [Fri, 2 Sep 2011 18:32:23 +0000 (20:32 +0200)]
Issue #12764: Fix a crash in ctypes when the name of a Structure field is not
a string.

13 years ago#12781: Mention SO_REUSEADDR flag near socket examples
Sandro Tosi [Fri, 2 Sep 2011 18:04:20 +0000 (20:04 +0200)]
#12781: Mention SO_REUSEADDR flag near socket examples

13 years agoBranch merge
Éric Araujo [Fri, 2 Sep 2011 15:33:10 +0000 (17:33 +0200)]
Branch merge

13 years agoRemove unused variable if Python is build without threads
Victor Stinner [Thu, 1 Sep 2011 22:21:36 +0000 (00:21 +0200)]
Remove unused variable if Python is build without threads

13 years agoRemove obsolete comment
Éric Araujo [Thu, 1 Sep 2011 20:06:49 +0000 (22:06 +0200)]
Remove obsolete comment

13 years agoClarify compileall command-line options (#10454).
Éric Araujo [Thu, 1 Sep 2011 18:04:50 +0000 (20:04 +0200)]
Clarify compileall command-line options (#10454).

Backport of R. David Murray’s 3.2 patch.  The code is ugly, with print
statements split across lines, but the output is readable.

13 years agoDocument that format string don’t support arbitrary dictonary keys.
Éric Araujo [Thu, 1 Sep 2011 17:57:01 +0000 (19:57 +0200)]
Document that format string don’t support arbitrary dictonary keys.

Text adapted from the PEP.  Addition requested by Terry J. Reedy on
2011-02-23 on python-dev.

13 years agoDocument that True/False/None don’t use :keyword: in doc
Éric Araujo [Thu, 1 Sep 2011 17:56:04 +0000 (19:56 +0200)]
Document that True/False/None don’t use :keyword: in doc

13 years agoFix some markup and one typo
Éric Araujo [Thu, 1 Sep 2011 17:54:05 +0000 (19:54 +0200)]
Fix some markup and one typo

13 years agoAvoid using the default reST role. Makes Doc/tools/rstlint.py happy.
Éric Araujo [Thu, 1 Sep 2011 17:49:31 +0000 (19:49 +0200)]
Avoid using the default reST role.  Makes Doc/tools/rstlint.py happy.

13 years agoFrom RFC 3629 5- and 6-bytes UTF-8 sequences are invalid, so remove them from the...
Ezio Melotti [Thu, 1 Sep 2011 05:19:01 +0000 (08:19 +0300)]
From RFC 3629 5- and 6-bytes UTF-8 sequences are invalid, so remove them from the doc.

13 years agoFix test_sysconfig when run from a Python installed under /site (#10086).
Éric Araujo [Wed, 31 Aug 2011 14:48:17 +0000 (16:48 +0200)]
Fix test_sysconfig when run from a Python installed under /site (#10086).

Patch by Hallvard B Furuseth.

13 years agoIssue #9651: Fix a crash when ctypes.create_string_buffer(0) was passed to
Amaury Forgeot d'Arc [Tue, 30 Aug 2011 19:04:35 +0000 (21:04 +0200)]
Issue #9651: Fix a crash when ctypes.create_string_buffer(0) was passed to
some functions like file.write().

13 years agoadded versionadd information for pkgutil.get_data(); thanks to Kyle Monson from docs@
Sandro Tosi [Tue, 30 Aug 2011 17:40:28 +0000 (19:40 +0200)]
added versionadd information for pkgutil.get_data(); thanks to Kyle Monson from docs@

13 years agoMake bdist_* commands respect --skip-build passed to bdist (#10946)
Éric Araujo [Mon, 29 Aug 2011 23:48:59 +0000 (01:48 +0200)]
Make bdist_* commands respect --skip-build passed to bdist (#10946)

13 years agoAdd suspicious entries for the Python Porting HOWTO recently added
Éric Araujo [Mon, 29 Aug 2011 23:39:25 +0000 (01:39 +0200)]
Add suspicious entries for the Python Porting HOWTO recently added

13 years agoFix test failures when Python is compiled without thread support.
Nadeem Vawda [Mon, 29 Aug 2011 07:37:07 +0000 (09:37 +0200)]
Fix test failures when Python is compiled without thread support.

13 years agoAlways define _PyIsSelectable_fd().
Charles-François Natali [Sun, 28 Aug 2011 14:43:24 +0000 (16:43 +0200)]
Always define _PyIsSelectable_fd().

13 years agoIssue #12287: Fix a stack corruption in ossaudiodev module when the FD is
Charles-François Natali [Sun, 28 Aug 2011 14:22:33 +0000 (16:22 +0200)]
Issue #12287: Fix a stack corruption in ossaudiodev module when the FD is
greater than FD_SETSIZE.

13 years agoIssue #12839: Fix crash in zlib module due to version mismatch.
Nadeem Vawda [Sun, 28 Aug 2011 09:23:57 +0000 (11:23 +0200)]
Issue #12839: Fix crash in zlib module due to version mismatch.

If the version of zlib used to compile the zlib module is incompatible
with the one that is actually linked in, then calls into zlib will fail.
This can leave attributes of the z_stream uninitialized, so we must take
care to avoid segfaulting by trying to use an invalid pointer.

Fix by Richard M. Tew.

13 years agoProvide a better diagnosis on socket errors
Antoine Pitrou [Sat, 27 Aug 2011 23:18:31 +0000 (01:18 +0200)]
Provide a better diagnosis on socket errors

13 years agoRemove outdated pointer to optparse (fixes #11360).
Éric Araujo [Fri, 26 Aug 2011 14:38:40 +0000 (16:38 +0200)]
Remove outdated pointer to optparse (fixes #11360).

The doc already points to argparse.

13 years agoAdd FIXME note as a reminder
Éric Araujo [Fri, 26 Aug 2011 14:35:19 +0000 (16:35 +0200)]
Add FIXME note as a reminder

13 years agoBranch merge
Éric Araujo [Fri, 26 Aug 2011 14:32:36 +0000 (16:32 +0200)]
Branch merge

13 years agoDocument the "optional" argument of distutils’ Extension class
Éric Araujo [Thu, 25 Aug 2011 22:45:18 +0000 (00:45 +0200)]
Document the "optional" argument of distutils’ Extension class

13 years agoFix type information in distutils API reference (#9302).
Éric Araujo [Fri, 26 Aug 2011 00:08:20 +0000 (02:08 +0200)]
Fix type information in distutils API reference (#9302).

Initial patch by Yue Shuaijie.

13 years agoBackport tests for the distutils install command
Éric Araujo [Fri, 26 Aug 2011 00:06:27 +0000 (02:06 +0200)]
Backport tests for the distutils install command

13 years agoTry to fix test_distutils on Windows (#12678)
Éric Araujo [Fri, 26 Aug 2011 00:05:44 +0000 (02:05 +0200)]
Try to fix test_distutils on Windows (#12678)

13 years agoAdd tests for build_ext --user (backport from 3.2)
Éric Araujo [Fri, 26 Aug 2011 00:00:14 +0000 (02:00 +0200)]
Add tests for build_ext --user (backport from 3.2)

13 years agoRefactor helpers for compiling the xx module in distutils tests.
Éric Araujo [Thu, 25 Aug 2011 23:56:15 +0000 (01:56 +0200)]
Refactor helpers for compiling the xx module in distutils tests.

I need to copy the xxmodule.c file in other tests, so I moved the
support code to distutils.tests.support and improved it:
- don’t skip when run from the Lib/distutils/tests directory
- use proper skip machinery instead of custom print/return/test suite
  fiddling.

I also took out the fixup_build_ext function, which is needed for tests
to pass on Unix shared builds and Windows debug builds.

Finally, I cleaned up a few things:
- don’t remove directories in tearDown when the parent class’ tearDown
  has already registered the directories for removal
- simplify restoration of sys.path
- remove a few unused names found by pyflakes.

13 years agoIssue #12786: Set communication pipes used by subprocess.Popen CLOEXEC to avoid
Charles-François Natali [Thu, 25 Aug 2011 19:20:54 +0000 (21:20 +0200)]
Issue #12786: Set communication pipes used by subprocess.Popen CLOEXEC to avoid
them being inherited by other subprocesses.

13 years agoClose #12838: fix range() call.
Georg Brandl [Thu, 25 Aug 2011 09:52:26 +0000 (11:52 +0200)]
Close #12838: fix range() call.

13 years agoUpdate link to the decimal arithmetic specification.
Raymond Hettinger [Thu, 25 Aug 2011 02:13:17 +0000 (19:13 -0700)]
Update link to the decimal arithmetic specification.

13 years agoIssue #4106: Fix occasional exceptions printed out by multiprocessing on interpreter...
Antoine Pitrou [Wed, 24 Aug 2011 20:41:05 +0000 (22:41 +0200)]
Issue #4106: Fix occasional exceptions printed out by multiprocessing on interpreter shutdown.

This bug doesn't seem to exist on 3.2, where daemon threads are killed
before Py_Finalize() is entered.

13 years agoIssue #11657: Fix sending file descriptors over 255 over a multiprocessing Pipe.
Antoine Pitrou [Tue, 23 Aug 2011 17:54:20 +0000 (19:54 +0200)]
Issue #11657: Fix sending file descriptors over 255 over a multiprocessing Pipe.
Also added some tests.

13 years agoIssue #12821: Fix test_fcntl failures on OpenBSD 5.
Charles-François Natali [Tue, 23 Aug 2011 17:42:02 +0000 (19:42 +0200)]
Issue #12821: Fix test_fcntl failures on OpenBSD 5.

13 years ago#9200: backport tests but run them on wide builds only.
Ezio Melotti [Mon, 22 Aug 2011 20:46:30 +0000 (23:46 +0300)]
#9200: backport tests but run them on wide builds only.

13 years agoIssue #12678: Fix distutils sdist test on Windows.
Nadeem Vawda [Sun, 21 Aug 2011 20:40:04 +0000 (22:40 +0200)]
Issue #12678: Fix distutils sdist test on Windows.

Patch by Jeremy Kloth.

13 years agoAdd missing name in shutil.__all__
Éric Araujo [Sun, 21 Aug 2011 14:14:01 +0000 (16:14 +0200)]
Add missing name in shutil.__all__

13 years ago#5301: add image/vnd.microsoft.icon (.ico) MIME type
Sandro Tosi [Sat, 20 Aug 2011 22:15:56 +0000 (00:15 +0200)]
#5301: add image/vnd.microsoft.icon (.ico) MIME type

13 years agoIssue #12213: make it clear that BufferedRWPair shouldn't be called with the
Antoine Pitrou [Sat, 20 Aug 2011 17:51:31 +0000 (19:51 +0200)]
Issue #12213: make it clear that BufferedRWPair shouldn't be called with the
same object as reader and writer, and deemphasize it in document order.

13 years ago#12787: link original MultiCall proposal to webarchive and in a footnote
Sandro Tosi [Sat, 20 Aug 2011 15:05:15 +0000 (17:05 +0200)]
#12787: link original MultiCall proposal to webarchive and in a footnote

13 years agoIssue #12213: Fix a buffering bug with interleaved reads and writes that
Antoine Pitrou [Sat, 20 Aug 2011 13:40:58 +0000 (15:40 +0200)]
Issue #12213: Fix a buffering bug with interleaved reads and writes that
could appear on io.BufferedRandom streams.

13 years agoIssue #12326: sys.platform is now always 'linux2' on Linux
Victor Stinner [Sat, 20 Aug 2011 12:02:38 +0000 (14:02 +0200)]
Issue #12326: sys.platform is now always 'linux2' on Linux

Even if Python is compiled on Linux 3.

13 years agofix description of \r; thanks to Thomas Waldmann from docs@
Sandro Tosi [Fri, 19 Aug 2011 20:54:33 +0000 (22:54 +0200)]
fix description of \r; thanks to Thomas Waldmann from docs@

13 years agomerge heads
Sandro Tosi [Fri, 19 Aug 2011 16:43:43 +0000 (18:43 +0200)]
merge heads

13 years agomention RFC1123 as origin of 4-year digit; thanks to John Haxby from docs@
Sandro Tosi [Fri, 19 Aug 2011 16:39:35 +0000 (18:39 +0200)]
mention RFC1123 as origin of 4-year digit; thanks to John Haxby from docs@

13 years agoBranch merge
Éric Araujo [Fri, 19 Aug 2011 12:24:38 +0000 (14:24 +0200)]
Branch merge

13 years agoFix typo in command name
Éric Araujo [Fri, 19 Aug 2011 07:30:26 +0000 (09:30 +0200)]
Fix typo in command name

13 years agoRemove obsolete term + indicate how to find the program (#1626300).
Éric Araujo [Fri, 19 Aug 2011 07:29:56 +0000 (09:29 +0200)]
Remove obsolete term + indicate how to find the program (#1626300).

Suggested by Terry J. Reedy.

13 years agoLink isinstance/issubclass to the ABC glossary entry (#12256)
Éric Araujo [Fri, 19 Aug 2011 07:15:47 +0000 (09:15 +0200)]
Link isinstance/issubclass to the ABC glossary entry (#12256)

13 years agoFix a typo and remove some unneeded markup
Éric Araujo [Fri, 19 Aug 2011 07:00:56 +0000 (09:00 +0200)]
Fix a typo and remove some unneeded markup

13 years agopatchcheck: don’t talk about the test suite when no code file were changed.
Éric Araujo [Fri, 19 Aug 2011 06:41:00 +0000 (08:41 +0200)]
patchcheck: don’t talk about the test suite when no code file were changed.

The line about the test suite will still get printed for changes in
Tools for example, which aren’t covered by the test suite, but it’s not
a big deal IMO.

13 years agoFix find command in makefile “funny” target
Éric Araujo [Fri, 19 Aug 2011 06:40:10 +0000 (08:40 +0200)]
Fix find command in makefile “funny” target

13 years agoAdd documentation for PEP 370 features in distutils (#10745).
Éric Araujo [Fri, 19 Aug 2011 06:34:52 +0000 (08:34 +0200)]
Add documentation for PEP 370 features in distutils (#10745).

Apart from adding a section to describe the user scheme, this changeset
also does some much needed cleanup:

- fixed inverted reST targets
- fixed some paths
- avoided duplicating the same options listing five or six times
- added missing entries for C headers locations
- added documentation for --install-lib
- fixed a few misuses of the option role (see #9312), but not all (not
  worth the time, but will do it in packaging docs)
- fixed some markup

The paths fixes were done with an eye on the source code in the install
command, so they really describe what’s actually done.  The situation on
Mac OS X is rather messy: the fix for #8084 touched site and sysconfig,
but distutils does not use these files anymore since the Great Revert.
I suspect we have a mismatched stdlib at the moment, and the fix is not
even clear (see discussion on #8084).

13 years agoImprove documentation for PEP 370 support in site module (#8617).
Éric Araujo [Fri, 19 Aug 2011 06:20:01 +0000 (08:20 +0200)]
Improve documentation for PEP 370 support in site module (#8617).

site.USER_BASE and site.USER_SITE are now fully documented.  PEP 370 is
outdated with respects to the Mac framework situation, but the code in
sysconfig and the example in the 3.2 What’s New document helped me find
the right values to document for Mac OS X.

The command-line interface of the site module is also described in the
module docs.

The purpose of the usercustomize module is explained in the site docs,
with a gentle introduction in the tutorial (right after the section that
talks about PYTHONSTARTUP; a comment mentions it should be moved from
the tutorial to another file, but that will be another bug).

Various markup and wording improvements were made along the way in the
site module docs.  Duplicate and incomplete declarations of environment
variables have also been removed (the original bug report was actually
about these entries :).  The site module docs are still a bit messy;
I’ll see about improving them for #11553.

All these sections are copiously interlinked and findable from the doc
indexes.