]>
granicus.if.org Git - python/log
Eli Bendersky [Fri, 13 Jul 2012 06:52:39 +0000 (09:52 +0300)]
Issue #15296: Fix minidom.toxml/toprettyxml for non-unicode encodings. Patch by Serhiy Storchaka, with some minor style adjustments by me.
Eli Bendersky [Fri, 13 Jul 2012 06:45:31 +0000 (09:45 +0300)]
Some fixes for the documentation of multiprocessing (per issue #13686)
Eli Bendersky [Fri, 13 Jul 2012 06:01:57 +0000 (09:01 +0300)]
Remove :noindex: for threading.Thread which killed all reference links to it
Stefan Krah [Thu, 12 Jul 2012 19:17:59 +0000 (21:17 +0200)]
Issue #7652: Clean up _mpd_qinvroot() and mark it LIBMPDEC_ONLY. Use the
algorithm from decimal.py for mpd_qsqrt().
Antoine Pitrou [Thu, 12 Jul 2012 18:32:11 +0000 (20:32 +0200)]
Add c_size_t and c_ssize_t to the ctypes summary table.
Antoine Pitrou [Thu, 12 Jul 2012 18:31:50 +0000 (20:31 +0200)]
Add c_size_t and c_ssize_t to the ctypes summary table.
Raymond Hettinger [Thu, 12 Jul 2012 18:26:56 +0000 (11:26 -0700)]
merge
Raymond Hettinger [Thu, 12 Jul 2012 18:26:01 +0000 (11:26 -0700)]
Show the proper way to exit a cmd shell
Antoine Pitrou [Thu, 12 Jul 2012 17:50:03 +0000 (19:50 +0200)]
For diagnosis, try to list the directory first
Antoine Pitrou [Thu, 12 Jul 2012 17:48:49 +0000 (19:48 +0200)]
Small improvements to test_unc_path
Antoine Pitrou [Thu, 12 Jul 2012 17:21:43 +0000 (19:21 +0200)]
Try to fix or diagnose buildbot failures
Antoine Pitrou [Wed, 11 Jul 2012 17:21:31 +0000 (19:21 +0200)]
Issue #15300: Ensure the temporary test working directories are in the same parent folder when running tests in multiprocess mode from a Python build.
Patch by Chris Jerdonek.
Antoine Pitrou [Wed, 11 Jul 2012 17:19:14 +0000 (19:19 +0200)]
Issue #15300: Ensure the temporary test working directories are in the same parent folder when running tests in multiprocess mode from a Python build.
Patch by Chris Jerdonek.
Martin v. Löwis [Wed, 11 Jul 2012 07:17:54 +0000 (09:17 +0200)]
merge 3.2
Martin v. Löwis [Wed, 11 Jul 2012 07:17:15 +0000 (09:17 +0200)]
Use _RPCFile.write properly.
Martin v. Löwis [Wed, 11 Jul 2012 06:49:24 +0000 (08:49 +0200)]
merge 3.2
Martin v. Löwis [Wed, 11 Jul 2012 06:48:34 +0000 (08:48 +0200)]
Don't use TextIOBase implementations in _RPCFile.
Martin v. Löwis [Wed, 11 Jul 2012 06:29:55 +0000 (08:29 +0200)]
merge 3.2
Martin v. Löwis [Wed, 11 Jul 2012 06:29:03 +0000 (08:29 +0200)]
Issue #15319: Revert wrapping of sys.stdin. Patch by Serhiy Storchaka.
Antoine Pitrou [Tue, 10 Jul 2012 16:27:54 +0000 (18:27 +0200)]
Fix compilation under Windows
Brett Cannon [Tue, 10 Jul 2012 14:05:00 +0000 (10:05 -0400)]
Issue #15111: When a module was imported using a 'from import'
statement (e.g. ``from distutils import msvc9compiler``) that triggers
an ImportError of its own (e.g. the non-existence of winreg), let that
exception propagate instead of raising a generic ImportError for the
module being requested (e.g. msvc9compiler).
Vinay Sajip [Tue, 10 Jul 2012 07:21:07 +0000 (08:21 +0100)]
Factored out common venv documentation and added more information about Distribute/pip.
Raymond Hettinger [Tue, 10 Jul 2012 06:52:08 +0000 (23:52 -0700)]
Add simple LaTeX markup
Benjamin Peterson [Tue, 10 Jul 2012 05:21:55 +0000 (22:21 -0700)]
fix refleak
Martin v. Löwis [Tue, 10 Jul 2012 05:07:06 +0000 (07:07 +0200)]
Issue #15315: Support VS 2010 in distutils cygwincompiler.
Martin v. Löwis [Tue, 10 Jul 2012 05:04:33 +0000 (07:04 +0200)]
Don't package removed pysetup3 anymore.
Benjamin Peterson [Mon, 9 Jul 2012 20:43:53 +0000 (13:43 -0700)]
initialize variable for compiler happiness
Brett Cannon [Mon, 9 Jul 2012 20:09:21 +0000 (16:09 -0400)]
Merge
Brett Cannon [Mon, 9 Jul 2012 20:09:00 +0000 (16:09 -0400)]
Issue #15167 (as part of #13959): imp.get_magic() is no implemented in
Lib/imp.py.
Raymond Hettinger [Mon, 9 Jul 2012 19:43:57 +0000 (12:43 -0700)]
Fix markup
Antoine Pitrou [Mon, 9 Jul 2012 19:26:05 +0000 (21:26 +0200)]
Null merge
Antoine Pitrou [Mon, 9 Jul 2012 19:23:58 +0000 (21:23 +0200)]
Backport test for nested namespace packages.
Antoine Pitrou [Mon, 9 Jul 2012 19:23:58 +0000 (21:23 +0200)]
Issue #15294: Fix a regression in pkgutil.extend_path()'s handling of nested namespace packages.
Martin v. Löwis [Mon, 9 Jul 2012 18:53:03 +0000 (20:53 +0200)]
merge 3.2
Martin v. Löwis [Mon, 9 Jul 2012 18:52:40 +0000 (20:52 +0200)]
normalize whitespace
Martin v. Löwis [Mon, 9 Jul 2012 18:51:45 +0000 (20:51 +0200)]
merge heads
Martin v. Löwis [Mon, 9 Jul 2012 18:48:56 +0000 (20:48 +0200)]
merge 3.2
Martin v. Löwis [Mon, 9 Jul 2012 18:46:11 +0000 (20:46 +0200)]
Issue #13532: Check that arguments to sys.stdout.write are strings.
Brett Cannon [Mon, 9 Jul 2012 18:40:38 +0000 (14:40 -0400)]
Use the proper term.
Brett Cannon [Mon, 9 Jul 2012 18:22:12 +0000 (14:22 -0400)]
Issue #15242: Have PyImport_GetMagicTag() return a const char *
defined in sysmodule.c instead of straight out of a Unicode object.
Thanks to Amaury Forgeot d'Arc for noticing the bug and Eric Snow for
writing the patch.
Brett Cannon [Mon, 9 Jul 2012 18:15:32 +0000 (14:15 -0400)]
Add a note about pkgutil and how some things do not work in the face of PEP 302 permeating throughout import.
Brett Cannon [Mon, 9 Jul 2012 18:10:23 +0000 (14:10 -0400)]
Issue #15288: Clarify that pkgutil.walk_packages() and friends will no
longer work as expected in Python 3.3 as importlib's loaders do not
implement the non-standard iter_modules() method. Also link to the
term "loader" in the requisite notes to help make it clearer what has
happened.
Brett Cannon [Mon, 9 Jul 2012 17:58:07 +0000 (13:58 -0400)]
Issue #15056: imp.cache_from_source() and source_from_cache() raise
NotimplementedError when sys.implementation.cache_tag is None.
Thanks to Pranav Ravichandran for taking an initial stab at the patch.
Brett Cannon [Mon, 9 Jul 2012 17:24:34 +0000 (13:24 -0400)]
Issue #15256: Re-use the ImportError exception message as defined by
importlib._bootstrap in imp to fix a grammatical mistake.
Thanks to Marc Abramowitz for the patch.
Vinay Sajip [Mon, 9 Jul 2012 09:37:01 +0000 (10:37 +0100)]
Added cross-references to venv definition.
Vinay Sajip [Mon, 9 Jul 2012 08:25:46 +0000 (09:25 +0100)]
Merged upstream changes.
Vinay Sajip [Mon, 9 Jul 2012 08:24:59 +0000 (09:24 +0100)]
Issue #15283: Updated pyvenv documentation to expand on activation.
Raymond Hettinger [Mon, 9 Jul 2012 08:17:22 +0000 (01:17 -0700)]
Add verbose option for diagnostics
Terry Jan Reedy [Mon, 9 Jul 2012 04:15:14 +0000 (00:15 -0400)]
Merge with 3.2 Issue 12510
Terry Jan Reedy [Mon, 9 Jul 2012 04:13:21 +0000 (00:13 -0400)]
Issue 12510: Delete actual first param name for all methods; revise tests.
Senthil Kumaran [Mon, 9 Jul 2012 01:00:47 +0000 (18:00 -0700)]
revert the changes done for issue14826 - quoting witin Request is not desirable.
Senthil Kumaran [Mon, 9 Jul 2012 00:47:25 +0000 (17:47 -0700)]
revert the changes done for issue14826 - quoting witin Request is not desirable.
Raymond Hettinger [Sun, 8 Jul 2012 23:04:03 +0000 (16:04 -0700)]
Make it easier to search for the grouper() recipe.
Raymond Hettinger [Sun, 8 Jul 2012 23:01:53 +0000 (16:01 -0700)]
Issue 15265: document the exception raised for invalid sample sizes.
Raymond Hettinger [Sun, 8 Jul 2012 22:42:54 +0000 (15:42 -0700)]
Minor algorithmic tweaks, better factoring, improved docstrings and variable names
Terry Jan Reedy [Sun, 8 Jul 2012 21:52:58 +0000 (17:52 -0400)]
Merge 3.2 closes issue 13557
Terry Jan Reedy [Sun, 8 Jul 2012 21:36:14 +0000 (17:36 -0400)]
Issue #13557: Clarify effect of giving two different namespaces to exec or
execfile().
Amaury Forgeot d'Arc [Sun, 8 Jul 2012 19:03:01 +0000 (21:03 +0200)]
Issue #15110: Copy same docstring as other '_exec_module' methods.
Amaury Forgeot d'Arc [Sun, 8 Jul 2012 18:52:38 +0000 (20:52 +0200)]
Issue #15110: Also hide importlib frames when importing a builtin module fails.
Benjamin Peterson [Sun, 8 Jul 2012 18:13:36 +0000 (11:13 -0700)]
test AST base type garbage collection
Benjamin Peterson [Sun, 8 Jul 2012 18:06:04 +0000 (11:06 -0700)]
add news note for
85cccc38d01c
Benjamin Peterson [Sun, 8 Jul 2012 18:03:46 +0000 (11:03 -0700)]
add gc support to the AST base type (closes #15293)
Vinay Sajip [Sun, 8 Jul 2012 16:50:42 +0000 (17:50 +0100)]
Closes #15281, #15283: Don't make venv scripts executable, but copy source mode instead, and provide better help for pyvenv.
Nick Coghlan [Sun, 8 Jul 2012 13:06:45 +0000 (23:06 +1000)]
Issue 14814: The new systematic tests aren't just about error reporting any more - change names accordingly. Added and tweaked some example to ensure they were covering the intended code paths
Antoine Pitrou [Sun, 8 Jul 2012 12:00:06 +0000 (14:00 +0200)]
Merge
Antoine Pitrou [Sun, 8 Jul 2012 11:48:46 +0000 (13:48 +0200)]
Fix test_inspect messing up with linecache.cache.
Nick Coghlan [Sun, 8 Jul 2012 11:38:12 +0000 (21:38 +1000)]
Issue 14814: Remove dead function (noticed by Serhiy Storchaka)
Antoine Pitrou [Sun, 8 Jul 2012 11:16:15 +0000 (13:16 +0200)]
Fix test failure under Windows
Antoine Pitrou [Sun, 8 Jul 2012 10:43:59 +0000 (12:43 +0200)]
Merge
Antoine Pitrou [Sun, 8 Jul 2012 10:43:32 +0000 (12:43 +0200)]
Issue #15291: Fix a memory leak where AST nodes where not properly deallocated.
Florent Xicluna [Sun, 8 Jul 2012 10:08:45 +0000 (12:08 +0200)]
Issue #11022 and #15287: correctly remove the TESTFN file in test_builtin.
Antoine Pitrou [Sun, 8 Jul 2012 10:01:27 +0000 (12:01 +0200)]
Issue #15110: Fix the tracebacks generated by "import xxx" to not show the importlib stack frames.
Senthil Kumaran [Sun, 8 Jul 2012 09:16:08 +0000 (02:16 -0700)]
issue 14826 - Address the buildbot failure quote of url is the required change ( explanation msg164973)
Senthil Kumaran [Sun, 8 Jul 2012 09:08:48 +0000 (02:08 -0700)]
issue 14826 - Address the buildbot failure ( explanation msg164973)
Senthil Kumaran [Sun, 8 Jul 2012 08:33:19 +0000 (01:33 -0700)]
merge heads
Senthil Kumaran [Sun, 8 Jul 2012 08:32:57 +0000 (01:32 -0700)]
Fix markup for versionchanged sphinx directive.
Ross Lagerwall [Sun, 8 Jul 2012 07:53:57 +0000 (09:53 +0200)]
#15284: Skip {send,recv}msg tests with disabled IPv6
Patch by Brian Brazil.
Nick Coghlan [Sun, 8 Jul 2012 07:11:04 +0000 (17:11 +1000)]
Issue 14814: Further error case testing coverage and cleanups
Senthil Kumaran [Sun, 8 Jul 2012 00:15:52 +0000 (17:15 -0700)]
Fix issue14826 - make urllib.request.Request quoted url consistent with URLOpener open method.
Patch contributed by Stephen Thorne.
Senthil Kumaran [Sun, 8 Jul 2012 00:11:44 +0000 (17:11 -0700)]
Fix issue14826 - make urllib.request.Request quoted url consistent with URLOpener open method.
Patch contributed by Stephen Thorne.
Senthil Kumaran [Sat, 7 Jul 2012 21:29:58 +0000 (14:29 -0700)]
Fix 5931 - Python runtime hardcoded in wsgiref.simple_server - Now it specifies an implementation specific term.
Antoine Pitrou [Sat, 7 Jul 2012 17:49:44 +0000 (19:49 +0200)]
Check-in compiled importlib changes (you must run "make" after modifying the importlib sources).
Łukasz Langa [Sat, 7 Jul 2012 16:58:44 +0000 (18:58 +0200)]
Merge remote
Łukasz Langa [Sat, 7 Jul 2012 16:54:08 +0000 (18:54 +0200)]
Fixes #14590: ConfigParser doesn't strip inline comment when delimiter occurs
earlier without preceding space.
Ross Lagerwall [Sat, 7 Jul 2012 16:42:57 +0000 (18:42 +0200)]
Merge with remote.
Ross Lagerwall [Sat, 7 Jul 2012 16:40:32 +0000 (18:40 +0200)]
#15277: Fix a resource leak in support.py when IPv6 is disabled.
The leak occurred by setting:
echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6
before running test_support.
Patch by Brian Brazil.
Antoine Pitrou [Sat, 7 Jul 2012 15:33:42 +0000 (17:33 +0200)]
Add a blurb about PEP 412
Florent Xicluna [Sat, 7 Jul 2012 15:03:54 +0000 (17:03 +0200)]
Some cleanup in the Tools directory.
Florent Xicluna [Sat, 7 Jul 2012 15:03:52 +0000 (17:03 +0200)]
trace: remove unused imports.
Florent Xicluna [Sat, 7 Jul 2012 15:03:25 +0000 (17:03 +0200)]
Add tests to marshall double with xmlrpc.client.
Florent Xicluna [Sat, 7 Jul 2012 15:03:22 +0000 (17:03 +0200)]
Issue #13248: io: Remove obsolete argument "max_buffer_size" of BufferedWriter and BufferedRWPair.
Florent Xicluna [Sat, 7 Jul 2012 15:02:22 +0000 (17:02 +0200)]
Issue #13248: argparse: Remove obsolete argument "version" of ArgumentParser.
Nick Coghlan [Sat, 7 Jul 2012 14:45:33 +0000 (00:45 +1000)]
Issue 14814: Ensure ordering semantics across all 3 entity types in ipaddress are consistent and well-defined
Nick Coghlan [Sat, 7 Jul 2012 13:05:59 +0000 (23:05 +1000)]
Issue 14814: Correctly return NotImplemented from ipaddress._BaseNetwork.__eq__
Jesus Cea [Sat, 7 Jul 2012 12:56:04 +0000 (14:56 +0200)]
Cope with OSs lying - #10142: Support for SEEK_HOLE/SEEK_DATA
Nick Coghlan [Sat, 7 Jul 2012 12:53:46 +0000 (22:53 +1000)]
Issue 14814: Further clean ups to the ipaddress tutorial
Nick Coghlan [Sat, 7 Jul 2012 12:15:22 +0000 (22:15 +1000)]
Issue 14814: Explain how to get more error detail in the ipaddress tutorial, and tweak the display for octet errors in IPv4 (noticed the formatting problem when adding to the docs)
Mark Dickinson [Sat, 7 Jul 2012 12:08:48 +0000 (14:08 +0200)]
Use correct types for ASCII_CHAR_MASK integer constants.
Nick Coghlan [Sat, 7 Jul 2012 11:43:30 +0000 (21:43 +1000)]
Issue 14814: Make the ipaddress code easier to follow by using newer language features (patch by Serhiy Storchaka)
Florent Xicluna [Sat, 7 Jul 2012 11:16:44 +0000 (13:16 +0200)]
Minor refactoring in importlib._bootstrap, and fix the '_wrap' docstring.