Has anyone tried var_dump ( https://github.com/sha256/python-var-dump ) on the aiohttp.web.Application instance?

from var_dump import var_dump from aiohttp import web app = web.Application() var_dump(app) 

I have many, many lines typing; it’s immediately clear that there are a lot more than necessary, it’s clear that something is wrong. And so it prints until it appears:

RecursionError: maximum recursion depth exceeded while calling a Python object

Where the dog rummaged?

  • Perhaps, in Application there is a link to a type that has a link to the same type and this caused a loop - gil9red
  • if L = L[0] = [1]; var_dump(L) L = L[0] = [1]; var_dump(L) also leads to infinite recursion and this behavior is clearly not documented (that var_dump () does not support [self-referential] recursive objects that themselves refer to), this is a bug in var_dump() - jfs

0