]> granicus.if.org Git - python/log
python
11 years agoremove uneffective 'while True' clause
Giampaolo Rodola' [Wed, 3 Apr 2013 10:01:44 +0000 (12:01 +0200)]
remove uneffective 'while True' clause

11 years ago#14254: merge with 3.3.
Roger Serwy [Wed, 3 Apr 2013 05:43:31 +0000 (00:43 -0500)]
#14254: merge with 3.3.

11 years ago#14254: IDLE now handles readline correctly across shell restarts.
Roger Serwy [Wed, 3 Apr 2013 05:42:24 +0000 (00:42 -0500)]
#14254: IDLE now handles readline correctly across shell restarts.

11 years ago#17614: merge with 3.3.
Roger Serwy [Wed, 3 Apr 2013 03:40:39 +0000 (22:40 -0500)]
#17614: merge with 3.3.

11 years ago#17614: IDLE no longer raises exception when quickly closing a file.
Roger Serwy [Wed, 3 Apr 2013 03:39:39 +0000 (22:39 -0500)]
#17614: IDLE no longer raises exception when quickly closing a file.

11 years ago#17614: IDLE no longer raises exception when quickly closing a file.
Roger Serwy [Wed, 3 Apr 2013 03:37:12 +0000 (22:37 -0500)]
#17614: IDLE no longer raises exception when quickly closing a file.

11 years agofix unused variable
Victor Stinner [Wed, 3 Apr 2013 01:14:58 +0000 (03:14 +0200)]
fix unused variable

11 years agoClose #16757: Avoid calling the expensive _PyUnicode_FindMaxChar() function
Victor Stinner [Wed, 3 Apr 2013 00:02:33 +0000 (02:02 +0200)]
Close #16757: Avoid calling the expensive _PyUnicode_FindMaxChar() function
when possible

11 years agoAdd _PyUnicodeWriter_WriteSubstring() function
Victor Stinner [Tue, 2 Apr 2013 23:48:39 +0000 (01:48 +0200)]
Add _PyUnicodeWriter_WriteSubstring() function

Write a function to enable more optimizations:

 * If the substring is the whole string and overallocation is disabled, just
   keep a reference to the string, don't copy characters
 * Avoid a call to the expensive _PyUnicode_FindMaxChar() function when
   possible

11 years ago(Merge 3.3) Close #6822: ftplib.FTP.storlines() expects a binary file, not a text...
Victor Stinner [Tue, 2 Apr 2013 20:13:49 +0000 (22:13 +0200)]
(Merge 3.3) Close #6822: ftplib.FTP.storlines() expects a binary file, not a text file

Add an unit test to ensure that text files are rejectect (with TypeError)

11 years agoClose #6822: ftplib.FTP.storlines() expects a binary file, not a text file
Victor Stinner [Tue, 2 Apr 2013 20:13:27 +0000 (22:13 +0200)]
Close #6822: ftplib.FTP.storlines() expects a binary file, not a text file

Add an unit test to ensure that text files are rejectect (with TypeError)

11 years ago#17489: Add explanatory comment that __getstate__ is not called.
R David Murray [Tue, 2 Apr 2013 17:10:52 +0000 (13:10 -0400)]
#17489: Add explanatory comment that __getstate__ is not called.

We don't put coverage directives in the stdlib, but anyone looking at a
coverage report for Random should see the comment and understand why the lines
aren't covered.

11 years ago#17492: Additional tests for random module.
R David Murray [Tue, 2 Apr 2013 16:47:23 +0000 (12:47 -0400)]
#17492: Additional tests for random module.

Patch by Victor Terrón.

11 years ago#13163: fix names of _get_socket args
R David Murray [Tue, 2 Apr 2013 16:15:07 +0000 (12:15 -0400)]
#13163: fix names of _get_socket args

This was already done in Python3, but having it wrong leads to
incorrect debug output, so it seems worth fixing in 2.7 as well.

Patch by Victor Terrón.

11 years agomerge 3.3 (#17610)
Benjamin Peterson [Mon, 1 Apr 2013 21:43:30 +0000 (17:43 -0400)]
merge 3.3 (#17610)

11 years agolist slotdefs in offset order rather than sorting them (closes #17610)
Benjamin Peterson [Mon, 1 Apr 2013 21:41:41 +0000 (17:41 -0400)]
list slotdefs in offset order rather than sorting them (closes #17610)

This means we can remove our usage of qsort() than relied on undefined behavior.

11 years agoIssue #14135: Let's try this again.
Brett Cannon [Mon, 1 Apr 2013 18:11:37 +0000 (14:11 -0400)]
Issue #14135: Let's try this again.

11 years agomerge
Brett Cannon [Mon, 1 Apr 2013 17:26:21 +0000 (13:26 -0400)]
merge

11 years agomerge
Brett Cannon [Mon, 1 Apr 2013 17:25:40 +0000 (13:25 -0400)]
merge

11 years agoIssue #17357: Add missing verbosity messages when running under
Brett Cannon [Mon, 1 Apr 2013 17:10:51 +0000 (13:10 -0400)]
Issue #17357: Add missing verbosity messages when running under
-v/-vv that were lost in the transition to importlib.

11 years agoIssue #17483: remove unreachable code in urlopen().
Antoine Pitrou [Mon, 1 Apr 2013 16:55:35 +0000 (18:55 +0200)]
Issue #17483: remove unreachable code in urlopen().

11 years agoBacked out changeset 4fcd50a6dca7 as it totally breaks the test suite here.
Antoine Pitrou [Mon, 1 Apr 2013 16:54:45 +0000 (18:54 +0200)]
Backed out changeset 4fcd50a6dca7 as it totally breaks the test suite here.

11 years agoIssue #14135: Make sure tests don't leave the locale changed for any
Brett Cannon [Mon, 1 Apr 2013 16:53:13 +0000 (12:53 -0400)]
Issue #14135: Make sure tests don't leave the locale changed for any
category.

Thanks to Westley Martinez for trying to fix the issue and Atsuo
Ishimoto for an initial patch.

11 years ago#6698: merge with 3.3.
Roger Serwy [Mon, 1 Apr 2013 04:31:32 +0000 (23:31 -0500)]
#6698: merge with 3.3.

11 years ago#6698: IDLE now opens just an editor window when configured to do so.
Roger Serwy [Mon, 1 Apr 2013 04:28:55 +0000 (23:28 -0500)]
#6698: IDLE now opens just an editor window when configured to do so.

11 years ago#6698: IDLE now opens just an editor window when configured to do so.
Roger Serwy [Mon, 1 Apr 2013 04:28:55 +0000 (23:28 -0500)]
#6698: IDLE now opens just an editor window when configured to do so.

11 years agoIssue #17586: fix typo in contextlib.rst
Ned Deily [Mon, 1 Apr 2013 00:06:15 +0000 (17:06 -0700)]
Issue #17586: fix typo in contextlib.rst

11 years agoMerge heads.
Roger Serwy [Sun, 31 Mar 2013 21:11:51 +0000 (16:11 -0500)]
Merge heads.

11 years ago#8900: merge with 3.3.
Roger Serwy [Sun, 31 Mar 2013 20:56:02 +0000 (15:56 -0500)]
#8900: merge with 3.3.

11 years ago#8900: Using keyboard shortcuts in IDLE to open a file no longer raises an exception.
Roger Serwy [Sun, 31 Mar 2013 20:53:08 +0000 (15:53 -0500)]
#8900: Using keyboard shortcuts in IDLE to open a file no longer raises an exception.

11 years ago#8900: Using keyboard shortcuts in IDLE to open a file no longer raises an exception.
Roger Serwy [Sun, 31 Mar 2013 20:53:08 +0000 (15:53 -0500)]
#8900: Using keyboard shortcuts in IDLE to open a file no longer raises an exception.

11 years agoIssue #17591: Use lowercase filenames when including Windows header files.
Antoine Pitrou [Sun, 31 Mar 2013 20:48:04 +0000 (22:48 +0200)]
Issue #17591: Use lowercase filenames when including Windows header files.
Patch by Roumen Petrov.

11 years agoIssue #6419: Fix a test_kqueue failure on some BSD flavors.
Charles-Francois Natali [Sun, 31 Mar 2013 18:37:34 +0000 (20:37 +0200)]
Issue #6419: Fix a test_kqueue failure on some BSD flavors.

11 years agoIssue #6419: Fix a test_kqueue failure on some BSD flavors.
Charles-Francois Natali [Sun, 31 Mar 2013 18:36:57 +0000 (20:36 +0200)]
Issue #6419: Fix a test_kqueue failure on some BSD flavors.

11 years agoIssue #6419: Fix a test_kqueue failure on some BSD flavors.
Charles-Francois Natali [Sun, 31 Mar 2013 18:35:59 +0000 (20:35 +0200)]
Issue #6419: Fix a test_kqueue failure on some BSD flavors.

11 years agoskip a fcntl test on ARM Linux that isn't supported there.
Gregory P. Smith [Sun, 31 Mar 2013 17:25:42 +0000 (10:25 -0700)]
skip a fcntl test on ARM Linux that isn't supported there.

11 years agoSkip a test of an old API on ARM Linux that isn't supported by the OS.
Gregory P. Smith [Sun, 31 Mar 2013 17:10:50 +0000 (10:10 -0700)]
Skip a test of an old API on ARM Linux that isn't supported by the OS.

11 years agoAdd an itertools recipe showing how to use t.__copy__().
Raymond Hettinger [Sun, 31 Mar 2013 06:37:57 +0000 (23:37 -0700)]
Add an itertools recipe showing how to use t.__copy__().

11 years ago#6649: merge with 3.3.
Roger Serwy [Sun, 31 Mar 2013 06:11:26 +0000 (01:11 -0500)]
#6649: merge with 3.3.

11 years ago#6649: Fixed missing exit status in IDLE. Patch by Guilherme Polo.
Roger Serwy [Sun, 31 Mar 2013 06:00:15 +0000 (01:00 -0500)]
#6649: Fixed missing exit status in IDLE. Patch by Guilherme Polo.

11 years ago#6649: Fixed missing exit status in IDLE. Patch by Guilherme Polo.
Roger Serwy [Sun, 31 Mar 2013 05:57:16 +0000 (00:57 -0500)]
#6649: Fixed missing exit status in IDLE. Patch by Guilherme Polo.

11 years agoIssue #17390: Display Python version on Idle title bar. Patch by Edmond Burnett.
Terry Jan Reedy [Sat, 30 Mar 2013 22:50:43 +0000 (18:50 -0400)]
Issue #17390: Display Python version on Idle title bar. Patch by Edmond Burnett.

11 years agoMerge from 3.3: Issue #17390
Terry Jan Reedy [Sat, 30 Mar 2013 22:39:14 +0000 (18:39 -0400)]
Merge from 3.3: Issue #17390

11 years agoIssue #17390: Display Python version on Idle title bar. Patch by Edmond Burnett.
Terry Jan Reedy [Sat, 30 Mar 2013 22:32:19 +0000 (18:32 -0400)]
Issue #17390: Display Python version on Idle title bar. Patch by Edmond Burnett.

11 years agoMerge #17435: Don't use mutable default values in Timer.
R David Murray [Sat, 30 Mar 2013 21:22:30 +0000 (17:22 -0400)]
Merge #17435: Don't use mutable default values in Timer.

Patch by Denver Coneybeare with some test modifications by me.

11 years agoIssue #17435: Don't use mutable default values in Timer.
R David Murray [Sat, 30 Mar 2013 21:19:38 +0000 (17:19 -0400)]
Issue #17435: Don't use mutable default values in Timer.

Patch by Denver Coneybeare with some test modifications by me.

11 years agomerge 2.7.4 release branch
Benjamin Peterson [Sat, 30 Mar 2013 19:31:31 +0000 (15:31 -0400)]
merge 2.7.4 release branch

11 years agoG -> M (closes #17533)
Benjamin Peterson [Sat, 30 Mar 2013 19:30:28 +0000 (15:30 -0400)]
G -> M (closes #17533)

11 years agoFix comment about the OpenSSL version in which SNI version was introduced.
Antoine Pitrou [Sat, 30 Mar 2013 15:45:04 +0000 (16:45 +0100)]
Fix comment about the OpenSSL version in which SNI version was introduced.

11 years agoImprove set_servername_callback docstring.
Antoine Pitrou [Sat, 30 Mar 2013 15:40:27 +0000 (16:40 +0100)]
Improve set_servername_callback docstring.

11 years agoFix previous fix (the cause was actually a misplaced #endif, or so it seems)
Antoine Pitrou [Sat, 30 Mar 2013 15:39:00 +0000 (16:39 +0100)]
Fix previous fix (the cause was actually a misplaced #endif, or so it seems)

11 years agoFurther compiling fixes (issue #17581)
Antoine Pitrou [Sat, 30 Mar 2013 15:36:54 +0000 (16:36 +0100)]
Further compiling fixes (issue #17581)

11 years agoMerge
Antoine Pitrou [Sat, 30 Mar 2013 15:29:54 +0000 (16:29 +0100)]
Merge

11 years agoIssue #17581: try to fix building on old OpenSSL versions
Antoine Pitrou [Sat, 30 Mar 2013 15:29:32 +0000 (16:29 +0100)]
Issue #17581: try to fix building on old OpenSSL versions

11 years agomerge 2.7.4 release branch
Benjamin Peterson [Sat, 30 Mar 2013 14:37:25 +0000 (10:37 -0400)]
merge 2.7.4 release branch

11 years agofall back when an old test_support doesn't have various data and functions (closes...
Benjamin Peterson [Sat, 30 Mar 2013 14:36:31 +0000 (10:36 -0400)]
fall back when an old test_support doesn't have various data and functions (closes #17533)

11 years agoMerged documentation update from 3.3.
Vinay Sajip [Sat, 30 Mar 2013 11:57:09 +0000 (11:57 +0000)]
Merged documentation update from 3.3.

11 years agoUpdated logging cookbook with additional example for output using str.format().
Vinay Sajip [Sat, 30 Mar 2013 11:56:18 +0000 (11:56 +0000)]
Updated logging cookbook with additional example for output using str.format().

11 years agoFix typos and clear up one very odd bit of wording as pointed out by
Gregory P. Smith [Sat, 30 Mar 2013 08:38:38 +0000 (01:38 -0700)]
Fix typos and clear up one very odd bit of wording as pointed out by
Ezio.

11 years agoFix typos and clear up one very odd bit of wording as pointed out by
Gregory P. Smith [Sat, 30 Mar 2013 08:38:38 +0000 (01:38 -0700)]
Fix typos and clear up one very odd bit of wording as pointed out by
Ezio.

11 years ago#17539: merge with 3.3.
Ezio Melotti [Sat, 30 Mar 2013 03:56:21 +0000 (05:56 +0200)]
#17539: merge with 3.3.

11 years ago#17539: fix MagicMock example. Patch by Berker Peksag.
Ezio Melotti [Sat, 30 Mar 2013 03:55:52 +0000 (05:55 +0200)]
#17539: fix MagicMock example.  Patch by Berker Peksag.

11 years ago#17526: merge with 3.3.
Ezio Melotti [Sat, 30 Mar 2013 03:19:06 +0000 (05:19 +0200)]
#17526: merge with 3.3.

11 years ago#17526: fix an IndexError raised while passing code without filename to inspect.finds...
Ezio Melotti [Sat, 30 Mar 2013 03:17:24 +0000 (05:17 +0200)]
#17526: fix an IndexError raised while passing code without filename to inspect.findsource().  Initial patch by Tyler Doyle.

11 years ago#17526: fix an IndexError raised while passing code without filename to inspect.finds...
Ezio Melotti [Sat, 30 Mar 2013 03:10:28 +0000 (05:10 +0200)]
#17526: fix an IndexError raised while passing code without filename to inspect.findsource().  Initial patch by Tyler Doyle.

11 years ago#17564: merge with 3.3.
Ezio Melotti [Fri, 29 Mar 2013 23:33:46 +0000 (01:33 +0200)]
#17564: merge with 3.3.

11 years ago#17564: skip test_bad_address unless the tests are run with -unetwork/-uall.
Ezio Melotti [Fri, 29 Mar 2013 23:32:45 +0000 (01:32 +0200)]
#17564: skip test_bad_address unless the tests are run with -unetwork/-uall.

11 years ago#17564: skip test_bad_address unless the tests are run with -unetwork/-uall.
Ezio Melotti [Fri, 29 Mar 2013 23:28:40 +0000 (01:28 +0200)]
#17564: skip test_bad_address unless the tests are run with -unetwork/-uall.

11 years agoCloses #17540: Merged fix from 3.3.
Vinay Sajip [Fri, 29 Mar 2013 17:59:15 +0000 (17:59 +0000)]
Closes #17540: Merged fix from 3.3.

11 years agoIssue #17540: Added style to Formatter configuration by dict.
Vinay Sajip [Fri, 29 Mar 2013 17:56:54 +0000 (17:56 +0000)]
Issue #17540: Added style to Formatter configuration by dict.

11 years agoIn search of TLS 1.1 bug: add debugging output in verbose mode
Antoine Pitrou [Fri, 29 Mar 2013 17:09:06 +0000 (18:09 +0100)]
In search of TLS 1.1 bug: add debugging output in verbose mode

11 years agoUse a subtest in test_ssl.test_echo
Antoine Pitrou [Fri, 29 Mar 2013 16:56:03 +0000 (17:56 +0100)]
Use a subtest in test_ssl.test_echo

11 years agoFix bug in TestResult.addSubTest()
Antoine Pitrou [Fri, 29 Mar 2013 16:55:24 +0000 (17:55 +0100)]
Fix bug in TestResult.addSubTest()

11 years ago#17438: merge with 3.3.
Ezio Melotti [Fri, 29 Mar 2013 02:02:14 +0000 (04:02 +0200)]
#17438: merge with 3.3.

11 years ago#17438: add links to the conversion tables in dump(s)/load(s).
Ezio Melotti [Fri, 29 Mar 2013 01:59:29 +0000 (03:59 +0200)]
#17438: add links to the conversion tables in dump(s)/load(s).

11 years ago#17438: add links to the conversion tables in dump(s)/load(s).
Ezio Melotti [Fri, 29 Mar 2013 01:59:29 +0000 (03:59 +0200)]
#17438: add links to the conversion tables in dump(s)/load(s).

11 years ago#8906: merge with 3.3.
Ezio Melotti [Fri, 29 Mar 2013 01:43:38 +0000 (03:43 +0200)]
#8906: merge with 3.3.

11 years ago#8906: document failureException, longMessage, and maxDiff in the class docstring...
Ezio Melotti [Fri, 29 Mar 2013 01:42:29 +0000 (03:42 +0200)]
#8906: document failureException, longMessage, and maxDiff in the class docstring.  Patch by Boris Feld.

11 years ago#8906: document failureException, longMessage, and maxDiff in the class docstring...
Ezio Melotti [Fri, 29 Mar 2013 01:42:29 +0000 (03:42 +0200)]
#8906: document failureException, longMessage, and maxDiff in the class docstring.  Patch by Boris Feld.

11 years agoIssue #16692: The ssl module now supports TLS 1.1 and TLS 1.2. Initial patch by...
Antoine Pitrou [Thu, 28 Mar 2013 21:24:43 +0000 (22:24 +0100)]
Issue #16692: The ssl module now supports TLS 1.1 and TLS 1.2.  Initial patch by Michele Orrù.

11 years agoUpdate the suspicious builder to detect unused rules, and remove currently unusued...
Ezio Melotti [Thu, 28 Mar 2013 16:01:11 +0000 (18:01 +0200)]
Update the suspicious builder to detect unused rules, and remove currently unusued rules.

11 years agoMerge improvements to the suspicious builder and cleanup from 3.3.
Ezio Melotti [Thu, 28 Mar 2013 15:46:20 +0000 (17:46 +0200)]
Merge improvements to the suspicious builder and cleanup from 3.3.

11 years agoUpdate the suspicious builder to detect unused rules, and remove currently unusued...
Ezio Melotti [Thu, 28 Mar 2013 15:40:24 +0000 (17:40 +0200)]
Update the suspicious builder to detect unused rules, and remove currently unusued rules.

11 years agoBackport rev. 3ae74b361f53 to 2.7 branch.
Georg Brandl [Thu, 28 Mar 2013 12:35:18 +0000 (13:35 +0100)]
Backport rev. 3ae74b361f53 to 2.7 branch.

11 years agoMerge with 3.3.
Georg Brandl [Thu, 28 Mar 2013 12:28:55 +0000 (13:28 +0100)]
Merge with 3.3.

11 years agoCloses #4159: add LaTeX tabular column specifications to tables that otherwise are...
Georg Brandl [Thu, 28 Mar 2013 12:28:44 +0000 (13:28 +0100)]
Closes #4159: add LaTeX tabular column specifications to tables that otherwise are cut off or have overlapping text.

11 years agoFix XML vulnerability link targets.
Christian Heimes [Thu, 28 Mar 2013 10:42:49 +0000 (11:42 +0100)]
Fix XML vulnerability link targets.

11 years agoFix XML vulnerability link targets.
Christian Heimes [Thu, 28 Mar 2013 10:42:49 +0000 (11:42 +0100)]
Fix XML vulnerability link targets.

11 years agomerge with 3.3
Georg Brandl [Thu, 28 Mar 2013 08:11:59 +0000 (09:11 +0100)]
merge with 3.3

11 years agoFix XML vulnerability link targets.
Georg Brandl [Thu, 28 Mar 2013 08:11:44 +0000 (09:11 +0100)]
Fix XML vulnerability link targets.

11 years agoUpdate suspicious ignore file.
Ezio Melotti [Thu, 28 Mar 2013 03:47:31 +0000 (05:47 +0200)]
Update suspicious ignore file.

11 years agoUpdate suspicious ignore file.
Ezio Melotti [Thu, 28 Mar 2013 03:12:31 +0000 (05:12 +0200)]
Update suspicious ignore file.

11 years agoUpdate suspicious ignore file.
Ezio Melotti [Thu, 28 Mar 2013 02:54:58 +0000 (04:54 +0200)]
Update suspicious ignore file.

11 years agoUpdate suspicious ignore file.
Ezio Melotti [Thu, 28 Mar 2013 02:31:53 +0000 (04:31 +0200)]
Update suspicious ignore file.

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 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:53:05 +0000 (17:53 +0100)]
Issue 17538: Document XML vulnerabilties