]> granicus.if.org Git - python/log
python
11 years agoClarify point in name mangling doc.
Georg Brandl [Sun, 14 Apr 2013 08:13:42 +0000 (10:13 +0200)]
Clarify point in name mangling doc.

11 years agoFix pickling test in test_memoryio.
Alexandre Vassalotti [Sun, 14 Apr 2013 07:56:39 +0000 (00:56 -0700)]
Fix pickling test in test_memoryio.

The test was closing the orginal object instead the copy. This didn't result
in visible failures because the loop range was incorrect as well.

11 years agoIssue #16804: Fix 'python -S -m site' failure.
Meador Inge [Sun, 14 Apr 2013 01:29:49 +0000 (20:29 -0500)]
Issue #16804: Fix 'python -S -m site' failure.

This commit fixes a bug in the 'site' module that was causing an exception
to incorrectly be thrown when running 'python -S -m site'.  The problem was
that 'USER_BASE' and 'USER_SITE' were being accessed before they were properly
initialized.  The code has been changed to use 'getuserbase' and
'getusersitepackages' instead so that the initialization always happens.

11 years agoReflow paragraph.
R David Murray [Sat, 13 Apr 2013 18:40:51 +0000 (14:40 -0400)]
Reflow paragraph.

11 years ago#2118: clarify smtplib exception documentation.
R David Murray [Sat, 13 Apr 2013 18:40:33 +0000 (14:40 -0400)]
#2118: clarify smtplib exception documentation.

11 years agoIssue #17016: Get rid of possible pointer wraparounds and integer overflows
Serhiy Storchaka [Sat, 13 Apr 2013 18:15:47 +0000 (21:15 +0300)]
Issue #17016: Get rid of possible pointer wraparounds and integer overflows
in the re module.  Patch by Nickolai Zeldovich.

11 years ago#17571: remove broken links in datetime.py docstring.
Ezio Melotti [Sat, 13 Apr 2013 17:12:38 +0000 (20:12 +0300)]
#17571: remove broken links in datetime.py docstring.

11 years ago#17686: fix broken link in Doc/using/unix.rst. Patch by Dan Riti.
Ezio Melotti [Sat, 13 Apr 2013 17:07:42 +0000 (20:07 +0300)]
#17686: fix broken link in Doc/using/unix.rst.  Patch by Dan Riti.

11 years agoIssue #17715: Add missing NULL Check to PyNumber_Long.
Mark Dickinson [Sat, 13 Apr 2013 16:44:44 +0000 (17:44 +0100)]
Issue #17715: Add missing NULL Check to PyNumber_Long.

11 years agoRevert changes for #13355 by request from Raymond Hettinger
Andrew Svetlov [Sat, 13 Apr 2013 15:00:04 +0000 (18:00 +0300)]
Revert changes for #13355 by request from Raymond Hettinger

11 years agoIssue #16447: Fix potential segfault when setting __name__ on a class.
Mark Dickinson [Sat, 13 Apr 2013 14:26:58 +0000 (15:26 +0100)]
Issue #16447: Fix potential segfault when setting __name__ on a class.

11 years agoFix whitespaces
Andrew Svetlov [Fri, 12 Apr 2013 20:30:41 +0000 (23:30 +0300)]
Fix whitespaces

11 years agoIssue #13355: Raise ValueError on random.triangular call with invalid params.
Andrew Svetlov [Fri, 12 Apr 2013 20:21:01 +0000 (23:21 +0300)]
Issue #13355: Raise ValueError on random.triangular call with invalid params.

Initial patch by Yuriy Senko.

11 years agoIssue #16658: add missing return to HTTPConnection.send().
Andrew Svetlov [Fri, 12 Apr 2013 19:49:19 +0000 (22:49 +0300)]
Issue #16658: add missing return to HTTPConnection.send().

Patch by Jeff Knupp

11 years ago#17653: fix typo in socketserver docs. Patch by Tshepang Lekhonkhobe.
Ezio Melotti [Fri, 12 Apr 2013 16:19:21 +0000 (19:19 +0300)]
#17653: fix typo in socketserver docs.  Patch by Tshepang Lekhonkhobe.

11 years agoMerge heads.
Ezio Melotti [Fri, 12 Apr 2013 13:23:24 +0000 (16:23 +0300)]
Merge heads.

11 years ago#17688: fix declaration for richcmp example in the docs.
Andrew Svetlov [Fri, 12 Apr 2013 13:08:40 +0000 (16:08 +0300)]
#17688: fix declaration for richcmp example in the docs.

Thanks to Daniel Mullner

11 years ago#6696: add documentation for the Profile objects, and improve profile/cProfile docs...
Ezio Melotti [Fri, 12 Apr 2013 12:42:06 +0000 (15:42 +0300)]
#6696: add documentation for the Profile objects, and improve profile/cProfile docs.  Patch by Tom Pinckney.

11 years ago#17692: test_sqlite now works with unittest test discovery. Patch by Zachary Ware.
Ezio Melotti [Fri, 12 Apr 2013 11:13:47 +0000 (14:13 +0300)]
#17692: test_sqlite now works with unittest test discovery.  Patch by Zachary Ware.

11 years ago#17585: Fixed IDLE regression. Now closes when using exit() or quit().
Roger Serwy [Fri, 12 Apr 2013 00:16:44 +0000 (19:16 -0500)]
#17585: Fixed IDLE regression. Now closes when using exit() or quit().

11 years agoFix supernumerary 's' in sys._debugmallocstats() output.
Antoine Pitrou [Thu, 11 Apr 2013 19:01:40 +0000 (21:01 +0200)]
Fix supernumerary 's' in sys._debugmallocstats() output.

11 years ago#17690: test_time now works with unittest test discovery. Patch by Zachary Ware.
Ezio Melotti [Thu, 11 Apr 2013 17:29:42 +0000 (20:29 +0300)]
#17690: test_time now works with unittest test discovery.  Patch by Zachary Ware.

11 years ago#14971: Use class method name, not function.__name__, during unittest discovery.
R David Murray [Thu, 11 Apr 2013 12:55:45 +0000 (08:55 -0400)]
#14971: Use class method name, not function.__name__, during unittest discovery.

11 years agonormalize whitespace
Senthil Kumaran [Thu, 11 Apr 2013 03:55:58 +0000 (20:55 -0700)]
normalize whitespace

11 years ago#5609 - test_urllib coverage for url2pathname and pathname2url. Patch
Senthil Kumaran [Thu, 11 Apr 2013 03:51:19 +0000 (20:51 -0700)]
#5609 - test_urllib coverage for url2pathname and pathname2url. Patch
contribution by Thomas Fenzl & Maksim Kozyarchuk

11 years agodon't run frame if it has no stack (closes #17669)
Benjamin Peterson [Wed, 10 Apr 2013 21:00:56 +0000 (17:00 -0400)]
don't run frame if it has no stack (closes #17669)

11 years ago#12820: add tests for the xml.dom.minicompat module. Patch by John Chandler and...
Ezio Melotti [Wed, 10 Apr 2013 16:30:11 +0000 (19:30 +0300)]
#12820: add tests for the xml.dom.minicompat module.  Patch by John Chandler and Phil Connell.

11 years ago#17635: fix wrong function name in multiprocessing docs.
Ezio Melotti [Wed, 10 Apr 2013 14:59:20 +0000 (17:59 +0300)]
#17635: fix wrong function name in multiprocessing docs.

11 years ago#17678: Fix DeprecationWarning in the http/cookiejar.py by changing the usage
Senthil Kumaran [Tue, 9 Apr 2013 14:07:59 +0000 (07:07 -0700)]
#17678: Fix DeprecationWarning in the http/cookiejar.py by changing the usage
of get_origin_req_host() to origin_req_host.

Patch by Wei-Cheng Pan

11 years ago#17648 - convert test_urllib2.py doctests to unittests
Senthil Kumaran [Tue, 9 Apr 2013 13:00:16 +0000 (06:00 -0700)]
#17648 - convert test_urllib2.py doctests to unittests

11 years ago#17657: Show full Tk version in IDLE's about dialog.
Roger Serwy [Tue, 9 Apr 2013 01:57:13 +0000 (20:57 -0500)]
#17657: Show full Tk version in IDLE's about dialog.
Patch by Todd Rovito.

11 years agoClose #17666: Fix reading gzip files with an extra field.
Serhiy Storchaka [Mon, 8 Apr 2013 19:35:02 +0000 (22:35 +0300)]
Close #17666: Fix reading gzip files with an extra field.

11 years agoAdd NEWS entry for #17502: Process DEFAULT values in mock side_effect that returns...
Andrew Svetlov [Mon, 8 Apr 2013 09:59:30 +0000 (12:59 +0300)]
Add NEWS entry for #17502: Process DEFAULT values in mock side_effect that returns iterator.

11 years ago#17613: Prevent traceback when removing syntax colorizer in IDLE.
Roger Serwy [Sun, 7 Apr 2013 17:41:16 +0000 (12:41 -0500)]
#17613: Prevent traceback when removing syntax colorizer in IDLE.

11 years ago#1207589: Backwards-compatibility patch for right-click menu in IDLE.
Roger Serwy [Sun, 7 Apr 2013 17:15:52 +0000 (12:15 -0500)]
#1207589: Backwards-compatibility patch for right-click menu in IDLE.

11 years agoProcess DEFAULT values in mock side_effect that returns iterator.
Andrew Svetlov [Sun, 7 Apr 2013 13:42:24 +0000 (16:42 +0300)]
Process DEFAULT values in mock side_effect that returns iterator.

Patch by Michael Ford.

11 years agoMerge heads
Andrew Svetlov [Sun, 7 Apr 2013 11:47:05 +0000 (14:47 +0300)]
Merge heads

11 years agoUpdate argparse docs to follow order of ArgumentParser() arguments.
Andrew Svetlov [Sun, 7 Apr 2013 11:43:17 +0000 (14:43 +0300)]
Update argparse docs to follow order of ArgumentParser() arguments.

11 years agoClean-up lru_cache examples. The print() not is needed. Set maxsize to a power...
Raymond Hettinger [Sun, 7 Apr 2013 03:27:33 +0000 (20:27 -0700)]
Clean-up lru_cache examples.  The print() not is needed.  Set maxsize to a power of two.

11 years ago#16887: IDLE now accepts Cancel in tabify/untabify dialog box.
Roger Serwy [Sun, 7 Apr 2013 01:26:53 +0000 (20:26 -0500)]
#16887: IDLE now accepts Cancel in tabify/untabify dialog box.

11 years agoRevert a premature patch for issue #14010 (changeset aaaf36026511).
Serhiy Storchaka [Sat, 6 Apr 2013 19:52:34 +0000 (22:52 +0300)]
Revert a premature patch for issue #14010 (changeset aaaf36026511).

11 years agoMerge
Antoine Pitrou [Sat, 6 Apr 2013 19:23:47 +0000 (21:23 +0200)]
Merge

11 years agoIssue #17645: convert an assert() into a proper exception in _Py_Mangle().
Antoine Pitrou [Sat, 6 Apr 2013 19:21:04 +0000 (21:21 +0200)]
Issue #17645: convert an assert() into a proper exception in _Py_Mangle().

11 years agomove IDLE news to its own section
Benjamin Peterson [Sat, 6 Apr 2013 19:14:06 +0000 (15:14 -0400)]
move IDLE news to its own section

11 years agoIssue #14010: Fix a crash when iterating or deleting deeply nested filters
Serhiy Storchaka [Sat, 6 Apr 2013 18:14:43 +0000 (21:14 +0300)]
Issue #14010: Fix a crash when iterating or deleting deeply nested filters
(builting and in itertools module, i.e. map(), itertools.chain(), etc).

11 years agoChange wording as Eli Bendersky suggests.
Andrew Svetlov [Sat, 6 Apr 2013 15:55:07 +0000 (18:55 +0300)]
Change wording as Eli Bendersky suggests.

11 years agoAdd 3.3.1 to LICENSE files.
Georg Brandl [Sat, 6 Apr 2013 14:48:55 +0000 (16:48 +0200)]
Add 3.3.1 to LICENSE files.

11 years agoPost-release update for 3.3.1
Georg Brandl [Sat, 6 Apr 2013 14:43:06 +0000 (16:43 +0200)]
Post-release update for 3.3.1

11 years agomerge with 3.3.1 release clone
Georg Brandl [Sat, 6 Apr 2013 14:42:43 +0000 (16:42 +0200)]
merge with 3.3.1 release clone

11 years agomerge with 3.2 branch
Georg Brandl [Sat, 6 Apr 2013 14:39:49 +0000 (16:39 +0200)]
merge with 3.2 branch

11 years agoAdded tag v3.3.1 for changeset d9893d13c628
Georg Brandl [Sat, 6 Apr 2013 07:40:13 +0000 (09:40 +0200)]
Added tag v3.3.1 for changeset d9893d13c628

11 years agoBump to 3.3.1. v3.3.1
Georg Brandl [Sat, 6 Apr 2013 07:40:02 +0000 (09:40 +0200)]
Bump to 3.3.1.

11 years agoAdded tag v3.2.4 for changeset 1e10bdeabe3d
Georg Brandl [Sat, 6 Apr 2013 07:37:53 +0000 (09:37 +0200)]
Added tag v3.2.4 for changeset 1e10bdeabe3d

11 years agoBump to 3.2.4. v3.2.4
Georg Brandl [Sat, 6 Apr 2013 07:36:20 +0000 (09:36 +0200)]
Bump to 3.2.4.

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:39:50 +0000 (11:39 +0300)]
Fix typo

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

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#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 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 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 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 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 agoIssue #15940: NEWS entry
Terry Jan Reedy [Wed, 3 Apr 2013 17:07:46 +0000 (13:07 -0400)]
Issue #15940: NEWS entry

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 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 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 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 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 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: 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 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#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
Georg Brandl [Tue, 2 Apr 2013 09:07:27 +0000 (11:07 +0200)]
merge

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 #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 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 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 #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 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: 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 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 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 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 agoAdd 3.2.4 UUIDs
Martin v. Löwis [Sat, 30 Mar 2013 12:06:57 +0000 (13:06 +0100)]
Add 3.2.4 UUIDs

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: 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: 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.