]> granicus.if.org Git - python/log
python
11 years agoupdate importlib.h
Benjamin Peterson [Wed, 27 Mar 2013 21:53:17 +0000 (17:53 -0400)]
update importlib.h

11 years ago#17329: merge with 3.3.
Ezio Melotti [Wed, 27 Mar 2013 18:13:59 +0000 (20:13 +0200)]
#17329: merge with 3.3.

11 years ago#17329: merge with 3.2.
Ezio Melotti [Wed, 27 Mar 2013 18:12:55 +0000 (20:12 +0200)]
#17329: merge with 3.2.

11 years ago#17329: document unittest.SkipTest. Initial patch by Zachary Ware.
Ezio Melotti [Wed, 27 Mar 2013 18:11:55 +0000 (20:11 +0200)]
#17329: document unittest.SkipTest.  Initial patch by Zachary Ware.

11 years agoIssue 17538: Document XML vulnerabilties
Christian Heimes [Tue, 26 Mar 2013 16:48:28 +0000 (17:48 +0100)]
Issue 17538: Document XML vulnerabilties

11 years agoIssue 17538: Document XML vulnerabilties
Christian Heimes [Tue, 26 Mar 2013 16:47:23 +0000 (17:47 +0100)]
Issue 17538: Document XML vulnerabilties

11 years agoIssue 17538: Document XML vulnerabilties
Christian Heimes [Tue, 26 Mar 2013 16:35:55 +0000 (17:35 +0100)]
Issue 17538: Document XML vulnerabilties

11 years agoIssue #16475: Add a whatsnew entry for 3.4
Kristjan Valur Jonsson [Tue, 26 Mar 2013 13:56:14 +0000 (13:56 +0000)]
Issue #16475: Add a whatsnew entry for 3.4

11 years agonull merge from 3.3
Georg Brandl [Tue, 26 Mar 2013 13:10:30 +0000 (14:10 +0100)]
null merge from 3.3

11 years agoNEWS: add new header for Python 3.3.2
Georg Brandl [Tue, 26 Mar 2013 13:09:40 +0000 (14:09 +0100)]
NEWS: add new header for Python 3.3.2

11 years agomerge 3.3 (#17550)
Benjamin Peterson [Tue, 26 Mar 2013 12:58:16 +0000 (08:58 -0400)]
merge 3.3 (#17550)

11 years agomove to correct section
Benjamin Peterson [Tue, 26 Mar 2013 12:57:42 +0000 (08:57 -0400)]
move to correct section

11 years agofix variable reference to fix --enable-profiling (closes #17550)
Benjamin Peterson [Tue, 26 Mar 2013 12:55:37 +0000 (08:55 -0400)]
fix variable reference to fix --enable-profiling (closes #17550)

11 years agoMerge versionadded addition and typo fix from 3.3.
Ezio Melotti [Tue, 26 Mar 2013 00:38:40 +0000 (02:38 +0200)]
Merge versionadded addition and typo fix from 3.3.

11 years agoAdd versionadded for `-X faulthandler` (also fix typo and markup).
Ezio Melotti [Tue, 26 Mar 2013 00:36:28 +0000 (02:36 +0200)]
Add versionadded for `-X faulthandler` (also fix typo and markup).

11 years agoIssue #17516: remove dead code
Victor Stinner [Tue, 26 Mar 2013 00:14:35 +0000 (01:14 +0100)]
Issue #17516: remove dead code

11 years agoIssue #17516: do not create useless tuple: remove dummy commas in tests
Victor Stinner [Tue, 26 Mar 2013 00:14:08 +0000 (01:14 +0100)]
Issue #17516: do not create useless tuple: remove dummy commas in tests

11 years agoIssue #17516: use comment syntax for comments, instead of multiline string
Victor Stinner [Tue, 26 Mar 2013 00:11:54 +0000 (01:11 +0100)]
Issue #17516: use comment syntax for comments, instead of multiline string

11 years ago#17323: The "[X refs, Y blocks]" printed by debug builds has been disabled by default...
Ezio Melotti [Mon, 25 Mar 2013 23:59:56 +0000 (01:59 +0200)]
#17323: The "[X refs, Y blocks]" printed by debug builds has been disabled by default.  It can be re-enabled with the `-X showrefcount` option.

11 years agoIssue #17025: multiprocessing: Reduce Queue and SimpleQueue contention.
Charles-François Natali [Mon, 25 Mar 2013 17:20:40 +0000 (18:20 +0100)]
Issue #17025: multiprocessing: Reduce Queue and SimpleQueue contention.

11 years agomerge
Raymond Hettinger [Sun, 24 Mar 2013 22:21:57 +0000 (15:21 -0700)]
merge

11 years agoAdd missing docstrings to the collections ABCs
Raymond Hettinger [Sun, 24 Mar 2013 22:20:29 +0000 (15:20 -0700)]
Add missing docstrings to the collections ABCs

11 years ago#17425: merge 3.3
Martin v. Löwis [Sun, 24 Mar 2013 21:53:04 +0000 (22:53 +0100)]
#17425: merge 3.3

11 years agoFix typo
Martin v. Löwis [Sun, 24 Mar 2013 21:52:14 +0000 (22:52 +0100)]
Fix typo

11 years agoIssue #17425: Build with openssl 1.0.1d on Windows.
Martin v. Löwis [Sun, 24 Mar 2013 21:45:50 +0000 (22:45 +0100)]
Issue #17425: Build with openssl 1.0.1d on Windows.

11 years agomerge 3.3
Martin v. Loewis [Sun, 24 Mar 2013 21:12:19 +0000 (22:12 +0100)]
merge 3.3

11 years ago#17425: null merge 3.2
Martin v. Loewis [Sun, 24 Mar 2013 21:10:20 +0000 (22:10 +0100)]
#17425: null merge 3.2

11 years agoIssue #17425: Build with openssl 1.0.0k on Windows.
Martin v. Loewis [Sun, 24 Mar 2013 21:03:30 +0000 (22:03 +0100)]
Issue #17425: Build with openssl 1.0.0k on Windows.

11 years ago- Issue #17536: Add to webbrowser's browser list: www-browser, x-www-browser,
doko@ubuntu.com [Sun, 24 Mar 2013 17:50:23 +0000 (18:50 +0100)]
- Issue #17536: Add to webbrowser's browser list: www-browser, x-www-browser,
  iceweasel, iceape.

11 years ago- Issue #17536: Add to webbrowser's browser list: www-browser, x-www-browser,
doko@ubuntu.com [Sun, 24 Mar 2013 17:46:49 +0000 (18:46 +0100)]
- Issue #17536: Add to webbrowser's browser list: www-browser, x-www-browser,
  iceweasel, iceape.

11 years agoIssue #17025: Add dumps() and loads() to ForkingPickler.
Charles-François Natali [Sun, 24 Mar 2013 14:21:49 +0000 (15:21 +0100)]
Issue #17025: Add dumps() and loads() to ForkingPickler.

11 years ago#17504: merge with 3.3.
Ezio Melotti [Sun, 24 Mar 2013 14:10:51 +0000 (16:10 +0200)]
#17504: merge with 3.3.

11 years ago#17504: remove duplicated sentence. Patch by Radu Voicilas.
Ezio Melotti [Sun, 24 Mar 2013 14:10:24 +0000 (16:10 +0200)]
#17504: remove duplicated sentence.  Patch by Radu Voicilas.

11 years agoFixes issue4653 - Correctly specify the buffer size to FormatMessageW and
Gregory P. Smith [Sat, 23 Mar 2013 23:06:06 +0000 (16:06 -0700)]
Fixes issue4653 - Correctly specify the buffer size to FormatMessageW and
correctly check for errors on two CreateFileMapping calls.

11 years agoFixes issue4653 - Correctly specify the buffer size to FormatMessageW and
Gregory P. Smith [Sat, 23 Mar 2013 23:05:36 +0000 (16:05 -0700)]
Fixes issue4653 - Correctly specify the buffer size to FormatMessageW and
correctly check for errors on two CreateFileMapping calls.

11 years agoMerge test_queue clean up from 3.3.
Ezio Melotti [Sat, 23 Mar 2013 21:37:38 +0000 (23:37 +0200)]
Merge test_queue clean up from 3.3.

11 years agoMerge test_queue clean up from 3.2.
Ezio Melotti [Sat, 23 Mar 2013 21:36:23 +0000 (23:36 +0200)]
Merge test_queue clean up from 3.2.

11 years agoClean up references to threads in test_queue.
Ezio Melotti [Sat, 23 Mar 2013 21:35:06 +0000 (23:35 +0200)]
Clean up references to threads in test_queue.

11 years agoIssue #17150: pprint now uses line continuations to wrap long string literals.
Antoine Pitrou [Sat, 23 Mar 2013 19:30:39 +0000 (20:30 +0100)]
Issue #17150: pprint now uses line continuations to wrap long string literals.

11 years agoFixes issue #17488: Change the subprocess.Popen bufsize parameter default value
Gregory P. Smith [Sat, 23 Mar 2013 19:00:00 +0000 (12:00 -0700)]
Fixes issue #17488: Change the subprocess.Popen bufsize parameter default value
from unbuffered (0) to buffering (-1) to match the behavior existing code
expects and match the behavior of the subprocess module in Python 2 to avoid
introducing hard to track down bugs.

11 years agoFixes issue #17488: Change the subprocess.Popen bufsize parameter default value
Gregory P. Smith [Sat, 23 Mar 2013 18:54:22 +0000 (11:54 -0700)]
Fixes issue #17488: Change the subprocess.Popen bufsize parameter default value
from unbuffered (0) to buffering (-1) to match the behavior existing code
expects and match the behavior of the subprocess module in Python 2 to avoid
introducing hard to track down bugs.

11 years agoFixes issue #17488: Change the subprocess.Popen bufsize parameter default value
Gregory P. Smith [Sat, 23 Mar 2013 18:44:25 +0000 (11:44 -0700)]
Fixes issue #17488: Change the subprocess.Popen bufsize parameter default value
from unbuffered (0) to buffering (-1) to match the behavior existing code
expects and match the behavior of the subprocess module in Python 2 to avoid
introducing hard to track down bugs.

11 years agomerge
Raymond Hettinger [Sat, 23 Mar 2013 16:08:18 +0000 (09:08 -0700)]
merge

11 years agoUpdate collections ABC table to match the __abstractmethods__ attribute for each...
Raymond Hettinger [Sat, 23 Mar 2013 16:07:36 +0000 (09:07 -0700)]
Update collections ABC table to match the __abstractmethods__ attribute for each container.

11 years agomerge
Raymond Hettinger [Sat, 23 Mar 2013 15:21:52 +0000 (08:21 -0700)]
merge

11 years agoIssue 17447: Clarify that str.isidentifier doesn't check for reserved keywords.
Raymond Hettinger [Sat, 23 Mar 2013 15:21:12 +0000 (08:21 -0700)]
Issue 17447:  Clarify that str.isidentifier doesn't check for reserved keywords.

11 years ago#17510: avoid using deprecated assertEquals method in test_program. Patch by Daniel...
Ezio Melotti [Sat, 23 Mar 2013 14:46:23 +0000 (16:46 +0200)]
#17510: avoid using deprecated assertEquals method in test_program.  Patch by Daniel Black.

11 years ago#17479: merge with 3.3.
Ezio Melotti [Sat, 23 Mar 2013 14:36:58 +0000 (16:36 +0200)]
#17479: merge with 3.3.

11 years ago#17479: test_io now works with unittest test discovery. Patch by Zachary Ware.
Ezio Melotti [Sat, 23 Mar 2013 14:30:16 +0000 (16:30 +0200)]
#17479: test_io now works with unittest test discovery.  Patch by Zachary Ware.

11 years agomerge
Raymond Hettinger [Sat, 23 Mar 2013 13:35:22 +0000 (06:35 -0700)]
merge

11 years agoBackport improved dict comparison logic
Raymond Hettinger [Sat, 23 Mar 2013 13:34:19 +0000 (06:34 -0700)]
Backport improved dict comparison logic

11 years agoCloses #17521: Merged fix from 3.3.
Vinay Sajip [Sat, 23 Mar 2013 11:23:05 +0000 (11:23 +0000)]
Closes #17521: Merged fix from 3.3.

11 years agoIssue #17521: Merged fix from 3.2.
Vinay Sajip [Sat, 23 Mar 2013 11:22:00 +0000 (11:22 +0000)]
Issue #17521: Merged fix from 3.2.

11 years agoIssue #17521: Corrected non-enabling of logger following two calls to fileConfig().
Vinay Sajip [Sat, 23 Mar 2013 11:18:45 +0000 (11:18 +0000)]
Issue #17521: Corrected non-enabling of logger following two calls to fileConfig().

11 years agoMerged upstream changes.
Vinay Sajip [Sat, 23 Mar 2013 11:01:36 +0000 (11:01 +0000)]
Merged upstream changes.

11 years agoMerged Misc/NEWS update for #17508.
Vinay Sajip [Sat, 23 Mar 2013 11:00:28 +0000 (11:00 +0000)]
Merged Misc/NEWS update for #17508.

11 years agoMerged Misc/NEWS update for #17508.
Vinay Sajip [Sat, 23 Mar 2013 10:59:49 +0000 (10:59 +0000)]
Merged Misc/NEWS update for #17508.

11 years agoUpdated Misc/NEWS with #17508.
Vinay Sajip [Sat, 23 Mar 2013 10:57:47 +0000 (10:57 +0000)]
Updated Misc/NEWS with #17508.

11 years agoIssue #17522: Minor documentation fix
Kristján Valur Jónsson [Sat, 23 Mar 2013 10:56:16 +0000 (03:56 -0700)]
Issue #17522: Minor documentation fix

11 years agoIssue #17522: Add the PyGILState_Check() API.
Kristján Valur Jónsson [Sat, 23 Mar 2013 10:36:16 +0000 (03:36 -0700)]
Issue #17522: Add the PyGILState_Check() API.

11 years agocleanup references to PyString_ APIs in the 3.x docs.
Gregory P. Smith [Fri, 22 Mar 2013 20:49:53 +0000 (13:49 -0700)]
cleanup references to PyString_ APIs in the 3.x docs.

11 years agocleanup references to PyString_ APIs from 2.x in the 3.3 docs.
Gregory P. Smith [Fri, 22 Mar 2013 20:49:26 +0000 (13:49 -0700)]
cleanup references to PyString_ APIs from 2.x in the 3.3 docs.

11 years agoClean up references to the no longer existing PyString_ APIs in our docs.
Gregory P. Smith [Fri, 22 Mar 2013 20:43:30 +0000 (13:43 -0700)]
Clean up references to the no longer existing PyString_ APIs in our docs.

11 years agoCloses #17508: Merged fix from 3.3.
Vinay Sajip [Fri, 22 Mar 2013 15:27:52 +0000 (15:27 +0000)]
Closes #17508: Merged fix from 3.3.

11 years agoIssue #17508: Merged fix from 3.2.
Vinay Sajip [Fri, 22 Mar 2013 15:23:13 +0000 (15:23 +0000)]
Issue #17508: Merged fix from 3.2.

11 years agoIssue #17508: Handled out-of-order handler configuration correctly.
Vinay Sajip [Fri, 22 Mar 2013 15:19:54 +0000 (15:19 +0000)]
Issue #17508: Handled out-of-order handler configuration correctly.

11 years agomerge
Raymond Hettinger [Fri, 22 Mar 2013 14:26:57 +0000 (07:26 -0700)]
merge

11 years agoModernize unittest example
Raymond Hettinger [Fri, 22 Mar 2013 14:26:18 +0000 (07:26 -0700)]
Modernize unittest example

11 years agocopy 2.7 magic numbers for historical interest
Benjamin Peterson [Fri, 22 Mar 2013 04:04:45 +0000 (23:04 -0500)]
copy 2.7 magic numbers for historical interest

11 years ago#17472: add tests for a couple of untested methods in urllib.urlparse.
R David Murray [Fri, 22 Mar 2013 00:56:51 +0000 (20:56 -0400)]
#17472: add tests for a couple of untested methods in urllib.urlparse.

Original patch by Daniel Wozniak.

11 years agoIssue #13248: NEWS and What's New items
Terry Jan Reedy [Thu, 21 Mar 2013 23:36:26 +0000 (19:36 -0400)]
Issue #13248: NEWS and What's New items

11 years agotest_ast: pass the filename to ast.parse()
Victor Stinner [Thu, 21 Mar 2013 23:06:20 +0000 (00:06 +0100)]
test_ast: pass the filename to ast.parse()

11 years ago- Issue #16754: Fix the incorrect shared library extension on linux. Introduce
doko@ubuntu.com [Thu, 21 Mar 2013 20:39:52 +0000 (13:39 -0700)]
- Issue #16754: Fix the incorrect shared library extension on linux. Introduce
  two makefile macros SHLIB_SUFFIX and EXT_SUFFIX. SO now has the value of
  SHLIB_SUFFIX again (as in 2.x and 3.1). The SO macro is removed in 3.4.

11 years ago- Issue #16754: Fix the incorrect shared library extension on linux. Introduce
doko@ubuntu.com [Thu, 21 Mar 2013 20:31:41 +0000 (13:31 -0700)]
- Issue #16754: Fix the incorrect shared library extension on linux. Introduce
  two makefile macros SHLIB_SUFFIX and EXT_SUFFIX. SO now has the value of
  SHLIB_SUFFIX again (as in 2.x and 3.1). The SO macro is removed in 3.4.

11 years ago- Issue #16754: Fix the incorrect shared library extension on linux. Introduce
doko@ubuntu.com [Thu, 21 Mar 2013 20:21:49 +0000 (13:21 -0700)]
- Issue #16754: Fix the incorrect shared library extension on linux. Introduce
  two makefile macros SHLIB_SUFFIX and EXT_SUFFIX. SO now has the value of
  SHLIB_SUFFIX again (as in 2.x and 3.1). The SO macro is removed in 3.4.

11 years ago(Merge 3.3) Issue #17209: curses.window.get_wch() now handles correctly KeyboardInter...
Victor Stinner [Thu, 21 Mar 2013 11:21:43 +0000 (12:21 +0100)]
(Merge 3.3) Issue #17209: curses.window.get_wch() now handles correctly KeyboardInterrupt (CTRL+c)

11 years agoIssue #17209: curses.window.get_wch() now handles correctly KeyboardInterrupt (CTRL+c)
Victor Stinner [Thu, 21 Mar 2013 11:21:06 +0000 (12:21 +0100)]
Issue #17209: curses.window.get_wch() now handles correctly KeyboardInterrupt (CTRL+c)

11 years agoMerge: #5713: One more test_smtplib timing fix.
R David Murray [Thu, 21 Mar 2013 04:33:30 +0000 (00:33 -0400)]
Merge: #5713: One more test_smtplib timing fix.

11 years ago#5713: One more test_smtplib timing fix.
R David Murray [Thu, 21 Mar 2013 04:32:31 +0000 (00:32 -0400)]
#5713: One more test_smtplib timing fix.

11 years agomerge heads
Gregory P. Smith [Thu, 21 Mar 2013 03:53:21 +0000 (20:53 -0700)]
merge heads

11 years agoRefactor the common code out of the posix and windows listdir
Gregory P. Smith [Thu, 21 Mar 2013 03:52:50 +0000 (20:52 -0700)]
Refactor the common code out of the posix and windows listdir
implementations from my previous commit into the higher level
function.

11 years agoFix import
Raymond Hettinger [Thu, 21 Mar 2013 02:28:19 +0000 (19:28 -0700)]
Fix import

11 years agoMerge: #5712: Preemptively fix some other possible timing issues.
R David Murray [Thu, 21 Mar 2013 02:12:53 +0000 (22:12 -0400)]
Merge: #5712: Preemptively fix some other possible timing issues.

11 years agoMerge: #5712: Preemptively fix some other possible timing issues.
R David Murray [Thu, 21 Mar 2013 02:12:14 +0000 (22:12 -0400)]
Merge: #5712: Preemptively fix some other possible timing issues.

11 years ago#5712: Preemptively fix some other possible timing issues.
R David Murray [Thu, 21 Mar 2013 02:11:40 +0000 (22:11 -0400)]
#5712: Preemptively fix some other possible timing issues.

11 years agoMerge: #5713: fix timing issue in smtplib tests.
R David Murray [Thu, 21 Mar 2013 01:56:03 +0000 (21:56 -0400)]
Merge: #5713: fix timing issue in smtplib tests.

11 years agoMerge: #5713: fix timing issue in smtplib tests.
R David Murray [Thu, 21 Mar 2013 01:55:14 +0000 (21:55 -0400)]
Merge: #5713: fix timing issue in smtplib tests.

11 years ago#5713: fix timing issue in smtplib tests.
R David Murray [Thu, 21 Mar 2013 01:54:05 +0000 (21:54 -0400)]
#5713: fix timing issue in smtplib tests.

11 years agoRefactor the Windows specific and POSIX specific implementations of
Gregory P. Smith [Thu, 21 Mar 2013 01:51:33 +0000 (18:51 -0700)]
Refactor the Windows specific and POSIX specific implementations of
listdir into two separate coherent functions rather than interleaved
#ifdef's.

11 years agomerge
Gregory P. Smith [Thu, 21 Mar 2013 01:32:45 +0000 (18:32 -0700)]
merge

11 years agomerge
Gregory P. Smith [Thu, 21 Mar 2013 01:32:22 +0000 (18:32 -0700)]
merge

11 years agoremove the long obsolete mention of universal newlines mode only being
Gregory P. Smith [Thu, 21 Mar 2013 01:32:03 +0000 (18:32 -0700)]
remove the long obsolete mention of universal newlines mode only being
available when configured at compile time.

11 years agoMerge: #5713: Handle 421 error codes during sendmail by closing the socket.
R David Murray [Thu, 21 Mar 2013 01:13:56 +0000 (21:13 -0400)]
Merge: #5713: Handle 421 error codes during sendmail by closing the socket.

This is a partial fix to the issue of servers disconnecting unexpectedly; in
this case the 421 says they are disconnecting, so we close the socket and
return the 421 in the appropriate error context.

Original patch by Mark Sapiro, updated by Kushal Das, with additional
tests by me.

11 years agoMerge: #5713: Handle 421 error codes during sendmail by closing the socket.
R David Murray [Thu, 21 Mar 2013 01:12:17 +0000 (21:12 -0400)]
Merge: #5713: Handle 421 error codes during sendmail by closing the socket.

This is a partial fix to the issue of servers disconnecting unexpectedly; in
this case the 421 says they are disconnecting, so we close the socket and
return the 421 in the appropriate error context.

Original patch by Mark Sapiro, updated by Kushal Das, with additional
tests by me.

11 years ago#5713: Handle 421 error codes during sendmail by closing the socket.
R David Murray [Thu, 21 Mar 2013 00:36:14 +0000 (20:36 -0400)]
#5713: Handle 421 error codes during sendmail by closing the socket.

This is a partial fix to the issue of servers disconnecting unexpectedly; in
this case the 421 says they are disconnecting, so we close the socket and
return the 421 in the appropriate error context.

Original patch by Mark Sapiro, updated by Kushal Das, with additional
tests by me.

11 years agoIssue #16475 : Correctly handle the EOF when reading marshal streams.
Kristján Valur Jónsson [Wed, 20 Mar 2013 21:26:33 +0000 (14:26 -0700)]
Issue #16475 : Correctly handle the EOF when reading marshal streams.

11 years ago- .hgtouch: Add dependencies for GRAMMAR_H and GRAMMAR_C
doko@ubuntu.com [Wed, 20 Mar 2013 19:38:50 +0000 (12:38 -0700)]
- .hgtouch: Add dependencies for GRAMMAR_H and GRAMMAR_C

11 years agoIssue #16475: Simplify the interface to r_ref_allocate and improve comments.
Kristján Valur Jónsson [Wed, 20 Mar 2013 18:43:57 +0000 (11:43 -0700)]
Issue #16475: Simplify the interface to r_ref_allocate and improve comments.

11 years ago- Merge 3.3 (.hgtouch)
doko@ubuntu.com [Wed, 20 Mar 2013 19:39:38 +0000 (12:39 -0700)]
- Merge 3.3 (.hgtouch)

11 years agoIssue #16997: unittest.TestCase now provides a subTest() context manager to procedura...
Antoine Pitrou [Wed, 20 Mar 2013 19:16:47 +0000 (20:16 +0100)]
Issue #16997: unittest.TestCase now provides a subTest() context manager to procedurally generate, in an easy way, small test instances.