[issue24255] Replace debuglevel-related logic with logging

2018-08-02 Thread Eryn Wells
Eryn Wells added the comment: Actually, I spoke too soon. My current employer isn't too keen on us contributing to open source, so I can't do this. Sorry! -- ___ Python tracker <https://bugs.python.org/issue24

[issue24255] Replace debuglevel-related logic with logging

2018-08-02 Thread Eryn Wells
Eryn Wells added the comment: Hi, it sounds like my original patch is the preferred approach. I can put up a GitHub PR for that. -- ___ Python tracker <https://bugs.python.org/issue24

[issue24255] Replace debuglevel-related logic with logging

2015-06-07 Thread Eryn Wells
Eryn Wells added the comment: Here's a patch that replaces all the debuglevel stuff with logging. There's a single module-level logger that handles it all. I wasn't sure if it would be okay to break API compatibility, so I kept the debuglevel flag and the set_debuglevel() method even though

[issue24255] Replace debuglevel-related logic with logging

2015-06-06 Thread Eryn Wells
Eryn Wells added the comment: Hi. This is my first issue, but I'd be willing to have a go at updating this module. Do either of you have specific ideas about what changes you want here? My thought was to import logging, create a logger object, and start by replacing all the self.debuglevel