]>
granicus.if.org Git - python/log
Jason R. Coombs [Fri, 29 Jul 2011 13:31:56 +0000 (09:31 -0400)]
Issue #10639: spec_newline wasn't defined globally unless main() was called; now spec_newline is set at module import/execution
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.
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.
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.
Antoine Pitrou [Tue, 26 Jul 2011 12:45:22 +0000 (14:45 +0200)]
Add debug output for failing buildbot
Ezio Melotti [Tue, 26 Jul 2011 06:37:46 +0000 (09:37 +0300)]
#12547: Fix example in nntplib doc. Patch by July Tikhonov.
Vinay Sajip [Mon, 25 Jul 2011 18:58:13 +0000 (19:58 +0100)]
Fixes #12637: Merged fix from 3.2 and added test.
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."
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.
Ross Lagerwall [Mon, 25 Jul 2011 05:14:15 +0000 (07:14 +0200)]
Issue #12102: Merge with 3.2.
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.
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.
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.
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)
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)
Antoine Pitrou [Sun, 24 Jul 2011 00:27:04 +0000 (02:27 +0200)]
Issue #1813: Fix codec lookup under Turkish locales.
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.
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.
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.
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)
Antoine Pitrou [Sat, 23 Jul 2011 20:00:03 +0000 (22:00 +0200)]
Followup to
c3b47cdea0d1 : document the *write_through* argument to TextIOWrapper.
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.
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.
Charles-François Natali [Sat, 23 Jul 2011 16:15:43 +0000 (18:15 +0200)]
Issue 12620: Make pendingbusy flag static to Py_MakePendingCalls().
Nadeem Vawda [Sat, 23 Jul 2011 13:17:19 +0000 (15:17 +0200)]
Add Misc/NEWS entry for
d68765bd6490 .
Nadeem Vawda [Sat, 23 Jul 2011 13:16:23 +0000 (15:16 +0200)]
Add Misc/NEWS entry for
c741ba9e37ef .
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.
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.
Eli Bendersky [Sat, 23 Jul 2011 12:00:31 +0000 (15:00 +0300)]
Issue #11049: skip a test that fails on some buildbots
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.
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.
Georg Brandl [Sat, 23 Jul 2011 06:06:00 +0000 (08:06 +0200)]
Merge 3.2 branch.
Georg Brandl [Sat, 23 Jul 2011 06:04:40 +0000 (08:04 +0200)]
Fix function name: open -> urlopen.
Eli Bendersky [Sat, 23 Jul 2011 05:51:14 +0000 (08:51 +0300)]
fixing whitespace in the previous commit
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
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).
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).
Benjamin Peterson [Fri, 22 Jul 2011 16:10:43 +0000 (11:10 -0500)]
merge 3.2
Benjamin Peterson [Fri, 22 Jul 2011 16:09:07 +0000 (11:09 -0500)]
None is ok for identifiers but not strings
Benjamin Peterson [Fri, 22 Jul 2011 15:55:25 +0000 (10:55 -0500)]
merge 3.2 (null)
Benjamin Peterson [Fri, 22 Jul 2011 15:55:02 +0000 (10:55 -0500)]
merge 3.2
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.
Benjamin Peterson [Fri, 22 Jul 2011 15:39:12 +0000 (10:39 -0500)]
hardcode the old svn __version__
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.
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.
Ezio Melotti [Thu, 21 Jul 2011 08:17:05 +0000 (11:17 +0300)]
#12601: merge with 3.2.
Ezio Melotti [Thu, 21 Jul 2011 08:16:32 +0000 (11:16 +0300)]
#12601: fix typo.
Ezio Melotti [Thu, 21 Jul 2011 06:37:38 +0000 (09:37 +0300)]
#11435: dummy merge with 3.2.
Ezio Melotti [Thu, 21 Jul 2011 06:35:19 +0000 (09:35 +0300)]
#11435: link to the correct branch.
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.
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
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.
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.
Antoine Pitrou [Wed, 20 Jul 2011 00:01:39 +0000 (02:01 +0200)]
Fix test_multiprocessing failure under Windows.
(followup to
dfaa3a149a92 )
Barry Warsaw [Tue, 19 Jul 2011 23:27:21 +0000 (19:27 -0400)]
Upstream merge.
Barry Warsaw [Tue, 19 Jul 2011 23:25:56 +0000 (19:25 -0400)]
Upstream merge
Barry Warsaw [Tue, 19 Jul 2011 23:25:25 +0000 (19:25 -0400)]
Upstream merge.
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.
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)
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)
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.
Antoine Pitrou [Tue, 19 Jul 2011 22:28:21 +0000 (00:28 +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.
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.
R David Murray [Tue, 19 Jul 2011 01:59:53 +0000 (21:59 -0400)]
#7484: simplify quoteaddr: if parseaddr throws an error it is a bug.
As far as I can tell, the try/except was ancient code, from before the email
package rewrite where the philosophy of never throwing parsing errors was
adopted.
R David Murray [Tue, 19 Jul 2011 01:42:28 +0000 (21:42 -0400)]
Merge #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).
Senthil Kumaran [Tue, 19 Jul 2011 00:03:55 +0000 (08:03 +0800)]
merge from 3.2 - Fix closes issue12577 - clarify shutil.move documentation. Patch suggestion by Catalin Iacob
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
Antoine Pitrou [Mon, 18 Jul 2011 23:29:18 +0000 (01:29 +0200)]
Issue #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.
Eric V. Smith [Mon, 18 Jul 2011 18:08:55 +0000 (14:08 -0400)]
Merge from 3.2.
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.
R David Murray [Mon, 18 Jul 2011 16:39:18 +0000 (12:39 -0400)]
Fix English in packaging, too.
R David Murray [Mon, 18 Jul 2011 16:38:48 +0000 (12:38 -0400)]
Merge English fix.
R David Murray [Mon, 18 Jul 2011 16:38:03 +0000 (12:38 -0400)]
Better English.
Benjamin Peterson [Mon, 18 Jul 2011 03:50:12 +0000 (22:50 -0500)]
merge heads
Benjamin Peterson [Mon, 18 Jul 2011 03:49:50 +0000 (22:49 -0500)]
excise the remains of STOP_CODE, which hasn't done anything useful for years
Brett Cannon [Mon, 18 Jul 2011 02:25:50 +0000 (19:25 -0700)]
Add Misc/NEWS entry and relevant doc change for issue 10271.
Brett Cannon [Mon, 18 Jul 2011 02:17:55 +0000 (19:17 -0700)]
Make warnings accept a callable for showwarnings instead of
restricting itself to just functions and methods (which allows
built-in functions to be used, etc.).
Closes issue #10271. Thanks to lekma for the bug report.
Alex Gaynor [Sun, 17 Jul 2011 23:22:05 +0000 (16:22 -0700)]
Merged upstream.
Alex Gaynor [Sun, 17 Jul 2011 23:21:30 +0000 (16:21 -0700)]
Mark itertools tests of tuple reuse as being specific to CPython.
Senthil Kumaran [Sun, 17 Jul 2011 23:18:11 +0000 (07:18 +0800)]
fix whitespace in rst.
Senthil Kumaran [Sun, 17 Jul 2011 23:17:20 +0000 (07:17 +0800)]
fix whitespace nit.
Senthil Kumaran [Sun, 17 Jul 2011 23:13:21 +0000 (07:13 +0800)]
merge from 3.2 - Fix closes Issue12478 - HTTPErrorProcess 's methods are http_response and https_response.
Senthil Kumaran [Sun, 17 Jul 2011 23:12:40 +0000 (07:12 +0800)]
Fix closes Issue12478 - HTTPErrorProcess 's methods are http_response and https_response.
Senthil Kumaran [Sun, 17 Jul 2011 22:43:25 +0000 (06:43 +0800)]
merge from 3.2 - Fix closes Issue12479 - Add HTTPErrorProcessor class definition - Patch by Sandro Tosi
Senthil Kumaran [Sun, 17 Jul 2011 22:42:46 +0000 (06:42 +0800)]
Fix closes Issue12479 - Add HTTPErrorProcessor class definition - Patch by Sandro Tosi
Senthil Kumaran [Sun, 17 Jul 2011 11:06:03 +0000 (19:06 +0800)]
merge from 3.2
Senthil Kumaran [Sun, 17 Jul 2011 11:01:14 +0000 (19:01 +0800)]
Fix Issue10403 - datetime documentation clarification based on review in the reitveld by Alexendar belopolsky.
Senthil Kumaran [Sun, 17 Jul 2011 09:32:06 +0000 (17:32 +0800)]
merge from 3.2
Senthil Kumaran [Sun, 17 Jul 2011 09:29:17 +0000 (17:29 +0800)]
Fix closes Issue11436 - Minor clarification to struct documentation for 's' format character.
Antoine Pitrou [Sat, 16 Jul 2011 21:56:45 +0000 (23:56 +0200)]
Merge
Antoine Pitrou [Sat, 16 Jul 2011 21:52:42 +0000 (23:52 +0200)]
Dummy merge
Antoine Pitrou [Sat, 16 Jul 2011 21:52:02 +0000 (23:52 +0200)]
Close the call queue in concurrent.futures.ProcessPoolExecutor when
shutdown() is called, without waiting for the garbage collector to kick in.
Benjamin Peterson [Sat, 16 Jul 2011 02:11:35 +0000 (21:11 -0500)]
put in correct section
Benjamin Peterson [Sat, 16 Jul 2011 02:10:44 +0000 (21:10 -0500)]
merge heads
Benjamin Peterson [Sat, 16 Jul 2011 02:10:13 +0000 (21:10 -0500)]
remove ast.__version__ (closes #12273)
Antoine Pitrou [Fri, 15 Jul 2011 23:51:58 +0000 (01:51 +0200)]
Silence spurious "broken pipe" tracebacks when shutting down a ProcessPoolExecutor.
Antoine Pitrou [Fri, 15 Jul 2011 23:13:34 +0000 (01:13 +0200)]
Fix potential resource leaks in concurrent.futures.ProcessPoolExecutor
by joining all queues and processes when shutdown() is called.
Antoine Pitrou [Fri, 15 Jul 2011 21:26:19 +0000 (23:26 +0200)]
test_packaging should clean up after itself (but it doesn't really)