I promised Dag Sverre to add test cases for my changes to the buffer 
syntax. Unfortunately I've been busy lately, and the computer I mainly 
use for programming broke down (damned Vista now replaced with Windows 
7...)

I think I could have test cases ready later this week. I am not sure if 
that is too late for 0.12? Also I would like to add the volatile keyword 
argument (as discussed here previously), as it belongs together with the 
readonly and restrict qualifiers.  It will only require a small chage to 
the code I wrote, but be important if a Py_buffer is modified by means 
external to the thread (hardware interrupt, different thread, another 
process). 

The code used for readonly and restrict seems to be stabile. I have 
compiled rather large numerical routines with them, and the code 
compiles runs without error. The only issue is that Cython does not yet 
detect an attempt to write to a readonly buffer, but the C compiler 
does. I'll try to fix that, but right now it has lower priority.

Anyway, do you think these changes should be postponed until a release 
after 0.12?

Sturla Molden
 
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to