[Cython] Message system refactoring
stefan_ml at behnel.de
Mon Mar 21 12:01:47 CET 2011
Vitja Makarov, 21.03.2011 11:45:
> Now error/warning messages are stored in global variables at
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
More information about the cython-devel