]> granicus.if.org Git - python/log
python
11 years agoWhat's new entry for issue #17093
Brett Cannon [Tue, 9 Apr 2013 21:03:10 +0000 (17:03 -0400)]
What's new entry for issue #17093

11 years agoIssue #17093,17566,17567: Methods from classes in importlib.abc now raise/return
Brett Cannon [Tue, 9 Apr 2013 20:59:39 +0000 (16:59 -0400)]
Issue #17093,17566,17567: Methods from classes in importlib.abc now raise/return
the default exception/value when called instead of raising/returning
NotimplementedError/NotImplemented (except where appropriate).
This should allow for the ABCs to act as the bottom/end of the MRO with expected
default results.

As part of this work, also make importlib.abc.Loader.module_repr()
optional instead of an abstractmethod.

11 years agomerge heads
Giampaolo Rodola' [Tue, 9 Apr 2013 15:23:27 +0000 (17:23 +0200)]
merge heads

11 years agoDo not raise exception on close() on account of socket attribute still being None:
Giampaolo Rodola' [Tue, 9 Apr 2013 15:21:25 +0000 (17:21 +0200)]
Do not raise exception on close() on account of socket attribute still being None:

>>> import asyncore
>>> d = asyncore.dispatcher()
>>> d.close()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.4/asyncore.py", line 401, in close
    self.socket.close()
AttributeError: 'NoneType' object has no attribute 'close'
>>>

11 years ago#17678: Remove the use of a deprecated method http/cookiejar.py. Changing the
Senthil Kumaran [Tue, 9 Apr 2013 14:11:07 +0000 (07:11 -0700)]
#17678: Remove the use of a deprecated method http/cookiejar.py. Changing the
usage of get_origin_req_host() to origin_req_host.

Patch by Wei-Cheng Pan

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 agonull merge
Senthil Kumaran [Tue, 9 Apr 2013 13:01:17 +0000 (06:01 -0700)]
null merge

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#17648 - Clean up test_urllib2.py. Converted doctests to unittest for
Senthil Kumaran [Tue, 9 Apr 2013 05:24:17 +0000 (22:24 -0700)]
#17648 - Clean up test_urllib2.py. Converted doctests to unittest for
expansion.

11 years ago#17657: merge with 3.3.
Roger Serwy [Tue, 9 Apr 2013 01:59:11 +0000 (20:59 -0500)]
#17657: merge with 3.3.

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 agoIssue #17615: Comparing two Unicode strings now uses wmemcmp() when possible
Victor Stinner [Mon, 8 Apr 2013 20:43:44 +0000 (22:43 +0200)]
Issue #17615: Comparing two Unicode strings now uses wmemcmp() when possible

wmemcmp() is twice faster than a dummy loop (342 usec vs 744 usec) on Fedora
18/x86_64, GCC 4.7.2.

11 years agoIssue #17615: Add tests comparing Unicode strings of different kinds
Victor Stinner [Mon, 8 Apr 2013 20:34:43 +0000 (22:34 +0200)]
Issue #17615: Add tests comparing Unicode strings of different kinds

Kinds: ascii, latin, bmp, astral.

11 years agoIssue #17615: Expand expensive PyUnicode_READ() macro in unicode_compare():
Victor Stinner [Mon, 8 Apr 2013 19:50:54 +0000 (21:50 +0200)]
Issue #17615: Expand expensive PyUnicode_READ() macro in unicode_compare():
write specialized functions for each combination of Unicode kinds.

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

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 ago#17484: Actually add the getpass tests this time.
R David Murray [Mon, 8 Apr 2013 12:48:03 +0000 (08:48 -0400)]
#17484: Actually add the getpass tests this time.

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

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#17484: add tests for getpass.
R David Murray [Mon, 8 Apr 2013 05:48:22 +0000 (01:48 -0400)]
#17484: add tests for getpass.

Patch by Thomas Fenzl.

11 years agoClose #13126: "Simplify" FASTSEARCH() code to help the compiler to emit more
Victor Stinner [Sun, 7 Apr 2013 22:26:43 +0000 (00:26 +0200)]
Close #13126: "Simplify" FASTSEARCH() code to help the compiler to emit more
efficient machine code. Patch written by Antoine Pitrou.

Without this change, str.find() was 10% slower than str.rfind() in the worst
case.

11 years agogibibytes (Arfrever)
Antoine Pitrou [Sun, 7 Apr 2013 21:46:52 +0000 (23:46 +0200)]
gibibytes (Arfrever)

11 years ago#17613: merge with 3.3.
Roger Serwy [Sun, 7 Apr 2013 17:42:13 +0000 (12:42 -0500)]
#17613: merge with 3.3.

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: merge with 3.3.
Roger Serwy [Sun, 7 Apr 2013 17:17:17 +0000 (12:17 -0500)]
#1207589: merge with 3.3.

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 agoIssue #15596: Faster pickling of unicode strings.
Antoine Pitrou [Sun, 7 Apr 2013 15:38:11 +0000 (17:38 +0200)]
Issue #15596: Faster pickling of unicode strings.

11 years agomerge heads
Benjamin Peterson [Sun, 7 Apr 2013 13:53:49 +0000 (09:53 -0400)]
merge heads

11 years agoadd Zbigniew Halas to ACKS
Benjamin Peterson [Sun, 7 Apr 2013 13:53:42 +0000 (09:53 -0400)]
add Zbigniew Halas to ACKS

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

Patch by Michael Ford.

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:44:34 +0000 (14:44 +0300)]
Update argparse docs to follow order of ArgumentParser() arguments.

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 agoRemove redundant imports
Raymond Hettinger [Sun, 7 Apr 2013 03:53:12 +0000 (20:53 -0700)]
Remove redundant imports

11 years agomerge
Raymond Hettinger [Sun, 7 Apr 2013 03:28:05 +0000 (20:28 -0700)]
merge

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: merge with 3.3.
Roger Serwy [Sun, 7 Apr 2013 01:31:26 +0000 (20:31 -0500)]
#16887: merge with 3.3.

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 846bd418aee5).
Serhiy Storchaka [Sat, 6 Apr 2013 19:55:12 +0000 (22:55 +0300)]
Revert a premature patch for issue #14010 (changeset 846bd418aee5).

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:57 +0000 (21:23 +0200)]
Merge

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:46 +0000 (21:21 +0200)]
Issue #17645: convert an assert() into a proper exception in _Py_Mangle().

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 agomerge 3.3
Benjamin Peterson [Sat, 6 Apr 2013 19:18:15 +0000 (15:18 -0400)]
merge 3.3

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:20:30 +0000 (21:20 +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 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:31 +0000 (18:55 +0300)]
Change wording as Eli Bendersky suggests.

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 agomerge with 3.3
Georg Brandl [Sat, 6 Apr 2013 14:49:23 +0000 (16:49 +0200)]
merge with 3.3

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 agomerge with 3.3
Georg Brandl [Sat, 6 Apr 2013 14:47:34 +0000 (16:47 +0200)]
merge with 3.3

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