]> granicus.if.org Git - python/log
python
12 years agoIssue #15296: Fix minidom.toxml/toprettyxml for non-unicode encodings. Patch by...
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.

12 years agoSome fixes for the documentation of multiprocessing (per issue #13686)
Eli Bendersky [Fri, 13 Jul 2012 06:45:31 +0000 (09:45 +0300)]
Some fixes for the documentation of multiprocessing (per issue #13686)

12 years agoRemove :noindex: for threading.Thread which killed all reference links to it
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

12 years agoIssue #7652: Clean up _mpd_qinvroot() and mark it LIBMPDEC_ONLY. Use the
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().

12 years agoAdd c_size_t and c_ssize_t to the ctypes summary table.
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.

12 years agoAdd 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.

12 years agomerge
Raymond Hettinger [Thu, 12 Jul 2012 18:26:56 +0000 (11:26 -0700)]
merge

12 years agoShow the proper way to exit a cmd shell
Raymond Hettinger [Thu, 12 Jul 2012 18:26:01 +0000 (11:26 -0700)]
Show the proper way to exit a cmd shell

12 years agoFor diagnosis, try to list the directory first
Antoine Pitrou [Thu, 12 Jul 2012 17:50:03 +0000 (19:50 +0200)]
For diagnosis, try to list the directory first

12 years agoSmall improvements to test_unc_path
Antoine Pitrou [Thu, 12 Jul 2012 17:48:49 +0000 (19:48 +0200)]
Small improvements to test_unc_path

12 years agoTry to fix or diagnose buildbot failures
Antoine Pitrou [Thu, 12 Jul 2012 17:21:43 +0000 (19:21 +0200)]
Try to fix or diagnose buildbot failures

12 years agoIssue #15300: Ensure the temporary test working directories are in the same parent...
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.

12 years agoIssue #15300: Ensure the temporary test working directories are in the same parent...
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.

12 years agomerge 3.2
Martin v. Löwis [Wed, 11 Jul 2012 07:17:54 +0000 (09:17 +0200)]
merge 3.2

12 years agoUse _RPCFile.write properly.
Martin v. Löwis [Wed, 11 Jul 2012 07:17:15 +0000 (09:17 +0200)]
Use _RPCFile.write properly.

12 years agomerge 3.2
Martin v. Löwis [Wed, 11 Jul 2012 06:49:24 +0000 (08:49 +0200)]
merge 3.2

12 years agoDon't use TextIOBase implementations in _RPCFile.
Martin v. Löwis [Wed, 11 Jul 2012 06:48:34 +0000 (08:48 +0200)]
Don't use TextIOBase implementations in _RPCFile.

12 years agomerge 3.2
Martin v. Löwis [Wed, 11 Jul 2012 06:29:55 +0000 (08:29 +0200)]
merge 3.2

12 years agoIssue #15319: Revert wrapping of sys.stdin. Patch by Serhiy Storchaka.
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.

12 years agoFix compilation under Windows
Antoine Pitrou [Tue, 10 Jul 2012 16:27:54 +0000 (18:27 +0200)]
Fix compilation under Windows

12 years agoIssue #15111: When a module was imported using a 'from import'
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).

12 years agoFactored out common venv documentation and added more information about Distribute...
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.

12 years agoAdd simple LaTeX markup
Raymond Hettinger [Tue, 10 Jul 2012 06:52:08 +0000 (23:52 -0700)]
Add simple LaTeX markup

12 years agofix refleak
Benjamin Peterson [Tue, 10 Jul 2012 05:21:55 +0000 (22:21 -0700)]
fix refleak

12 years agoIssue #15315: Support VS 2010 in distutils cygwincompiler.
Martin v. Löwis [Tue, 10 Jul 2012 05:07:06 +0000 (07:07 +0200)]
Issue #15315: Support VS 2010 in distutils cygwincompiler.

12 years agoDon't package removed pysetup3 anymore.
Martin v. Löwis [Tue, 10 Jul 2012 05:04:33 +0000 (07:04 +0200)]
Don't package removed pysetup3 anymore.

12 years agoinitialize variable for compiler happiness
Benjamin Peterson [Mon, 9 Jul 2012 20:43:53 +0000 (13:43 -0700)]
initialize variable for compiler happiness

12 years agoMerge
Brett Cannon [Mon, 9 Jul 2012 20:09:21 +0000 (16:09 -0400)]
Merge

12 years agoIssue #15167 (as part of #13959): imp.get_magic() is no implemented in
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.

12 years agoFix markup
Raymond Hettinger [Mon, 9 Jul 2012 19:43:57 +0000 (12:43 -0700)]
Fix markup

12 years agoNull merge
Antoine Pitrou [Mon, 9 Jul 2012 19:26:05 +0000 (21:26 +0200)]
Null merge

12 years agoBackport test for nested namespace packages.
Antoine Pitrou [Mon, 9 Jul 2012 19:23:58 +0000 (21:23 +0200)]
Backport test for nested namespace packages.

12 years agoIssue #15294: Fix a regression in pkgutil.extend_path()'s handling of nested namespac...
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.

12 years agomerge 3.2
Martin v. Löwis [Mon, 9 Jul 2012 18:53:03 +0000 (20:53 +0200)]
merge 3.2

12 years agonormalize whitespace
Martin v. Löwis [Mon, 9 Jul 2012 18:52:40 +0000 (20:52 +0200)]
normalize whitespace

12 years agomerge heads
Martin v. Löwis [Mon, 9 Jul 2012 18:51:45 +0000 (20:51 +0200)]
merge heads

12 years agomerge 3.2
Martin v. Löwis [Mon, 9 Jul 2012 18:48:56 +0000 (20:48 +0200)]
merge 3.2

12 years agoIssue #13532: Check that arguments to sys.stdout.write are strings.
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.

12 years agoUse the proper term.
Brett Cannon [Mon, 9 Jul 2012 18:40:38 +0000 (14:40 -0400)]
Use the proper term.

12 years agoIssue #15242: Have PyImport_GetMagicTag() return a const char *
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.

12 years agoAdd a note about pkgutil and how some things do not work in the face of PEP 302 perme...
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.

12 years agoIssue #15288: Clarify that pkgutil.walk_packages() and friends will no
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.

12 years agoIssue #15056: imp.cache_from_source() and source_from_cache() raise
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.

12 years agoIssue #15256: Re-use the ImportError exception message as defined by
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.

12 years agoAdded cross-references to venv definition.
Vinay Sajip [Mon, 9 Jul 2012 09:37:01 +0000 (10:37 +0100)]
Added cross-references to venv definition.

12 years agoMerged upstream changes.
Vinay Sajip [Mon, 9 Jul 2012 08:25:46 +0000 (09:25 +0100)]
Merged upstream changes.

12 years agoIssue #15283: Updated pyvenv documentation to expand on activation.
Vinay Sajip [Mon, 9 Jul 2012 08:24:59 +0000 (09:24 +0100)]
Issue #15283: Updated pyvenv documentation to expand on activation.

12 years agoAdd verbose option for diagnostics
Raymond Hettinger [Mon, 9 Jul 2012 08:17:22 +0000 (01:17 -0700)]
Add verbose option for diagnostics

12 years agoMerge with 3.2 Issue 12510
Terry Jan Reedy [Mon, 9 Jul 2012 04:15:14 +0000 (00:15 -0400)]
Merge with 3.2 Issue 12510

12 years agoIssue 12510: Delete actual first param name for all methods; revise tests.
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.

12 years agorevert the changes done for issue14826 - quoting witin Request is not desirable.
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.

12 years agorevert 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.

12 years agoMake it easier to search for the grouper() recipe.
Raymond Hettinger [Sun, 8 Jul 2012 23:04:03 +0000 (16:04 -0700)]
Make it easier to search for the grouper() recipe.

12 years agoIssue 15265: document the exception raised for invalid sample sizes.
Raymond Hettinger [Sun, 8 Jul 2012 23:01:53 +0000 (16:01 -0700)]
Issue 15265: document the exception raised for invalid sample sizes.

12 years agoMinor algorithmic tweaks, better factoring, improved docstrings and variable names
Raymond Hettinger [Sun, 8 Jul 2012 22:42:54 +0000 (15:42 -0700)]
Minor algorithmic tweaks, better factoring, improved docstrings and variable names

12 years agoMerge 3.2 closes issue 13557
Terry Jan Reedy [Sun, 8 Jul 2012 21:52:58 +0000 (17:52 -0400)]
Merge 3.2 closes issue 13557

12 years agoIssue #13557: Clarify effect of giving two different namespaces to exec or
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().

12 years agoIssue #15110: Copy same docstring as other '_exec_module' methods.
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.

12 years agoIssue #15110: Also hide importlib frames when importing a builtin module fails.
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.

12 years agotest AST base type garbage collection
Benjamin Peterson [Sun, 8 Jul 2012 18:13:36 +0000 (11:13 -0700)]
test AST base type garbage collection

12 years agoadd news note for 85cccc38d01c
Benjamin Peterson [Sun, 8 Jul 2012 18:06:04 +0000 (11:06 -0700)]
add news note for 85cccc38d01c

12 years agoadd gc support to the AST base type (closes #15293)
Benjamin Peterson [Sun, 8 Jul 2012 18:03:46 +0000 (11:03 -0700)]
add gc support to the AST base type (closes #15293)

12 years agoCloses #15281, #15283: Don't make venv scripts executable, but copy source mode inste...
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.

12 years agoIssue 14814: The new systematic tests aren't just about error reporting any more...
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

12 years agoMerge
Antoine Pitrou [Sun, 8 Jul 2012 12:00:06 +0000 (14:00 +0200)]
Merge

12 years agoFix test_inspect messing up with linecache.cache.
Antoine Pitrou [Sun, 8 Jul 2012 11:48:46 +0000 (13:48 +0200)]
Fix test_inspect messing up with linecache.cache.

12 years agoIssue 14814: Remove dead function (noticed by Serhiy Storchaka)
Nick Coghlan [Sun, 8 Jul 2012 11:38:12 +0000 (21:38 +1000)]
Issue 14814: Remove dead function (noticed by Serhiy Storchaka)

12 years agoFix test failure under Windows
Antoine Pitrou [Sun, 8 Jul 2012 11:16:15 +0000 (13:16 +0200)]
Fix test failure under Windows

12 years agoMerge
Antoine Pitrou [Sun, 8 Jul 2012 10:43:59 +0000 (12:43 +0200)]
Merge

12 years agoIssue #15291: Fix a memory leak where AST nodes where not properly deallocated.
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.

12 years agoIssue #11022 and #15287: correctly remove the TESTFN file in test_builtin.
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.

12 years agoIssue #15110: Fix the tracebacks generated by "import xxx" to not show the importlib...
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.

12 years agoissue 14826 - Address the buildbot failure quote of url is the required change (...
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)

12 years agoissue 14826 - Address the buildbot failure ( explanation msg164973)
Senthil Kumaran [Sun, 8 Jul 2012 09:08:48 +0000 (02:08 -0700)]
issue 14826 - Address the buildbot failure ( explanation msg164973)

12 years agomerge heads
Senthil Kumaran [Sun, 8 Jul 2012 08:33:19 +0000 (01:33 -0700)]
merge heads

12 years agoFix markup for versionchanged sphinx directive.
Senthil Kumaran [Sun, 8 Jul 2012 08:32:57 +0000 (01:32 -0700)]
Fix markup for versionchanged sphinx directive.

12 years ago#15284: Skip {send,recv}msg tests with disabled IPv6
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.

12 years agoIssue 14814: Further error case testing coverage and cleanups
Nick Coghlan [Sun, 8 Jul 2012 07:11:04 +0000 (17:11 +1000)]
Issue 14814: Further error case testing coverage and cleanups

12 years agoFix issue14826 - make urllib.request.Request quoted url consistent with URLOpener...
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.

12 years agoFix issue14826 - make urllib.request.Request quoted url consistent with URLOpener...
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.

12 years agoFix 5931 - Python runtime hardcoded in wsgiref.simple_server - Now it specifies an...
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.

12 years agoCheck-in compiled importlib changes (you must run "make" after modifying the importli...
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).

12 years agoMerge remote
Łukasz Langa [Sat, 7 Jul 2012 16:58:44 +0000 (18:58 +0200)]
Merge remote

12 years agoFixes #14590: ConfigParser doesn't strip inline comment when delimiter occurs
Ł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.

12 years agoMerge with remote.
Ross Lagerwall [Sat, 7 Jul 2012 16:42:57 +0000 (18:42 +0200)]
Merge with remote.

12 years ago#15277: Fix a resource leak in support.py when IPv6 is disabled.
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.

12 years agoAdd a blurb about PEP 412
Antoine Pitrou [Sat, 7 Jul 2012 15:33:42 +0000 (17:33 +0200)]
Add a blurb about PEP 412

12 years agoSome cleanup in the Tools directory.
Florent Xicluna [Sat, 7 Jul 2012 15:03:54 +0000 (17:03 +0200)]
Some cleanup in the Tools directory.

12 years agotrace: remove unused imports.
Florent Xicluna [Sat, 7 Jul 2012 15:03:52 +0000 (17:03 +0200)]
trace: remove unused imports.

12 years agoAdd tests to marshall double with xmlrpc.client.
Florent Xicluna [Sat, 7 Jul 2012 15:03:25 +0000 (17:03 +0200)]
Add tests to marshall double with xmlrpc.client.

12 years agoIssue #13248: io: Remove obsolete argument "max_buffer_size" of BufferedWriter and...
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.

12 years agoIssue #13248: argparse: Remove obsolete argument "version" of ArgumentParser.
Florent Xicluna [Sat, 7 Jul 2012 15:02:22 +0000 (17:02 +0200)]
Issue #13248: argparse: Remove obsolete argument "version" of ArgumentParser.

12 years agoIssue 14814: Ensure ordering semantics across all 3 entity types in ipaddress are...
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

12 years agoIssue 14814: Correctly return NotImplemented from ipaddress._BaseNetwork.__eq__
Nick Coghlan [Sat, 7 Jul 2012 13:05:59 +0000 (23:05 +1000)]
Issue 14814: Correctly return NotImplemented from ipaddress._BaseNetwork.__eq__

12 years agoCope with OSs lying - #10142: Support for SEEK_HOLE/SEEK_DATA
Jesus Cea [Sat, 7 Jul 2012 12:56:04 +0000 (14:56 +0200)]
Cope with OSs lying - #10142: Support for SEEK_HOLE/SEEK_DATA

12 years agoIssue 14814: Further clean ups to the ipaddress tutorial
Nick Coghlan [Sat, 7 Jul 2012 12:53:46 +0000 (22:53 +1000)]
Issue 14814: Further clean ups to the ipaddress tutorial

12 years agoIssue 14814: Explain how to get more error detail in the ipaddress tutorial, and...
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)

12 years agoUse correct types for ASCII_CHAR_MASK integer constants.
Mark Dickinson [Sat, 7 Jul 2012 12:08:48 +0000 (14:08 +0200)]
Use correct types for ASCII_CHAR_MASK integer constants.

12 years agoIssue 14814: Make the ipaddress code easier to follow by using newer language feature...
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)

12 years agoMinor refactoring in importlib._bootstrap, and fix the '_wrap' docstring.
Florent Xicluna [Sat, 7 Jul 2012 11:16:44 +0000 (13:16 +0200)]
Minor refactoring in importlib._bootstrap, and fix the '_wrap' docstring.