summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Issue 7780. Adding a test for unittest test discovery from a dotted path.Michael Foord2010-05-081-0/+17
|
* Issue #8084: ensure that the --user directoryRonald Oussoren2010-05-082-7/+31
| | | | | conforms to platforms standars on OSX when using a python framework.
* Fix for issue #7724: make it possible to build usingRonald Oussoren2010-05-081-1/+20
| | | | | the OSX 10.4u SDK on MacOSX 10.6 by honoring the specified SDK when looking for files.
* Fixing the errors trigerred in test_urllib2net. Related to issue8656.Senthil Kumaran2010-05-081-5/+8
|
* Fix Issue8656 - urllib2 mangles file://-scheme URLsSenthil Kumaran2010-05-082-2/+3
|
* Issue 8547 - detecting and reporting that modules have been imported from ↵Michael Foord2010-05-072-3/+58
| | | | the wrong location under test discovery.
* revert r80932; it breaks windowsBenjamin Peterson2010-05-072-53/+1
|
* Merged revisions ↵Benjamin Peterson2010-05-0715-91/+167
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 79911,79916-79917,80018,80418,80572-80573,80635-80639,80668,80922 via svnmerge from svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r79911 | benjamin.peterson | 2010-04-09 15:38:53 -0500 (Fri, 09 Apr 2010) | 1 line use absolute import ........ r79916 | benjamin.peterson | 2010-04-09 16:05:21 -0500 (Fri, 09 Apr 2010) | 1 line generalize detection of __future__ imports and attach them to the tree ........ r79917 | benjamin.peterson | 2010-04-09 16:11:44 -0500 (Fri, 09 Apr 2010) | 1 line don't try to 'fix' relative imports when absolute_import is enabled #8858 ........ r80018 | benjamin.peterson | 2010-04-12 16:12:12 -0500 (Mon, 12 Apr 2010) | 4 lines prevent diffs from being mangled is multiprocess mode #6409 Patch by George Boutsioukis. ........ r80418 | benjamin.peterson | 2010-04-23 16:00:03 -0500 (Fri, 23 Apr 2010) | 1 line remove unhelpful description ........ r80572 | benjamin.peterson | 2010-04-27 20:33:54 -0500 (Tue, 27 Apr 2010) | 1 line use unicode literals ........ r80573 | jeffrey.yasskin | 2010-04-27 23:08:27 -0500 (Tue, 27 Apr 2010) | 6 lines Don't transform imports that are already relative. 2to3 turned from . import refactor into from .. import refactor which broke the transformation of 2to3 itself. ........ r80635 | benjamin.peterson | 2010-04-29 16:02:23 -0500 (Thu, 29 Apr 2010) | 1 line remove imports ........ r80636 | benjamin.peterson | 2010-04-29 16:02:41 -0500 (Thu, 29 Apr 2010) | 1 line unicode literal ........ r80637 | benjamin.peterson | 2010-04-29 16:03:42 -0500 (Thu, 29 Apr 2010) | 1 line must pass a string to Number ........ r80638 | benjamin.peterson | 2010-04-29 16:05:34 -0500 (Thu, 29 Apr 2010) | 1 line unicode literals ........ r80639 | benjamin.peterson | 2010-04-29 16:06:09 -0500 (Thu, 29 Apr 2010) | 1 line pass string to Number ........ r80668 | jeffrey.yasskin | 2010-04-30 18:02:47 -0500 (Fri, 30 Apr 2010) | 4 lines Make 2to3 run under Python 2.5 so that the benchmark suite at http://hg.python.org/benchmarks/ can use it and still run on implementations that haven't gotten to 2.6 yet. Fixes issue 8566. ........ r80922 | benjamin.peterson | 2010-05-07 11:06:25 -0500 (Fri, 07 May 2010) | 1 line prevent xrange transformation from wrapping range calls it produces in list ........
* Issue 8547 - detecting and reporting that modules have been imported from ↵Michael Foord2010-05-072-1/+53
| | | | the wrong location under test discovery.
* Issue #8571: Fix an internal error when compressing or decompressing aAntoine Pitrou2010-05-071-3/+59
| | | | | chunk larger than 1GB with the zlib module's compressor and decompressor objects.
* Adding tests for unittest command line handling of buffer, catchbreak and ↵Michael Foord2010-05-072-0/+206
| | | | failfast.
* Adding a test for unittest test discovery with dotted path name.Michael Foord2010-05-072-4/+21
|
* Testsuite for RFC3986 based parsing scenario. Related Issue1462525.Senthil Kumaran2010-05-071-6/+52
|
* adds handle_error(self):raise to test modules using asyncore to provide a ↵Giampaolo Rodolà2010-05-062-0/+9
| | | | clearer error message in case something goes wrong
* provides a clearer warning message when cheap inheritance with the ↵Giampaolo Rodolà2010-05-061-2/+3
| | | | underlying socket object is used
* Fix asyncore issues 8573 and 8483: _strerror might throw ValueError; ↵Giampaolo Rodolà2010-05-062-5/+35
| | | | asyncore.__getattr__ cheap inheritance caused confusing error messages when accessing undefined class attributes; added an alias for __str__ which now is used as a fallback for __repr__
* `self` doesn't exist hereAntoine Pitrou2010-05-061-3/+3
|
* Fix #7863. Properly identify Windows 7 and Server 2008 R2.Brian Curtin2010-05-061-17/+34
| | | | | Removed various unused code and added a way to correctly determine server vs. workstation via the registry.
* Issue #1533: test_range in test_builtin: fix test comment and add testMark Dickinson2010-05-051-2/+2
| | | | for rejection of small floats. Thanks Alexander Belopolsky.
* removed non needed linesTarek Ziadé2010-05-051-2/+1
|
* Fixed #4265: shutil.copyfile() was leaking file descriptors when disk fillsTarek Ziadé2010-05-052-10/+109
|
* In a number of places code still reversRonald Oussoren2010-05-0521-174/+26
| | | | | | | | | to "sys.platform == 'mac'" and that is dead code because it refers to a platform that is no longer supported (and hasn't been supported for several releases). Fixes issue #7908 for the trunk.
* Issue #8600: fix test_gdb failures when gdb issues some spurious warnings.Antoine Pitrou2010-05-051-0/+5
|
* Issue #7472: remove unused code from email.encoders.encode_7or8bit.R. David Murray2010-05-052-7/+8
| | | | | | | | | Yukihiro Nakadaira noticed a typo in encode_7or8bit that was trying to special case iso-2022 codecs. It turns out that the code in question is never used, because whereas it was designed to trigger if the payload encoding was eight bit but its output encoding was 7 bit, in practice the payload is always converted to the 7bit encoding before encode_7or8bit is called. Patch by Shawat Anand.
* Bug 7755: audiotest.au is arguably copyrighted material, but definitely makesBarry Warsaw2010-05-053-1/+1
| | | | | Debian unhappy. The actual contents of the audio clip are unimportant, so replace it with something that we know is okay. Guido likes woodpeckers.
* Force exit using os._exit instead of sys.exit,Ronald Oussoren2010-05-051-1/+1
| | | | | this makes sure that the child does not continue testing.
* The C function used by uuid.uuid4 is broken onRonald Oussoren2010-05-052-0/+41
| | | | | | | | | | OSX 10.6 in that after os.fork() the parent and child generate the same sequence of UUIDs. This patch falls back to the the Python implementation on OSX 10.6 or later. Fixes issue #8621.
* Issue #8313: traceback.format_exception_only() encodes unicode message toVictor Stinner2010-05-052-2/+17
| | | | ASCII with backslashreplace error handler if str(value) failed
* Fix test_gzip failure on OS X. The failure was a result of trying to fflushMark Dickinson2010-05-041-1/+1
| | | | a file that wasn't open for writing. Patch by Antoine Pitrou.
* On Windows, ctypes does no longer check the stack before and afterThomas Heller2010-05-041-26/+0
| | | | | | | | | calling a foreign function. This allows to use the unmodified libffi library. Remove most files from _ctypes/libffi_msvc, only two include files stay (updated from _ctypes/libffi/...). Other files are used in the cross-platform _ctypes/libffi directory.
* Issue #1533: fix inconsistency in range function argument processing:Mark Dickinson2010-05-041-0/+50
| | | | | | | | | any non-float non-integer argument is now converted to an integer (if possible) using its __int__ method. Previously, only small arguments were treated this way; larger arguments (those whose __int__ was outside the range of a C long) would produce a TypeError. Patch by Alexander Belopolsky (with minor modifications).
* Issue #8567: Fix incorrect precedence of signals in Decimal module.Mark Dickinson2010-05-042-43/+108
| | | | | | | | | | When a Decimal operation raises multiple signals and more than one of those signals is trapped, the specification determines the order in which the signals should be handled. In many cases this order wasn't being followed, leading to the wrong Python exception being raised. This commit fixes those cases, and adds extra tests. The tests are only enabled when EXTENDEDERRORTESTS is True, since they involve rerunning each Decimal testcase several times.
* _pyio: Fix TextIOWrapper constructor: os has no device_encoding() functionVictor Stinner2010-05-041-11/+6
| | | | _io module doesn't call this function which was introduced in Python3.
* Issue #8404: Fix set operations on dictionary views.Alexandre Vassalotti2010-05-041-0/+61
|
* Issue #7865: The close() method of :mod:`io` objects should not swallowAntoine Pitrou2010-05-032-14/+52
| | | | | exceptions raised by the implicit flush(). Also ensure that calling close() several times is supported. Patch by Pascal Chambon.
* Issue #8576: logging updated to remove usage of find_unused_port().Vinay Sajip2010-05-032-4/+7
|
* Fix unittest tests to not abuse traceback.format_exceptionMichael Foord2010-05-021-1/+14
|
* Small update to r80698 to ensure that webbrowser.openRonald Oussoren2010-05-021-1/+1
| | | | uses the default browser.
* For for issue #7192: with this patch webbrowser.get("firefox")Ronald Oussoren2010-05-021-1/+27
| | | | works on OSX
* Remove duplicate testAntoine Pitrou2010-05-011-21/+0
|
* Fix incorrect use of a list as the target of an 'except' clause in ↵Mark Dickinson2010-05-011-1/+1
| | | | test_decimal.py.
* Fix issue8582: urllib.urlretrieve fails with ValueError: Invalid format stringSenthil Kumaran2010-05-012-1/+14
|
* Issue #8576: Remove use of find_unused_port() in test_smtplib andAntoine Pitrou2010-04-302-7/+11
| | | | test_multiprocessing. Patch by Paul Moore.
* Fixed #8577. distutils.sysconfig.get_python_inc() now differenciates buildir ↵Tarek Ziadé2010-04-301-5/+9
| | | | and srcdir
* Always add space after RFC; reword paragraphAndrew M. Kuchling2010-04-301-7/+8
|
* Issue #8464: tarfile.open(name, mode="w|") no longer createsLars Gustäbel2010-04-292-1/+19
| | | | files with execute permissions set.
* Fix style issues in test_sslAntoine Pitrou2010-04-281-138/+143
|
* Fixed Issue6312 - httplib fails with HEAD requests to pages with ↵Senthil Kumaran2010-04-282-0/+20
| | | | "transfer-encoding: chunked"
* Issue 7490: make IGNORE_EXCEPTION_DETAIL also ignore details of the module ↵Nick Coghlan2010-04-282-3/+74
| | | | containing the exception under test (original patch by Lennart Regebro)
* Issue #7449, last part (11): fix many tests if thread support is disabledVictor Stinner2010-04-2725-40/+99
| | | | | | * Use try/except ImportError or test_support.import_module() to import thread and threading modules * Add @unittest.skipUnless(threading, ...) to testcases using threads