[Cython] Metaclasses to generate cdef'ed Classes

2012-05-25 Thread c.
I make excessive use of Meta Classes and I would like to be able to use them with Classes that use the cclass Annotation. Well I don't think it is impossible to do, althrough of cause I am aware that there are many issues with a higher priority right now. Here are some ideas of how this could be a

Re: [Cython] New function (pointer) syntax.

2014-11-06 Thread C Blake
I think you should just use the C declarator syntax. Cython already allows you to say "cdef int *foo[10]". Declarators aren't bad - just poorly taught, though I can see some saying those are the same thing. More below. I absolutely like the declarator one the most, and the la

Re: [Cython] New function (pointer) syntax.

2014-11-07 Thread C Blake
Robert Bradshaw robertwb at gmail.com wrote: >Quick: is that a pointer to an array or 10 pointers to ints? Yes, I >know what it is, but the thing is without knowing C (well) it's not >immediately obvious what the precedence should be. If you're gonna pick something e.g like

Re: [Cython] New function (pointer) syntax.

2014-11-08 Thread C Blake
ent or metric. I agree an objective measure of "goodness" or "understanding" is hard, but I happen to run Gentoo and keep my sources around. So, I did a quick grep over .c and .h files in 600 packages on my system.. pretty diverse: no one style guide or style or maintaine

[Cython] q re environment for successful test suite run

2016-11-12 Thread James C. McPherson
When you run the test suite, what combination of compiler(s), python interpreter(s) and CFLAGS/CXXFLAGS are used? Thankyou in advance, James C. McPherson -- Oracle Systems / Solaris / Core https://www.jmcpdotcom.com/blog ___ cython-devel mailing list cytho

Re: [Cython] q re environment for successful test suite run

2016-11-13 Thread James C. McPherson
On 13/11/16 06:58 pm, Yury V. Zaytsev wrote: On Mon, 7 Nov 2016, James C. McPherson wrote: __pyx_t_2 = ((!(PyArray_CHKFLAGS(__pyx_v_self, NPY_F_CONTIGUOUS) != ^ When you run the test suite, what combination of compiler(s), python interpreter

Re: [Cython] Preparations for Cython 0.26.1 and 0.27

2017-08-03 Thread James C. McPherson
in globals()[__func_name] = __get_hash(__func_name) File "/opt/cp36m/lib/python3.6/hashlib.py", line 119, in __get_openssl_constructor return __get_builtin_constructor(name) File "/opt/cp36m/lib/python3.6/hashlib.py", line 113, in __get_builtin_constructor r

Re: [Cython] Cython 0.29 – or 29.0 ?

2018-08-17 Thread James C. McPherson
1.0 runs the risk of hitting "never install a 1.0 release" habits. Jumping to 29.0 would not, imnsho, be such an issue because people are used to the rapid cadence of Firefox, Thunderbird and Chrome releases. The flip side of 29.0 would be the question "when are you announcing your LTS version?