Commit Graph

21377 Commits

Author SHA1 Message Date
Ned Deily c65ef9bf55 Issue #4832: Modify IDLE to save files with .py extension by
default on Windows and OS X as it already does with X11 Tk.
2012-07-09 18:16:11 -07:00
Eli Bendersky 8a80502d2c Issue #15296: Fix minidom.toxml/toprettyxml for non-unicode encodings. Patch by Serhiy Storchaka, with some minor style adjustments by me. 2012-07-13 09:52:39 +03:00
Antoine Pitrou 5df0204091 For diagnosis, try to list the directory first 2012-07-12 19:50:03 +02:00
Antoine Pitrou f189e80f23 Small improvements to test_unc_path 2012-07-12 19:48:49 +02:00
Antoine Pitrou 021548cf4c Try to fix or diagnose buildbot failures 2012-07-12 19:21:43 +02:00
Antoine Pitrou 673eb6a0bb 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.
2012-07-11 19:21:31 +02:00
Antoine Pitrou 282083d5f4 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.
2012-07-11 19:19:14 +02:00
Martin v. Löwis fa0989fd38 merge 3.2 2012-07-11 09:17:54 +02:00
Martin v. Löwis 67097fd592 Use _RPCFile.write properly. 2012-07-11 09:17:15 +02:00
Martin v. Löwis ff40aa7b34 merge 3.2 2012-07-11 08:49:24 +02:00
Martin v. Löwis c27616580d Don't use TextIOBase implementations in _RPCFile. 2012-07-11 08:48:34 +02:00
Martin v. Löwis 9ba4545f97 merge 3.2 2012-07-11 08:29:55 +02:00
Martin v. Löwis 8a75bed317 Issue #15319: Revert wrapping of sys.stdin. Patch by Serhiy Storchaka. 2012-07-11 08:29:03 +02:00
Brett Cannon 461c813164 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).
2012-07-10 10:05:00 -04:00
Martin v. Löwis 7d30b80a4e Issue #15315: Support VS 2010 in distutils cygwincompiler. 2012-07-10 07:07:06 +02:00
Brett Cannon 77b2abd094 Issue #15167 (as part of #13959): imp.get_magic() is no implemented in
Lib/imp.py.
2012-07-09 16:09:00 -04:00
Antoine Pitrou 59b9a7bc61 Backport test for nested namespace packages. 2012-07-09 21:23:58 +02:00
Antoine Pitrou b2dd880e0a Issue #15294: Fix a regression in pkgutil.extend_path()'s handling of nested namespace packages. 2012-07-09 21:23:58 +02:00
Martin v. Löwis 7df5e5858b merge 3.2 2012-07-09 20:53:03 +02:00
Martin v. Löwis 1d0f6dd7db normalize whitespace 2012-07-09 20:52:40 +02:00
Martin v. Löwis 79007fa05d merge 3.2 2012-07-09 20:48:56 +02:00
Martin v. Löwis 9ae3f7a189 Issue #13532: Check that arguments to sys.stdout.write are strings. 2012-07-09 20:46:11 +02:00
Brett Cannon 19a2f5961c 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.
2012-07-09 13:58:07 -04:00
Brett Cannon bf7eab077f 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.
2012-07-09 13:24:34 -04:00
Terry Jan Reedy cc4cffb8fa Merge with 3.2 Issue 12510 2012-07-09 00:15:14 -04:00
Terry Jan Reedy 44dea9d03f Issue 12510: Delete actual first param name for all methods; revise tests. 2012-07-09 00:13:21 -04:00
Senthil Kumaran 612a815820 revert the changes done for issue14826 - quoting witin Request is not desirable. 2012-07-08 18:00:47 -07:00
Senthil Kumaran 168456df11 revert the changes done for issue14826 - quoting witin Request is not desirable. 2012-07-08 17:47:25 -07:00
Amaury Forgeot d'Arc 1ced17dfe9 Issue #15110: Copy same docstring as other '_exec_module' methods. 2012-07-08 21:03:01 +02:00
Amaury Forgeot d'Arc ae7b8f07c1 Issue #15110: Also hide importlib frames when importing a builtin module fails. 2012-07-08 20:52:38 +02:00
Benjamin Peterson 9ed37433c4 test AST base type garbage collection 2012-07-08 11:13:36 -07:00
Vinay Sajip 4d378d8349 Closes #15281, #15283: Don't make venv scripts executable, but copy source mode instead, and provide better help for pyvenv. 2012-07-08 17:50:42 +01:00
Nick Coghlan 07c4e33c07 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 2012-07-08 23:06:45 +10:00
Antoine Pitrou 88bf5ca63b Merge 2012-07-08 14:00:06 +02:00
Antoine Pitrou 5d62a61b58 Fix test_inspect messing up with linecache.cache. 2012-07-08 13:48:46 +02:00
Nick Coghlan 27396a1807 Issue 14814: Remove dead function (noticed by Serhiy Storchaka) 2012-07-08 21:38:12 +10:00
Antoine Pitrou 6803855ecf Fix test failure under Windows 2012-07-08 13:16:15 +02:00
Florent Xicluna 3f4ce635ee Issue #11022 and #15287: correctly remove the TESTFN file in test_builtin. 2012-07-08 12:08:45 +02:00
Antoine Pitrou bc07a5c913 Issue #15110: Fix the tracebacks generated by "import xxx" to not show the importlib stack frames. 2012-07-08 12:01:27 +02:00
Senthil Kumaran 25bfb529bd issue 14826 - Address the buildbot failure quote of url is the required change ( explanation msg164973) 2012-07-08 02:16:08 -07:00
Senthil Kumaran 45ce4dc73e issue 14826 - Address the buildbot failure ( explanation msg164973) 2012-07-08 02:08:48 -07:00
Ross Lagerwall 8d459f0cb8 #15284: Skip {send,recv}msg tests with disabled IPv6
Patch by Brian Brazil.
2012-07-08 09:53:57 +02:00
Nick Coghlan 297b143c6d Issue 14814: Further error case testing coverage and cleanups 2012-07-08 17:11:04 +10:00
Senthil Kumaran 540715a369 Fix issue14826 - make urllib.request.Request quoted url consistent with URLOpener open method.
Patch contributed by Stephen Thorne.
2012-07-07 17:15:52 -07:00
Senthil Kumaran b7451cecad Fix issue14826 - make urllib.request.Request quoted url consistent with URLOpener open method.
Patch contributed by Stephen Thorne.
2012-07-07 17:11:44 -07:00
Senthil Kumaran a5e0eaf2e1 Fix 5931 - Python runtime hardcoded in wsgiref.simple_server - Now it specifies an implementation specific term. 2012-07-07 14:29:58 -07:00
Łukasz Langa 31196dd7d0 Merge remote 2012-07-07 18:58:44 +02:00
Łukasz Langa cba243215e Fixes #14590: ConfigParser doesn't strip inline comment when delimiter occurs
earlier without preceding space.
2012-07-07 18:54:08 +02:00
Ross Lagerwall 5aa4354297 Merge with remote. 2012-07-07 18:42:57 +02:00
Ross Lagerwall 121d59ffa9 #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.
2012-07-07 18:40:32 +02:00