Re: [Cython] [FEATURE REQUEST] VisualBasic

2014-11-05 Thread Zaxebo Yaxebo
Thanks for reply @Sturla. 1) Sturla>>> Originally Fortran's "implicit none". Zaxebo>> Yes, you are right :-) --- 2) Sturla>>> I am not sure why you use Python (including Cython) if you prefer to turn off duck typing, though. You kn

Re: [Cython] [FEATURE REQUEST] VisualBasic

2014-11-05 Thread Zaxebo Yaxebo
ooops,following line in my earlier email: "We are still using datatype." should be read as: "We are still using duck datatyping." Zaxebo1 ___ cython-devel mailing list cython-devel@python.org https://mail.python.org/mailman/listinfo/cython-dev

Re: [Cython] [FEATURE REQUEST] VisualBasic

2014-11-05 Thread Sturla Molden
Zaxebo Yaxebo wrote: > > Zaxebo>> > I am NOT saying to implement datatyping(that is already part of cython by > "cdef int","cdef double"). I am NOT saying to turn off duck typing. > What i am requesting is: declaration of variables without data > typing (like: cdef "var" ). And "opti

Re: [Cython] [FEATURE REQUEST] VisualBasic

2014-11-05 Thread Zaxebo Yaxebo
Sturla>>> Ok, so it is to guard against spelling errors? Yes, thats a real big problem, once . Others are sufferring from this too, as i mentioned in my original post Here are other people also requesting the similar thing: http://stackoverflow.com/questions/613364/is-there-a-need-for-a-use-stri

Re: [Cython] [FEATURE REQUEST] VisualBasic

2014-11-05 Thread Stefan Behnel
Zaxebo Yaxebo schrieb am 05.11.2014 um 19:35: > Sturla>>> Ok, so it is to guard against spelling errors? > > Yes, thats a real big problem, once . > > Others are sufferring from this too, as i mentioned in my original post > > Here are other people also requesting the similar thing: > http://sta

Re: [Cython] [FEATURE REQUEST] VisualBasic

2014-11-05 Thread Zaxebo Yaxebo
Stefan>>> A directive, see Options.py. There are already two directives called "warn.undeclared" and "infer_types.verbose". Combining those should get close to what you are looking for. Zaxebo1>> thanks. it works as i wished. You are really really my saviour. === Now only thing le

Re: [Cython] [FEATURE REQUEST] VisualBasic

2014-11-05 Thread Stefan Behnel
Zaxebo Yaxebo schrieb am 06.11.2014 um 02:35: > Stefan>>> A directive, see Options.py. There are already two directives > called "warn.undeclared" and "infer_types.verbose". Combining those should > get close to what you are looking for. > > Zaxebo1>> thanks. it works as i wished. You are reall

[Cython] New function (pointer) syntax.

2014-11-05 Thread Robert Bradshaw
I'd like to propose a more pythonic way to declare function pointer types, namelye type0 (*[ident])(type1, type2, type3) would instead become (type1, type2, type3) -> type0 [ident] I have a pull request up at https://github.com/cython/cython/pull/333; what do people think? - Robert ___