Vitja Makarov, 21.03.2011 11:45:
Now error/warning messages are stored in global variables at Cython.Compiler.Errors
Pyrex legacy. Even the visible warning level is a global variable ("LEVEL"). That's a very bad interface.
I think it's much better to move error handling into some object, Main.Context for example. Some benefits: - reduce use of global variables - allow more then one cython compiler instance at the time - make it much easy to implement -Werror - cython directives can affect message system (fast_fail, werror) - messages could be easily sorted
+1 Stefan _______________________________________________ cython-devel mailing list cython-devel@python.org http://mail.python.org/mailman/listinfo/cython-devel