Source

CherryPy / cherrypy / _cpchecker.py

Author Commit Message Labels Comments Date
Robert Brewer
Fix for #632 (CP checker misleading warning on customized toolbox).
Robert Brewer
Moved checker back to cherrypy.checker from engine, and also added a new check_config_types method. There's also a new checker config namespace, so you can turn off the checker with "checker.on = False", or turn off specific methods with "checker.check_method_foo = None".
Robert Brewer
More checker checks (plus a fix for the fix for the fix).
Robert Brewer
Fix for the fix.
Robert Brewer
checker: 1. Moved cherrypy.checker to cherrypy.engine.checker so it can be set to None or another Checker instance in config. 2. Replaced Checker.checkall with {{{Checker.__call__}}}. 3. Fixed an output bug in check_compatibility.
Robert Brewer
Moved check_compatibility into _cpchecker.py. Also allow disabling of Checker methods by setting them to None.
Robert Brewer
New cherrypy.checker which runs by default in development mode.