Re: Pyrex: problem with blanks in string

2007-06-04 Thread Michael Hoffman
Hans Terlouw wrote: > When trying to wrap C code using Pyrex, I encountered a strange problem > with a piece of pure Python code. I tried to isolate the problem. The > following code causes Pyrex to generate C code which gcc cannot compile: It works for me. Try posting your error messages and v

Pyrex: problem with blanks in string

2007-06-04 Thread Hans Terlouw
Hi, When trying to wrap C code using Pyrex, I encountered a strange problem with a piece of pure Python code. I tried to isolate the problem. The following code causes Pyrex to generate C code which gcc cannot compile: class Axis: axtype = "unknown type of axis" def __init__(self):