]> granicus.if.org Git - python/log
python
13 years agoMake TypeError message from Command.__init__ more useful
Éric Araujo [Fri, 29 Jul 2011 00:32:41 +0000 (02:32 +0200)]
Make TypeError message from Command.__init__ more useful

13 years agoLet all pysetup actions return a meaningful 0 or 1 exit code (#12222).
Éric Araujo [Fri, 29 Jul 2011 00:31:39 +0000 (02:31 +0200)]
Let all pysetup actions return a meaningful 0 or 1 exit code (#12222).

This will help scripts calling pysetup know if a command failed.
Printing/logging was also made more consistent, and a few things were
cleaned up.  In particular, the error/Ctrl-C handling was moved from the
_run function up to the main function.

The run action is not fixed yet; it returns the dist.Distribution
instance, which is needed by test_uninstall and not trivial to fix.

13 years agoLet pysetup list exit with a non-zero code when no result is found (#11409).
Éric Araujo [Fri, 29 Jul 2011 00:20:39 +0000 (02:20 +0200)]
Let pysetup list exit with a non-zero code when no result is found (#11409).

“pysetup list” or “pysetup list --all” will continue to return 0 if no
distribution is found (it’s not an error), but “pysetup list
some.project” will now exit with 1 if no matching installed distribution
is found.  Based on a patch by Kelsey Hightower.

13 years agoMerge from 3.2 (#10318, #12255, #12043, #12417 and other fixes)
Éric Araujo [Fri, 29 Jul 2011 01:11:09 +0000 (03:11 +0200)]
Merge from 3.2 (#10318, #12255, #12043, #12417 and other fixes)

13 years agoModernize modulefinder module and tests a bit.
Éric Araujo [Thu, 28 Jul 2011 21:35:29 +0000 (23:35 +0200)]
Modernize modulefinder module and tests a bit.

The tests don’t use an internal distutils function anymore, and use
regular assertEqual with sorted lists instead of a convoluted manual
diff.

13 years agoFix reST role and missing word
Éric Araujo [Thu, 28 Jul 2011 21:10:25 +0000 (23:10 +0200)]
Fix reST role and missing word

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 agoRemove indirection in threading (issue #10968).
Éric Araujo [Wed, 27 Jul 2011 22:28:28 +0000 (00:28 +0200)]
Remove indirection in threading (issue #10968).

The public names (Thread, Condition, etc.) used to be factory functions
returning instances of hidden classes (_Thread, _Condition, etc.),
because (if Guido recalls correctly) this code pre-dates the ability to
subclass extension types.

It is now possible to inherit from Thread and other classes, without
having to import the private underscored names like multiprocessing did.

A doc update will follow: a patch is under discussion on the issue.

13 years agoAdd shlex.quote function, to escape filenames and command lines (#9723).
Éric Araujo [Wed, 27 Jul 2011 16:29:31 +0000 (18:29 +0200)]
Add shlex.quote function, to escape filenames and command lines (#9723).

This function used to live as pipes.quote, where it was undocumented but
used anyway.  (An alias still exists for backward compatibility.)  The
tests have been moved as is, but the code of the function was changed to
use a regex instead of a loop with string comparisons (at Ian Bicking’s
suggestion).  I’m terrible at regexes, so any feedback is welcome.

13 years agomerge from 3.2 - Fix closes Issue12621 - Fix docstrings of find and rfind methods...
Senthil Kumaran [Wed, 27 Jul 2011 15:34:29 +0000 (23:34 +0800)]
merge from 3.2 - Fix closes Issue12621 - Fix docstrings of find and rfind methods of bytes/bytearry/unicodeobject.

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: Merge with 3.2.
Ross Lagerwall [Wed, 27 Jul 2011 05:39:27 +0000 (07:39 +0200)]
Issue #12607: Merge with 3.2.

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 agomerge from 3.2 - Correcting issue 12576 fix, which resulted in buildbot failures.
Senthil Kumaran [Wed, 27 Jul 2011 01:32:04 +0000 (09:32 +0800)]
merge from 3.2 - Correcting issue 12576 fix, which resulted in buildbot failures.

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:19:09 +0000 (18:19 -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 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 agomerge from 3.2 - Fix closes Issue12576 - fix urlopen behavior on sites which do not...
Senthil Kumaran [Wed, 27 Jul 2011 00:06:44 +0000 (08:06 +0800)]
merge from 3.2 - Fix closes Issue12576 - fix urlopen behavior on sites which do not send (or obsfuscates) Connection: Close header.

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 agoActually port ecfe9bf0117b to default
Antoine Pitrou [Tue, 26 Jul 2011 23:22:41 +0000 (01:22 +0200)]
Actually port ecfe9bf0117b to default
(I had the wrong impression that the problem didn't exist here)

13 years agoNull merge
Antoine Pitrou [Tue, 26 Jul 2011 23:17:12 +0000 (01:17 +0200)]
Null merge

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 agoNull merge
Antoine Pitrou [Tue, 26 Jul 2011 23:06:34 +0000 (01:06 +0200)]
Null merge

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 agoTry to fix weird buildbot failures
Antoine Pitrou [Tue, 26 Jul 2011 21:55:33 +0000 (23:55 +0200)]
Try to fix weird buildbot failures

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

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 agoIssue #10639: reindent.py tool now accepts a --newline option to specify the newline...
Jason R. Coombs [Tue, 26 Jul 2011 15:38:04 +0000 (11:38 -0400)]
Issue #10639: reindent.py tool now accepts a --newline option to specify the newline to be used in the output of converted files.

13 years agoMerge with 3.2 Issue #10639: reindent.py should not convert newlines.
Jason R. Coombs [Tue, 26 Jul 2011 15:57:08 +0000 (11:57 -0400)]
Merge with 3.2 Issue #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 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 agoAdd debug output for failing buildbot
Antoine Pitrou [Tue, 26 Jul 2011 12:45:22 +0000 (14:45 +0200)]
Add debug output for failing buildbot

13 years ago#12547: Fix example in nntplib doc. Patch by July Tikhonov.
Ezio Melotti [Tue, 26 Jul 2011 06:37:46 +0000 (09:37 +0300)]
#12547: Fix example in nntplib doc. Patch by July Tikhonov.

13 years agoFixes #12637: Merged fix from 3.2 and added test.
Vinay Sajip [Mon, 25 Jul 2011 18:58:13 +0000 (19:58 +0100)]
Fixes #12637: Merged fix from 3.2 and added test.

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 #11784: Improve multiprocessing.Process.join() documentation. Patch by
Charles-François Natali [Mon, 25 Jul 2011 16:35:49 +0000 (18:35 +0200)]
Issue #11784: Improve multiprocessing.Process.join() documentation. Patch by
Patrick Sabin.

13 years agoIssue #12102: Merge with 3.2.
Ross Lagerwall [Mon, 25 Jul 2011 05:14:15 +0000 (07:14 +0200)]
Issue #12102: Merge with 3.2.

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:44:15 +0000 (22:44 +0200)]
Issue #12560: Build libpython.so on OpenBSD. Patch by Stefan Sperling.

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:41:54 +0000 (02:41 +0200)]
Add a test for issue #1813: getlocale() failing under a Turkish locale
(not a problem under 3.x)

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:37:52 +0000 (22:37 +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 #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:04:41 +0000 (22:04 +0200)]
Issue #12591: Improve support of "universal newlines" in the subprocess
module: the piped streams can now be properly read from or written to.

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 agoFollowup to c3b47cdea0d1: document the *write_through* argument to TextIOWrapper.
Antoine Pitrou [Sat, 23 Jul 2011 20:00:03 +0000 (22:00 +0200)]
Followup to c3b47cdea0d1: document the *write_through* argument to TextIOWrapper.

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

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 agoIssue 12620: Make pendingbusy flag static to Py_MakePendingCalls().
Charles-François Natali [Sat, 23 Jul 2011 16:15:43 +0000 (18:15 +0200)]
Issue 12620: Make pendingbusy flag static to Py_MakePendingCalls().

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

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 agoMerge: #10883: Fix socket leaks in urllib.request.
Nadeem Vawda [Sat, 23 Jul 2011 12:25:45 +0000 (14:25 +0200)]
Merge: #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 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 agoIssue #11049: skip a test that fails on some buildbots
Eli Bendersky [Sat, 23 Jul 2011 12:00:31 +0000 (15:00 +0300)]
Issue #11049: skip a test that fails on some buildbots

13 years agomerge from 3.2 - Fix closes issue12581 - Increase the urllib.parse test coverage...
Senthil Kumaran [Sat, 23 Jul 2011 10:28:43 +0000 (18:28 +0800)]
merge from 3.2 - Fix closes issue12581 - Increase the urllib.parse test coverage. Patch by Petter Haggholm.

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 agoMerge 3.2 branch.
Georg Brandl [Sat, 23 Jul 2011 06:06:00 +0000 (08:06 +0200)]
Merge 3.2 branch.

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 agofixing whitespace in the previous commit
Eli Bendersky [Sat, 23 Jul 2011 05:51:14 +0000 (08:51 +0300)]
fixing whitespace in the previous commit

13 years agoIssue #11049: adding some tests to test.support
Eli Bendersky [Sat, 23 Jul 2011 05:48:53 +0000 (08:48 +0300)]
Issue #11049: adding some tests to test.support
Based on original patch by Giampaolo Rodola with contributions from R. David Murray

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

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 agomerge 3.2
Benjamin Peterson [Fri, 22 Jul 2011 16:10:43 +0000 (11:10 -0500)]
merge 3.2

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 agomerge 3.2 (null)
Benjamin Peterson [Fri, 22 Jul 2011 15:55:25 +0000 (10:55 -0500)]
merge 3.2 (null)

13 years agomerge 3.2
Benjamin Peterson [Fri, 22 Jul 2011 15:55:02 +0000 (10:55 -0500)]
merge 3.2

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 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 agoMerge - Issue #12372: POSIX semaphores are broken on AIX: don't use them.
Charles-François Natali [Thu, 21 Jul 2011 17:49:47 +0000 (19:49 +0200)]
Merge - Issue #12372: POSIX semaphores are broken on AIX: don't use them.

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: merge with 3.2.
Ezio Melotti [Thu, 21 Jul 2011 08:17:05 +0000 (11:17 +0300)]
#12601: merge with 3.2.

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: dummy merge with 3.2.
Ezio Melotti [Thu, 21 Jul 2011 06:37:38 +0000 (09:37 +0300)]
#11435: dummy merge with 3.2.

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 agoIssue #12551: Provide a get_channel_binding() method on SSL sockets so as
Antoine Pitrou [Wed, 20 Jul 2011 23:11:30 +0000 (01:11 +0200)]
Issue #12551: Provide a get_channel_binding() method on SSL sockets so as
to get channel binding data for the current SSL session (only the
"tls-unique" channel binding is implemented).  This allows the
implementation of certain authentication mechanisms such as SCRAM-SHA-1-PLUS.

Patch by Jacek Konieczny.

13 years ago#665194: support roundtripping RFC2822 date stamps in the email.utils module
R David Murray [Wed, 20 Jul 2011 15:41:21 +0000 (11:41 -0400)]
#665194: support roundtripping RFC2822 date stamps in the email.utils module

13 years agomerge from 3.2 - Fix closes issue12524 - update http.client POST example with a worki...
Senthil Kumaran [Wed, 20 Jul 2011 13:57:07 +0000 (21:57 +0800)]
merge from 3.2 - Fix closes issue12524 - update http.client POST example with a working example.

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 agoFix test_multiprocessing failure under Windows.
Antoine Pitrou [Wed, 20 Jul 2011 00:01:39 +0000 (02:01 +0200)]
Fix test_multiprocessing failure under Windows.
(followup to dfaa3a149a92)

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

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

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

13 years ago- Issue #10309: Define _GNU_SOURCE so that mremap() gets the proper
Barry Warsaw [Tue, 19 Jul 2011 23:23:56 +0000 (19:23 -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 #12587: Correct faulty test file and reference in test_tokenize.
Ned Deily [Tue, 19 Jul 2011 23:18:11 +0000 (16:18 -0700)]
Issue #12587: Correct faulty test file and reference in test_tokenize.
(Patch by Robert Xiao)