Hi,

I have just discovered that if one uses Python 2.7 constructs in the
code like

    print("Object: {}".format(obj))

the resulting C++ module compiles just fine with both Python 2.6 and
Python 2.7 headers, however, in the former case, ValueError is raised at
runtime:

    ValueError: zero length field name in format

Is this an intended behavior or Cython should have abstracted this
difference for me, and it can be considered a bug?

Thanks!

-- 
Sincerely yours,
Yury V. Zaytsev


_______________________________________________
cython-devel mailing list
cython-devel@python.org
http://mail.python.org/mailman/listinfo/cython-devel

Reply via email to