Commit Graph

55951 Commits

Author SHA1 Message Date
Brett Cannon d104eef118 Issue #15053: Make sure all functions related to the import lock have
the Python 3.3 change notice on them in case someone directly links to
the function(s).
2012-07-13 11:26:19 -04:00
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 78da3bc0af Additional fixes to multiprocessing docs (for issue #13686) 2012-07-13 10:10:05 +03: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
Eli Bendersky b674dcf53e Some fixes for the documentation of multiprocessing (per issue #13686) 2012-07-13 09:45:31 +03:00
Eli Bendersky e08824c300 Remove :noindex: for threading.Thread which killed all reference links to it 2012-07-13 09:01:57 +03:00
Stefan Krah e574402bd6 Issue #7652: Clean up _mpd_qinvroot() and mark it LIBMPDEC_ONLY. Use the
algorithm from decimal.py for mpd_qsqrt().
2012-07-12 21:17:59 +02:00
Antoine Pitrou c128167318 Add c_size_t and c_ssize_t to the ctypes summary table. 2012-07-12 20:32:11 +02:00
Antoine Pitrou 52cc722ab8 Add c_size_t and c_ssize_t to the ctypes summary table. 2012-07-12 20:31:50 +02:00
Raymond Hettinger 77f7a9bcc9 merge 2012-07-12 11:26:56 -07:00
Raymond Hettinger 921d1244c6 Show the proper way to exit a cmd shell 2012-07-12 11:26:01 -07: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
Antoine Pitrou 44b4b6a9a5 Fix compilation under Windows 2012-07-10 18:27:54 +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
Vinay Sajip c4618e33b2 Factored out common venv documentation and added more information about Distribute/pip. 2012-07-10 08:21:07 +01:00
Raymond Hettinger 7d39055f7f Add simple LaTeX markup 2012-07-09 23:52:08 -07:00
Benjamin Peterson 66f3659c9e fix refleak 2012-07-09 22:21:55 -07:00
Martin v. Löwis 7d30b80a4e Issue #15315: Support VS 2010 in distutils cygwincompiler. 2012-07-10 07:07:06 +02:00
Martin v. Löwis 2b9df89ff1 Don't package removed pysetup3 anymore. 2012-07-10 07:04:33 +02:00
Benjamin Peterson fa873704a4 initialize variable for compiler happiness 2012-07-09 13:43:53 -07:00
Brett Cannon bc8e09708b Merge 2012-07-09 16:09:21 -04: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
Raymond Hettinger f07d949367 Fix markup 2012-07-09 12:43:57 -07:00
Antoine Pitrou afbb5fbeb8 Null merge 2012-07-09 21:26:05 +02: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 b7439a547b merge heads 2012-07-09 20:51:45 +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 5c453ce3a4 Use the proper term. 2012-07-09 14:40:38 -04:00
Brett Cannon 3adc7b75a5 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.
2012-07-09 14:22:12 -04:00
Brett Cannon 903c27c177 Add a note about pkgutil and how some things do not work in the face of PEP 302 permeating throughout import. 2012-07-09 14:15:32 -04:00
Brett Cannon b19449751f 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.
2012-07-09 14:10:23 -04: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
Vinay Sajip cd9b746b37 Added cross-references to venv definition. 2012-07-09 10:37:01 +01:00
Vinay Sajip 6dc9f0eca7 Merged upstream changes. 2012-07-09 09:25:46 +01:00
Vinay Sajip a945ad1a12 Issue #15283: Updated pyvenv documentation to expand on activation. 2012-07-09 09:24:59 +01:00