• MajorHavoc@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    1 year ago

    It’s clearly because someone had to work with the Python logging package. Or had to call subprocess.

    • cheery_coffee@lemmy.ca
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      Subprocess is great, just UTF8 encode your strings and never ever ever pass input or receive output from the sub process.

    • bloopernova@programming.dev
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      Logging is fine, it’s traitlets that I’m struggling with right now. Lack of comprehensive documentation means I have to read the source and that is taking me forever.

      • MajorHavoc@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        Interesting. Traitlets looks to Java-like (overly in love with objects) for my taste.

        For typing, I’ve been reasonably happy with MyPy.

        For everything else in Traitlets - well, that all sounds too OOP for my comfort.

        Ooh, that’s another reason to burn Python to the ground and never speak of it again - it supports multiple-inheritance.