Module Import alias Import alias Import alias ImportFrom alias alias alias ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr TryFinally body For NameStore Call NameLoad NameLoad body If Call AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad NameLoad NameLoad If BoolOpAnd NameLoad Call NameLoad NameLoad Str body Expr Call NameLoad finalbody Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Return BinOpMod Str NameLoad decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Str For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body If UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Continue If UnaryOpNot AttributeLoad NameLoad attr body Continue If CompareEq NameLoad Str body Continue Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str If CompareEq SubscriptLoad NameLoad Slice Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str For TupleStore NameStore NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr body If UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Continue Assign NameStore ListLoad For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr Str body For TupleStore NameStore NameStore Call NameLoad NameLoad body For NameStore TupleLoad Str Str Str Str body If Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Num BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body If UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Continue If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore BinOpMod Str NameLoad If AttributeLoad NameLoad attr body AugAssignAdd NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Return decorator_list FunctionDef arguments args NameParam defaults body Expr Str For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body If UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Continue If UnaryOpNot AttributeLoad NameLoad attr body Continue For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If BoolOpOr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body If UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Continue Assign AttributeStore NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If Call NameLoad Str NameLoad body Assign NameStore Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str If CompareIs NameLoad NameLoad body Assign NameStore Str orelse Assign NameStore Str If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore NameLoad If NameLoad body Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad SubscriptLoad NameLoad Slice Num If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body AugAssignAdd NameStore BinOpMod Str NameLoad orelse If UnaryOpNot NameLoad body Assign NameStore Str orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore BinOpMod Str NameLoad If BoolOpAnd NameLoad UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body If NameLoad body AugAssignAdd NameStore Str AugAssignAdd NameStore BinOpMod Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad NameLoad decorator_list Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str NameLoad Str NameLoad Str Str Str Str Str Assign NameStore Dict FunctionDef arguments args NameParam NameParam defaults body Expr Str For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If Call NameLoad NameLoad NameLoad body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad orelse If CompareIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad orelse If CompareIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad orelse If CompareIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body If UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Continue Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Assign NameStore ListLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AugAssignAdd NameStore AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr Str If BoolOpAnd NameLoad Call NameLoad NameLoad NameLoad body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareGt Call NameLoad NameLoad Num body If CompareNotIn SubscriptLoad NameLoad Index Num NameLoad body If BoolOpAnd CompareEq SubscriptLoad NameLoad Index Num Str CompareIn SubscriptLoad NameLoad Index Num NameLoad body Assign NameStore BinOpMod Str TupleLoad NameLoad Call AttributeLoad Str attr SubscriptLoad NameLoad Slice Num NameLoad orelse Assign NameStore BinOpMod Str TupleLoad NameLoad SubscriptLoad NameLoad Index Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq SubscriptLoad NameLoad Index Num Str body If CompareNotIn SubscriptLoad NameLoad Index Num Call NameLoad AttributeLoad NameLoad attr body Assign NameStore BinOpMod Str TupleLoad NameLoad SubscriptLoad NameLoad Index Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body If UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Continue Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore Dict FunctionDef arguments args NameParam defaults body Assign NameStore ListComp NameLoad comprehension NameStore Call AttributeLoad Call NameLoad NameLoad attr CompareIs Call NameLoad NameLoad Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body For NameStore Call NameLoad NameLoad body If CompareEq NameLoad Str body Continue Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad NameLoad If CompareIn NameLoad NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index BinOpAdd BinOpAdd NameLoad Str NameLoad NameLoad decorator_list Expr Call NameLoad AttributeLoad NameLoad attr Str Expr Call NameLoad AttributeLoad NameLoad attr Str Expr Call NameLoad AttributeLoad NameLoad attr Str Expr Call NameLoad AttributeLoad NameLoad attr Str Expr Call NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If Call NameLoad NameLoad NameLoad body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call NameLoad NameLoad If BoolOpAnd NameLoad CompareNotEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod NameLoad TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign TupleStore NameStore NameStore TupleLoad NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call NameLoad NameLoad If BoolOpAnd NameLoad CompareNotEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod NameLoad TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body If UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Continue Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If BoolOpAnd CompareEq NameLoad Str CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Str decorator_list decorator_list
N/A N/A os N/A warnings N/A cherrypy cherrypy._cpcompat iteritems copykeys builtins Checker N/A object N/A N/A A checker for CherryPy sites and their mounted applications.

    When this object is called at engine startup, it executes each
    of its own methods whose names start with ``check_``. If you wish
    to disable selected checks, simply add a line in your global
    config which sets the appropriate method to False::

        [global]
        checker.check_skipped_app_config = False

    You may also dynamically add or replace ``check_*`` methods in this way.
     N/A on True N/A If True (the default), run all checks; if False, turn off all checks. __init__ N/A N/A self N/A N/A N/A N/A N/A self _populate_known_types N/A __call__ N/A N/A self N/A N/A N/A Run all check_* methods. N/A N/A self on N/A N/A oldformatwarning N/A warnings formatwarning N/A N/A warnings formatwarning N/A self formatwarning N/A N/A N/A name N/A dir self N/A N/A N/A N/A name startswith check_ N/A N/A method N/A getattr self name N/A N/A method N/A hasattr method __call__ N/A N/A N/A method N/A N/A N/A warnings formatwarning oldformatwarning N/A formatwarning N/A N/A self message category filename lineno line N/A None N/A N/A Function to format a warning. N/A N/A CherryPy Checker:
%s

 message N/A N/A global_config_contained_paths False check_app_config_entries_dont_start_with_script_name N/A N/A self N/A N/A N/A Check for Application config with sections that repeat script_name. N/A N/A sn app N/A N/A N/A N/A cherrypy tree apps items N/A N/A N/A N/A isinstance app N/A cherrypy Application N/A N/A N/A N/A N/A app config N/A N/A N/A N/A sn N/A N/A N/A sn_atoms N/A N/A N/A N/A sn strip / split / N/A key N/A N/A N/A app config keys N/A N/A key_atoms N/A N/A N/A N/A key strip / split / N/A N/A N/A key_atoms N/A N/A len sn_atoms sn_atoms N/A N/A N/A N/A warnings warn N/A The application mounted at %r has config entries that start with its script name: %r N/A sn key N/A check_site_config_entries_in_app_config N/A N/A self N/A N/A N/A Check for mounted Applications that have site-scoped config. N/A N/A sn app N/A iteritems N/A N/A cherrypy tree apps N/A N/A N/A N/A isinstance app N/A cherrypy Application N/A N/A N/A msg N/A N/A N/A section entries N/A iteritems N/A app config N/A N/A N/A N/A section startswith / N/A N/A N/A key value N/A iteritems entries N/A N/A n N/A engine. server. tree. checker. N/A N/A N/A N/A key startswith n N/A N/A N/A N/A msg append N/A [%s] %s = %s N/A section key value N/A msg N/A N/A N/A N/A msg insert 0 N/A The application mounted at %r contains the following config entries, which are only allowed in site-wide config. Move them to a [global] section and pass them to cherrypy.config.update() instead of tree.mount(). sn N/A N/A N/A warnings warn N/A N/A N/A os linesep join msg N/A check_skipped_app_config N/A N/A self N/A N/A N/A Check for mounted Applications that have no config. N/A N/A sn app N/A N/A N/A N/A cherrypy tree apps items N/A N/A N/A N/A isinstance app N/A cherrypy Application N/A N/A N/A N/A N/A app config N/A N/A msg N/A The Application mounted at %r has an empty config. sn N/A N/A self global_config_contained_paths N/A N/A msg  It looks like the config you passed to cherrypy.config.update() contains application-specific sections. You must explicitly pass application config via cherrypy.tree.mount(..., config=app_config) N/A N/A N/A warnings warn msg N/A N/A check_app_config_brackets N/A N/A self N/A N/A N/A Check for Application config with extraneous brackets in section names. N/A N/A sn app N/A N/A N/A N/A cherrypy tree apps items N/A N/A N/A N/A isinstance app N/A cherrypy Application N/A N/A N/A N/A N/A app config N/A N/A N/A key N/A N/A N/A app config keys N/A N/A N/A N/A N/A key startswith [ N/A N/A key endswith ] N/A N/A N/A N/A warnings warn N/A The application mounted at %r has config section names with extraneous brackets: %r. Config *files* need brackets; config *dicts* (e.g. passed to tree.mount) do not. N/A sn key N/A check_static_paths N/A N/A self N/A N/A N/A Check Application config for incorrect static paths. N/A request N/A cherrypy request N/A N/A sn app N/A N/A N/A N/A cherrypy tree apps items N/A N/A N/A N/A isinstance app N/A cherrypy Application N/A N/A N/A N/A request app app N/A section N/A app config N/A N/A N/A N/A request get_resource N/A section /dummy.html N/A conf N/A N/A request config get N/A N/A conf tools.staticdir.on False N/A N/A msg N/A root N/A conf tools.staticdir.root N/A dir N/A conf tools.staticdir.dir N/A N/A dir None N/A N/A msg tools.staticdir.dir is not set. N/A N/A fulldir N/A N/A N/A N/A os path isabs dir N/A N/A fulldir dir N/A root N/A N/A msg dir is an absolute path, even though a root is provided. N/A testdir N/A N/A N/A os path join root N/A dir N/A 1 N/A N/A N/A N/A os path exists testdir N/A N/A msg N/A 
If you meant to serve the filesystem folder at %r, remove the leading slash from dir. testdir N/A N/A N/A root N/A N/A msg dir is a relative path and no root provided. N/A N/A fulldir N/A N/A N/A os path join root dir N/A N/A N/A N/A N/A os path isabs fulldir N/A N/A msg N/A %r is not an absolute path. fulldir N/A N/A fulldir N/A N/A N/A N/A os path exists fulldir N/A N/A msg N/A N/A msg N/A msg N/A %r (root + dir) is not an existing filesystem path. fulldir N/A msg N/A N/A N/A N/A warnings warn N/A %s
section: [%s]
root: %r
dir: %r N/A msg section root dir N/A N/A obsolete N/A server.default_content_type log_access_file log_config_options log_file log_file_not_found log_request_headers log_to_screen show_tracebacks throw_errors profiler.on tools.response_headers.headers log.access_file None log.error_file None tools.log_headers.on log.screen request.show_tracebacks request.throw_errors cherrypy.tree.mount(profiler.make_app(cherrypy.Application(Root()))) N/A deprecated N/A _compat N/A N/A self config N/A N/A N/A Process config and warn on each obsolete or deprecated entry. N/A N/A section conf N/A N/A config items N/A N/A N/A isinstance conf dict N/A N/A N/A k v N/A N/A conf items N/A N/A N/A k N/A self obsolete N/A N/A N/A N/A warnings warn N/A %r is obsolete. Use %r instead.
section: [%s] N/A k N/A N/A self obsolete N/A k section N/A N/A N/A k N/A self deprecated N/A N/A N/A N/A warnings warn N/A %r is deprecated. Use %r instead.
section: [%s] N/A k N/A N/A self deprecated N/A k section N/A N/A N/A section N/A self obsolete N/A N/A N/A N/A warnings warn N/A %r is obsolete. Use %r instead. N/A section N/A N/A self obsolete N/A section N/A N/A N/A section N/A self deprecated N/A N/A N/A N/A warnings warn N/A %r is deprecated. Use %r instead. N/A section N/A N/A self deprecated N/A section N/A check_compatibility N/A N/A self N/A N/A N/A Process config and warn on each obsolete or deprecated entry. N/A N/A N/A self _compat N/A cherrypy config N/A N/A sn app N/A N/A N/A N/A cherrypy tree apps items N/A N/A N/A N/A isinstance app N/A cherrypy Application N/A N/A N/A N/A N/A self _compat N/A app config N/A N/A extra_config_namespaces N/A _known_ns N/A N/A self app N/A N/A N/A ns N/A wsgi N/A N/A N/A ns extend N/A copykeys N/A app toolboxes N/A N/A N/A ns extend N/A copykeys N/A app namespaces N/A N/A N/A ns extend N/A copykeys N/A N/A app request_class namespaces N/A N/A N/A ns extend N/A copykeys N/A N/A cherrypy config namespaces N/A ns N/A self extra_config_namespaces N/A N/A section conf N/A N/A N/A app config items N/A N/A is_path_section N/A N/A section startswith / N/A N/A is_path_section N/A isinstance conf dict N/A N/A N/A k v N/A N/A conf items N/A N/A atoms N/A N/A k split . N/A N/A N/A len atoms 1 N/A N/A N/A N/A atoms N/A 0 ns N/A N/A N/A N/A N/A atoms N/A 0 cherrypy N/A N/A atoms N/A 1 ns N/A N/A msg N/A The config entry %r is invalid; try %r instead.
section: [%s] N/A k N/A N/A . join N/A atoms N/A 1 section N/A N/A msg N/A The config entry %r is invalid, because the %r config namespace is unknown.
section: [%s] N/A k N/A atoms N/A 0 section N/A N/A N/A warnings warn msg N/A N/A N/A N/A atoms N/A 0 tools N/A N/A N/A N/A atoms N/A 1 N/A dir N/A cherrypy tools N/A N/A msg N/A The config entry %r may be invalid, because the %r tool was not found.
section: [%s] N/A k N/A atoms N/A 1 section N/A N/A N/A warnings warn msg N/A check_config_namespaces N/A N/A self N/A N/A N/A Process config and warn on each unknown config namespace. N/A N/A sn app N/A N/A N/A N/A cherrypy tree apps items N/A N/A N/A N/A isinstance app N/A cherrypy Application N/A N/A N/A N/A N/A self _known_ns app N/A N/A known_config_types N/A _populate_known_types N/A N/A self N/A N/A N/A b N/A x N/A x N/A N/A N/A vars builtins values N/A N/A type x N/A type str traverse N/A N/A obj namespace N/A N/A N/A name N/A dir obj N/A N/A N/A name body_params N/A N/A N/A vtype N/A type N/A getattr obj name None N/A N/A vtype b N/A N/A N/A N/A self known_config_types N/A N/A N/A namespace . name vtype N/A N/A N/A traverse N/A cherrypy request request N/A N/A traverse N/A cherrypy response response N/A N/A traverse N/A cherrypy server server N/A N/A traverse N/A cherrypy engine engine N/A N/A traverse N/A cherrypy log log N/A _known_types N/A N/A self config N/A N/A N/A msg The config entry %r in section %r is of type %r, which does not match the expected type %r. N/A N/A section conf N/A N/A config items N/A N/A N/A isinstance conf dict N/A N/A N/A k v N/A N/A conf items N/A N/A N/A v None N/A N/A expected_type N/A N/A N/A self known_config_types get k None N/A vtype N/A type v N/A N/A expected_type N/A vtype expected_type N/A N/A N/A N/A warnings warn N/A msg N/A k section N/A vtype __name__ N/A expected_type __name__ N/A N/A N/A k v N/A section conf N/A N/A v None N/A N/A expected_type N/A N/A N/A self known_config_types get k None N/A vtype N/A type v N/A N/A expected_type N/A vtype expected_type N/A N/A N/A N/A warnings warn N/A msg N/A k section N/A vtype __name__ N/A expected_type __name__ N/A check_config_types N/A N/A self N/A N/A N/A Assert that config values are of the same type as default values. N/A N/A N/A self _known_types N/A cherrypy config N/A N/A sn app N/A N/A N/A N/A cherrypy tree apps items N/A N/A N/A N/A isinstance app N/A cherrypy Application N/A N/A N/A N/A N/A self _known_types N/A app config N/A check_localhost N/A N/A self N/A N/A N/A Warn if any socket_host is 'localhost'. See #711. N/A N/A k v N/A N/A N/A cherrypy config items N/A N/A N/A N/A k server.socket_host N/A v localhost N/A N/A N/A N/A warnings warn The use of 'localhost' as a socket host can cause problems on newer systems, since 'localhost' can map to either an IPv4 or an IPv6 address. You should use '127.0.0.1' or '[::1]' instead. N/A N/A