On 19 September 2012 08:03, Christoph Groth wrote:
> Hi Mark,
>
>> Thanks for the patch, it looks fine to me. If you want, you could make
>> a pull request and I'll merge it.
>
> Ok, the pull request is here:
> https://github.com/cython/cython/pull/150
>
> Please double-check that the dereferencin
On 22 September 2012 14:03, Stefan Behnel wrote:
> [CC-ing cython-devel here as this is a design issue]
>
> Joaquin Cuenca Abela, 21.09.2012 19:32:
>> On Fri, Sep 21, 2012 at 6:12 PM, Chris Barker wrote:
>>> On Fri, Sep 21, 2012 at 2:48 AM, Joaquin Cuenca Abela wrote:
I don't set a return typ
On 25 September 2012 16:12, Stefan Behnel wrote:
> Stefan Behnel, 25.09.2012 14:55:
>> there is a reference leak in the new dict iteration code in 0.17:
>>
>> http://trac.cython.org/cython_trac/ticket/790
>>
>> I'll see if I can fix it and then release a pure bugfix 0.17.1 right
>> afterwards.
>>
On 25 September 2012 16:48, Stefan Behnel wrote:
> mark florisson, 25.09.2012 17:27:
>> On 25 September 2012 16:12, Stefan Behnel wrote:
>>> Stefan Behnel, 25.09.2012 14:55:
>>>> there is a reference leak in the new dict iteration code in 0.17:
>>>>
>
On 12 October 2012 08:36, Stefan Behnel wrote:
> mark florisson, 24.08.2012 20:40:
>> Here a pull request for element-wise array expressions for Cython:
>> https://github.com/cython/cython/pull/144
>
> Mark, any news on this? I'd like to see a version merged before
On 12 October 2012 20:01, Dag Sverre Seljebotn
wrote:
> On 10/12/2012 05:50 PM, Robert Bradshaw wrote:
>>
>> On Fri, Oct 12, 2012 at 3:14 AM, mark florisson
>> wrote:
>>>
>>> On 12 October 2012 08:36, Stefan Behnel wrote:
>>>>
>>>
On 14 October 2012 09:23, Dag Sverre Seljebotn
wrote:
> On 10/14/2012 10:18 AM, Dag Sverre Seljebotn wrote:
>>
>> On 10/14/2012 08:18 AM, Stefan Behnel wrote:
>>>
>>> mark florisson, 13.10.2012 20:30:
>>>>
>>>> On 12 October 2012 20:01, Da
On 14 October 2012 09:32, Stefan Behnel wrote:
> Dag Sverre Seljebotn, 14.10.2012 10:18:
>> On 10/14/2012 08:18 AM, Stefan Behnel wrote:
>>> mark florisson, 13.10.2012 20:30:
>>>> On 12 October 2012 20:01, Dag Sverre Seljebotn wrote:
>>>>> On 10/12/20
On 14 October 2012 11:23, Stefan Behnel wrote:
> Dag Sverre Seljebotn, 14.10.2012 11:03:
>> On 10/14/2012 10:32 AM, Stefan Behnel wrote:
>>> Dag Sverre Seljebotn, 14.10.2012 10:18:
>>>> On 10/14/2012 08:18 AM, Stefan Behnel wrote:
>>>>> mark florisson
On 14 October 2012 14:05, Stefan Behnel wrote:
> mark florisson, 14.10.2012 13:59:
>> The problem with minivect as a package is that it caters to different
>> projects, which have different requirements. Cython and minivect are
>> quite closely coupled, and any future change,
On 16 October 2012 18:48, Robert Bradshaw wrote:
> On Sun, Oct 14, 2012 at 6:13 AM, mark florisson
> wrote:
>> On 14 October 2012 14:05, Stefan Behnel wrote:
>>> mark florisson, 14.10.2012 13:59:
>>>> The problem with minivect as a package is that it caters
On 21 October 2012 13:39, mark florisson wrote:
> On 16 October 2012 18:48, Robert Bradshaw wrote:
>> On Sun, Oct 14, 2012 at 6:13 AM, mark florisson
>> wrote:
>>> On 14 October 2012 14:05, Stefan Behnel wrote:
>>>> mark florisson, 14.10.2012 13:59:
>>
On 23 October 2012 02:44, Robert Bradshaw wrote:
> On Sun, Oct 21, 2012 at 5:39 AM, mark florisson
> wrote:
>> On 16 October 2012 18:48, Robert Bradshaw wrote:
>>> On Sun, Oct 14, 2012 at 6:13 AM, mark florisson
>>> wrote:
>>>> On 14 October 20
On 23 October 2012 10:47, mark florisson wrote:
> On 23 October 2012 02:44, Robert Bradshaw wrote:
>> On Sun, Oct 21, 2012 at 5:39 AM, mark florisson
>> wrote:
>>> On 16 October 2012 18:48, Robert Bradshaw wrote:
>>>> On Sun, Oct 14, 2012 at 6:13 AM, mar
On 4 November 2012 01:23, Robert Bradshaw wrote:
>
> On Nov 3, 2012 4:22 PM, "Stefan Behnel" wrote:
>>
>> Hi,
>>
>> the 0.17 branch has gained a couple of fixes, so I'd like to release a
>> 0.17.2 some time next week.
>
> You read my mind.
>
>> In case you have other things to add to it within th
On 4 November 2012 12:04, Stefan Behnel wrote:
> mark florisson, 04.11.2012 13:00:
>>>
>>> On Nov 3, 2012 4:22 PM, "Stefan Behnel" wrote:
>>>>
>>>> the 0.17 branch has gained a couple of fixes, so I'd like to release a
>>>>
On 4 November 2012 12:56, Stefan Behnel wrote:
> mark florisson, 04.11.2012 13:45:
>
>> It seems that some tests are failing in cython-devel
>> since commit 'disable some Cython syntax in .py compilation mode:
>> typecasts, &..., sizeof()', but you're p
On 4 November 2012 12:04, Stefan Behnel wrote:
>
> mark florisson, 04.11.2012 13:00:
>>>
>>> On Nov 3, 2012 4:22 PM, "Stefan Behnel" wrote:
>>>>
>>>> the 0.17 branch has gained a couple of fixes, so I'd like to release a
>>>
On 4 November 2012 22:32, Olivier Parcollet wrote:
> Hello,
>
> I would like to write some automatic C++/python conversionsfor the
> classes of my project
> in addition to std::vector and others std:: objects.
>
> Conversions for std:: objects are written in
> Cython/Utility/CppConvert.pyx, i.e. a
On 6 November 2012 22:21, Stefan Behnel wrote:
> mark florisson, 04.11.2012 14:07:
>> On 4 November 2012 12:56, Stefan Behnel wrote:
>>> mark florisson, 04.11.2012 13:45:
>>>
>>>> It seems that some tests are failing in cython-devel
>>>> since co
On 7 November 2012 10:47, mark florisson wrote:
> On 6 November 2012 22:21, Stefan Behnel wrote:
>> mark florisson, 04.11.2012 14:07:
>>> On 4 November 2012 12:56, Stefan Behnel wrote:
>>>> mark florisson, 04.11.2012 13:45:
>>>>
>>>>
On 9 November 2012 20:41, Stefan Behnel wrote:
> mark florisson, 07.11.2012 11:48:
>> On 7 November 2012 10:47, mark florisson wrote:
>>> On 6 November 2012 22:21, Stefan Behnel wrote:
>>>> mark florisson, 04.11.2012 14:07:
>>>>> On 4 November
On 11 November 2012 08:12, Stefan Behnel wrote:
> Hi,
>
> instead of overriding an existing definition of "PyIndex_Check" like this:
>
> """
> +#if PY_VERSION_HEX < 0x0205
> +/* NumPy headers define PyIndex_Check incorrectly */
> +#undef PyIndex_Check
> +#define PyIndex_Check(o) (P
On 11 November 2012 13:04, Stefan Behnel wrote:
> mark florisson, 11.11.2012 12:26:
>> On 11 November 2012 08:12, Stefan Behnel wrote:
>>> instead of overriding an existing definition of "PyIndex_Check" like this:
>>>
>>> """
>>
On 11 November 2012 14:09, mark florisson wrote:
> On 11 November 2012 13:04, Stefan Behnel wrote:
>> mark florisson, 11.11.2012 12:26:
>>> On 11 November 2012 08:12, Stefan Behnel wrote:
>>>> instead of overriding an existing definition of "PyIndex_Check&
On 30 November 2012 00:45, Matěj Laitl wrote:
> Hi list and Mark,
> it seems that C code with questionable casts is generated when using memory
> views of extension types. I get following warnings from gcc:
>
> extension_type_memoryview.c: In function
> ‘__pyx_pf_25extension_type_memoryview_test_
ey M. Froehle wrote:
>
>>I ran `git bisect`:
>>d96dfdbb290d23bf3b4a186dc5b1b5d9ee7fcaa5 is the first bad commit
>>commit d96dfdbb290d23bf3b4a186dc5b1b5d9ee7fcaa5
>>Author: Mark Florisson <[1]markflorisso...@gmail.com>
>>Date: � Tue Apr 10 1
On 5 December 2012 17:11, mark florisson wrote:
> On 5 December 2012 16:54, Yaroslav Halchenko wrote:
>> Thank you Bradley,
>>
>> This was easy enough even so that I could fix it (I think) -- just a
>> typo:
>>
>> https://github.com/cython/cython/p
On 15 December 2012 17:34, Stefan Behnel wrote:
> Hi,
>
> the current master doesn't really have the one new, great&shiny feature,
> but I don't see a reason to keep the changes back that we have implemented
> so far. Robert's const support and the integer overflow checks (assuming
> that both are
On 13 January 2013 06:49, Stefan Behnel wrote:
> Hi,
>
> haven't heard from Mark yet, but would anyone object to releasing a beta in
> a couple of days?
>
> Stefan
>
> ___
> cython-devel mailing list
> cython-devel@python.org
> http://mail.python.org/mai
On 19 January 2013 07:22, Stefan Behnel wrote:
> Hi,
>
> I just wanted to release 0.18 beta1 when I noticed this code in Shadow.py,
> function index_type():
>
> """
> raise minierror.InvalidTypeSpecification(
> "Only a step of 1 may be provided to indicate C or "
>
On 7 February 2013 11:32, Stefan Behnel wrote:
> Hi,
>
> I finally found the time to refactor the analysis phase.
>
> https://github.com/cython/cython/commit/f9c385e08401ed96b5b0afb8411480037dc772b9
>
> The methods now return a node, which allows them to replace themselves with
> a different imple
On 9 February 2013 03:44, Stefan Behnel wrote:
> Hi,
>
> I noticed that Cython currently fails to do this:
>
>cdef int (*int_abs)(int x)
>cdef object py_abs
>py_abs = int_abs = abs
>
> Here, abs() is an overloaded function with a couple of C signatures (fabs()
> and friends) and a Pyth
On 9 February 2013 07:03, David Hirschfeld wrote:
> Reposting because I think my original got blocked because of
> attachments. Apologies if this appears twice.
>
> I want to allow arbitrary C/F contiguous arrays as input to a cdef
> class so I can dispatch to a different calculation method in eac
On 9 February 2013 23:56, Stefan Behnel wrote:
> mark florisson, 10.02.2013 03:25:
>> On 9 February 2013 03:44, Stefan Behnel wrote:
>>> Hi,
>>>
>>> I noticed that Cython currently fails to do this:
>>>
>>>cdef int (*int_abs)(int x)
&
On 14 February 2013 05:08, Robert Bradshaw wrote:
> On Thu, Feb 7, 2013 at 10:05 AM, Stefan Behnel wrote:
>> Samuele Kaplun, 07.02.2013 13:00:
>>> In data giovedì 7 febbraio 2013 12:11:47, Stefan Behnel ha scritto:
> [...]
>
> def test():
> cdef int i
>
> for i fro
On 24 February 2013 17:50, mark florisson wrote:
> On 24 February 2013 15:58, Stefan Behnel wrote:
>> mark florisson, 24.02.2013 15:50:
>>> On 24 February 2013 13:52, Stefan Behnel wrote:
>>>> for those who haven't notice my other e-mail, I implemented
On 24 February 2013 15:58, Stefan Behnel wrote:
> mark florisson, 24.02.2013 15:50:
>> On 24 February 2013 13:52, Stefan Behnel wrote:
>>> for those who haven't notice my other e-mail, I implemented a new extension
>>> type decorator "@cython.freelis
On 17 March 2013 16:15, Pauli Virtanen wrote:
> Hi,
>
> Here's a snippet demonstrating a refcount error with fused types inside
> classes:
>
> -8<-
> cimport cython
>
> ctypedef fused some_t:
> int
> double
>
> class Foo(object):
> def bar(self, some_t x):
> pas
On 9 April 2013 02:04, Dave Hirschfeld wrote:
> Dag Sverre Seljebotn writes:
>
> >
> > cdef np.ndarray[double, mode='fortran'] arr
> >
> > that relies on PEP 3118 contiguous-flags and I did no checking myself.
> > Lots of Cython code does this instead of memoryviews (I still write my
> > own cod
On 8 April 2013 13:04, Sebastian Berg wrote:
> On Mon, 2013-04-08 at 12:31 +0200, Dag Sverre Seljebotn wrote:
> > On 04/08/2013 09:59 AM, Sebastian Berg wrote:
> > > On Mon, 2013-04-08 at 08:42 +0200, Dag Sverre Seljebotn wrote:
> > >> On 04/06/2013 04:19 PM, Nathaniel Smith wrote:
> > >>> Hi all
On 9 April 2013 13:09, mark florisson wrote:
>
>
>
> On 8 April 2013 13:04, Sebastian Berg wrote:
>
>> On Mon, 2013-04-08 at 12:31 +0200, Dag Sverre Seljebotn wrote:
>> > On 04/08/2013 09:59 AM, Sebastian Berg wrote:
>> > > On Mon, 2013-04-08
On 9 April 2013 14:11, Stefan Behnel wrote:
> Nathaniel Smith, 09.04.2013 15:00:
> > On 9 Apr 2013 13:50, "Stefan Behnel" wrote:
> >> Nathaniel Smith, 09.04.2013 14:25:
> >> There's also the problem of dependency hell and getting rid of old
> modules
> >> once they are no longer used on the user
On 9 April 2013 14:24, Stefan Behnel wrote:
> mark florisson, 09.04.2013 15:13:
> > On 9 April 2013 14:11, Stefan Behnel wrote:
> >> Nathaniel Smith, 09.04.2013 15:00:
> >>> On 9 Apr 2013 13:50, "Stefan Behnel" wrote:
> >>>> There'
On 9 April 2013 14:33, mark florisson wrote:
>
>
> On 9 April 2013 14:24, Stefan Behnel wrote:
>
>> mark florisson, 09.04.2013 15:13:
>> > On 9 April 2013 14:11, Stefan Behnel wrote:
>> >> Nathaniel Smith, 09.04.2013 15:00:
>> >>> On 9 Apr 2
On 9 April 2013 14:35, mark florisson wrote:
>
>
> On 9 April 2013 14:33, mark florisson wrote:
>
>>
>>
>> On 9 April 2013 14:24, Stefan Behnel wrote:
>>
>>> mark florisson, 09.04.2013 15:13:
>>> > On 9 April 2013 14:11, Stefan Behnel wr
On 9 April 2013 14:46, Nathaniel Smith wrote:
> On Tue, Apr 9, 2013 at 2:11 PM, Stefan Behnel wrote:
> > Nathaniel Smith, 09.04.2013 15:00:
> >> On 9 Apr 2013 13:50, "Stefan Behnel" wrote:
> >>> Nathaniel Smith, 09.04.2013 14:25:
> >>> There's also the problem of dependency hell and getting rid
On 9 April 2013 14:55, Nikita Nemkin wrote:
> On Tue, 09 Apr 2013 19:33:20 +0600, mark florisson <
> markflorisso...@gmail.com> wrote:
>
>> On 9 April 2013 14:24, Stefan Behnel wrote:
>>
>> mark florisson, 09.04.2013 15:13:
>>> > On 9 April 2013
On 9 April 2013 15:47, Stefan Behnel wrote:
> mark florisson, 09.04.2013 16:32:
> > On 9 April 2013 14:55, Nikita Nemkin wrote:
> >> One alternative for code reuse in large Cython projects
> >> could be packaging multiple modules into one shared library.
> >
&g
On 9 April 2013 15:45, Nathaniel Smith wrote:
> On Tue, Apr 9, 2013 at 3:32 PM, mark florisson
> wrote:
> > On 9 April 2013 14:55, Nikita Nemkin wrote:
> >> One alternative for code reuse in large Cython projects
> >> could be packaging multiple modules into one s
On 12 April 2013 13:20, Matěj Laitl wrote:
> On 8. 4. 2013 Matěj Laitl wrote:
> > Hi cython-devel and Mark,
> > I was getting
> >
> > > Fatal Python error: Acquisition count is 0 (line XYZ)
> >
> > when I was doing
> >
> > > cdef class MemViewContainer:
> > > cdef double[:, :] A
> > >
> > >
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 each assignment then for whole
> entry. It has some advantages over previous algorithm:
> -
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 started work on new type inference engine. Now it's almost
>> > rea
On 21 May 2013 14:41, Vitja Makarov wrote:
>
>
>
> 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, Vitj
On 22 May 2013 10:13, Nikita Nemkin wrote:
> Hi,
>
> Someone please apply this patch (too simple for pull request):
>
> diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py
> index 0406fad..640d002 100755
> --- a/Cython/Compiler/ExprNodes.py
> +++ b/Cython/Compiler/ExprNodes.py
On 2 June 2013 07:22, Stefan Behnel wrote:
> mark florisson, 21.05.2013 15:32:
>> On 21 May 2013 14:14, Vitja Makarov wrote:
>>>
>>> def foo(int N):
>>> x = 1
>>> y = 0
>>> for i in range(N):
>>> x = x * 0.1 + y
On 3 January 2014 18:22, Stefan Behnel wrote:
> Hi,
>
> I enabled the NumPy build for our Py3.3 test runs and while I was at it, I
> got it to use the latest NumPy release 1.8. This made one of the tests fail:
>
> """
> Traceback (most recent call last):
> File ".../doctest.py", line 131
Hi Stefan,
On 5 July 2014 11:34, Stefan Behnel wrote:
> Hi,
>
> I started optimising cascaded assignments a little to reduce the
> unnecessary duplication of coercions. While doing that, I found this test
> in memslice.pyx:
>
> '''
> def cascaded_buffer_assignment(obj):
> """
> >>> A = In
Hi,
I think this might be a bug (python 3.3 + cython 0.22.1):
def f(term=b"12345"):
val = int('987278186585')
# The below line does not work, because it treats 1 as a constant integer
# in the C code (32 bit on my machine). Using 1L does work however.
val -= 1 << (len(term) *
601 - 659 of 659 matches
Mail list logo