Python’s standard logging API violates PEP-8 and this #PEP proposes to fix this. Feedback and criticism of all sort is welcome.

  • Sigmatics@lemmy.ca
    link
    fedilink
    arrow-up
    6
    ·
    edit-2
    1 year ago

    While we’re at it, can we please define enums for the standard logging levels in the stdlib

  • robyoung@beehaw.org
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    Yes! I hope this is a trend that continues. I remember this being quite confusing as a new Python developer. I was convinced there was something special about these kinds of camel cased methods.