[Cython] bint to bool conversion

2009-12-18 Thread mark florisson
Hello, Currently, bint Cython types get converted to int Python objects when accessed in Python code as attributes of an object, and I think it would be more consistent and logical to have it return actual bool objects (for instance if you return a bint from a function or method it gets converted

[Cython] Cython debugger

2010-09-14 Thread mark florisson
Hello, There currently is no proper debugger available to debug Cython code. The current way we debug Cython code is: - the print statement - a C debugger - pdb None of the aforementioned methods is very powerful and time effective at the same time. For instance, 'print' requires recompilation

Re: [Cython] Cython debugger

2010-09-14 Thread mark florisson
with EasierPythonDebugging. Yes, I think an official branch would be nice. Cheers, Mark On 14 September 2010 11:20, Dag Sverre Seljebotn da...@student.matnat.uio.no wrote: mark florisson wrote: Hello, There currently is no proper debugger available to debug Cython code. The current way we debug Cython code

Re: [Cython] Cython debugger

2010-09-15 Thread mark florisson
Dear David, On 14 September 2010 18:39, David Malcolm dmalc...@redhat.com wrote: On Tue, 2010-09-14 at 11:20 +0200, Dag Sverre Seljebotn wrote: (various comments inline) mark florisson wrote: Hello, There currently is no proper debugger available to debug Cython code. The current

Re: [Cython] metaclasses

2010-11-03 Thread mark florisson
On 3 November 2010 07:15, Robert Bradshaw rober...@math.washington.eduwrote: On Tue, Nov 2, 2010 at 10:59 PM, Stefan Behnel stefan...@behnel.de wrote: Robert Bradshaw, 02.11.2010 23:21: On Tue, Nov 2, 2010 at 3:11 PM, Vitja Makarov wrote:

Re: [Cython] metaclasses

2010-11-03 Thread mark florisson
err, that should be super(TheClass, cls), otherwise you make your class unsubclassable. On 3 November 2010 10:34, mark florisson markflorisso...@gmail.com wrote: On 3 November 2010 07:15, Robert Bradshaw rober...@math.washington.eduwrote: On Tue, Nov 2, 2010 at 10:59 PM, Stefan Behnel

Re: [Cython] Cython debugger

2010-11-03 Thread mark florisson
(libpython.py) was also modified. I'd like to push this mainstream (and process any suggestions and criticism) before supplying a patch to Python. Kind regards, Mark On 15 September 2010 17:49, Robert Bradshaw rober...@math.washington.eduwrote: On Wed, Sep 15, 2010 at 2:55 AM, mark florisson

Re: [Cython] Cython debugger

2010-11-03 Thread mark florisson
I'd also like to mention that cygdb is a lot more useful when using a python debug build (or having compiled python with -g). Of course, extensions should also be build with -g, which is the default I believe. On 3 November 2010 10:55, mark florisson markflorisso...@gmail.com wrote: Most

Re: [Cython] Cython debugger

2010-11-03 Thread mark florisson
On 3 November 2010 17:57, Robert Bradshaw rober...@math.washington.eduwrote: On Wed, Nov 3, 2010 at 2:55 AM, mark florisson markflorisso...@gmail.com wrote: Most of the Cython debugger is implemented, it can be pulled from hg.cython.org/cython-gdb. Cool! Have you recently pulled from main

Re: [Cython] Cython debugger

2010-11-03 Thread mark florisson
Performed a clean merge with cython-devel. On 3 November 2010 17:57, Robert Bradshaw rober...@math.washington.edu wrote: On Wed, Nov 3, 2010 at 2:55 AM, mark florisson markflorisso...@gmail.com wrote: Most of the Cython debugger is implemented, it can be pulled from hg.cython.org/cython-gdb

Re: [Cython] Cython debugger

2010-11-04 Thread mark florisson
...@codespeak.net] On Behalf Of mark florisson Sent: 03 November 2010 09:56 To: cython-dev@codespeak.net Subject: Re: [Cython] Cython debugger Most of the Cython debugger is implemented, it can be pulled from hg.cython.org/cython-gdb. To use it, you need Cython to export some debug information, which can

Re: [Cython] metaclasses

2010-11-04 Thread mark florisson
On 4 November 2010 13:15, Stefan Behnel stefan...@behnel.de wrote: Vitja Makarov, 04.11.2010 12:50: 2010/11/4 Stefan Behnelstefan...@behnel.de: Vitja Makarov, 04.11.2010 12:37: I can call prepare and then update dict? Sorry, what? Please provide some more context in your mails, and

Re: [Cython] Cython debugger

2010-11-07 Thread mark florisson
I'm not a gdb expert, but I definitely want to try this out. Documentation would be great--either as a wiki or, preferably, the main documentation (with a little note mentioning it's pending release). I've given you push access to http://hg.cython.org/cython-docs A Debugging your Cython

Re: [Cython] Cython gdb on Windows

2010-11-09 Thread mark florisson
Hey Paul, On 9 November 2010 16:59, Connell, Paul paul.conn...@disney.com wrote: Hi I have been playing with Cython gdb on Windows and finding it far from straightforward, as is often the case with *nix centric software. So here are my experiences, and I wonder if anyone else has had

Re: [Cython] Cython gdb on Windows

2010-11-10 Thread mark florisson
On 10 November 2010 10:39, Connell, Paul paul.conn...@disney.com wrote: -Original Message- From: cython-dev-boun...@codespeak.net [mailto:cython-dev-boun...@codespeak.net] On Behalf Of mark florisson Sent: 09 November 2010 16:16 To: cython-dev@codespeak.net Subject: Re: [Cython

Re: [Cython] Can't push to cython-devel

2010-11-16 Thread mark florisson
On 16 November 2010 18:18, Robert Bradshaw rober...@math.washington.eduwrote: Not that I know of. The sagemath.org site seems to be working fine. Did someone upgrade the Python/Sage install there? On Tue, Nov 16, 2010 at 3:46 AM, Stefan Behnel stefan...@behnel.de wrote: Hi, when I try

Re: [Cython] Cython 0.13.1

2010-12-05 Thread mark florisson
On 5 December 2010 14:15, Stefan Behnel stefan...@behnel.de wrote: Robert Bradshaw, 05.12.2010 13:47: alpha at http://cython.org/release/Cython-0.14.alpha0.tar.gz This is an alpha because I hope we can get that great gdb code in before the release (it looks good, but I'd like to have as

Re: [Cython] Cython 0.13.1

2010-12-05 Thread mark florisson
On 5 December 2010 16:55, Stefan Behnel stefan...@behnel.de wrote: mark florisson, 05.12.2010 15:11: On 5 December 2010 14:15, Stefan Behnel wrote: I haven't tested it yet, mainly because I don't have the latest gdb version installed. When I tried building lxml with that branch, I ran

[Cython] Cython debugging wiki

2010-12-15 Thread mark florisson
With the addition of cygdb ( http://docs.cython.org/src/userguide/debugging.html), should we now remove the debugging wiki (http://wiki.cython.org/DebuggingTechniques)? It seems kind of obsolete now. ___ Cython-dev mailing list Cython-dev@codespeak.net

Re: [Cython] Compiler crash with pyrex_gdb=True

2010-12-18 Thread mark florisson
On 18 December 2010 17:38, Vineet Jain vinjv...@gmail.com wrote: Fails to compile when I add pyrex_gdb=True to my setup.py file. def test(param): def test2(): x = param.x rror compiling Cython file: ...

Re: [Cython] Compiler crash with pyrex_gdb=True

2010-12-18 Thread mark florisson
On 18 December 2010 18:19, Vineet Jain vinjv...@gmail.com wrote: The error can be produced by directly using cython as well. See below: Python version: Python 2.6.6 (r266:84292, Sep 15 2010, 16:22:56) [GCC 4.4.5] on linux2 Type help, copyright, credits or license for more information.

Re: [Cython] Compiler crash with pyrex_gdb=True

2010-12-18 Thread mark florisson
On 18 December 2010 18:19, Vineet Jain vinjv...@gmail.com wrote: The error can be produced by directly using cython as well. See below: Python version: Python 2.6.6 (r266:84292, Sep 15 2010, 16:22:56) [GCC 4.4.5] on linux2 Type help, copyright, credits or license for more information.

Re: [Cython] Compiler crash with pyrex_gdb=True

2010-12-23 Thread mark florisson
On 20 December 2010 20:42, Robert Bradshaw rober...@math.washington.eduwrote: On Sat, Dec 18, 2010 at 10:56 AM, mark florisson markflorisso...@gmail.com wrote: On 18 December 2010 18:19, Vineet Jain vinjv...@gmail.com wrote: The error can be produced by directly using cython as well

[Cython] Closure scope object initialization

2011-01-10 Thread mark florisson
Hello, There is a slight problem with the scope object in closures because it is not initialized to NULL in closure frames, it is instead initialized later by assigning a function argument to it. For the debugger this is a problem when execution of the debuggee is halted before this assignment

Re: [Cython] Closure scope object initialization

2011-01-10 Thread mark florisson
On 10 January 2011 19:31, Robert Bradshaw rober...@math.washington.eduwrote: On Mon, Jan 10, 2011 at 3:28 AM, mark florisson markflorisso...@gmail.com wrote: Hello, There is a slight problem with the scope object in closures because it is not initialized to NULL in closure frames

Re: [Cython] Closure scope object initialization

2011-01-10 Thread mark florisson
On 10 January 2011 20:40, Robert Bradshaw rober...@math.washington.eduwrote: On Mon, Jan 10, 2011 at 11:05 AM, mark florisson markflorisso...@gmail.com wrote: On 10 January 2011 19:31, Robert Bradshaw rober...@math.washington.edu wrote: On Mon, Jan 10, 2011 at 3:28 AM, mark

Re: [Cython] Cython 0.14.1?

2011-01-13 Thread mark florisson
On 13 January 2011 11:39, Stefan Behnel stefan...@behnel.de wrote: Hi, I looked through the tickets that are scheduled for 0.14.1 but couldn't see any that are truly critical, especially no regressions.

Re: [Cython] Cython 0.14.1?

2011-01-13 Thread mark florisson
On 13 January 2011 11:56, Dag Sverre Seljebotn da...@student.matnat.uio.nowrote: On 01/13/2011 11:42 AM, mark florisson wrote: On 13 January 2011 11:39, Stefan Behnel stefan...@behnel.de wrote: Hi, I looked through the tickets that are scheduled for 0.14.1 but couldn't see any

Re: [Cython] Cython 0.14.1?

2011-01-14 Thread mark florisson
On 14 January 2011 12:06, Stefan Behnel stefan...@behnel.de wrote: Robert Bradshaw, 14.01.2011 10:05: On Fri, Jan 14, 2011 at 12:02 AM, Robert Bradshaw wrote: On Thu, Jan 13, 2011 at 11:53 PM, Stefan Behnel wrote: mark florisson, 13.01.2011 12:05: In any case, there are virtually

Re: [Cython] Cython 0.14.1?

2011-01-14 Thread mark florisson
On 14 January 2011 12:08, mark florisson markflorisso...@gmail.com wrote: On 14 January 2011 12:06, Stefan Behnel stefan...@behnel.de wrote: Robert Bradshaw, 14.01.2011 10:05: On Fri, Jan 14, 2011 at 12:02 AM, Robert Bradshaw wrote: On Thu, Jan 13, 2011 at 11:53 PM, Stefan Behnel wrote

Re: [Cython] Cython 0.14.1?

2011-01-14 Thread mark florisson
On 14 January 2011 12:11, mark florisson markflorisso...@gmail.com wrote: On 14 January 2011 12:08, mark florisson markflorisso...@gmail.comwrote: On 14 January 2011 12:06, Stefan Behnel stefan...@behnel.de wrote: Robert Bradshaw, 14.01.2011 10:05: On Fri, Jan 14, 2011 at 12:02 AM

Re: [Cython] Cython 0.14.1?

2011-01-14 Thread mark florisson
On 14 January 2011 12:31, Robert Bradshaw rober...@math.washington.eduwrote: On Fri, Jan 14, 2011 at 3:27 AM, Stefan Behnel stefan...@behnel.de wrote: Robert Bradshaw, 14.01.2011 12:12: On Fri, Jan 14, 2011 at 3:11 AM, mark florisson wrote: On 14 January 2011 12:08, mark florisson wrote

Re: [Cython] Cython 0.14.1?

2011-01-14 Thread mark florisson
On 14 January 2011 19:06, Robert Bradshaw rober...@math.washington.eduwrote: On Fri, Jan 14, 2011 at 3:45 AM, mark florisson markflorisso...@gmail.com wrote: On 14 January 2011 12:31, Robert Bradshaw rober...@math.washington.edu wrote: On Fri, Jan 14, 2011 at 3:27 AM, Stefan Behnel

Re: [Cython] Cython workshop

2011-01-18 Thread mark florisson
On 18 January 2011 15:44, Stefan Behnel stefan...@behnel.de wrote: Stefan Behnel, 18.01.2011 11:31: William Stein, 18.01.2011 10:46: I recently got some new nontrivial NSF funding for a Cython workshop. A docathon would be a great activity at such a workshop. When some Cython

Re: [Cython] Cython workshop

2011-01-18 Thread mark florisson
On 18 January 2011 16:21, Stefan Behnel stefan...@behnel.de wrote: mark florisson, 18.01.2011 16:07: On 18 January 2011 15:44, Stefan Behnel wrote: Stefan Behnel, 18.01.2011 11:31: William Stein, 18.01.2011 10:46: I recently got some new nontrivial NSF funding for a Cython workshop

Re: [Cython] Cython 0.14.1 release candidate

2011-01-18 Thread mark florisson
On 18 January 2011 18:50, Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com wrote: Test failure with Python 2.6 and 2.7: == FAIL: test_all (Cython.Debugger.Tests.TestLibCython.TestAll)

Re: [Cython] Cython 0.14.1 release candidate

2011-01-18 Thread mark florisson
On 18 January 2011 18:54, mark florisson markflorisso...@gmail.com wrote: On 18 January 2011 18:50, Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com wrote: Test failure with Python 2.6 and 2.7: == FAIL

Re: [Cython] Cython 0.14.1 release candidate

2011-01-18 Thread mark florisson
On an unrelated side note, should we modify the testrunner to continue when importing a test module fails and have it print a traceback instead? ___ Cython-dev mailing list Cython-dev@codespeak.net http://codespeak.net/mailman/listinfo/cython-dev

Re: [Cython] Cython workshop

2011-01-22 Thread mark florisson
On 22 January 2011 13:38, Stefan Behnel stefan...@behnel.de wrote: Vitja Makarov, 22.01.2011 10:47: 2011/1/22 Stefan Behnel: In case we actually want to advertise and run this before the end of April (or even March, and Vitja's visa will likely take a while to get), it would be good if

Re: [Cython] Cython 0.14.1 release candidate

2011-01-24 Thread mark florisson
On 24 January 2011 00:16, Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com wrote: Test failures with Python 2.7: == ERROR: test_all (Cython.Debugger.Tests.TestLibCython.TestAll)

Re: [Cython] debuger test failure

2011-01-25 Thread mark florisson
On 25 January 2011 22:18, Vitja Makarov vitja.maka...@gmail.com wrote: Recently playing with cython I found this issue: latest cython from github, ubuntu 10.10 vitja@vitja-laptop:~/work/cython.git$ python runtests.py -vv --no-cpp --no-annotate libc Python 2.6.6 (r266:84292, Sep 15 2010,

Re: [Cython] debuger test failure

2011-01-25 Thread mark florisson
On 25 January 2011 22:18, Vitja Makarov vitja.maka...@gmail.com wrote: Recently playing with cython I found this issue: latest cython from github, ubuntu 10.10 vitja@vitja-laptop:~/work/cython.git$ python runtests.py -vv --no-cpp --no-annotate libc Python 2.6.6 (r266:84292, Sep 15 2010,

Re: [Cython] debuger test failure

2011-01-28 Thread mark florisson
On 28 January 2011 08:40, Robert Bradshaw rober...@math.washington.edu wrote: On Tue, Jan 25, 2011 at 1:46 PM, Vitja Makarov vitja.maka...@gmail.com wrote: It's okay now. But with few warnings. vitja@vitja-laptop:~/work/cython.git$ python runtests.py -vv --no-cpp --no-annotate libc Python

Re: [Cython] debuger test failure

2011-01-28 Thread mark florisson
On 28 January 2011 08:40, Robert Bradshaw rober...@math.washington.edu wrote: On Tue, Jan 25, 2011 at 1:46 PM, Vitja Makarov vitja.maka...@gmail.com wrote: It's okay now. But with few warnings. vitja@vitja-laptop:~/work/cython.git$ python runtests.py -vv --no-cpp --no-annotate libc Python