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