]>
granicus.if.org Git - python/log
Terry Jan Reedy [Fri, 31 May 2013 01:05:53 +0000 (21:05 -0400)]
merge
Terry Jan Reedy [Fri, 31 May 2013 00:55:52 +0000 (20:55 -0400)]
Issue #15392: Finish news entry.
Brett Cannon [Thu, 30 May 2013 21:31:47 +0000 (17:31 -0400)]
Rename importlib.util.ModuleManager to module_to_load so that the name
explains better what the context manager is providing.
Łukasz Langa [Thu, 30 May 2013 18:58:53 +0000 (20:58 +0200)]
Fixed #18075 - Infinite recursion tests triggering a segfault on Mac OS X
Patch by Ronald Oussoren
Serhiy Storchaka [Wed, 29 May 2013 20:45:05 +0000 (23:45 +0300)]
Merge heads
Serhiy Storchaka [Wed, 29 May 2013 20:38:00 +0000 (23:38 +0300)]
Issue #18084: Use sys.byteorder in wave.py.
Original patch by Hideaki Takahashi.
Stefan Krah [Wed, 29 May 2013 19:12:46 +0000 (21:12 +0200)]
Merge 3.3.
Stefan Krah [Wed, 29 May 2013 18:58:19 +0000 (20:58 +0200)]
Support multiarch build in tests.
Stefan Krah [Wed, 29 May 2013 17:15:28 +0000 (19:15 +0200)]
Null merge.
Stefan Krah [Wed, 29 May 2013 17:14:17 +0000 (19:14 +0200)]
Stefan Krah [Wed, 29 May 2013 17:08:34 +0000 (19:08 +0200)]
Mark untestable lines for gcov.
Stefan Krah [Wed, 29 May 2013 16:50:06 +0000 (18:50 +0200)]
test_decimal: add __sizeof__() tests for code coverage.
Serhiy Storchaka [Wed, 29 May 2013 15:50:54 +0000 (18:50 +0300)]
Issue #9369: The types of `char*` arguments of PyObject_CallFunction() and
PyObject_CallMethod() now changed to `const char*`.
Based on patches by Jörg Müller and Lars Buitinck.
Stefan Krah [Wed, 29 May 2013 13:47:24 +0000 (15:47 +0200)]
Merge 3.3.
Stefan Krah [Wed, 29 May 2013 13:45:38 +0000 (15:45 +0200)]
Issue #17768: Support newline fill character in decimal.py and NUL fill
character in _decimal.c.
Senthil Kumaran [Wed, 29 May 2013 12:57:21 +0000 (05:57 -0700)]
merge from 3.3
#17403: urllib.parse.robotparser normalizes the urls before adding to
ruleline. This helps in handling certain types invalid urls in a conservative
manner. Patch contributed by Mher Movsisyan.
Senthil Kumaran [Wed, 29 May 2013 12:54:31 +0000 (05:54 -0700)]
#17403: urllib.parse.robotparser normalizes the urls before adding to ruleline.
This helps in handling certain types invalid urls in a conservative manner.
Terry Jan Reedy [Wed, 29 May 2013 02:22:14 +0000 (22:22 -0400)]
Merge with 3.3
Terry Jan Reedy [Wed, 29 May 2013 02:21:53 +0000 (22:21 -0400)]
Issue #15392: Do not run tests if threading/_thread not available. Otherwise
touchup test_idle. Rename README.txt.
Andrew Kuchling [Wed, 29 May 2013 01:48:28 +0000 (21:48 -0400)]
#
1554133 : Document PyOS_InputHook, PyOS_ReadlineFunctionPointer
Ned Deily [Tue, 28 May 2013 23:45:06 +0000 (16:45 -0700)]
Issue #18080: merge from 3.3
Ned Deily [Tue, 28 May 2013 23:35:30 +0000 (16:35 -0700)]
Issue #18080: When building a C extension module on OS X, if the compiler
is overriden with the CC environment variable, use the new compiler as
the default for linking if LDSHARED is not also overriden. This restores
Distutils behavior introduced in 3.2.3 and inadvertently dropped in 3.3.0.
Brett Cannon [Tue, 28 May 2013 22:40:31 +0000 (18:40 -0400)]
Undo a recommendation as load_module() methods might be called directly
Brett Cannon [Tue, 28 May 2013 22:35:54 +0000 (18:35 -0400)]
Issue #18070: importlib.util.module_for_loader() now sets __loader__
and __package__ unconditionally in order to do the right thing for
reloading.
Brett Cannon [Tue, 28 May 2013 21:50:14 +0000 (17:50 -0400)]
Clarify some documentation
Brett Cannon [Tue, 28 May 2013 21:50:04 +0000 (17:50 -0400)]
Update importlib.h
Brett Cannon [Tue, 28 May 2013 21:29:34 +0000 (17:29 -0400)]
Introduce importlib.util.ModuleManager which is a context manager to
handle providing (and cleaning up if needed) the module to be loaded.
A future commit will use the context manager in
Lib/importlib/_bootstrap.py and thus why the code is placed there
instead of in Lib/importlib/util.py.
Serhiy Storchaka [Tue, 28 May 2013 19:47:36 +0000 (22:47 +0300)]
Issue #18085: Fix PyObject_CallMethodObjArgs()'s entry in refcounts.dat.
Serhiy Storchaka [Tue, 28 May 2013 19:46:15 +0000 (22:46 +0300)]
Issue #18085: Fix PyObject_CallMethodObjArgs()'s entry in refcounts.dat.
Serhiy Storchaka [Tue, 28 May 2013 13:27:08 +0000 (16:27 +0300)]
Issue #18025: Fixed a segfault in io.BufferedIOBase.readinto() when raw
stream's read() returns more bytes than requested.
Serhiy Storchaka [Tue, 28 May 2013 13:24:45 +0000 (16:24 +0300)]
Issue #18025: Fixed a segfault in io.BufferedIOBase.readinto() when raw
stream's read() returns more bytes than requested.
Serhiy Storchaka [Tue, 28 May 2013 12:53:46 +0000 (15:53 +0300)]
Issue #17746: Skip test_shutil.test_non_matching_mode when run as root or
on unsuitable platform/environment.
Serhiy Storchaka [Tue, 28 May 2013 12:50:15 +0000 (15:50 +0300)]
Issue #17746: Skip test_shutil.test_non_matching_mode when run as root or
on unsuitable platform/environment.
Serhiy Storchaka [Tue, 28 May 2013 12:42:34 +0000 (15:42 +0300)]
Issue #18011: Silence an unrelated noise introduced in changeset
1b5ef05d6ced .
Serhiy Storchaka [Tue, 28 May 2013 12:34:16 +0000 (15:34 +0300)]
Move some Misc/NEWS entries to correct place.
Serhiy Storchaka [Tue, 28 May 2013 12:30:38 +0000 (15:30 +0300)]
Issue #18011: base64.b32decode() now raises a binascii.Error if there are
non-alphabet characters present in the input string to conform a docstring.
Updated the module documentation.
Serhiy Storchaka [Tue, 28 May 2013 12:27:29 +0000 (15:27 +0300)]
Issue #18011: base64.b32decode() now raises a binascii.Error if there are
non-alphabet characters present in the input string to conform a docstring.
Updated the module documentation.
Serhiy Storchaka [Tue, 28 May 2013 09:50:54 +0000 (12:50 +0300)]
Issue #18079: Fix a typo in the tutorial.
Serhiy Storchaka [Tue, 28 May 2013 09:49:34 +0000 (12:49 +0300)]
Issue #18079: Fix a typo in the tutorial.
Jason R. Coombs [Tue, 28 May 2013 03:53:02 +0000 (23:53 -0400)]
Merge with 3.3
Jason R. Coombs [Tue, 28 May 2013 03:52:43 +0000 (23:52 -0400)]
Use simple call to os.symlink for broken link (intended for previous commit)
Jason R. Coombs [Tue, 28 May 2013 03:26:36 +0000 (23:26 -0400)]
Merge with 3.3
Jason R. Coombs [Tue, 28 May 2013 03:21:28 +0000 (23:21 -0400)]
Issue #13772: Restored directory detection of targets in `os.symlink` on Windows, which was temporarily removed in Python 3.2.3 due to an incomplete implementation. The implementation now works even if the symlink is created in a location other than the current directory.
Terry Jan Reedy [Tue, 28 May 2013 01:33:40 +0000 (21:33 -0400)]
Merge with 3.3
Terry Jan Reedy [Tue, 28 May 2013 01:32:03 +0000 (21:32 -0400)]
Issue #15392: Create a unittest framework for IDLE.
Preliminary patch by Rajagopalasarma Jayakrishnan.
Brett Cannon [Tue, 28 May 2013 01:12:40 +0000 (21:12 -0400)]
NEWS entry for issue #18072
Brett Cannon [Tue, 28 May 2013 01:11:04 +0000 (21:11 -0400)]
Issue #18072: Implement get_code() for importlib.abc.InspectLoader and
ExecutionLoader.
Benjamin Peterson [Mon, 27 May 2013 21:49:31 +0000 (14:49 -0700)]
grammar
Benjamin Peterson [Mon, 27 May 2013 21:46:14 +0000 (14:46 -0700)]
don't expand the operand to Py_XINCREF/XDECREF/CLEAR/DECREF multiple times (closes #17206)
A patch from Illia Polosukhin.
Ned Deily [Mon, 27 May 2013 01:57:00 +0000 (18:57 -0700)]
Fix typo in embedding doc and update examples to 3.4.
Ned Deily [Mon, 27 May 2013 01:53:39 +0000 (18:53 -0700)]
Fix typo in embedding doc and update examples to 3.3.
Brett Cannon [Sun, 26 May 2013 20:45:10 +0000 (16:45 -0400)]
Move importlib.abc.SourceLoader.source_to_code() to InspectLoader.
While the previous location was fine, it makes more sense to have the
method higher up in the inheritance chain, especially at a point where
get_source() is defined which is the earliest source_to_code() could
programmatically be used in the inheritance tree in importlib.abc.
Antoine Pitrou [Sat, 25 May 2013 21:48:15 +0000 (23:48 +0200)]
Issue #18063: fix some struct specifications in the tests for sys.getsizeof().
Antoine Pitrou [Sat, 25 May 2013 21:47:29 +0000 (23:47 +0200)]
Issue #18063: fix some struct specifications in the tests for sys.getsizeof().
Łukasz Langa [Sat, 25 May 2013 16:48:16 +0000 (18:48 +0200)]
Mention issue #16832 in Misc/NEWS
Łukasz Langa [Sat, 25 May 2013 16:41:50 +0000 (18:41 +0200)]
Fix #16832 - expose cache validity checking support in ABCMeta
Brett Cannon [Sat, 25 May 2013 15:33:13 +0000 (11:33 -0400)]
merge
Brett Cannon [Sat, 25 May 2013 15:32:50 +0000 (11:32 -0400)]
Mention __cached__ in the import ref.
Brett Cannon [Sat, 25 May 2013 15:29:03 +0000 (11:29 -0400)]
merge
Brett Cannon [Sat, 25 May 2013 15:28:20 +0000 (11:28 -0400)]
Add a missing parenthesis.
Brett Cannon [Sat, 25 May 2013 15:26:36 +0000 (11:26 -0400)]
merge
Brett Cannon [Sat, 25 May 2013 15:26:11 +0000 (11:26 -0400)]
Various tweaks to importlib docs.
Eli Bendersky [Sat, 25 May 2013 14:12:38 +0000 (07:12 -0700)]
Clean-up duplicated code in tests
Eli Bendersky [Sat, 25 May 2013 14:12:14 +0000 (07:12 -0700)]
Clean-up duplicated code in tests
Eli Bendersky [Sat, 25 May 2013 12:27:10 +0000 (05:27 -0700)]
Issue #13612: handle unknown encodings without a buffer overflow.
This affects pyexpat and _elementtree. PyExpat_CAPI now exposes a new
function - DefaultUnknownEncodingHandler.
Based on a patch by Serhiy Storchaka.
Eli Bendersky [Sat, 25 May 2013 12:25:48 +0000 (05:25 -0700)]
Issue #13612: handle unknown encodings without a buffer overflow.
This affects pyexpat and _elementtree. PyExpat_CAPI now exposes a new
function - DefaultUnknownEncodingHandler.
Based on a patch by Serhiy Storchaka.
Antoine Pitrou [Sat, 25 May 2013 11:23:03 +0000 (13:23 +0200)]
Fix compilation under MSVC: ssl_set_mode() is a macro, and the MSVC preprocessor doesn't process #ifdef's inside a macro argument list.
(found explanation at http://www.tech-archive.net/Archive/VC/microsoft.public.vc.language/2007-05/msg00385.html)
Antoine Pitrou [Sat, 25 May 2013 11:08:34 +0000 (13:08 +0200)]
Fix test_bad_address on Ubuntu 13.04
Antoine Pitrou [Sat, 25 May 2013 11:08:13 +0000 (13:08 +0200)]
Fix test_bad_address on Ubuntu 13.04
Antoine Pitrou [Sat, 25 May 2013 11:02:32 +0000 (13:02 +0200)]
Issue #8240: Set the SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER flag on SSL sockets.
Vinay Sajip [Sat, 25 May 2013 10:20:34 +0000 (03:20 -0700)]
Closes #18046: Simplified logging internals relating to levels and their names. Thanks to Alex Gaynor for the patch.
Benjamin Peterson [Fri, 24 May 2013 21:36:04 +0000 (14:36 -0700)]
merge 3.3
Benjamin Peterson [Fri, 24 May 2013 21:35:57 +0000 (14:35 -0700)]
indicate that read/write work with bytes (closes #18009)
Brett Cannon [Fri, 24 May 2013 21:31:37 +0000 (17:31 -0400)]
merge fix for issue #17953
Senthil Kumaran [Fri, 24 May 2013 16:14:12 +0000 (09:14 -0700)]
Fix #17272 - Make Request.full_url and Request.get_full_url return same result under all circumstances.
Document the change of Request.full_url to a property.
Brett Cannon [Fri, 24 May 2013 12:05:07 +0000 (08:05 -0400)]
Issue #17953: document that sys.modules shouldn't be replaced (thanks
to interp->modules) and that deleting essential items from the dict
can cause Python to blow up.
Thanks to Terry Reedy for coming up with initial wording and Yogesh
Chaudhari for coming up with a patch using that wording in parallel to
my own patch.
Ronald Oussoren [Fri, 24 May 2013 11:51:21 +0000 (13:51 +0200)]
(3.3->default) Issue #17269: Workaround for a platform bug in getaddrinfo on OSX
Without this patch socket.getaddrinfo crashed when called
with some unusual argument combinations.
Ronald Oussoren [Fri, 24 May 2013 11:47:37 +0000 (13:47 +0200)]
Issue #17269: Workaround for a platform bug in getaddrinfo on OSX
Without this patch socket.getaddrinfo crashed when called
with some unusual argument combinations.
Senthil Kumaran [Thu, 23 May 2013 12:28:34 +0000 (05:28 -0700)]
merge from 3.3
Fix #18007 : Document CookieJar.add_cookie_header request parameter changes in 3.3 and 3.4.
Senthil Kumaran [Thu, 23 May 2013 12:27:38 +0000 (05:27 -0700)]
Fix #18007 : Document CookieJar.add_cookie_header request parameter changes in 3.3
Nick Coghlan [Thu, 23 May 2013 10:25:09 +0000 (20:25 +1000)]
Merge issue 17844 from 3.3
Nick Coghlan [Thu, 23 May 2013 10:24:02 +0000 (20:24 +1000)]
Issue 17844: Clarify meaning of different codec tables
Raymond Hettinger [Thu, 23 May 2013 07:15:19 +0000 (00:15 -0700)]
merge
Raymond Hettinger [Thu, 23 May 2013 07:14:47 +0000 (00:14 -0700)]
Issue #18031: %-formatting isn't dead yet and might pull through.
Ned Deily [Wed, 22 May 2013 22:24:44 +0000 (15:24 -0700)]
Issue #17532: merge
Ned Deily [Wed, 22 May 2013 22:19:40 +0000 (15:19 -0700)]
Issue #17532: Always include Options menu for IDLE on OS X.
Patch by Guilherme Simões.
Benjamin Peterson [Wed, 22 May 2013 20:27:32 +0000 (13:27 -0700)]
merge 3.3
Benjamin Peterson [Wed, 22 May 2013 20:27:25 +0000 (13:27 -0700)]
add test for inequality
Serhiy Storchaka [Wed, 22 May 2013 14:21:06 +0000 (17:21 +0300)]
Issue #16986: ElementTree now correctly parses a string input not only when
an internal XML encoding is UTF-8 or US-ASCII.
Serhiy Storchaka [Wed, 22 May 2013 14:19:41 +0000 (17:19 +0300)]
Move a NEWS entity to a correct place.
Serhiy Storchaka [Wed, 22 May 2013 14:07:51 +0000 (17:07 +0300)]
Issue #16986: ElementTree now correctly parses a string input not only when
an internal XML encoding is UTF-8 or US-ASCII.
Serhiy Storchaka [Wed, 22 May 2013 12:35:35 +0000 (15:35 +0300)]
Issue #17844: Add links to encoders and decoders for bytes-to-bytes codecs.
Serhiy Storchaka [Wed, 22 May 2013 12:33:09 +0000 (15:33 +0300)]
Issue #17844: Add links to encoders and decoders for bytes-to-bytes codecs.
Giampaolo Rodola' [Tue, 21 May 2013 19:02:04 +0000 (21:02 +0200)]
Fix issue #17996: expose socket.AF_LINK constant on BSD and OSX.
R David Murray [Tue, 21 May 2013 15:45:09 +0000 (11:45 -0400)]
merge #17973: fix technical inaccuracy in faq entry (it now passes doctest).
R David Murray [Tue, 21 May 2013 15:44:41 +0000 (11:44 -0400)]
#17973: fix technical inaccuracy in faq entry (it now passes doctest).
Serhiy Storchaka [Tue, 21 May 2013 09:47:57 +0000 (12:47 +0300)]
Issue #17900: Allowed pickling of recursive OrderedDicts. Decreased pickled
size and pickling time.
Charles-François Natali [Tue, 21 May 2013 08:45:46 +0000 (10:45 +0200)]
Backed out changeset
c0f2b038fc12
Charles-François Natali [Tue, 21 May 2013 07:49:18 +0000 (09:49 +0200)]
Issue #17683: socket module: return AF_UNIX addresses in Linux abstract
namespace as string.
Roger Serwy [Tue, 21 May 2013 03:16:53 +0000 (22:16 -0500)]
#14146: merge with 3.3.