Raymond Hettinger
2a61c451f2
cm.parents is property, not a method
2012-07-15 22:37:20 -07:00
Ned Deily
274717757d
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)
2012-07-15 21:30:03 -07:00
Larry Hastings
950b76ab1a
Doc fix: the text role is called "func", not "funk".
2012-07-15 17:32:36 -07:00
R David Murray
6159e0956c
#4640 : Add optparse tests for '-xxx' invalid when defining options.
...
Patch by Aaron (hac.man).
2012-07-15 20:12:24 -04:00
Larry Hastings
7aa2c8baae
Issue #15202 : Additional documentation fixes inadvertently omitted
...
from previous checkin.
2012-07-15 16:58:29 -07:00
Vinay Sajip
e554f8b858
Closes #15361 : Corrected venv prompt in PowerShell activation script.
2012-07-15 21:58:13 +01:00
Larry Hastings
b40380667c
Issue #15202 : Consistently use the name "follow_symlinks" for
...
new parameters in os and shutil functions. Patch by Serhiy Storchaka.
2012-07-15 10:57:38 -07:00
Vinay Sajip
509d87d4a0
Issue #15307 : Skipped test_venv:test_prefixes when run from a venv.
2012-07-15 16:12:54 +01:00
Hynek Schlawack
9ac4d8808f
#15180 : Clarify posixpath.join() error message when mixing str & bytes
2012-07-15 16:46:23 +02:00
Hynek Schlawack
4774946c3b
#15180 : Clarify posixpath.join() error message when mixing str & bytes
2012-07-15 16:21:30 +02:00
Nick Coghlan
b7a5894c64
Refcounting fixes
2012-07-15 23:21:08 +10:00
Nick Coghlan
ceda83c6a9
Make set_main_loader static (noticed by Antoine Pitrou)
2012-07-15 23:18:08 +10:00
Nick Coghlan
8e6e7d39d3
Fix typo in a comment (noticed by Terry Reedy)
2012-07-15 23:13:18 +10:00
Nick Coghlan
6061000d01
Update the pkgutil porting section in What's New. This should cause significantly fewer problems after today's updates
2012-07-15 22:39:39 +10:00
Nick Coghlan
9deaa06fe1
Issue #9319 : Remove the workaround for this since fixed problem from pydoc
2012-07-15 22:17:02 +10:00
Nick Coghlan
2824cb507d
Issue #15343 : A lot more than just unicode decoding can go wrong when retrieving a source file
2012-07-15 22:12:14 +10:00
Nick Coghlan
8ecf50474c
Issue #15343 : Handle importlib.machinery.FileFinder instances in pkgutil.walk_packages (et al)
2012-07-15 21:19:18 +10:00
Nick Coghlan
3f94cbf9eb
Actually initialize __main__.__loader__ with loader instances, not the corresponding type objects
2012-07-15 19:10:39 +10:00
Nick Coghlan
8dbe5b5568
Remove a statement that was only added for debugging purposes
2012-07-15 18:29:24 +10:00
Nick Coghlan
37b3b90b02
Note why we can't write an automated test for the code path that brings up the REPL for a bare 'python' call
2012-07-15 18:24:42 +10:00
Nick Coghlan
85e729ec3b
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 )
2012-07-15 18:09:52 +10:00
Eli Bendersky
f96cf911a0
Issue #9458 : clarify the documentation of ElementTree.write with regards to the type of the stream expected for a given encoding
2012-07-15 06:19:44 +03:00
Eli Bendersky
00f402bfcb
Close #1767933 : Badly formed XML using etree and utf-16. Patch by Serhiy Storchaka, with some minor fixes by me
2012-07-15 06:02:22 +03:00
Larry Hastings
1191709b13
- Issue #15233 : Python now guarantees that callables registered with
...
the atexit module will be called in a deterministic order.
2012-07-14 18:20:37 -07:00
Raymond Hettinger
c4ac789be7
Fix-up latex styling
2012-07-14 17:58:29 -07:00
Larry Hastings
ad5ae0456e
- Issue #15238 : shutil.copystat now copies Linux "extended attributes".
2012-07-14 17:55:11 -07:00
Gregory P. Smith
7c6309c6af
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 .
2012-07-14 14:12:35 -07:00
Brett Cannon
15810673dc
Minor grammatical tweaks.
2012-07-14 14:30:48 -04:00
Eli Bendersky
f877a7cce1
Some small fixes and clarifications to the io documentation
2012-07-14 21:22:25 +03:00
Nick Coghlan
24711c4fac
Merge #15230 doc updates from 3.2
2012-07-15 00:38:43 +10:00
Nick Coghlan
a3d1cac4b2
Issue #15230 : Update runpy docs to clarify a couple of points that came up in this issue
2012-07-15 00:36:39 +10:00
Nick Coghlan
2f54b98c8c
Merge fix for #15230 from 3.2
2012-07-15 00:07:43 +10:00
Nick Coghlan
761bb11374
Close #15230 : runpy.run_path now sets __package__ correctly. Also refactored the runpy tests to use a more systematic approach
2012-07-14 23:59:22 +10:00
Ned Deily
045bd5340f
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).
2012-07-13 15:48:04 -07:00
Antoine Pitrou
26c01d7e05
Try other approach to fix issue #15334 .
2012-07-13 22:49:55 +02:00
Antoine Pitrou
2bb3021837
Try other approach to fix issue #15334 .
2012-07-13 22:46:41 +02:00
Antoine Pitrou
2e28f094c8
Null merge
2012-07-13 21:14:03 +02:00
Antoine Pitrou
924ae1b040
Remove duplicate entry and fix order
2012-07-13 21:13:25 +02:00
Antoine Pitrou
b9c7c8260d
Issue #15334 : skip test_dynamic_key when run in non-interactive mode.
...
Patch by Jeremy Kloth.
2012-07-13 21:10:17 +02:00
Antoine Pitrou
f0b1baf362
Issue #15334 : skip test_dynamic_key when run in non-interactive mode.
...
Patch by Jeremy Kloth.
2012-07-13 21:08:41 +02:00
Antoine Pitrou
c287423cb0
Merge
2012-07-13 20:59:35 +02:00
Antoine Pitrou
c27ace688c
Issue #15338 : skip test_UNC_path when the current user doesn't have enough permissions to access the path.
2012-07-13 20:59:19 +02:00
Antoine Pitrou
68f4247b65
Issue #15338 : skip test_UNC_path when the current user doesn't have enough permissions to access the path.
2012-07-13 20:54:42 +02:00
Raymond Hettinger
fb20a1a924
Fix builtin test and simplify the classified text tuple.
2012-07-13 11:52:45 -07:00
Brett Cannon
a6473f9cfd
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.
2012-07-13 13:57:03 -04:00
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
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
921d1244c6
Show the proper way to exit a cmd shell
2012-07-12 11:26:01 -07: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
67097fd592
Use _RPCFile.write properly.
2012-07-11 09:17:15 +02:00