Eli Bendersky
426e248feb
Preserve the invariant tostring(elem) == b''.join(tostringlist(elem)) and add a test to make sure it keeps working
14 years ago
Gregory P. Smith
954d46b2cc
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.
14 years ago
Gregory P. Smith
ac14aa5187
Fix unchecked select.poll reference in setUp and tearDown for
platforms that don't have it.
14 years ago
Gregory P. Smith
5bcd005a0b
Fix the with_poll tests for platforms without poll. missing import.
14 years ago
Vinay Sajip
8cffdd9ca2
Closes #15367 : Corrected computation of include locations for source builds on Windows. Thanks to Richard Oudkerk for the bug report and patch.
14 years ago
Vinay Sajip
048b063780
Closes #15366 : Corrected computation of include location for source builds. Thanks to Richard Oudkerk for the bug report and patch.
14 years ago
Hynek Schlawack
c2d481fbcd
#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.
14 years ago
Gregory P. Smith
dad5711677
Fixes Issue #14635 : telnetlib will use poll() rather than select() when possible
to avoid failing due to the select() file descriptor limit.
14 years ago
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)
14 years ago
R David Murray
6159e0956c
#4640 : Add optparse tests for '-xxx' invalid when defining options.
Patch by Aaron (hac.man).
14 years ago
Vinay Sajip
e554f8b858
Closes #15361 : Corrected venv prompt in PowerShell activation script.
14 years ago
Larry Hastings
b40380667c
Issue #15202 : Consistently use the name "follow_symlinks" for
new parameters in os and shutil functions. Patch by Serhiy Storchaka.
14 years ago
Vinay Sajip
509d87d4a0
Issue #15307 : Skipped test_venv:test_prefixes when run from a venv.
14 years ago
Hynek Schlawack
4774946c3b
#15180 : Clarify posixpath.join() error message when mixing str & bytes
14 years ago
Nick Coghlan
8e6e7d39d3
Fix typo in a comment (noticed by Terry Reedy)
14 years ago
Nick Coghlan
9deaa06fe1
Issue #9319 : Remove the workaround for this since fixed problem from pydoc
14 years ago
Nick Coghlan
2824cb507d
Issue #15343 : A lot more than just unicode decoding can go wrong when retrieving a source file
14 years ago
Nick Coghlan
8ecf50474c
Issue #15343 : Handle importlib.machinery.FileFinder instances in pkgutil.walk_packages (et al)
14 years ago
Nick Coghlan
3f94cbf9eb
Actually initialize __main__.__loader__ with loader instances, not the corresponding type objects
14 years ago
Nick Coghlan
8dbe5b5568
Remove a statement that was only added for debugging purposes
14 years ago
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
14 years ago
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 )
14 years ago
Eli Bendersky
00f402bfcb
Close #1767933 : Badly formed XML using etree and utf-16. Patch by Serhiy Storchaka, with some minor fixes by me
14 years ago
Larry Hastings
ad5ae0456e
- Issue #15238 : shutil.copystat now copies Linux "extended attributes".
14 years ago
Nick Coghlan
761bb11374
Close #15230 : runpy.run_path now sets __package__ correctly. Also refactored the runpy tests to use a more systematic approach
14 years ago
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).
14 years ago
Antoine Pitrou
2bb3021837
Try other approach to fix issue #15334 .
14 years ago
Antoine Pitrou
f0b1baf362
Issue #15334 : skip test_dynamic_key when run in non-interactive mode.
Patch by Jeremy Kloth.
14 years ago
Antoine Pitrou
68f4247b65
Issue #15338 : skip test_UNC_path when the current user doesn't have enough permissions to access the path.
14 years ago
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.
14 years ago
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.
14 years ago
Martin v. Löwis
67097fd592
Use _RPCFile.write properly.
14 years ago
Martin v. Löwis
c27616580d
Don't use TextIOBase implementations in _RPCFile.
14 years ago
Martin v. Löwis
8a75bed317
Issue #15319 : Revert wrapping of sys.stdin. Patch by Serhiy Storchaka.
14 years ago
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.
14 years ago
Eli Bendersky
8a80502d2c
Issue #15296 : Fix minidom.toxml/toprettyxml for non-unicode encodings. Patch by Serhiy Storchaka, with some minor style adjustments by me.
14 years ago
Antoine Pitrou
5df0204091
For diagnosis, try to list the directory first
14 years ago
Antoine Pitrou
f189e80f23
Small improvements to test_unc_path
14 years ago
Antoine Pitrou
021548cf4c
Try to fix or diagnose buildbot failures
14 years ago
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).
14 years ago
Martin v. Löwis
7d30b80a4e
Issue #15315 : Support VS 2010 in distutils cygwincompiler.
14 years ago
Brett Cannon
77b2abd094
Issue #15167 (as part of #13959 ): imp.get_magic() is no implemented in
Lib/imp.py.
14 years ago
Antoine Pitrou
59b9a7bc61
Backport test for nested namespace packages.
14 years ago
Antoine Pitrou
b2dd880e0a
Issue #15294 : Fix a regression in pkgutil.extend_path()'s handling of nested namespace packages.
14 years ago
Martin v. Löwis
1d0f6dd7db
normalize whitespace
14 years ago
Martin v. Löwis
9ae3f7a189
Issue #13532 : Check that arguments to sys.stdout.write are strings.
14 years ago
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.
14 years ago
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.
14 years ago
Terry Jan Reedy
44dea9d03f
Issue 12510: Delete actual first param name for all methods; revise tests.
14 years ago
Senthil Kumaran
168456df11
revert the changes done for issue14826 - quoting witin Request is not desirable.
14 years ago