]> granicus.if.org Git - python/log
python
11 years agoIssue #17469: Fix _Py_GetAllocatedBlocks() and sys.getallocatedblocks() when running...
Antoine Pitrou [Fri, 5 Apr 2013 23:15:30 +0000 (01:15 +0200)]
Issue #17469: Fix _Py_GetAllocatedBlocks() and sys.getallocatedblocks() when running on valgrind.

11 years agoAdd link to glossary for hashable term in docs for set type
Andrew Svetlov [Fri, 5 Apr 2013 13:22:01 +0000 (16:22 +0300)]
Add link to glossary for hashable term in docs for set type

11 years agoAdd link to glossary for hashable term in docs for set type
Andrew Svetlov [Fri, 5 Apr 2013 13:21:50 +0000 (16:21 +0300)]
Add link to glossary for hashable term in docs for set type

11 years agoFix typo
Andrew Svetlov [Fri, 5 Apr 2013 08:40:01 +0000 (11:40 +0300)]
Fix typo

11 years agoFix typo
Andrew Svetlov [Fri, 5 Apr 2013 08:39:50 +0000 (11:39 +0300)]
Fix typo

11 years agoFix typo.
Andrew Svetlov [Fri, 5 Apr 2013 07:11:25 +0000 (10:11 +0300)]
Fix typo.

11 years agoFix typo.
Andrew Svetlov [Fri, 5 Apr 2013 07:10:12 +0000 (10:10 +0300)]
Fix typo.

11 years agonull merge
Senthil Kumaran [Fri, 5 Apr 2013 02:35:11 +0000 (19:35 -0700)]
null merge

11 years agoIssue #17483: 3.3 Branch - Remove unreachable code in urllib.request
Senthil Kumaran [Fri, 5 Apr 2013 02:34:02 +0000 (19:34 -0700)]
Issue #17483: 3.3 Branch - Remove unreachable code in urllib.request

11 years ago#17365: Remove Python 2 code from test_print
Andrew Svetlov [Thu, 4 Apr 2013 19:32:28 +0000 (22:32 +0300)]
#17365: Remove Python 2 code from test_print
Patch by Berker Peksag

11 years ago#8913: merge with 3.3.
Ezio Melotti [Thu, 4 Apr 2013 06:16:42 +0000 (09:16 +0300)]
#8913: merge with 3.3.

11 years ago#8913: add examples and docs for date/time/datetime.__format__. Patch by Heikki...
Ezio Melotti [Thu, 4 Apr 2013 06:16:15 +0000 (09:16 +0300)]
#8913: add examples and docs for date/time/datetime.__format__.  Patch by Heikki Partanen.

11 years agomerge 3.3 (#17625)
Benjamin Peterson [Thu, 4 Apr 2013 02:38:00 +0000 (22:38 -0400)]
merge 3.3 (#17625)

11 years agoclose search and replace dialog after it is used (closes #17625)
Benjamin Peterson [Thu, 4 Apr 2013 02:35:12 +0000 (22:35 -0400)]
close search and replace dialog after it is used (closes #17625)

11 years agoRemove the "Extension Modules" section.
Ezio Melotti [Wed, 3 Apr 2013 23:34:33 +0000 (02:34 +0300)]
Remove the "Extension Modules" section.

11 years ago#17572: merge with 3.3.
Ezio Melotti [Wed, 3 Apr 2013 23:16:27 +0000 (02:16 +0300)]
#17572: merge with 3.3.

11 years ago#17572: Avoid chained exceptions while passing bad directives to time.strptime()...
Ezio Melotti [Wed, 3 Apr 2013 23:09:20 +0000 (02:09 +0300)]
#17572: Avoid chained exceptions while passing bad directives to time.strptime().  Initial patch by Claudiu Popa.

11 years agoMerge with 3.3
Terry Jan Reedy [Wed, 3 Apr 2013 17:20:02 +0000 (13:20 -0400)]
Merge with 3.3

11 years agoIssue #15940: NEWS entry
Terry Jan Reedy [Wed, 3 Apr 2013 17:07:46 +0000 (13:07 -0400)]
Issue #15940: NEWS entry

11 years agoMerge with 3.3
Terry Jan Reedy [Wed, 3 Apr 2013 16:45:47 +0000 (12:45 -0400)]
Merge with 3.3

11 years agoIssue #15940: Replace tab.
Terry Jan Reedy [Wed, 3 Apr 2013 16:45:24 +0000 (12:45 -0400)]
Issue #15940: Replace tab.

11 years agoMerge with 3.3
Terry Jan Reedy [Wed, 3 Apr 2013 16:35:25 +0000 (12:35 -0400)]
Merge with 3.3

11 years agoIssue #15940: Specify effect of locale on time functions.
Terry Jan Reedy [Wed, 3 Apr 2013 16:34:57 +0000 (12:34 -0400)]
Issue #15940: Specify effect of locale on time functions.

11 years agoMerge
Richard Oudkerk [Wed, 3 Apr 2013 12:49:36 +0000 (13:49 +0100)]
Merge

11 years agoIssue #17619: Make input() check for Ctrl-C correctly on Windows.
Richard Oudkerk [Wed, 3 Apr 2013 12:44:50 +0000 (13:44 +0100)]
Issue #17619: Make input() check for Ctrl-C correctly on Windows.

11 years agoMerge: Use repr when printing unknown url type in urlopen.
R David Murray [Wed, 3 Apr 2013 11:01:07 +0000 (07:01 -0400)]
Merge: Use repr when printing unknown url type in urlopen.

11 years agoUse repr when printing unknown url type in urlopen.
R David Murray [Wed, 3 Apr 2013 10:58:34 +0000 (06:58 -0400)]
Use repr when printing unknown url type in urlopen.

11 years agoMerge #17623: fix whatsnew typo
R David Murray [Wed, 3 Apr 2013 10:17:30 +0000 (06:17 -0400)]
Merge #17623: fix whatsnew typo

Patch by Thomas Heller.

11 years ago#17623: fix whatsnew typo
R David Murray [Wed, 3 Apr 2013 10:16:14 +0000 (06:16 -0400)]
#17623: fix whatsnew typo

Patch by Thomas Heller.

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