Re: [Cython] Strange cimport behaviour

2011-07-20 Thread Robert Bradshaw
On Wed, Jul 20, 2011 at 9:40 PM, Vitja Makarov wrote: > 2011/7/21 Robert Bradshaw : >> On Wed, Jul 20, 2011 at 9:27 PM, Vitja Makarov >> wrote: >>> 2011/7/16 Lars Buitinck : 2011/7/15 Vitja Makarov : > I've found strange bug. In my example cimport misses "fcntl.h" include: > > (

Re: [Cython] Strange cimport behaviour

2011-07-20 Thread Vitja Makarov
2011/7/21 Robert Bradshaw : > On Wed, Jul 20, 2011 at 9:27 PM, Vitja Makarov > wrote: >> 2011/7/16 Lars Buitinck : >>> 2011/7/15 Vitja Makarov : I've found strange bug. In my example cimport misses "fcntl.h" include: ((c2f2e12...)) vitja@vitja-laptop:~/work/cython-vitek/zzz$ cat ./

Re: [Cython] Strange cimport behaviour

2011-07-20 Thread Robert Bradshaw
On Wed, Jul 20, 2011 at 9:27 PM, Vitja Makarov wrote: > 2011/7/16 Lars Buitinck : >> 2011/7/15 Vitja Makarov : >>> I've found strange bug. In my example cimport misses "fcntl.h" include: >>> >>> ((c2f2e12...)) vitja@vitja-laptop:~/work/cython-vitek/zzz$ cat ./fff.pyx >>> cimport posix.unistd >>> c

Re: [Cython] Strange cimport behaviour

2011-07-20 Thread Vitja Makarov
2011/7/16 Lars Buitinck : > 2011/7/15 Vitja Makarov : >> I've found strange bug. In my example cimport misses "fcntl.h" include: >> >> ((c2f2e12...)) vitja@vitja-laptop:~/work/cython-vitek/zzz$ cat ./fff.pyx >> cimport posix.unistd >> cimport posix.fcntl >> >> print posix.fcntl.O_RDWR > > Fascinati

Re: [Cython] How to define C-consts in python module scope

2011-07-20 Thread Lisandro Dalcin
On 20 July 2011 23:41, Stefan Behnel wrote: > Hi, > > I think we're getting way off course with this discussion. The following is > a good way to get back into a useful direction. > > Robert Bradshaw, 20.07.2011 23:24: >> >> it would be a runtime error when trying to import the >> objects. I suppo

Re: [Cython] How to define C-consts in python module scope

2011-07-20 Thread Stefan Behnel
Hi, I think we're getting way off course with this discussion. The following is a good way to get back into a useful direction. Robert Bradshaw, 20.07.2011 23:24: it would be a runtime error when trying to import the objects. I suppose if cimport does not inject anything into the python names

Re: [Cython] Cython 0.15 release

2011-07-20 Thread Robert Bradshaw
On Wed, Jul 20, 2011 at 2:47 AM, Stefan Behnel wrote: > mark florisson, 20.07.2011 11:40: >> >> On 20 July 2011 11:26, Stefan Behnel wrote: >>> >>> mark florisson, 20.07.2011 10:51: On 20 July 2011 02:32, Robert Bradshaw wrote: > > We're long overdue for a release, and this week

Re: [Cython] How to define C-consts in python module scope

2011-07-20 Thread Robert Bradshaw
On Wed, Jul 20, 2011 at 2:53 PM, mark florisson wrote: > On 20 July 2011 23:24, Robert Bradshaw wrote: >> On Wed, Jul 20, 2011 at 12:53 PM, mark florisson >> wrote: >>> On 20 July 2011 21:44, Lisandro Dalcin wrote: On 20 July 2011 16:27, mark florisson wrote: > On 20 July 2011 21:13,

Re: [Cython] How to define C-consts in python module scope

2011-07-20 Thread mark florisson
On 20 July 2011 23:24, Robert Bradshaw wrote: > On Wed, Jul 20, 2011 at 12:53 PM, mark florisson > wrote: >> On 20 July 2011 21:44, Lisandro Dalcin wrote: >>> On 20 July 2011 16:27, mark florisson wrote: On 20 July 2011 21:13, Lisandro Dalcin wrote: > On 20 July 2011 15:32, mark flori

Re: [Cython] How to define C-consts in python module scope

2011-07-20 Thread Robert Bradshaw
On Wed, Jul 20, 2011 at 12:53 PM, mark florisson wrote: > On 20 July 2011 21:44, Lisandro Dalcin wrote: >> On 20 July 2011 16:27, mark florisson wrote: >>> On 20 July 2011 21:13, Lisandro Dalcin wrote: On 20 July 2011 15:32, mark florisson wrote: > On 20 July 2011 20:04, Lisandro Dalc

Re: [Cython] How to define C-consts in python module scope

2011-07-20 Thread mark florisson
On 20 July 2011 21:44, Lisandro Dalcin wrote: > On 20 July 2011 16:27, mark florisson wrote: >> On 20 July 2011 21:13, Lisandro Dalcin wrote: >>> On 20 July 2011 15:32, mark florisson wrote: On 20 July 2011 20:04, Lisandro Dalcin wrote: > On 20 July 2011 13:51, mark florisson wrote:

Re: [Cython] How to define C-consts in python module scope

2011-07-20 Thread Lisandro Dalcin
On 20 July 2011 16:27, mark florisson wrote: > On 20 July 2011 21:13, Lisandro Dalcin wrote: >> On 20 July 2011 15:32, mark florisson wrote: >>> On 20 July 2011 20:04, Lisandro Dalcin wrote: On 20 July 2011 13:51, mark florisson wrote: > On 20 July 2011 18:06, Lisandro Dalcin wrote:

Re: [Cython] How to define C-consts in python module scope

2011-07-20 Thread mark florisson
On 20 July 2011 21:13, Lisandro Dalcin wrote: > On 20 July 2011 15:32, mark florisson wrote: >> On 20 July 2011 20:04, Lisandro Dalcin wrote: >>> On 20 July 2011 13:51, mark florisson wrote: On 20 July 2011 18:06, Lisandro Dalcin wrote: > On 19 July 2011 20:48, Robert Bradshaw >

Re: [Cython] How to define C-consts in python module scope

2011-07-20 Thread Lisandro Dalcin
On 20 July 2011 15:32, mark florisson wrote: > On 20 July 2011 20:04, Lisandro Dalcin wrote: >> On 20 July 2011 13:51, mark florisson wrote: >>> On 20 July 2011 18:06, Lisandro Dalcin wrote: On 19 July 2011 20:48, Robert Bradshaw wrote: > On Tue, Jul 19, 2011 at 3:02 PM, Lisandr

Re: [Cython] How to define C-consts in python module scope

2011-07-20 Thread mark florisson
On 20 July 2011 20:04, Lisandro Dalcin wrote: > On 20 July 2011 13:51, mark florisson wrote: >> On 20 July 2011 18:06, Lisandro Dalcin wrote: >>> On 19 July 2011 20:48, Robert Bradshaw wrote: On Tue, Jul 19, 2011 at 3:02 PM, Lisandro Dalcin wrote: > On 19 July 2011 02:24, Vitja Makaro

Re: [Cython] How to define C-consts in python module scope

2011-07-20 Thread Lisandro Dalcin
On 20 July 2011 13:51, mark florisson wrote: > On 20 July 2011 18:06, Lisandro Dalcin wrote: >> On 19 July 2011 20:48, Robert Bradshaw wrote: >>> On Tue, Jul 19, 2011 at 3:02 PM, Lisandro Dalcin wrote: On 19 July 2011 02:24, Vitja Makarov wrote: > 2011/7/18 Robert Bradshaw : >> Tr

Re: [Cython] How to define C-consts in python module scope

2011-07-20 Thread mark florisson
On 20 July 2011 18:06, Lisandro Dalcin wrote: > On 19 July 2011 20:48, Robert Bradshaw wrote: >> On Tue, Jul 19, 2011 at 3:02 PM, Lisandro Dalcin wrote: >>> On 19 July 2011 02:24, Vitja Makarov wrote: 2011/7/18 Robert Bradshaw : > Trevor King and I discussed this quite a while back, bu

Re: [Cython] How to define C-consts in python module scope

2011-07-20 Thread Lisandro Dalcin
On 19 July 2011 20:48, Robert Bradshaw wrote: > On Tue, Jul 19, 2011 at 3:02 PM, Lisandro Dalcin wrote: >> On 19 July 2011 02:24, Vitja Makarov wrote: >>> 2011/7/18 Robert Bradshaw : Trevor King and I discussed this quite a while back, but every time I got around to looking at his code

Re: [Cython] Cython 0.15 release

2011-07-20 Thread Vitja Makarov
2011/7/20 mark florisson : > On 20 July 2011 11:47, Stefan Behnel wrote: >> mark florisson, 20.07.2011 11:40: >>> >>> On 20 July 2011 11:26, Stefan Behnel wrote: mark florisson, 20.07.2011 10:51: > > On 20 July 2011 02:32, Robert Bradshaw wrote: >> >> We're long overdue f

Re: [Cython] Cython 0.15 release

2011-07-20 Thread mark florisson
On 20 July 2011 11:47, Stefan Behnel wrote: > mark florisson, 20.07.2011 11:40: >> >> On 20 July 2011 11:26, Stefan Behnel wrote: >>> >>> mark florisson, 20.07.2011 10:51: On 20 July 2011 02:32, Robert Bradshaw wrote: > > We're long overdue for a release, and this week would be a

Re: [Cython] Cython 0.15 release

2011-07-20 Thread Stefan Behnel
mark florisson, 20.07.2011 11:40: On 20 July 2011 11:26, Stefan Behnel wrote: mark florisson, 20.07.2011 10:51: On 20 July 2011 02:32, Robert Bradshaw wrote: We're long overdue for a release, and this week would be a good one for me to push one out. Hudson https://sage.math.washington.edu:80

Re: [Cython] Cython 0.15 release

2011-07-20 Thread mark florisson
On 20 July 2011 11:26, Stefan Behnel wrote: > mark florisson, 20.07.2011 10:51: >> >> On 20 July 2011 02:32, Robert Bradshaw wrote: >>> >>> We're long overdue for a release, and this week would be a good one >>> for me to push one out. Hudson >>> https://sage.math.washington.edu:8091/hudson is loo

Re: [Cython] Cython 0.15 release

2011-07-20 Thread Stefan Behnel
mark florisson, 20.07.2011 10:51: On 20 July 2011 02:32, Robert Bradshaw wrote: We're long overdue for a release, and this week would be a good one for me to push one out. Hudson https://sage.math.washington.edu:8091/hudson is looking in pretty good shape, and though I know we've got a big pile

Re: [Cython] Cython 0.15 release

2011-07-20 Thread mark florisson
On 20 July 2011 02:32, Robert Bradshaw wrote: > We're long overdue for a release, and this week would be a good one > for me to push one out. Hudson > https://sage.math.washington.edu:8091/hudson is looking in pretty good > shape, and though I know we've got a big pile of stuff currently in > prog