]>
granicus.if.org Git - python/log
Nick Coghlan [Tue, 17 Jul 2012 11:37:58 +0000 (21:37 +1000)]
Issue #15314: Tweak a pkgutil test to hopefully be more Windows friendly
Eli Bendersky [Tue, 17 Jul 2012 11:25:14 +0000 (14:25 +0300)]
Merge for #14988
Eli Bendersky [Tue, 17 Jul 2012 11:22:01 +0000 (14:22 +0300)]
merge heads
Eli Bendersky [Tue, 17 Jul 2012 11:20:38 +0000 (14:20 +0300)]
ISsue #14988: restore Python 2's behavior of raising ImportError when unable to load pyexpat, instead of a SystemError/RuntimeError
Hynek Schlawack [Tue, 17 Jul 2012 11:10:15 +0000 (13:10 +0200)]
#15377: Make posixpath.join() more strict when checking for str/bytes mix
Based on a patch by Nick Coghlan.
Hynek Schlawack [Tue, 17 Jul 2012 11:05:43 +0000 (13:05 +0200)]
#15377: Make posixpath.join() more strict when checking for str/bytes mix
Based on a patch by Nick Coghlan.
Nick Coghlan [Tue, 17 Jul 2012 10:43:40 +0000 (20:43 +1000)]
Merge Issue #15230 OS X buildbot fix from 3.2
Nick Coghlan [Tue, 17 Jul 2012 10:42:39 +0000 (20:42 +1000)]
Issue #15230: Attempt to make the OS X buildbots happy by resolving the tmp dir symlink in the test suite
Hynek Schlawack [Tue, 17 Jul 2012 08:50:30 +0000 (10:50 +0200)]
Fix context manager use in posixpath.join() tests
The asserts were useless (and buggy).
Hynek Schlawack [Tue, 17 Jul 2012 08:48:19 +0000 (10:48 +0200)]
Fix context manager use in posixpath.join() tests
The asserts were useless (and buggy).
Eli Bendersky [Tue, 17 Jul 2012 02:45:11 +0000 (05:45 +0300)]
Preserve the invariant tostring(elem) == b''.join(tostringlist(elem)) and add a test to make sure it keeps working
Gregory P. Smith [Mon, 16 Jul 2012 22:49:19 +0000 (15:49 -0700)]
one more test fix for systems without select.poll. tested by deleting
select.poll before running. works both ways (finally). this should
fix the windows build.
Gregory P. Smith [Mon, 16 Jul 2012 22:48:30 +0000 (15:48 -0700)]
one more test fix for systems without select.poll. tested by deleting
select.poll before running. works both ways (finally). this should fix
the windows build.
Gregory P. Smith [Mon, 16 Jul 2012 20:39:10 +0000 (13:39 -0700)]
Fix unchecked select.poll reference in setUp and tearDown for
platforms that don't have it.
Gregory P. Smith [Mon, 16 Jul 2012 20:38:45 +0000 (13:38 -0700)]
Fix unchecked select.poll reference in setUp and tearDown for
platforms that don't have it.
Gregory P. Smith [Mon, 16 Jul 2012 20:35:20 +0000 (13:35 -0700)]
Fix the with_poll tests for platforms without poll. missing import.
Gregory P. Smith [Mon, 16 Jul 2012 20:34:50 +0000 (13:34 -0700)]
Fix the with_poll tests for platforms without poll. missing import.
Vinay Sajip [Mon, 16 Jul 2012 17:30:03 +0000 (18:30 +0100)]
Closes #15367: Corrected computation of include locations for source builds on Windows. Thanks to Richard Oudkerk for the bug report and patch.
Vinay Sajip [Mon, 16 Jul 2012 17:24:55 +0000 (18:24 +0100)]
Closes #15366: Corrected computation of include location for source builds. Thanks to Richard Oudkerk for the bug report and patch.
Hynek Schlawack [Mon, 16 Jul 2012 15:11:10 +0000 (17:11 +0200)]
#15238: Fix xattr related shutil.copystat tests
- Loosen up test as Fedora has implicit xattrs
- Actually test the destination for xattrs
Should make Fedora buildbot green again.
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