Cosimo Lupo
ab395ff0e2
move CapturingLogHandler class from subset to loggingTools module
2016-10-04 14:31:30 +01:00
Rod Sheeter
74e7400097
Minimal change to allow Google Fonts to easily capture subset timings serverside via log handler.
2016-05-11 12:59:37 -07:00
Behdad Esfahbod
2a0359af4d
Always import * from py23
...
Since py23 modifies some essential builtins, it's safe to import
everything all the time. At least, that's how it was designed.
It's a bug if importing * breaks some code.
2016-04-06 18:15:43 -07:00
Cosimo Lupo
16f29ffd6d
[loggingTools] use ellipsis for doctests when printing time
...
appveyor can be *very* slow
https://ci.appveyor.com/project/anthrotype/fonttools/build/job/pdrl7o5ggan7qlej
2016-02-07 01:19:45 +00:00
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