]> granicus.if.org Git - python/log
python
13 years agoFactor out the build_ext fixup for shared Python builds.
Éric Araujo [Sun, 21 Aug 2011 15:02:07 +0000 (17:02 +0200)]
Factor out the build_ext fixup for shared Python builds.

I need this to fix the failing test_install.

13 years agoAdd missing name in shutil
Éric Araujo [Sun, 21 Aug 2011 12:29:18 +0000 (14:29 +0200)]
Add missing name in shutil

13 years agoAdd missing closing paren in docstring (thanks Ezio)
Éric Araujo [Sun, 21 Aug 2011 10:53:37 +0000 (12:53 +0200)]
Add missing closing paren in docstring (thanks Ezio)

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

13 years agoBranch merge
Éric Araujo [Sat, 20 Aug 2011 17:57:42 +0000 (19:57 +0200)]
Branch merge

13 years agoBranch merge
Éric Araujo [Sat, 20 Aug 2011 17:55:58 +0000 (19:55 +0200)]
Branch merge

13 years agoIssue #12213: make it clear that BufferedRWPair shouldn't be called with the
Antoine Pitrou [Sat, 20 Aug 2011 17:48:43 +0000 (19:48 +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:56 +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 12:39:23 +0000 (14:39 +0200)]
Issue #12213: Fix a buffering bug with interleaved reads and writes that
could appear on BufferedRandom streams.

13 years agoIssue #12791: Break reference cycles early when a generator exits with an exception.
Antoine Pitrou [Sat, 20 Aug 2011 12:15:03 +0000 (14:15 +0200)]
Issue #12791: Break reference cycles early when a generator exits with an exception.

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

Even if Python is compiled on Linux 3.

13 years agoDedent example in docstring
Éric Araujo [Sat, 20 Aug 2011 05:25:39 +0000 (07:25 +0200)]
Dedent example in docstring

13 years agoAdd a test for extension modules in the distutils record file.
Éric Araujo [Sat, 20 Aug 2011 05:08:51 +0000 (07:08 +0200)]
Add a test for extension modules in the distutils record file.

I made a note a month ago that install --record wrote incorrect entries
for extension modules (I think the problem was that the first character
of the file was stripped), so I’m now adding a test to try to reproduce
that in the current versions.

13 years agoRework test_record a bit to make the test more exact
Éric Araujo [Sat, 20 Aug 2011 05:00:41 +0000 (07:00 +0200)]
Rework test_record a bit to make the test more exact

13 years agoRefactor the copying of xxmodule.c in distutils tests (#12141).
Éric Araujo [Sat, 20 Aug 2011 04:27:18 +0000 (06:27 +0200)]
Refactor the copying of xxmodule.c in distutils tests (#12141).

I need to copy this file in another test too, 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.

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

13 years agoFix typo in test names
Antoine Pitrou [Fri, 19 Aug 2011 18:32:34 +0000 (20:32 +0200)]
Fix typo in test names

13 years agomention RFC1123 as origin of 4-year digit; thanks to John Haxby from docs@
Sandro Tosi [Fri, 19 Aug 2011 16:40:21 +0000 (18:40 +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:22:28 +0000 (14:22 +0200)]
Branch merge

13 years agoTypo
Éric Araujo [Fri, 19 Aug 2011 07:28:46 +0000 (09:28 +0200)]
Typo

13 years agoMention virtual subclasses in the glossary entry for ABCs (#12256).
Éric Araujo [Fri, 19 Aug 2011 07:07:46 +0000 (09:07 +0200)]
Mention virtual subclasses in the glossary entry for ABCs (#12256).

I added a link from the term “virtual subclass” to the glossary entry
for ABCs but this was not enough, now the glossary briefly defines
“virtual” and links to the abc module doc which contains more mentions
of virtual subclasses.

13 years agoIssue #12780: Removed checks in logging for .pyc/.pyo in __file__.
Vinay Sajip [Fri, 19 Aug 2011 06:14:40 +0000 (07:14 +0100)]
Issue #12780: Removed checks in logging for .pyc/.pyo in __file__.

13 years agoIssue #12672: remove confusing part of sentence in documentation
Eli Bendersky [Fri, 19 Aug 2011 03:29:51 +0000 (06:29 +0300)]
Issue #12672: remove confusing part of sentence in documentation

13 years agoFix ResourceWarnings in test_subprocess.
Nadeem Vawda [Fri, 19 Aug 2011 03:12:01 +0000 (05:12 +0200)]
Fix ResourceWarnings in test_subprocess.

13 years agoFix typo in command name
Éric Araujo [Fri, 19 Aug 2011 01:44:36 +0000 (03:44 +0200)]
Fix typo in command name

13 years agoFix instance I missed in 59f7bbe1236c (#1626300)
Éric Araujo [Fri, 19 Aug 2011 01:12:38 +0000 (03:12 +0200)]
Fix instance I missed in 59f7bbe1236c (#1626300)

13 years agoMake logging call lazy
Éric Araujo [Fri, 19 Aug 2011 00:55:11 +0000 (02:55 +0200)]
Make logging call lazy

13 years agoRemove obsolete term + indicate how to find the program (#1626300).
Éric Araujo [Fri, 19 Aug 2011 00:30:15 +0000 (02:30 +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 00:17:03 +0000 (02:17 +0200)]
Link isinstance/issubclass to the ABC glossary entry (#12256)

13 years agoDon’t quote characters twice.
Éric Araujo [Thu, 18 Aug 2011 23:45:12 +0000 (01:45 +0200)]
Don’t quote characters twice.

``code`` markup is enough to mark command-line fragments or to talk
about a character.  ``'c'`` is still used for actual Python string
objects.  I did a similar change in optparse.rst in r86521.

I’ve also ported two minor changes from the 3.3 version of the file
(removing an unnecessary module name in a class directive, adding a
comma).

13 years agoDon’t use “arg” for “argument”
Éric Araujo [Thu, 18 Aug 2011 23:30:26 +0000 (01:30 +0200)]
Don’t use “arg” for “argument”

13 years agoAdd a few missing source links from 2.7 and harmonize lib docs headers
Éric Araujo [Thu, 18 Aug 2011 22:49:18 +0000 (00:49 +0200)]
Add a few missing source links from 2.7 and harmonize lib docs headers

13 years agoMinor improvements to BadZipFile and BadZipfile docs.
Éric Araujo [Thu, 18 Aug 2011 22:44:31 +0000 (00:44 +0200)]
Minor improvements to BadZipFile and BadZipfile docs.

I made the doc for the compat alias BadZipfile shorter and used a
directive to document deprecation.

I figured there was no point of talking about zipfile.error (“the old
name” that’s older than the other old name BadZipfile) in the 3.x docs
so I just removed it.

13 years agoFix markup to get a target instead of a comment
Éric Araujo [Thu, 18 Aug 2011 22:41:23 +0000 (00:41 +0200)]
Fix markup to get a target instead of a comment

13 years agoFix a typo and touch up blank lines
Éric Araujo [Thu, 18 Aug 2011 22:40:46 +0000 (00:40 +0200)]
Fix a typo and touch up blank lines

13 years agoAdd missing reST target for one section of this file
Éric Araujo [Thu, 18 Aug 2011 22:39:57 +0000 (00:39 +0200)]
Add missing reST target for one section of this file

13 years agoAvoid splitting a word between a link and text
Éric Araujo [Thu, 18 Aug 2011 22:39:19 +0000 (00:39 +0200)]
Avoid splitting a word between a link and text

13 years agoIssue #12650: fix failures on some buildbots, when a subprocess takes a long
Charles-François Natali [Thu, 18 Aug 2011 22:24:00 +0000 (00:24 +0200)]
Issue #12650: fix failures on some buildbots, when a subprocess takes a long
time to spawn.

13 years agomerge heads
Benjamin Peterson [Thu, 18 Aug 2011 18:54:16 +0000 (13:54 -0500)]
merge heads

13 years agothe named of the character is actually NUL
Benjamin Peterson [Thu, 18 Aug 2011 18:51:47 +0000 (13:51 -0500)]
the named of the character is actually NUL

13 years agoIssue #12650: Fix a race condition where a subprocess.Popen could leak
Charles-François Natali [Thu, 18 Aug 2011 16:49:39 +0000 (18:49 +0200)]
Issue #12650: Fix a race condition where a subprocess.Popen could leak
resources (FD/zombie) when killed at the wrong time.

13 years agoNUL -> NULL
Benjamin Peterson [Thu, 18 Aug 2011 15:48:50 +0000 (10:48 -0500)]
NUL -> NULL

13 years agofix possible refleaks
Benjamin Peterson [Wed, 17 Aug 2011 03:26:48 +0000 (22:26 -0500)]
fix possible refleaks

13 years ago#12761: fix wording of zlib license section
Sandro Tosi [Tue, 16 Aug 2011 18:03:11 +0000 (20:03 +0200)]
#12761: fix wording of zlib license section

13 years agoRevert change that was not a syntax fix but actually a behavior change
Éric Araujo [Tue, 16 Aug 2011 17:05:56 +0000 (19:05 +0200)]
Revert change that was not a syntax fix but actually a behavior change

13 years ago#12204: document that str.upper().isupper() might be False and add a note about cased...
Ezio Melotti [Mon, 15 Aug 2011 11:27:19 +0000 (14:27 +0300)]
#12204: document that str.upper().isupper() might be False and add a note about cased characters.

13 years ago#12266: Fix str.capitalize() to correctly uppercase/lowercase titlecased and cased...
Ezio Melotti [Mon, 15 Aug 2011 06:09:57 +0000 (09:09 +0300)]
#12266: Fix str.capitalize() to correctly uppercase/lowercase titlecased and cased non-letter characters.

13 years ago#12725: fix working. Patch by Ben Hayden.
Ezio Melotti [Sun, 14 Aug 2011 05:28:57 +0000 (08:28 +0300)]
#12725: fix working. Patch by Ben Hayden.

13 years agoFix #11513: wrong exception handling for the case that GzipFile itself raises an...
Georg Brandl [Sat, 13 Aug 2011 09:48:12 +0000 (11:48 +0200)]
Fix #11513: wrong exception handling for the case that GzipFile itself raises an IOError.

13 years agotokenize is just broken on test_pep3131.py
Benjamin Peterson [Sat, 13 Aug 2011 05:33:21 +0000 (00:33 -0500)]
tokenize is just broken on test_pep3131.py

13 years agonormalization is different between unicode builds, so use a new non-BMP char and...
Benjamin Peterson [Sat, 13 Aug 2011 04:35:34 +0000 (23:35 -0500)]
normalization is different between unicode builds, so use a new non-BMP char and add normalization test

13 years agoin narrow builds, make sure to test codepoints as identifier characters (closes ...
Benjamin Peterson [Sat, 13 Aug 2011 03:17:18 +0000 (22:17 -0500)]
in narrow builds, make sure to test codepoints as identifier characters (closes #12732)

This fixes the use of Unicode identifiers outside the BMP in narrow builds.

13 years agolet PySequence_Check me a link; thanks to tomo cocoa from docs@
Sandro Tosi [Fri, 12 Aug 2011 22:39:46 +0000 (00:39 +0200)]
let PySequence_Check me a link; thanks to tomo cocoa from docs@

13 years agoBranch merge
Éric Araujo [Fri, 12 Aug 2011 17:52:43 +0000 (19:52 +0200)]
Branch merge

13 years agoUpdate crlf and lfcr scripts for 3.x bytes semantics (#12032).
Éric Araujo [Fri, 12 Aug 2011 17:40:05 +0000 (19:40 +0200)]
Update crlf and lfcr scripts for 3.x bytes semantics (#12032).

Changes to crlf originally by Victor Stinner for 3.3, copied to lfcr by
me.  Manually tested.

13 years agoit's 'rather than'; reported by James Bateman on docs@
Sandro Tosi [Fri, 12 Aug 2011 17:31:32 +0000 (19:31 +0200)]
it's 'rather than'; reported by James Bateman on docs@

13 years agopatchcheck: don’t talk about the test suite when no code file were changed.
Éric Araujo [Fri, 12 Aug 2011 15:50:08 +0000 (17:50 +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 agoBranch merge
Éric Araujo [Fri, 12 Aug 2011 15:40:25 +0000 (17:40 +0200)]
Branch merge

13 years agoIssue #12687: Fix a possible buffering bug when unpickling text mode (protocol 0...
Antoine Pitrou [Thu, 11 Aug 2011 19:04:02 +0000 (21:04 +0200)]
Issue #12687: Fix a possible buffering bug when unpickling text mode (protocol 0, mostly) pickles.

13 years agoIssue #12718: Add documentation on using custom importers.
Vinay Sajip [Thu, 11 Aug 2011 12:45:48 +0000 (13:45 +0100)]
Issue #12718: Add documentation on using custom importers.

13 years agoNews item for Issue10087.
Senthil Kumaran [Thu, 11 Aug 2011 01:24:37 +0000 (09:24 +0800)]
News item for Issue10087.

13 years agoFix closes Issue10087 - fixing the output of calendar display in the html format...
Senthil Kumaran [Thu, 11 Aug 2011 01:22:52 +0000 (09:22 +0800)]
Fix closes Issue10087 -  fixing the output of calendar display in the html format. Patch by Chris Lambacher. Test Contributed by catherine.

13 years agoUse real word in English text (i.e. not code)
Éric Araujo [Wed, 10 Aug 2011 02:19:03 +0000 (04:19 +0200)]
Use real word in English text (i.e. not code)

13 years agoFix find command in makefile “funny” target
Éric Araujo [Wed, 10 Aug 2011 00:01:32 +0000 (02:01 +0200)]
Fix find command in makefile “funny” target

13 years agonote mutating tp_dict is bad (closes #12719)
Benjamin Peterson [Tue, 9 Aug 2011 21:07:01 +0000 (16:07 -0500)]
note mutating tp_dict is bad (closes #12719)

13 years agoTest pipes.quote with a few non-ASCII characters (see #9723).
Éric Araujo [Tue, 9 Aug 2011 21:03:43 +0000 (23:03 +0200)]
Test pipes.quote with a few non-ASCII characters (see #9723).

That pipes.quote thinks all non-ASCII characters need to be quoted may
be a bug, but right now I’m committing this test to make sure I haven’t
introduced a behavior change in 3.3 when I simplified the code to use a
regex (in 5966eeb0457d).

13 years agoBranch merge
Éric Araujo [Tue, 9 Aug 2011 16:01:38 +0000 (18:01 +0200)]
Branch merge

13 years agoConfirm that the prime example is actually correct. We get so many complaints about...
Georg Brandl [Mon, 8 Aug 2011 19:45:13 +0000 (21:45 +0200)]
Confirm that the prime example is actually correct.  We get so many complaints about a "buggy example" on docs@python, let us hope this cuts them in half at least.

13 years agoBranch merge
Éric Araujo [Mon, 8 Aug 2011 14:56:00 +0000 (16:56 +0200)]
Branch merge

13 years ago#12709: add error_callback argument to map_async documentation
Sandro Tosi [Mon, 8 Aug 2011 14:38:13 +0000 (16:38 +0200)]
#12709: add error_callback argument to map_async documentation

13 years ago#10741: add documentation for PyGILState_GetThisThreadState()
Sandro Tosi [Sun, 7 Aug 2011 22:16:54 +0000 (00:16 +0200)]
#10741: add documentation for PyGILState_GetThisThreadState()

13 years ago#12677: correct turtle orientation in doc
Sandro Tosi [Sun, 7 Aug 2011 15:12:19 +0000 (17:12 +0200)]
#12677: correct turtle orientation in doc

13 years agoAdd documentation for PEP 370 features in distutils (#10745).
Éric Araujo [Sat, 6 Aug 2011 14:30:42 +0000 (16:30 +0200)]
Add documentation for PEP 370 features in distutils (#10745).

This started out as an easy task, just add a section describing this
alternate scheme, but I found a lot of cleanup to do along the way:

- fixed inverted reST targets
- fixed entries for modules (hi abiflags!) or data files
- 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 doesn’t use these files.  I suspect we have a mismatched
stdlib at the moment, and the fix is not even clear (see the bug report
for further discussion).

13 years agoFix grammar
Eli Bendersky [Sat, 6 Aug 2011 06:31:09 +0000 (09:31 +0300)]
Fix grammar

13 years agoFix closes Issue12697 - Update the usage syntax of timeit module in the docs.
Senthil Kumaran [Sat, 6 Aug 2011 05:37:04 +0000 (13:37 +0800)]
Fix closes Issue12697 - Update the usage syntax of timeit module in the docs.

13 years agomerge from 2.7 - Fix closes issue11047 - Correct the 2.7 whatsnew description for...
Senthil Kumaran [Sat, 6 Aug 2011 04:54:23 +0000 (12:54 +0800)]
merge from 2.7 - Fix closes issue11047 - Correct the 2.7 whatsnew description for issue 7902.

13 years agoFix closes issue12698 - make the no_proxy environment variable handling a bit lenient...
Senthil Kumaran [Sat, 6 Aug 2011 04:27:40 +0000 (12:27 +0800)]
Fix closes issue12698 - make the no_proxy environment variable handling a bit lenient (accomodate spaces in between the items)

13 years agoImprove documentation for PEP 370 support in site module (#8617).
Éric Araujo [Fri, 5 Aug 2011 23:51:07 +0000 (01:51 +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, partly documented in the
3.2 What’s New, is fully 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.

13 years agoIssue #12540: Prevent zombie IDLE processes on Windows due to changes
Ned Deily [Wed, 3 Aug 2011 01:47:13 +0000 (18:47 -0700)]
Issue #12540: Prevent zombie IDLE processes on Windows due to changes
in os.kill().  Original patch by Eli Bendersky.

13 years agodosmodule is, thankfully, no more
Benjamin Peterson [Thu, 4 Aug 2011 16:07:42 +0000 (11:07 -0500)]
dosmodule is, thankfully, no more

13 years agochange the redundant svn scheme urljoin test case to svn+ssh scheme.
Senthil Kumaran [Wed, 3 Aug 2011 14:08:46 +0000 (22:08 +0800)]
change the redundant svn scheme urljoin test case to svn+ssh scheme.

13 years agomerged heads
Senthil Kumaran [Wed, 3 Aug 2011 10:46:24 +0000 (18:46 +0800)]
merged heads

13 years agoFix closes issue12683 - urljoin to work with relative join of svn scheme.
Senthil Kumaran [Wed, 3 Aug 2011 10:37:22 +0000 (18:37 +0800)]
Fix closes issue12683 - urljoin to work with relative join of svn scheme.

13 years agoFix spacing in string literal.
Georg Brandl [Wed, 3 Aug 2011 06:27:00 +0000 (08:27 +0200)]
Fix spacing in string literal.

13 years agoFix closes issue12663 - Correcting the ArgumentParser.error description. Patch by...
Senthil Kumaran [Tue, 2 Aug 2011 23:42:18 +0000 (07:42 +0800)]
Fix closes issue12663 - Correcting the ArgumentParser.error description. Patch by Sandro Tosi.

13 years ago#12665: Dictionary view example has error in set operation
Sandro Tosi [Tue, 2 Aug 2011 16:42:04 +0000 (18:42 +0200)]
#12665: Dictionary view example has error in set operation

13 years ago#12670: Fix struct code after forward declaration on ctypes doc
Sandro Tosi [Tue, 2 Aug 2011 14:17:14 +0000 (16:17 +0200)]
#12670: Fix struct code after forward declaration on ctypes doc

13 years agoFix closes Issue12183 - Explain the Symlink copy behavior in shutil.copytree. Patch...
Senthil Kumaran [Tue, 2 Aug 2011 10:52:28 +0000 (18:52 +0800)]
Fix closes Issue12183 - Explain the Symlink copy behavior in shutil.copytree. Patch by Petri Lehtinen.

13 years agoFix closes Issue12676 - Invalid identifier used in TypeError message in http.client.
Senthil Kumaran [Tue, 2 Aug 2011 10:33:41 +0000 (18:33 +0800)]
Fix closes Issue12676 - Invalid identifier used in TypeError message in http.client.
Reported by Popa Claudiu and Patch by Santoso Wijaya.

13 years agoSkip test_getsetlocale_issue1813() on Fedora due to setlocale() bug.
Stefan Krah [Mon, 1 Aug 2011 23:06:16 +0000 (01:06 +0200)]
Skip test_getsetlocale_issue1813() on Fedora due to setlocale() bug.
See: https://bugzilla.redhat.com/show_bug.cgi?id=726536

13 years agoUse attribute access instead of index access for namedtuple.
Georg Brandl [Mon, 1 Aug 2011 20:58:53 +0000 (22:58 +0200)]
Use attribute access instead of index access for namedtuple.

13 years agoFix resource warning when looking at turtledemo’s help (#12295)
Éric Araujo [Mon, 1 Aug 2011 15:29:36 +0000 (17:29 +0200)]
Fix resource warning when looking at turtledemo’s help (#12295)

13 years agoBranch merge
Éric Araujo [Mon, 1 Aug 2011 12:43:45 +0000 (14:43 +0200)]
Branch merge

13 years agoCloses #12667: Added documentation for SMTPHandler secure argument.
Vinay Sajip [Mon, 1 Aug 2011 10:31:52 +0000 (11:31 +0100)]
Closes #12667: Added documentation for SMTPHandler secure argument.

13 years agoFix typo reported by Sandro Tosi.
Ezio Melotti [Sun, 31 Jul 2011 19:49:18 +0000 (22:49 +0300)]
Fix typo reported by Sandro Tosi.

13 years agoStop trying to write into the stdlib during lib2to3 tests (#12331).
Éric Araujo [Sun, 31 Jul 2011 15:58:46 +0000 (17:58 +0200)]
Stop trying to write into the stdlib during lib2to3 tests (#12331).

This prevents tests from failing when run from a Python installed in a
read-only directory.

13 years agousing support.transient_internet helper method in the urllib2net test.
Senthil Kumaran [Sun, 31 Jul 2011 03:45:14 +0000 (11:45 +0800)]
using support.transient_internet helper method in the urllib2net test.

13 years agoFix regression with distutils MANIFEST handing (#11104, #8688).
Éric Araujo [Sun, 31 Jul 2011 02:06:12 +0000 (04:06 +0200)]
Fix regression with distutils MANIFEST handing (#11104, #8688).

The changed behavior of sdist in 3.1 broke packaging for projects that
wanted to use a manually-maintained MANIFEST file (instead of having a
MANIFEST.in template and letting distutils generate the MANIFEST).

The fixes that were committed for #8688 (76643c286b9f by Tarek and
d54da9248ed9 by me) did not fix all issues exposed in the bug report,
and also added one problem: the MANIFEST file format gained comments,
but the read_manifest method was not updated to handle (i.e. ignore)
them.  This changeset should fix everything; the tests have been
expanded and I successfully tested the 2.7 version with Mercurial, which
suffered from this regression.

I have grouped the versionchanged directives for these bugs in one place
and added micro version numbers to help users know the quirks of the
exact version they’re using.

Initial report, thorough diagnosis and patch by John Dennis, further
work on the patch by Stephen Thorne, and a few edits and additions by
me.

13 years agoLet “make patchcheck” work for out-of-dir builds (#9860)
Éric Araujo [Sat, 30 Jul 2011 19:34:04 +0000 (21:34 +0200)]
Let “make patchcheck” work for out-of-dir builds (#9860)

13 years ago#12531: Fix spaces and markup.
Ezio Melotti [Sat, 30 Jul 2011 18:25:22 +0000 (21:25 +0300)]
#12531: Fix spaces and markup.