]>
granicus.if.org Git - python/log
Raymond Hettinger [Mon, 16 Jul 2012 09:07:41 +0000 (02:07 -0700)]
Fix typo
Raymond Hettinger [Mon, 16 Jul 2012 06:53:32 +0000 (23:53 -0700)]
Clean-up example
Gregory P. Smith [Mon, 16 Jul 2012 06:44:49 +0000 (23:44 -0700)]
Fixes Issue #14635: telnetlib will use poll() rather than select() when possible
to avoid failing due to the select() file descriptor limit.
Gregory P. Smith [Mon, 16 Jul 2012 06:42:26 +0000 (23:42 -0700)]
Fixes Issue #14635: telnetlib will use poll() rather than select() when possible
to avoid failing due to the select() file descriptor limit.
Raymond Hettinger [Mon, 16 Jul 2012 05:37:20 +0000 (22:37 -0700)]
cm.parents is property, not a method
Ned Deily [Mon, 16 Jul 2012 04:30:03 +0000 (21:30 -0700)]
Issue #13590: Improve support for OS X Xcode 4:
- fix test_distutils and test_sysconfig test failures by
aligning sysconfig and distutils.sysconfig tailoring of
configure variables (as in 2.7)
Larry Hastings [Mon, 16 Jul 2012 00:32:36 +0000 (17:32 -0700)]
Doc fix: the text role is called "func", not "funk".
R David Murray [Mon, 16 Jul 2012 00:12:24 +0000 (20:12 -0400)]
#4640: Add optparse tests for '-xxx' invalid when defining options.
Patch by Aaron (hac.man).
Larry Hastings [Sun, 15 Jul 2012 23:58:29 +0000 (16:58 -0700)]
Issue #15202: Additional documentation fixes inadvertently omitted
from previous checkin.
Vinay Sajip [Sun, 15 Jul 2012 20:58:13 +0000 (21:58 +0100)]
Closes #15361: Corrected venv prompt in PowerShell activation script.
Larry Hastings [Sun, 15 Jul 2012 17:57:38 +0000 (10:57 -0700)]
Issue #15202: Consistently use the name "follow_symlinks" for
new parameters in os and shutil functions. Patch by Serhiy Storchaka.
Vinay Sajip [Sun, 15 Jul 2012 15:12:54 +0000 (16:12 +0100)]
Issue #15307: Skipped test_venv:test_prefixes when run from a venv.
Hynek Schlawack [Sun, 15 Jul 2012 14:46:23 +0000 (16:46 +0200)]
#15180: Clarify posixpath.join() error message when mixing str & bytes
Hynek Schlawack [Sun, 15 Jul 2012 14:21:30 +0000 (16:21 +0200)]
#15180: Clarify posixpath.join() error message when mixing str & bytes
Nick Coghlan [Sun, 15 Jul 2012 13:21:08 +0000 (23:21 +1000)]
Refcounting fixes
Nick Coghlan [Sun, 15 Jul 2012 13:18:08 +0000 (23:18 +1000)]
Make set_main_loader static (noticed by Antoine Pitrou)
Nick Coghlan [Sun, 15 Jul 2012 13:13:18 +0000 (23:13 +1000)]
Fix typo in a comment (noticed by Terry Reedy)
Nick Coghlan [Sun, 15 Jul 2012 12:39:39 +0000 (22:39 +1000)]
Update the pkgutil porting section in What's New. This should cause significantly fewer problems after today's updates
Nick Coghlan [Sun, 15 Jul 2012 12:17:02 +0000 (22:17 +1000)]
Issue #9319: Remove the workaround for this since fixed problem from pydoc
Nick Coghlan [Sun, 15 Jul 2012 12:12:14 +0000 (22:12 +1000)]
Issue #15343: A lot more than just unicode decoding can go wrong when retrieving a source file
Nick Coghlan [Sun, 15 Jul 2012 11:19:18 +0000 (21:19 +1000)]
Issue #15343: Handle importlib.machinery.FileFinder instances in pkgutil.walk_packages (et al)
Nick Coghlan [Sun, 15 Jul 2012 09:10:39 +0000 (19:10 +1000)]
Actually initialize __main__.__loader__ with loader instances, not the corresponding type objects
Nick Coghlan [Sun, 15 Jul 2012 08:29:24 +0000 (18:29 +1000)]
Remove a statement that was only added for debugging purposes
Nick Coghlan [Sun, 15 Jul 2012 08:24:42 +0000 (18:24 +1000)]
Note why we can't write an automated test for the code path that brings up the REPL for a bare 'python' call
Nick Coghlan [Sun, 15 Jul 2012 08:09:52 +0000 (18:09 +1000)]
Take the first step in resolving the messy pkgutil vs importlib edge cases by basing pkgutil explicitly on importlib, deprecating its internal import emulation and setting __main__.__loader__ correctly so that runpy still works (Affects #15343, #15314, #15357)
Eli Bendersky [Sun, 15 Jul 2012 03:19:44 +0000 (06:19 +0300)]
Issue #9458: clarify the documentation of ElementTree.write with regards to the type of the stream expected for a given encoding
Eli Bendersky [Sun, 15 Jul 2012 03:02:22 +0000 (06:02 +0300)]
Close #
1767933 : Badly formed XML using etree and utf-16. Patch by Serhiy Storchaka, with some minor fixes by me
Larry Hastings [Sun, 15 Jul 2012 01:20:37 +0000 (18:20 -0700)]
- Issue #15233: Python now guarantees that callables registered with
the atexit module will be called in a deterministic order.
Raymond Hettinger [Sun, 15 Jul 2012 00:58:29 +0000 (17:58 -0700)]
Fix-up latex styling
Larry Hastings [Sun, 15 Jul 2012 00:55:11 +0000 (17:55 -0700)]
- Issue #15238: shutil.copystat now copies Linux "extended attributes".
Gregory P. Smith [Sat, 14 Jul 2012 21:12:35 +0000 (14:12 -0700)]
Update the embedded copy of the expat XML parser to 2.1.0. It brings
with it a vareity of bug fixes, both security and behavior. See
http://www.libexpat.org/ for the list.
NOTE: I already backported the expat hash randomization fix in March.
Fixes issue #14340.
Brett Cannon [Sat, 14 Jul 2012 18:30:48 +0000 (14:30 -0400)]
Minor grammatical tweaks.
Eli Bendersky [Sat, 14 Jul 2012 18:22:25 +0000 (21:22 +0300)]
Some small fixes and clarifications to the io documentation
Nick Coghlan [Sat, 14 Jul 2012 14:38:43 +0000 (00:38 +1000)]
Merge #15230 doc updates from 3.2
Nick Coghlan [Sat, 14 Jul 2012 14:36:39 +0000 (00:36 +1000)]
Issue #15230: Update runpy docs to clarify a couple of points that came up in this issue
Nick Coghlan [Sat, 14 Jul 2012 14:07:43 +0000 (00:07 +1000)]
Merge fix for #15230 from 3.2
Nick Coghlan [Sat, 14 Jul 2012 13:59:22 +0000 (23:59 +1000)]
Close #15230: runpy.run_path now sets __package__ correctly. Also refactored the runpy tests to use a more systematic approach
Ned Deily [Fri, 13 Jul 2012 22:48:04 +0000 (15:48 -0700)]
Issue #15241: Fix test_prefixes failure in test_venv due to symlink in
tempfile directory path (i.e. on OS X /tmp is actually /private/tmp).
Antoine Pitrou [Fri, 13 Jul 2012 20:49:55 +0000 (22:49 +0200)]
Try other approach to fix issue #15334.
Antoine Pitrou [Fri, 13 Jul 2012 20:46:41 +0000 (22:46 +0200)]
Try other approach to fix issue #15334.
Antoine Pitrou [Fri, 13 Jul 2012 19:14:03 +0000 (21:14 +0200)]
Null merge
Antoine Pitrou [Fri, 13 Jul 2012 19:13:25 +0000 (21:13 +0200)]
Remove duplicate entry and fix order
Antoine Pitrou [Fri, 13 Jul 2012 19:10:17 +0000 (21:10 +0200)]
Issue #15334: skip test_dynamic_key when run in non-interactive mode.
Patch by Jeremy Kloth.
Antoine Pitrou [Fri, 13 Jul 2012 19:08:41 +0000 (21:08 +0200)]
Issue #15334: skip test_dynamic_key when run in non-interactive mode.
Patch by Jeremy Kloth.
Antoine Pitrou [Fri, 13 Jul 2012 18:59:35 +0000 (20:59 +0200)]
Merge
Antoine Pitrou [Fri, 13 Jul 2012 18:59:19 +0000 (20:59 +0200)]
Issue #15338: skip test_UNC_path when the current user doesn't have enough permissions to access the path.
Antoine Pitrou [Fri, 13 Jul 2012 18:54:42 +0000 (20:54 +0200)]
Issue #15338: skip test_UNC_path when the current user doesn't have enough permissions to access the path.
Raymond Hettinger [Fri, 13 Jul 2012 18:52:45 +0000 (11:52 -0700)]
Fix builtin test and simplify the classified text tuple.
Brett Cannon [Fri, 13 Jul 2012 17:57:03 +0000 (13:57 -0400)]
Issues #15169, #14599: Make PyImport_ExecCodeModuleWithPathnames() use
Lib/imp.py for imp.source_from_cache() instead of its own C version.
Also change PyImport_ExecCodeModuleObject() to not infer the source
path from the bytecode path like
PyImport_ExecCodeModuleWithPathnames() does. This makes the function
less magical.
This also has the side-effect of removing all uses of MAXPATHLEN in
Python/import.c which can cause failures on really long filenames.
Brett Cannon [Fri, 13 Jul 2012 15:26:19 +0000 (11:26 -0400)]
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).
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:01 +0000 (11:26 -0700)]
Show the proper way to exit a cmd shell
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:15 +0000 (09:17 +0200)]
Use _RPCFile.write properly.
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:03 +0000 (08:29 +0200)]
Issue #15319: Revert wrapping of sys.stdin. Patch by Serhiy Storchaka.
Ned Deily [Tue, 10 Jul 2012 01:16:11 +0000 (18:16 -0700)]
Issue #4832: Modify IDLE to save files with .py extension by
default on Windows and OS X as it already does with X11 Tk.
Eli Bendersky [Fri, 13 Jul 2012 07:10:05 +0000 (10:10 +0300)]
Additional fixes to multiprocessing docs (for issue #13686)
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.
Raymond Hettinger [Thu, 12 Jul 2012 18:26:56 +0000 (11:26 -0700)]
merge
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.
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 06:49:24 +0000 (08:49 +0200)]
merge 3.2
Martin v. Löwis [Wed, 11 Jul 2012 06:29:55 +0000 (08:29 +0200)]
merge 3.2
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