On Sun, 20 Nov 2022 at 12:27, Cameron Simpson <c...@cskk.id.au> wrote: > > On 19Nov2022 18:26, Thomas Passin <li...@tompassin.net> wrote: > >>The alternative is to just replace every calling function which uses > >>my_ugly_debug() to directly call a logging.whatever() call. > > > >Maybe a place for a decorator... > > Indeed, though I don't think the OP is up to decorators yet. > > But really, is there any problem which cannot be solved with a > decorator? I've even got a @decorator decorator for my decorators. >
Do you have a @toomanydecorators decorator to reduce the number of decorators you need to decorate your decorators? ChrisA -- https://mail.python.org/mailman/listinfo/python-list