]> granicus.if.org Git - python/log
python
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 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.

13 years agoadd space
Benjamin Peterson [Sat, 30 Jul 2011 14:59:50 +0000 (09:59 -0500)]
add space

13 years agodocument NotImplemented
Benjamin Peterson [Sat, 30 Jul 2011 14:57:24 +0000 (09:57 -0500)]
document NotImplemented

13 years agomerging Georg's revision
Eli Bendersky [Sat, 30 Jul 2011 08:36:41 +0000 (11:36 +0300)]
merging Georg's revision

13 years agoIssue #11699: fix documentation of OptionParser.get_option_group. Patch by Petri...
Eli Bendersky [Sat, 30 Jul 2011 08:14:32 +0000 (11:14 +0300)]
Issue #11699: fix documentation of OptionParser.get_option_group. Patch by Petri Lehtinen

13 years agoChange test.support docs to be more specific about the nature of this module.
Georg Brandl [Sat, 30 Jul 2011 07:00:48 +0000 (09:00 +0200)]
Change test.support docs to be more specific about the nature of this module.

13 years agoIssue #12531: add index entries to documentation of * and ** in function calls
Eli Bendersky [Sat, 30 Jul 2011 04:05:16 +0000 (07:05 +0300)]
Issue #12531: add index entries to documentation of * and ** in function calls

13 years agoremove duplicated type ready
Benjamin Peterson [Sat, 30 Jul 2011 03:44:42 +0000 (22:44 -0500)]
remove duplicated type ready

13 years agoIssue #12626: In regrtest, allow to filter tests using a glob filter
Antoine Pitrou [Fri, 29 Jul 2011 21:53:38 +0000 (23:53 +0200)]
Issue #12626: In regrtest, allow to filter tests using a glob filter
with the `-m` (or `--match`) option.  This works with all test cases
using the unittest module.  This is useful with long test suites
such as test_io or test_subprocess.

13 years agoIssue #12464: tempfile.TemporaryDirectory.cleanup() should not follow symlinks:
Charles-François Natali [Fri, 29 Jul 2011 16:59:24 +0000 (18:59 +0200)]
Issue #12464: tempfile.TemporaryDirectory.cleanup() should not follow symlinks:
fix it. Patch by Petri Lehtinen.

13 years agoDocument that atexit execution order is undefined (#9788)
Éric Araujo [Fri, 29 Jul 2011 16:04:24 +0000 (18:04 +0200)]
Document that atexit execution order is undefined (#9788)

13 years agoAdd a link target for argparse.Namespace (#8982)
Éric Araujo [Fri, 29 Jul 2011 15:59:17 +0000 (17:59 +0200)]
Add a link target for argparse.Namespace (#8982)

13 years agoLet the doc of __import__ link to importlib (#9254).
Éric Araujo [Fri, 29 Jul 2011 15:50:58 +0000 (17:50 +0200)]
Let the doc of __import__ link to importlib (#9254).

importlib.import_module eschews a number of issues that __import__ has.
Reviewed by Brett Cannon.  (The docstring of __import__ was already
updated in 3d490c3a019e, for #7397.)

13 years agoMake “pydoc somebuiltin.somemethod” work (#8887)
Éric Araujo [Fri, 29 Jul 2011 15:03:55 +0000 (17:03 +0200)]
Make “pydoc somebuiltin.somemethod” work (#8887)

13 years agoBranch merge
Éric Araujo [Fri, 29 Jul 2011 12:24:08 +0000 (14:24 +0200)]
Branch merge

13 years agoIssue 12514: Use try/finally to assure that timeit restores GC when done.
Raymond Hettinger [Fri, 29 Jul 2011 07:02:04 +0000 (00:02 -0700)]
Issue 12514: Use try/finally to assure that timeit restores GC when done.

13 years agoIssue #12644: document the '%a' conversion in the old string formatting operations...
Eli Bendersky [Fri, 29 Jul 2011 06:30:42 +0000 (09:30 +0300)]
Issue #12644: document the '%a' conversion in the old string formatting operations. Patch prepared together with Ezio Melotti

13 years agoChange one line I missed in 7527f3f9829
Éric Araujo [Fri, 29 Jul 2011 01:28:40 +0000 (03:28 +0200)]
Change one line I missed in 7527f3f9829

13 years agoBranch merge
Éric Araujo [Thu, 28 Jul 2011 21:08:11 +0000 (23:08 +0200)]
Branch merge

13 years agoMerge profile docs followup (#12417) from 3.1
Éric Araujo [Thu, 28 Jul 2011 21:00:14 +0000 (23:00 +0200)]
Merge profile docs followup (#12417) from 3.1

13 years agoRemove mentions of previous license in profile module docs (#12417 followup).
Éric Araujo [Thu, 28 Jul 2011 20:56:24 +0000 (22:56 +0200)]
Remove mentions of previous license in profile module docs (#12417 followup).

Also remove an extra docstring.

13 years agoTurn raw URI into real link
Éric Araujo [Thu, 28 Jul 2011 20:50:18 +0000 (22:50 +0200)]
Turn raw URI into real link

13 years agoUpdate documentation for shutil.move (#12043) and fix a few typos.
Éric Araujo [Thu, 28 Jul 2011 20:49:11 +0000 (22:49 +0200)]
Update documentation for shutil.move (#12043) and fix a few typos.

Adding Sandro Tosi to Doc/ACKS for this patch and all his work on the
docs mailing list and on the bug tracker.

13 years agoStop ignoring Mercurial merge conflits files (#12255).
Éric Araujo [Thu, 28 Jul 2011 20:45:46 +0000 (22:45 +0200)]
Stop ignoring Mercurial merge conflits files (#12255).

R. David Murray and I think that it’s more useful to have these files
show up in the output of “hg status”, to let the user know that some
merged file have to be checked before commit.  If you want to ignore
these files in your clones, it’s possible to do so from another ignore
file; see the bug report for directions.

I’m leaving the .gitignore file alone, as I don’t know how git users
work with merges and conflicts.

13 years agoMake VCSes ignore the compiled shared library file (#12255)
Éric Araujo [Thu, 28 Jul 2011 20:38:44 +0000 (22:38 +0200)]
Make VCSes ignore the compiled shared library file (#12255)

13 years agoFix closes Issue11439 Remove the SVN keywords from the code as it is no longer applic...
Senthil Kumaran [Thu, 28 Jul 2011 14:32:49 +0000 (22:32 +0800)]
Fix closes Issue11439 Remove the SVN keywords from the code as it is no longer applicable in hg. Patch Contributed by Neil Muller.

13 years agoIssue #11871: In test_threading.BarrierTests, bump the default barrier timeout
Charles-François Natali [Wed, 27 Jul 2011 19:26:42 +0000 (21:26 +0200)]
Issue #11871: In test_threading.BarrierTests, bump the default barrier timeout
to avoid timing-dependent failures.

13 years agoIssue #12603: Fix pydoc.synopsis() on files with non-negative st_mtime.
Charles-François Natali [Wed, 27 Jul 2011 17:40:02 +0000 (19:40 +0200)]
Issue #12603: Fix pydoc.synopsis() on files with non-negative st_mtime.

13 years agoFix closes Issue12621 - Fix docstrings of find and rfind methods of bytes/bytearry...
Senthil Kumaran [Wed, 27 Jul 2011 15:33:54 +0000 (23:33 +0800)]
Fix closes Issue12621 - Fix docstrings of find and rfind methods of bytes/bytearry/unicodeobject.

13 years agoIssue #12607: In subprocess, fix issue where if stdin, stdout or stderr is
Ross Lagerwall [Wed, 27 Jul 2011 05:16:31 +0000 (07:16 +0200)]
Issue #12607: In subprocess, fix issue where if stdin, stdout or stderr is
given as a low fd, it gets overwritten.

13 years agoCorrecting issue 12576 fix, which resulted in buildbot failures.
Senthil Kumaran [Wed, 27 Jul 2011 01:31:03 +0000 (09:31 +0800)]
Correcting issue 12576 fix, which resulted in buildbot failures.

13 years agoIssue #12590: IDLE editor window now always displays the first line
Ned Deily [Wed, 27 Jul 2011 01:17:33 +0000 (18:17 -0700)]
Issue #12590: IDLE editor window now always displays the first line
when opening a long file.  With Tk 8.5, the first line was hidden.

13 years agoFix closes Issue12576 - fix urlopen behavior on sites which do not send (or obsfuscat...
Senthil Kumaran [Wed, 27 Jul 2011 00:05:58 +0000 (08:05 +0800)]
Fix closes Issue12576 - fix urlopen behavior on sites which do not send (or obsfuscates) Connection: Close header.

13 years agoWhen testing for an hg repo, use a file that always exists, even with the "shared...
Antoine Pitrou [Tue, 26 Jul 2011 23:16:18 +0000 (01:16 +0200)]
When testing for an hg repo, use a file that always exists, even with the "shared" extension

13 years agoBackport 0398f07d4827 (fix for weird buildbot failures)
Antoine Pitrou [Tue, 26 Jul 2011 23:06:07 +0000 (01:06 +0200)]
Backport 0398f07d4827 (fix for weird buildbot failures)

13 years agoIssue #8746: Use tempfile module to get tempdir and randomize the
Ned Deily [Tue, 26 Jul 2011 20:53:55 +0000 (13:53 -0700)]
Issue #8746: Use tempfile module to get tempdir and randomize the
link file name.

13 years agoBranch merge.
Éric Araujo [Tue, 26 Jul 2011 16:25:14 +0000 (18:25 +0200)]
Branch merge.

I moved the NEWS entry for the reindent fix to the right release section.

13 years agoFix missing or wrong shebangs and missing executable bits for scripts (#10318)
Éric Araujo [Tue, 26 Jul 2011 16:01:08 +0000 (18:01 +0200)]
Fix missing or wrong shebangs and missing executable bits for scripts (#10318)

13 years agoFix string exception and a few style issues in mailerdaemon script
Éric Araujo [Tue, 26 Jul 2011 15:36:19 +0000 (17:36 +0200)]
Fix string exception and a few style issues in mailerdaemon script

13 years agoFix sorting or wording of some NEWS entries.
Éric Araujo [Tue, 26 Jul 2011 15:32:50 +0000 (17:32 +0200)]
Fix sorting or wording of some NEWS entries.

I would have put io and ctypes fixes into Extension Modules, but I
respected the choice of Antoine or Victor and left them in Library.

13 years agoFix style in code added by edba722f3b02
Éric Araujo [Tue, 26 Jul 2011 15:23:57 +0000 (17:23 +0200)]
Fix style in code added by edba722f3b02

13 years agoFixes #10639: reindent.py should not convert newlines
Jason R. Coombs [Tue, 26 Jul 2011 15:18:40 +0000 (11:18 -0400)]
Fixes #10639: reindent.py should not convert newlines
reindent.py now will use the newline detected in the original file and will report an error if mixed newlines are encountered.

13 years agoMake indentation comply with our style guide and the rest of the file
Éric Araujo [Tue, 26 Jul 2011 14:54:24 +0000 (16:54 +0200)]
Make indentation comply with our style guide and the rest of the file

13 years agoFix “anyways” (following R. David Murray in 4d5a546b6186)
Éric Araujo [Tue, 26 Jul 2011 14:53:17 +0000 (16:53 +0200)]
Fix “anyways” (following R. David Murray in 4d5a546b6186)

13 years agoFix reST references
Éric Araujo [Tue, 26 Jul 2011 13:14:35 +0000 (15:14 +0200)]
Fix reST references

13 years agoRemove duplicates of cmp_to_key (#12542, reviewed by Raymond Hettinger)
Éric Araujo [Tue, 26 Jul 2011 13:13:47 +0000 (15:13 +0200)]
Remove duplicates of cmp_to_key (#12542, reviewed by Raymond Hettinger)

13 years agoFixes #12637: Last resort messages now correctly handled. Thanks to Xavier de Gaye...
Vinay Sajip [Mon, 25 Jul 2011 18:53:28 +0000 (19:53 +0100)]
Fixes #12637: Last resort messages now correctly handled. Thanks to Xavier de Gaye for the patch."

13 years agoIssue #12102: Document that buffered files must be flushed before being used
Ross Lagerwall [Mon, 25 Jul 2011 05:12:43 +0000 (07:12 +0200)]
Issue #12102: Document that buffered files must be flushed before being used
with mmap. Patch by Steffen Daode Nurpmeso.

13 years agoIssue #12560: Build libpython.so on OpenBSD. Patch by Stefan Sperling.
Charles-François Natali [Sun, 24 Jul 2011 20:41:18 +0000 (22:41 +0200)]
Issue #12560: Build libpython.so on OpenBSD. Patch by Stefan Sperling.

13 years agoAdd a test for issue #1813: getlocale() failing under a Turkish locale
Antoine Pitrou [Sun, 24 Jul 2011 00:40:25 +0000 (02:40 +0200)]
Add a test for issue #1813: getlocale() failing under a Turkish locale
(not a problem under 3.x)

13 years agoIssue #1813: Fix codec lookup under Turkish locales.
Antoine Pitrou [Sun, 24 Jul 2011 00:27:04 +0000 (02:27 +0200)]
Issue #1813: Fix codec lookup under Turkish locales.

13 years agoIssue #12624: It is now possible to fail after the first failure when
Antoine Pitrou [Sat, 23 Jul 2011 20:33:39 +0000 (22:33 +0200)]
Issue #12624: It is now possible to fail after the first failure when
running in verbose mode (`-v` or `-W`), by using the `--failfast`
(or `-G`) option to regrtest.  This is useful with long test suites
such as test_io or test_subprocess.

13 years agoIssue #12591: Improve support of "universal newlines" in the subprocess
Antoine Pitrou [Sat, 23 Jul 2011 20:03:45 +0000 (22:03 +0200)]
Issue #12591: Improve support of "universal newlines" in the subprocess
module: the piped streams can now be properly read from or written to.

(this was broken due to the 2.x to 3.x transition; communicate() support
is still sketchy)

13 years agoIssue #12591: Allow io.TextIOWrapper to work with raw IO objects (without
Antoine Pitrou [Sat, 23 Jul 2011 19:46:35 +0000 (21:46 +0200)]
Issue #12591: Allow io.TextIOWrapper to work with raw IO objects (without
a read1() method), and add an undocumented *write_through* parameter to
mandate unbuffered writes.

13 years agoAdd Misc/NEWS entry for c741ba9e37ef.
Nadeem Vawda [Sat, 23 Jul 2011 13:16:23 +0000 (15:16 +0200)]
Add Misc/NEWS entry for c741ba9e37ef.

13 years agoIssue #10883: Fix socket leaks in urllib.request.
Nadeem Vawda [Sat, 23 Jul 2011 12:03:00 +0000 (14:03 +0200)]
Issue #10883: Fix socket leaks in urllib.request.

* ftpwrapper now uses reference counting to ensure that the underlying socket
  is closed when the ftpwrapper object is no longer in use
* ftplib.FTP.ntransfercmd() now closes the socket if an error occurs

Initial patch by Victor Stinner.

13 years agoFix closes issue12581 - Increase the urllib.parse test coverage. Patch by Petter...
Senthil Kumaran [Sat, 23 Jul 2011 10:27:45 +0000 (18:27 +0800)]
Fix closes issue12581 - Increase the urllib.parse test coverage. Patch by Petter Haggholm.

13 years agoFix function name: open -> urlopen.
Georg Brandl [Sat, 23 Jul 2011 06:04:40 +0000 (08:04 +0200)]
Fix function name: open -> urlopen.

13 years agoIssue #12592: Make Python build on OpenBSD 5 (and future major releases).
Charles-François Natali [Fri, 22 Jul 2011 21:48:44 +0000 (23:48 +0200)]
Issue #12592: Make Python build on OpenBSD 5 (and future major releases).

13 years agoNone is ok for identifiers but not strings
Benjamin Peterson [Fri, 22 Jul 2011 16:09:07 +0000 (11:09 -0500)]
None is ok for identifiers but not strings

13 years agohardcode the old svn __version__
Benjamin Peterson [Fri, 22 Jul 2011 15:39:12 +0000 (10:39 -0500)]
hardcode the old svn __version__

13 years agotype check AST strings and identifiers
Benjamin Peterson [Fri, 22 Jul 2011 15:50:23 +0000 (10:50 -0500)]
type check AST strings and identifiers

This is related to a21829180423 as well as #12609 and #12610.

13 years agoIssue #12372: POSIX semaphores are broken on AIX: don't use them.
Charles-François Natali [Thu, 21 Jul 2011 17:45:31 +0000 (19:45 +0200)]
Issue #12372: POSIX semaphores are broken on AIX: don't use them.

13 years ago#12601: fix typo.
Ezio Melotti [Thu, 21 Jul 2011 08:16:32 +0000 (11:16 +0300)]
#12601: fix typo.

13 years ago#11435: link to the correct branch.
Ezio Melotti [Thu, 21 Jul 2011 06:35:19 +0000 (09:35 +0300)]
#11435: link to the correct branch.

13 years agoFix closes issue12524 - update http.client POST example with a working example.
Senthil Kumaran [Wed, 20 Jul 2011 13:56:24 +0000 (21:56 +0800)]
Fix closes issue12524 - update http.client POST example with a working example.

13 years agoUpstream merge
Barry Warsaw [Tue, 19 Jul 2011 23:25:56 +0000 (19:25 -0400)]
Upstream merge

13 years agoIssue #12587: Correct faulty test file and reference in test_tokenize.
Ned Deily [Tue, 19 Jul 2011 23:15:27 +0000 (16:15 -0700)]
Issue #12587: Correct faulty test file and reference in test_tokenize.
(Patch by Robert Xiao)

13 years ago- Issue #10309: Define _GNU_SOURCE so that mremap() gets the proper
Barry Warsaw [Tue, 19 Jul 2011 22:28:30 +0000 (18:28 -0400)]
- Issue #10309: Define _GNU_SOURCE so that mremap() gets the proper
  signature.  Without this, architectures where sizeof void* != sizeof int are
  broken.  Patch given by Hallvard B Furuseth.

13 years agoIssue #12571: Add a plat-linux3 directory mirroring the plat-linux2 directory,
Antoine Pitrou [Tue, 19 Jul 2011 22:26:23 +0000 (00:26 +0200)]
Issue #12571: Add a plat-linux3 directory mirroring the plat-linux2 directory,
so that "import DLFCN" and other similar imports work on Linux 3.0.

13 years ago#7484: no more <> around addresses in VRFY or EXPN
R David Murray [Tue, 19 Jul 2011 01:38:54 +0000 (21:38 -0400)]
#7484: no more <> around addresses in VRFY or EXPN

The RFC doesn't say that they are allowed; apparently many mailers accept
them, but not postfix.  Contributions to this patch were made by Felipe Cruz
and Catalin Iacob.

The changeset also adds additional indirect tests for quoteaddr (null address
and IDNA-encoded address).

13 years agoFix closes issue12577 - clarify shutil.move documentation. Patch suggestion by Catali...
Senthil Kumaran [Tue, 19 Jul 2011 00:03:02 +0000 (08:03 +0800)]
Fix closes issue12577 - clarify shutil.move documentation. Patch suggestion by Catalin Iacob

13 years agoIssue #6476: Document that os.spawnle and os.spawnve are not thread-safe under Windows.
Antoine Pitrou [Mon, 18 Jul 2011 23:26:58 +0000 (01:26 +0200)]
Issue #6476: Document that os.spawnle and os.spawnve are not thread-safe under Windows.

13 years agoCloses #12579. Positional fields with str.format_map() now raise a ValueError instead...
Eric V. Smith [Mon, 18 Jul 2011 18:03:41 +0000 (14:03 -0400)]
Closes #12579. Positional fields with str.format_map() now raise a ValueError instead of SystemError.

13 years agoBetter English.
R David Murray [Mon, 18 Jul 2011 16:38:03 +0000 (12:38 -0400)]
Better English.

13 years agofix whitespace nit.
Senthil Kumaran [Sun, 17 Jul 2011 23:17:20 +0000 (07:17 +0800)]
fix whitespace nit.