Cosimo Lupo
f65a6ec346
[loggingTools] remove _StderrHandler and Logger classes (moved to py23)
2016-02-01 13:18:06 +00:00
Cosimo Lupo
f3116ad4d0
[loggingTools] add Logger class with support for 'lastResort' stderr handler
...
Both _StderrHandler and Logger.callHandlers included here are taken from Python 3.5's
logging.py source.
I only set logging.lastResort if it's not already set (i.e. for Python < 3.2).
2016-01-29 18:36:21 +00:00
Cosimo Lupo
141cc7b6c2
[loggingTools] typo
2016-01-29 17:28:53 +00:00
Cosimo Lupo
3664462a63
[loggingTools] use ellipsis for elapsed time in doctestes to fix AppVeyor build
...
https://ci.appveyor.com/project/anthrotype/fonttools/build/1.0.53/job/2p08d9sbcfelvwx6
2016-01-27 19:05:05 +00:00
Cosimo Lupo
e8edfad59a
[loggingTools] on Windows, warnings.warn doesn't like category=None, set it to UserWarning (which is the default)
2016-01-27 19:05:05 +00:00
Cosimo Lupo
317d653125
[loggingTools] module containing tools for adapting the Python logging package to fontTools (and viceversa)
2016-01-27 19:01:12 +00:00