[Cython] Message system refactoring

Vitja Makarov vitja.makarov at gmail.com
Mon Mar 21 11:45:02 CET 2011


Now error/warning messages are stored in global variables at
Cython.Compiler.Errors

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

-- 
vitja.


More information about the cython-devel mailing list