Changes since v0.0.2: - break Python 2.6 compatibility - change logging to http://docs.python.org/dev/howto/logging.html#library-config
I disagree about the terribleness, but namespacing is a good idea. From http://docs.python.org/dev/library/logging.html#logging.basicConfig > The functions debug(), info(), warning(), error() and critical() will > call basicConfig() automatically if no handlers are defined for the > root logger. > This function does nothing if the root logger already has handlers > configured for it.
…dler to the root logger Calling `logging.debug()` directly causes a `logging.StreamHandler` to be added to the default root logger `logging.getLogger()`. This has terrible consequences when one wants to keep control over the handlers of the root logger. The proposed change fixes that issues while keeping the log output if needed.
Test this, both in strict and relaxed mode.
Also add more tests.
Also add better error handling, and tests for strict and relaxed behaviour.
2to3 is enabled by switching to Distribute from distutils. LEPL now works on character strings; I'd prefer byte strings, but this seems to work.
The bugs happened when Content-Disposition isn't defined.