| Newsgroups |
gmane.comp.lang.jython.devel |
| Message-ID |
<CADrh4zJFNbaJjcFgnY7XVU_dbSs2KW0HiB7sDf7GQ4smzN-4Vg@mail.gmail.com> |
Oops, this was in "drafts" for a long time, sorry. Apparently I forgot
to hit send:
On Fri, Sep 11, 2015 at 1:55 AM, Jeff Allen <[email protected]> wrote:
> Hi Frank. Thanks for building this. Glad my last minute changes were in time
> and not fatal.
Thanks for getting them in!
> I am testing on Windows 7 64 bit and Java 7. It installed fine like this:
Great to see that the beta is working reasonably well on Windows, thanks!
>> java -jar d:\InstKits\jython.org\jython-installer-2.7.1b1.jar
> Ignoring indexes: https://pypi.python.org/simple/
> Downloading/unpacking setuptools
> Downloading/unpacking pip
> Installing collected packages: setuptools, pip
> Successfully installed setuptools pip
> Cleaning up...
>
> I don't understand the message "Ignoring indexes:
> https://pypi.python.org/simple/", but then pip's always a puzzle: is that
> expected?
I've seen it with pip before, I don't know the reasons though...
> I ran:
>> jython -m test.regrtest -e
> ...
> 17 fails unexpected:
> test___all__ test_classpathimporter test_file2k test_httpservers
> test_jython_initializer test_netrc test_os_jy test_runpy
> test_select test_shutil test_sys test_sys_jy test_tarfile
> test_threading test_urllib2 test_zipfile test_zipimport_jy
>
> This is about average, and these are the usual suspects with the usual
> failures. This one is new I think:
>
> test_threading
> test test_threading failed -- Traceback (most recent call last):
> File "C:\jython\2.7.1b1\Lib\test\lock_tests.py", line 413, in test_timeout
> self.assertTrue(dt >= 0.2, dt)
> AssertionError: 0.199999809265
>
> I ran with only 14 failures after the merge last night, but that was unusual
> in recent experience.
>
> I tested under Java 8 too. It hangs at test_logging, although that runs ok
> standalone. With that excluded:
>
>>jython -m test.regrtest -e -x test_logging
> ...
> 19 fails unexpected:
> test___all__ test_classpathimporter test_file2k test_httpservers
> test_jython_initializer test_list_jy test_marshal test_netrc
> test_os_jy test_runpy test_select test_shutil test_sort test_sys
> test_sys_jy test_tarfile test_urllib2 test_zipfile
> test_zipimport_jy
>
> Interesting new additions on Java 8 relate to sort(). ISTR that has been
> noted elsewhere but I couldn't find the issue tracked. The specific failure
> in test_list_jy is:
> ======================================================================
> ERROR: test_sort (__main__.JavaListTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "C:\jython\2.7.1b1\Lib\test\list_tests.py", line 442, in test_sort
> self._test_sort()
> File "C:\jython\2.7.1b1\Lib\test\list_tests.py", line 446, in _test_sort
> u.sort()
> TypeError: sort(): expected 1 args; got 0
>
> ----------------------------------------------------------------------
>
> This looks fundamental, but also a bit odd: if u.sort() calls an instance
> method, isn't that instance argument one at the place we check it?
That sort one is weird. Would you mind creating a bug report? It would
be good to get that one looked at before b2.
-Frank
------------------------------------------------------------------------------