]>
granicus.if.org Git - python/log
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.
Florent Xicluna [Sat, 7 Jul 2012 11:16:44 +0000 (13:16 +0200)]
Minor refactoring in xml.etree.ElementTree doctype parser.
Florent Xicluna [Sat, 7 Jul 2012 10:26:56 +0000 (12:26 +0200)]
Merge branch
Florent Xicluna [Sat, 7 Jul 2012 10:13:35 +0000 (12:13 +0200)]
Issue #14990: tokenize: correctly fail with SyntaxError on invalid encoding declaration.
Nick Coghlan [Sat, 7 Jul 2012 09:23:53 +0000 (19:23 +1000)]
Issue 14814: Provide more informative error messages in ipaddress, and ensure that errors are caught as expected
Nick Coghlan [Sat, 7 Jul 2012 03:34:50 +0000 (13:34 +1000)]
Issue 14814: %s implies coercion with str() - remove a lot of redundant str() calls from the ipaddress implementation
doko@ubuntu.com [Sat, 7 Jul 2012 01:06:42 +0000 (03:06 +0200)]
- Issue #15268: Search curses.h in /usr/include/ncursesw.
Antoine Pitrou [Fri, 6 Jul 2012 16:52:58 +0000 (18:52 +0200)]
Issue #15247: FileIO now raises an error when given a file descriptor pointing to a directory.
Antoine Pitrou [Fri, 6 Jul 2012 16:48:24 +0000 (18:48 +0200)]
Issue #15247: FileIO now raises an error when given a file descriptor pointing to a directory.
Nick Coghlan [Fri, 6 Jul 2012 15:43:31 +0000 (01:43 +1000)]
Issue 14814: Eliminate bytes warnings from ipaddress by correctly throwing an exception early when given bytes data of the wrong length. Also removes 2.x backwards compatibility code from associated tests.
Nick Coghlan [Fri, 6 Jul 2012 15:13:55 +0000 (01:13 +1000)]
Issue 14814: Better handling of cases where octet/hextet parsing fails, including ensuring that tracebacks are still clean even when calling class constructors directly
Richard Oudkerk [Fri, 6 Jul 2012 11:05:32 +0000 (12:05 +0100)]
Issue #15261: Stop os.stat(fd) crashing on Windows when fd not open.
Antoine Pitrou [Thu, 5 Jul 2012 18:57:33 +0000 (20:57 +0200)]
Issue #15020: The program name used to search for Python's path is now python3 under Unix, not python.
Antoine Pitrou [Thu, 5 Jul 2012 18:56:30 +0000 (20:56 +0200)]
Issue #15020: The program name used to search for Python's path is now "python3" under Unix, not "python".
Senthil Kumaran [Thu, 5 Jul 2012 02:33:45 +0000 (19:33 -0700)]
Fix issue # 15033 - Return the proper exitcode for failure when modules are invoked using -m switch. Patch contributed by Jeff Knupp
Senthil Kumaran [Thu, 5 Jul 2012 02:28:16 +0000 (19:28 -0700)]
Fix issue # 15033 - Return the proper exitcode for failure when modules are invoked using -m switch. Patch contributed by Jeff Knupp
Brett Cannon [Wed, 4 Jul 2012 18:03:40 +0000 (14:03 -0400)]
Issue #15210: Greatly simplify the test for supporting importlib
working without _frozen_importlib by moving to an import over a direct
access in sys.modules.
Mark Dickinson [Wed, 4 Jul 2012 09:07:06 +0000 (11:07 +0200)]
Fix undefined names in __all__.
Raymond Hettinger [Wed, 4 Jul 2012 00:55:23 +0000 (17:55 -0700)]
Make ANSI the default output style
Raymond Hettinger [Tue, 3 Jul 2012 21:42:33 +0000 (14:42 -0700)]
Add examples to the module docstring
Raymond Hettinger [Tue, 3 Jul 2012 21:25:16 +0000 (14:25 -0700)]
Fix spelling.
Raymond Hettinger [Tue, 3 Jul 2012 21:11:40 +0000 (14:11 -0700)]
Add support for ANSI escape sequences
Vinay Sajip [Tue, 3 Jul 2012 20:36:36 +0000 (21:36 +0100)]
Closes #14902: Fixed timezone conversion of a date/time in the past. Thanks to Yuriy Syrovetskiy for the report and Juancarlo Añez for the patch on which this fix is based.
Raymond Hettinger [Tue, 3 Jul 2012 20:13:52 +0000 (13:13 -0700)]
Refactor to isolate HTML encoding step from the parsing step.
Vinay Sajip [Tue, 3 Jul 2012 16:26:55 +0000 (17:26 +0100)]
Closes #15241: Added information on venv prefixes to pyvenv section.
Vinay Sajip [Tue, 3 Jul 2012 15:56:40 +0000 (16:56 +0100)]
Issue #15241: Added test for venv prefixes.
Vinay Sajip [Tue, 3 Jul 2012 15:33:57 +0000 (16:33 +0100)]
Issue 15241: Improved site.py documentation relating to venvs.
Jesus Cea [Tue, 3 Jul 2012 11:18:30 +0000 (13:18 +0200)]
NULL MERGE: Issue #1677: Unused variable warning in Non-Windows
Jesus Cea [Tue, 3 Jul 2012 11:15:03 +0000 (13:15 +0200)]
Issue #1677: Unused variable warning in Non-Windows
Raymond Hettinger [Tue, 3 Jul 2012 07:15:59 +0000 (00:15 -0700)]
Fix keyword argument
Raymond Hettinger [Tue, 3 Jul 2012 07:12:27 +0000 (00:12 -0700)]
Minor cleanups
Raymond Hettinger [Tue, 3 Jul 2012 00:17:16 +0000 (17:17 -0700)]
Use new-style string formatting for the HTML template
Raymond Hettinger [Mon, 2 Jul 2012 20:54:33 +0000 (13:54 -0700)]
Clean-up unused variable
Raymond Hettinger [Mon, 2 Jul 2012 20:29:57 +0000 (13:29 -0700)]
Do HTML escaping after the tokenization step.
Brett Cannon [Mon, 2 Jul 2012 19:13:11 +0000 (15:13 -0400)]
Issue #15166: Re-implement imp.get_tag() using sys.implementation.
Also eliminates some C code in Python/import.c as well.
Patch by Eric Snow with verification by comparing against another
patch from Jeff Knupp.
Brett Cannon [Mon, 2 Jul 2012 18:53:10 +0000 (14:53 -0400)]
Issue #15210: If _frozen_importlib is not found in sys.modules by
importlib.__init__, then catch the KeyError raised, not ImportError.
Brett Cannon [Mon, 2 Jul 2012 18:35:34 +0000 (14:35 -0400)]
Closes #15030: Make importlib.abc.PyPycLoader respect the new .pyc
file size header field.
Thanks to Marc Abramowitz and Ronan Lamy for helping out with various
parts of the patch.
Stefan Krah [Sun, 1 Jul 2012 10:24:20 +0000 (12:24 +0200)]
Remove ISSUES.txt.
doko@ubuntu.com [Sun, 1 Jul 2012 08:35:54 +0000 (10:35 +0200)]
- Issue #15235: Allow Berkley DB versions up to 5.3 to build the dbm module.
Georg Brandl [Sun, 1 Jul 2012 08:04:35 +0000 (10:04 +0200)]
Fix filename.
Georg Brandl [Sun, 1 Jul 2012 07:56:07 +0000 (09:56 +0200)]
Merge with 3.2.
Georg Brandl [Sun, 1 Jul 2012 07:47:54 +0000 (09:47 +0200)]
Make call of os.getppid() conditional: it is not available on Windows.
Georg Brandl [Sun, 1 Jul 2012 07:43:20 +0000 (09:43 +0200)]
Fix inconsistent function name in embedding howto.
Raymond Hettinger [Sun, 1 Jul 2012 07:37:05 +0000 (00:37 -0700)]
Limit which operators get colorized
Raymond Hettinger [Sun, 1 Jul 2012 06:19:30 +0000 (23:19 -0700)]
Set title to the source filename
Raymond Hettinger [Sun, 1 Jul 2012 05:19:04 +0000 (22:19 -0700)]
Small cleanups
Raymond Hettinger [Sun, 1 Jul 2012 00:10:25 +0000 (17:10 -0700)]
Fix local variable
Raymond Hettinger [Sun, 1 Jul 2012 00:00:14 +0000 (17:00 -0700)]
Add author tag
Raymond Hettinger [Sat, 30 Jun 2012 23:58:06 +0000 (16:58 -0700)]
Add syntax highlighter tool
doko@ubuntu.com [Sat, 30 Jun 2012 23:08:20 +0000 (01:08 +0200)]
- Issue #15194: check in the missing m4/ax_append_flag.m4 file.
Regenerate aclocalm4 and configure.
doko@ubuntu.com [Sat, 30 Jun 2012 22:38:34 +0000 (00:38 +0200)]
null merge
doko@ubuntu.com [Sat, 30 Jun 2012 22:37:47 +0000 (00:37 +0200)]
- Issue #15194: check in the missing m4/ax_check_compile_flag.m4 file.
Regenerate aclocalm4 and configure.
doko@ubuntu.com [Sat, 30 Jun 2012 22:23:51 +0000 (00:23 +0200)]
- Issue #14330: Don't derive the include and library search dirs
from GCC for native builds
Antoine Pitrou [Sat, 30 Jun 2012 21:37:47 +0000 (23:37 +0200)]
Issue #15229: An OSError subclass whose __init__ doesn't call back
OSError.__init__ could produce incomplete instances, leading to crashes
when calling str() on them.
doko@ubuntu.com [Sat, 30 Jun 2012 21:28:09 +0000 (23:28 +0200)]
- fix the OS X build failure, only try to remove the temporary file if it exists
Antoine Pitrou [Sat, 30 Jun 2012 21:03:18 +0000 (23:03 +0200)]
Merge