[Pyrex] The "++" operator gets stripped out (as in "++x")

Dan Gindikin dg at pnylab.com
Sun Jan 6 19:38:28 CET 2008


Hi,

It appears the "++" prefix operator gets silently stripped out. If you have the 
following,

	cdef int x
	x=0
	++x           # in the .c file, this is just "__pyx_v_x"
	print x

a "0" is printed.

This is with version 0.9.6.4

-- 
Dan



More information about the Pyrex mailing list