Staging
v0.8.1
v0.8.1
Revision 0b6f6c82b51b7071d88f48abb3192bf3dc2a2d24 authored by R David Murray on 25 May 2012, 22:42:14 UTC, committed by R David Murray on 25 May 2012, 22:42:14 UTC
When the new policies are used (and only when the new policies are explicitly used) headers turn into objects that have attributes based on their parsed values, and can be set using objects that encapsulate the values, as well as set directly from unicode strings. The folding algorithm then takes care of encoding unicode where needed, and folding according to the highest level syntactic objects. With this patch only date and time headers are parsed as anything other than unstructured, but that is all the helper methods in the existing API handle. I do plan to add more parsers, and complete the set specified in the RFC before the package becomes stable.
1 parent 0fa2edd
File | Mode | Size |
---|---|---|
__init__.py | -rw-r--r-- | 64.6 KB |
config.py | -rw-r--r-- | 33.8 KB |
handlers.py | -rw-r--r-- | 53.5 KB |
Computing file changes ...