Hello,

I confirm that the bug seems to still exist in Debian 11 (package
8.9.1-8).

But here is a workaround that seems to work for me (just add that
anywhere in the Python code before loading the configuration) :

# Monkey patch cherrypy config loader
from cherrypy.lib.reprconf import _Builder3
def build_Constant(self, o):
    return o.value
_Builder3.build_Constant = build_Constant

It's not very elegant, but it should allow people to upgrade to bullseye
until the package is fixed (which might not be trivial).

Regards,

Reply via email to