2012/2/24 Vitja Makarov :
> 2012/2/24 Stefan Behnel :
>> Vitja Makarov, 24.02.2012 06:24:
>>> 2012/2/24 mark florisson :
>>>> On 23 February 2012 20:52, Vitja Makarov wrote:
>>>>> Recent py3k version has new feature "hash randomization" i
2012/2/28 mark florisson :
> On 28 February 2012 18:19, Lisandro Dalcin wrote:
>> This is something I really have no idea about how to fix, so I'll ask
>> any of you to do it.
>>
>> How to reproduce. The quick example below should fail in the second to
>> last line in test_cinit.py, but it succeed
2012/2/28 mark florisson :
> On 28 February 2012 18:57, Vitja Makarov wrote:
>> 2012/2/28 mark florisson :
>>> On 28 February 2012 18:19, Lisandro Dalcin wrote:
>>>> This is something I really have no idea about how to fix, so I'll ask
>>>> any o
2012/2/28 Vitja Makarov :
> 2012/2/28 mark florisson :
>> On 28 February 2012 18:57, Vitja Makarov wrote:
>>> 2012/2/28 mark florisson :
>>>> On 28 February 2012 18:19, Lisandro Dalcin wrote:
>>>>> This is something I really have no idea about how
2012/3/11 Stefan Behnel :
> mark florisson, 11.03.2012 07:44:
>> - better type inference, that would be enabled by default and again
>> handle thing like reassignments of variables and fallbacks to the
>> default object type. With entry caching Cython could build a database
>> of types ((extension)
2012/3/22 Stefan Behnel :
> William Stein, 22.03.2012 14:11:
>> On Thu, Mar 22, 2012 at 9:04 AM, David Kirkby wrote:
>>> On 22 March 2012 12:33, William Stein wrote:
The usb device (for /levi) never appeared after I remotely rebooted
sage.math.
Physical access is thus probably requi
2012/2/27 Sébastien Sablé Sablé :
> Great, thanks!
>
>
> 2012/2/25 mark florisson
>>
>> 2012/2/24 Sébastien Sablé Sablé :
>> > Hi,
>> >
>> > could you please also look at incorporating the following patch before
>> > releasing 0.16? (if it has not already been merged)
>> >
>> > https://github.com/
2012/3/30 Robert Bradshaw :
> On Fri, Mar 30, 2012 at 10:24 AM, mark florisson
> wrote:
>
>> The release build looks good now, I'm thinking of pushing a second and
>> final beta out there tomorrow. If anyone wants to get something in,
>> now is the time to raise voice.
>
> Excellent. I personally
2012/4/2 Stefan Behnel :
> Vitja Makarov, 11.03.2012 09:51:
>> 2012/3/11 Stefan Behnel:
>>> mark florisson, 11.03.2012 07:44:
>>>> - better type inference, that would be enabled by default and again
>>>> handle thing like reassignments of variables and
2012/4/19 Dag Sverre Seljebotn :
> On 04/19/2012 08:41 AM, Stefan Behnel wrote:
>>
>> Dag Sverre Seljebotn, 18.04.2012 23:35:
>>>
>>> from numpy import sqrt, sin
>>>
>>> cdef double f(double x):
>>> return sqrt(x * x) # or sin(x * x)
>>>
>>> Of course, here one could get the pointer in the modu
2012/4/19 Dag Sverre Seljebotn :
> On 04/19/2012 10:35 AM, Vitja Makarov wrote:
>>
>> 2012/4/19 Dag Sverre Seljebotn:
>>>
>>> On 04/19/2012 08:41 AM, Stefan Behnel wrote:
>>>>
>>>>
>>>> Dag Sverre Seljebotn, 18.04.2012 23:35:
&g
2012/4/21 Stefan Behnel :
> mark florisson, 21.04.2012 15:02:
>> We are pleased to announce a new version of Cython, 0.16
>> Many thanks to the many contributors of this release and to all bug
>> reporters and supporting users!
>> Enjoy!
>
> Thanks, Mark!
>
Cool, thanks!
--
vitja.
__
2012/4/22 Nathan Dunfield :
> With Cython 0.15, the following works with Python 2.7:
>
> ### start file: prob.pyx
>
> def f(x):
> cdef int* p
> return eval(x)
>
> ### end file
>
import pyximport; pyximport.install()
import prob
prob.f("5")
> 5
>
> but with Cython 0.16 it doesn'
2012/4/22 Nathan Dunfield :
> On Apr 22, 2012, at 1:22 PM, Vitja Makarov wrote:
>> Oops, it seems to be a problem with locals() dict creation.
>
> Yes it does. The following variants of my original example both work:
>
> ## prob.pyx version 1
>
> def cy_eval(s):
>
2012/4/22 Vitja Makarov :
> 2012/4/22 Nathan Dunfield :
>> On Apr 22, 2012, at 1:22 PM, Vitja Makarov wrote:
>>> Oops, it seems to be a problem with locals() dict creation.
>>
>> Yes it does. The following variants of my original example both work:
>>
>>
2012/4/24 Stefan Behnel :
> Stefan Behnel, 23.04.2012 20:28:
>> Nathan Dunfield, 23.04.2012 17:58:
>>> I've encountered the following issue with Cython 0.16 on Windows with
>>> using the Mingw32 compiler (I'm using Python 3.2 here, but I don't think
>>> that's the issue):
>>>
>>> $ python3 setup.py
2012/5/6 Dag Sverre Seljebotn :
> On 05/06/2012 04:28 PM, mark florisson wrote:
>>
>> Hey,
>>
>> I think we already have quite a bit of functionality (nearly) ready,
>> after merging some pending pull requests maybe it will be a good time
>> for a 0.17 release? I think it would be good to also docu
I've noticed that old one URL hook doesn't work for me now.
I tried to check "Build when a change is pushed to GitHub" and set
"Jenkins Hook URL" to
https://sage.math.washington.edu:8091/hudson/github-webhook/
That doesn't work. What is the right way?
--
vitja.
_
2012/5/7 mark florisson :
> On 6 May 2012 20:41, Matthew Brett wrote:
>> Hi,
>>
>> On Sun, May 6, 2012 at 7:28 AM, mark florisson
>> wrote:
>>> Hey,
>>>
>>> I think we already have quite a bit of functionality (nearly) ready,
>>> after merging some pending pull requests maybe it will be a good ti
2012/5/8 Stefan Behnel :
> Vitja Makarov, 07.05.2012 17:08:
>> I've noticed that old one URL hook doesn't work for me now.
>>
>> I tried to check "Build when a change is pushed to GitHub"
>
> That should work.
>
>
>> and set "Jenki
I've noticed regression related to callable() optimization.
https://github.com/cython/cython/commit/a40112b0461eae5ab22fbdd07ae798d4a72ff523
class C:
pass
print callable(C())
It prints True optimized version checks ((obj)->ob_type->tp_call !=
NULL) condition that is True for both class and i
2012/5/8 Stefan Behnel :
> Hi,
>
> Vitja has rebased the type inference on the control flow, so I wonder if
> this will enable us to properly infer this:
>
> def partial_validity():
> """
> >>> partial_validity()
> ('Python object', 'double', 'str object')
> """
> a = 1.0
> b = a
2012/5/8 mark florisson :
> On 8 May 2012 19:36, mark florisson wrote:
>> Ok, so for the bugfix release 0.16.1 I propose that everyone cherry
>> picks over its own fixes into the release branch (at least Stefan,
>> since your fixes pertain to your newly merged branches and sometimes
>> to the mast
2012/5/9 Stefan Behnel :
> Vitja Makarov, 08.05.2012 13:27:
>> I've noticed regression related to callable() optimization.
>>
>> https://github.com/cython/cython/commit/a40112b0461eae5ab22fbdd07ae798d4a72ff523
>>
>> class C:
>> pass
>> print ca
2012/5/9 Stefan Behnel :
> Robert Bradshaw, 09.05.2012 00:12:
>> On Tue, May 8, 2012 at 6:47 AM, Vitja Makarov wrote:
>>> 2012/5/8 Stefan Behnel:
>>>> Vitja has rebased the type inference on the control flow, so I wonder if
>>>> this will enable
2012/5/9 Stefan Behnel :
> Vitja Makarov, 09.05.2012 09:43:
>> 2012/5/9 Stefan Behnel :
>>> Vitja Makarov, 08.05.2012 13:27:
>>>> I've noticed regression related to callable() optimization.
>>>>
>>>> https://github.com/cython/cython/commit
2012/5/9 Stefan Behnel :
> Vitja Makarov, 09.05.2012 10:21:
>> 2012/5/9 Stefan Behnel :
>>> Vitja Makarov, 09.05.2012 09:43:
>>>> 2012/5/9 Stefan Behnel :
>>>>> Vitja Makarov, 08.05.2012 13:27:
>>>>>> I've noticed regression
2012/5/9 Stefan Behnel :
> Stefan Behnel, 08.05.2012 14:24:
>> Vitja has rebased the type inference on the control flow
>
> On a related note, is this fixable now?
>
> def test():
> x = 1 # inferred as int
> del x # error: Deletion of non-Python, non-C++ object
>
> http://trac.cyth
2012/5/9 Vitja Makarov :
> 2012/5/9 Stefan Behnel :
>> Stefan Behnel, 08.05.2012 14:24:
>>> Vitja has rebased the type inference on the control flow
>>
>> On a related note, is this fixable now?
>>
>> def test():
>> x = 1 # inferred as int
2012/5/9 mark florisson :
> On 9 May 2012 13:39, Vitja Makarov wrote:
>> 2012/5/9 Vitja Makarov :
>>> 2012/5/9 Stefan Behnel :
>>>> Stefan Behnel, 08.05.2012 14:24:
>>>>> Vitja has rebased the type inference on the control flow
>>>>
>>
2012/5/9 Vitja Makarov :
> 2012/5/9 mark florisson :
>> On 9 May 2012 13:39, Vitja Makarov wrote:
>>> 2012/5/9 Vitja Makarov :
>>>> 2012/5/9 Stefan Behnel :
>>>>> Stefan Behnel, 08.05.2012 14:24:
>>>>>> Vitja has rebased the type
2012/5/9 Vitja Makarov :
> 2012/5/9 Vitja Makarov :
>> 2012/5/9 mark florisson :
>>> On 9 May 2012 13:39, Vitja Makarov wrote:
>>>> 2012/5/9 Vitja Makarov :
>>>>> 2012/5/9 Stefan Behnel :
>>>>>> Stefan Behnel, 08.05.2012 14:24:
&
Del statement inference enabled pyregr.test_descr testcase and it SIGSEGVs.
Here is minimal example:
import unittest
import sys
class Foo(unittest.TestCase):
def test_file_fault(self):
# Testing sys.stdout is changed in getattr...
test_stdout = sys.stdout
class StdoutG
2012/5/9 Stefan Behnel :
> Vitja Makarov, 09.05.2012 18:31:
>> Del statement inference enabled pyregr.test_descr testcase and it SIGSEGVs.
>> Here is minimal example:
>>
>> import unittest
>> import sys
>>
>> class Foo(unittest.TestCase):
>>
2012/5/9 Robert Bradshaw :
> On Wed, May 9, 2012 at 6:33 AM, Stefan Behnel wrote:
>> mark florisson, 09.05.2012 15:18:
>>> On 9 May 2012 14:16, Vitja Makarov wrote:
>>>> from cython cimport typeof
>>>>
>>>> def foo(float[::1] a):
>>>
2012/5/10 Stefan Behnel :
> Vitja Makarov, 08.05.2012 15:47:
>> 2012/5/8 Stefan Behnel:
>>> Vitja has rebased the type inference on the control flow, so I wonder if
>>> this will enable us to properly infer this:
>>>
>>> def partial_valid
2012/5/9 Vitja Makarov :
> 2012/5/9 Stefan Behnel :
>> Vitja Makarov, 09.05.2012 18:31:
>>> Del statement inference enabled pyregr.test_descr testcase and it SIGSEGVs.
>>> Here is minimal example:
>>>
>>> import unittest
>>> import
2012/5/9 Robert Bradshaw :
> On Wed, May 9, 2012 at 6:33 AM, Stefan Behnel wrote:
>> mark florisson, 09.05.2012 15:18:
>>> On 9 May 2012 14:16, Vitja Makarov wrote:
>>>> from cython cimport typeof
>>>>
>>>> def foo(float[::1] a):
>>>
2012/6/27 Stefan Behnel :
> Hi,
>
> I'd like to get an idea of what's still open for 0.17.
>
> Mark mentioned some open memoryview issues on his list and I know that
> there are still issues with PyPy, some of which could get fixed in a
> reasonable time frame. Also, Jenkins isn't all that happy ye
2012/6/27 Stefan Behnel :
> Vitja Makarov, 27.06.2012 06:29:
>> I've updated T766's milstone from 0.16 to 0.17 as it didn't get into
>> 0.16 release.
>
> Could you add it to the release notes then?
>
I think it's too minor chan
Hi!
I've been a little bit busy last months, now I'm back.
I made first steps on implementing local type inference, TI for
assignments not only for their names.
Here is sample program that works:
(_entry_split) vitja@mchome:~/work/cython-vitek-git/zzz$ cat tf.pyx
# cython: infer_types.verbose=Tr
2012/7/13 Vitja Makarov :
> Hi!
>
> I've been a little bit busy last months, now I'm back.
>
> I made first steps on implementing local type inference, TI for
> assignments not only for their names.
> Here is sample program that works:
>
> (_entry_split) vit
Here is part of original testcase:
from cython.operator cimport dereference as d
from cython.operator cimport preincrement as incr
from libcpp.vector cimport vector
def reverse_iteration_test(L):
v = new vector[int]()
for a in L:
v.push_back(a)
it = v.rbegin()
while it !=
2012/7/23 Vitja Makarov :
> Here is part of original testcase:
>
> from cython.operator cimport dereference as d
> from cython.operator cimport preincrement as incr
> from libcpp.vector cimport vector
>
> def reverse_iteration_test(L):
> v = new vector
2012/7/24 mark florisson :
> On 23 July 2012 20:28, Vitja Makarov wrote:
>> 2012/7/23 Vitja Makarov :
>>> Here is part of original testcase:
>>>
>>> from cython.operator cimport dereference as d
>>> from cython.operator cimport preincrement
2012/7/24 Stefan Behnel :
> Stefan Behnel, 24.07.2012 12:43:
>> Vitja Makarov, 23.07.2012 07:13:
>>> Here is part of original testcase:
>>>
>>> from cython.operator cimport dereference as d
>>> from cython.operator cimport preincrement as incr
>
2012/7/24 Stefan Behnel :
> Vitja Makarov, 24.07.2012 14:48:
>> 2012/7/24 Stefan Behnel:
>>> Stefan Behnel, 24.07.2012 12:43:
>>>> Vitja Makarov, 23.07.2012 07:13:
>>>>> Here is part of original testcase:
>>>>>
>>>>> from
Hi!
I've a problem running jenknins job
https://sage.math.washington.edu:8091/hudson/view/dev-vitek/job/cython-vitek-tests/137/BACKEND=c,PYVERSION=py27/console
It says "No space left on device". Have something change there?
--
vitja.
___
cython-devel
2012/8/22 Stefan Behnel :
> Vitja Makarov, 22.08.2012 06:51:
>> I've a problem running jenknins job
>>
>> https://sage.math.washington.edu:8091/hudson/view/dev-vitek/job/cython-vitek-tests/137/BACKEND=c,PYVERSION=py27/console
>>
>> It says "No space l
I've found regression:
https://sage.math.washington.edu:8091/hudson/job/cython-devel-tests-pyregr/
--
vitja.
___
cython-devel mailing list
cython-devel@python.org
http://mail.python.org/mailman/listinfo/cython-devel
2012/8/23 Stefan Behnel :
> Vitja Makarov, 22.08.2012 22:11:
>> I've found regression:
>>
>> https://sage.math.washington.edu:8091/hudson/job/cython-devel-tests-pyregr/
>
> Interesting. It's a Py2 list comprehension in a class body tha
2012/8/23 Stefan Behnel :
> Vitja Makarov, 22.08.2012 22:34:
>> 2012/8/23 Stefan Behnel:
>>> Vitja Makarov, 22.08.2012 22:11:
>>>> I've found regression:
>>>>
>>>> https://sage.math.washington.edu:8091/hudson/job/cython-devel-tests-pyre
2012/8/23 Stefan Behnel :
> Vitja Makarov, 23.08.2012 07:03:
>> 2012/8/23 Stefan Behnel :
>>> Vitja Makarov, 22.08.2012 22:34:
>>>> 2012/8/23 Stefan Behnel:
>>>>> Vitja Makarov, 22.08.2012 22:11:
>>>>>> I've found regression:
&
2012/8/23 Vitja Makarov :
> 2012/8/23 Stefan Behnel :
>> Vitja Makarov, 23.08.2012 07:03:
>>> 2012/8/23 Stefan Behnel :
>>>> Vitja Makarov, 22.08.2012 22:34:
>>>>> 2012/8/23 Stefan Behnel:
>>>>>> Vitja Makarov, 22.08.2
2012/8/23 Vitja Makarov :
> 2012/8/23 Vitja Makarov :
>> 2012/8/23 Stefan Behnel :
>>> Vitja Makarov, 23.08.2012 07:03:
>>>> 2012/8/23 Stefan Behnel :
>>>>> Vitja Makarov, 22.08.2012 22:34:
>>>>>> 2012/8/23 Stefan Behnel:
>>
2012/8/23 Stefan Behnel :
> Vitja Makarov, 23.08.2012 07:42:
>> 2012/8/23 Vitja Makarov:
>>> 2012/8/23 Vitja Makarov:
>>>> 2012/8/23 Stefan Behnel:
>>>>> Vitja Makarov, 23.08.2012 07:03:
>>>>>> 2012/8/23 Stefan Behnel:
>>&g
2012/8/23 Vitja Makarov :
> 2012/8/23 Stefan Behnel :
>> Vitja Makarov, 23.08.2012 07:42:
>>> 2012/8/23 Vitja Makarov:
>>>> 2012/8/23 Vitja Makarov:
>>>>> 2012/8/23 Stefan Behnel:
>>>>>> Vitja Makarov, 23.08.2012 07:03:
>>&g
2012/8/24 Vitja Makarov :
> 2012/8/23 Vitja Makarov :
>> 2012/8/23 Stefan Behnel :
>>> Vitja Makarov, 23.08.2012 07:42:
>>>> 2012/8/23 Vitja Makarov:
>>>>> 2012/8/23 Vitja Makarov:
>>>>>> 2012/8/23 Stefan Behnel:
>>&g
Hi!
Recently I've started work on new type inference engine. Now it's almost
ready and I want to discuss it.
It works like this: first infer type for each assignment then for whole
entry. It has some advantages over previous algorithm:
- it handles assignment cycles, see test_swap() for example
2013/5/21 mark florisson
> On 21 May 2013 11:26, Vitja Makarov wrote:
> > Hi!
> >
> > Recently I've started work on new type inference engine. Now it's almost
> > ready and I want to discuss it.
> >
> > It works like this: first infer type for
2013/5/21 mark florisson
> On 21 May 2013 14:14, Vitja Makarov wrote:
> >
> >
> >
> > 2013/5/21 mark florisson
> >>
> >> On 21 May 2013 11:26, Vitja Makarov wrote:
> >> > Hi!
> >> >
> >> > Recently I've s
2013/5/21 mark florisson
> On 21 May 2013 14:41, Vitja Makarov wrote:
> >
> >
> >
> > 2013/5/21 mark florisson
> >>
> >> On 21 May 2013 14:14, Vitja Makarov wrote:
> >> >
> >> >
> >> >
> >> > 2013/
Hi!
Recently I've found that the following code causes segmentation fault:
cdef object f
del f
print f
So the question is: how should that work?
global objects are implicitly initialized to None and no CF and no cf
analysis is performed for it.
So I see three options here:
1. prohibit cglobal
2013/5/25 Stefan Behnel
> Am 25.05.2013 08:34, schrieb Robert Bradshaw:
> > On Thu, May 23, 2013 at 10:02 PM, Vitja Makarov wrote:
> >> Recently I've found that the following code causes segmentation fault:
> >>
> >> cdef object f
> >> del f
>
2013/5/25 Robert Bradshaw
>
> On May 25, 2013 10:37 AM, "Vitja Makarov" wrote:
> >
> >
> >
> >
> > 2013/5/25 Stefan Behnel
> >>
> >> Am 25.05.2013 08:34, schrieb Robert Bradshaw:
> >> > On Thu, May 23, 2013 at 10:02
2013/8/29 Stefan Behnel :
> Hi,
>
> I noticed two problems with final cdef methods. When overriding a normal
> cdef method with a final cdef method, you currently get a C compiler
> warning about a call with the wrong 'self' type, and when you call them
> before you declare them in your code, you g
2013/8/31 Stefan Behnel :
> Hi,
>
> currently, this fails in Cython compiled code:
>
> def cyfunc(): pass
>
> import inspect
> assert inspect.isfunction(cyfunc)
>
> There isn't really much of a reason why this *should* fail, except for the
> implementation of inspect.isfunction(), which
301 - 367 of 367 matches
Mail list logo