Re: [Cython] Cython 0.21 beta 1 released

2014-09-08 Thread Stefan Behnel
Hi,

thanks again for testing.

Arfrever Frehtes Taifersar Arahesis schrieb am 31.08.2014 um 10:29:
> 2014-08-28 20:39 Stefan Behnel napisał(a):
>> Arfrever Frehtes Taifersar Arahesis schrieb am 14.08.2014 um 10:18:
>>> Results of test suite of Cython 0.21 beta 1 with different versions of 
>>> Python:
>>>   Python 2.6: 1 error, 2 failures
>>>   Python 2.7: 1 error, 0 failures
>>>   Python 3.2: 1 error, 0 failures
>>>   Python 3.3: 1 error, 0 failures
>>>   Python 3.4: 1 error, 0 failures
>>>
>>> The 1 error is the same with all versions of Python.
>>> Output with Python 2.6:
>>>
>>> ==
>>> ERROR: compiling (c) and running bufaccess
>>> --
>>> Traceback (most recent call last):
>>>   File "runtests.py", line 1022, in run
>>> check_thread_termination()
>>>   File "runtests.py", line 1633, in check_thread_termination
>>> raise PendingThreadsError("left-over threads found after running test")
>>> PendingThreadsError: left-over threads found after running test
>>>
>>> ==
>>
>> There should be some output in the log where the test is run that shows
>> what threads are still running here. Could you look that up?
> 
> Output for Cython 0.21 beta 2:
> 
> compiling (c) and running bufaccess ... Doctest: 
> bufaccess.__test__.acquire_failure1 ... ok
> [...]
> warning: left-over threads found after running test:
> ...
> ERROR

That's from the IPython tests. It seems to start that thread automatically,
don't know if we can do anything about it. In any case, it's not harmful
and the rest of the test has passed.


>>> ==
>>> FAIL: Doctest: double_dealloc_T796
>>> --
>>> Traceback (most recent call last):
>>>   File "/usr/lib64/python2.6/doctest.py", line 2163, in runTest
>>> raise self.failureException(self.format_failure(new.getvalue()))
>>> AssertionError: Failed doctest test for double_dealloc_T796
>>>   File 
>>> "/tmp/Cython-0.21b1/tests-2.6/run/cpp/double_dealloc_T796/double_dealloc_T796.so",
>>>  line unknown line number, in double_dealloc_T796
>>>
>>> --
>>> File 
>>> "/tmp/Cython-0.21b1/tests-2.6/run/cpp/double_dealloc_T796/double_dealloc_T796.so",
>>>  line ?, in double_dealloc_T796
>>> Failed example:
>>> del x
>>> Expected:
>>> SimpleGarbage(1) __dealloc__
>>> Collector.__dealloc__
>>> collect 0
>>> Got:
>>> SimpleGarbage(1) __dealloc__
>>> Collector.__dealloc__
>>> collect 128
>>
>> This might just be a problem with the test. Does this patch help?
>>
>> =
>> diff -r f7b5d79a04e6 -r e2f2cf8efcc7 tests/run/double_dealloc_T796.pyx
>> --- a/tests/run/double_dealloc_T796.pyx Thu Aug 28 20:21:14 2014 +0200
>> +++ b/tests/run/double_dealloc_T796.pyx Thu Aug 28 20:31:06 2014 +0200
>> @@ -1,4 +1,5 @@
>>  """
>> +>>> gc.collect()
>>  >>> x = SimpleGarbage()
>>  SimpleGarbage(1) __cinit__
>>  >>> del x
>> =
> 
> This patch does not help (for Cython 0.21 beta 2).

Then I hope that this fixes it:

https://github.com/cython/cython/commit/268810da652f702415a18c846b98ee376df8d011

Stefan

___
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel


Re: [Cython] Cython 0.21 beta 1 released

2014-09-08 Thread Stefan Behnel
Stefan Behnel schrieb am 08.09.2014 um 19:51:
> Arfrever Frehtes Taifersar Arahesis schrieb am 31.08.2014 um 10:29:
>> 2014-08-28 20:39 Stefan Behnel napisał(a):
>>> Arfrever Frehtes Taifersar Arahesis schrieb am 14.08.2014 um 10:18:
 Results of test suite of Cython 0.21 beta 1 with different versions of 
 Python:
   Python 2.6: 1 error, 2 failures
   Python 2.7: 1 error, 0 failures
   Python 3.2: 1 error, 0 failures
   Python 3.3: 1 error, 0 failures
   Python 3.4: 1 error, 0 failures

 The 1 error is the same with all versions of Python.
 Output with Python 2.6:

 ==
 ERROR: compiling (c) and running bufaccess
 --
 Traceback (most recent call last):
   File "runtests.py", line 1022, in run
 check_thread_termination()
   File "runtests.py", line 1633, in check_thread_termination
 raise PendingThreadsError("left-over threads found after running test")
 PendingThreadsError: left-over threads found after running test

 ==
>>>
>>> There should be some output in the log where the test is run that shows
>>> what threads are still running here. Could you look that up?
>>
>> Output for Cython 0.21 beta 2:
>>
>> compiling (c) and running bufaccess ... Doctest: 
>> bufaccess.__test__.acquire_failure1 ... ok
>> [...]
>> warning: left-over threads found after running test:
>> ...
>> ERROR
> 
> That's from the IPython tests. It seems to start that thread automatically,
> don't know if we can do anything about it.

Seems like we can:

https://github.com/cython/cython/commit/33cabb92abe015a3c2ccda136df4fc9ea681d406

Stefan

___
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel


[Cython] Cython 0.21 release candidate

2014-09-08 Thread Stefan Behnel
Hi all,

I uploaded a release candidate for 0.21. There were a couple of more
changes and cleanups since the last beta, so please give it another quick
round of testing.

http://www.cython.org/release/Cython-0.21rc1.tar.gz

http://www.cython.org/release/Cython-0.21rc1.tar.gz.asc

Complete changelog:

https://github.com/cython/cython/blob/8337b8aec2ecbb4480d551e12b1faf9b21ba2cb1/CHANGES.rst

Stefan
___
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel