lp:python-email6

Created by R. David Murray and last modified
Get this branch:
bzr branch lp:python-email6
Members of Python email v6 development team can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Python email v6 development team
Project:
python-email6
Status:
Experimental

Recent revisions

42168. By R. David Murray

Merge from py3k trunk.

42167. By R. David Murray

#9864: Change parsedate to return datetime with timezone, drop parsedate_tz.

Patch by Jeffrey Finkelstein, with minor doc tweaks by me.

42166. By R. David Murray

Fix wording in docstring and clarify repr-eval conditions.

42165. By R. David Murray

Fix spacing on table.

42164. By R. David Murray

Update the docs to match the move of the registry to Default.

Also added an XXX note about an alternate way of doing method calls
with policy overrides that would simplify the common use cases from
the application consumer point of view.

42163. By R. David Murray

Eliminate the monkey patching of the headers registry.

Policy now has no default registry (its headers attribute is None).
Instead we supply an empty registry to the Default instance, and
derive all other pre-existing Policy instances from Default. Then
email.headers updates the Default header registry. (I may want to
move the initialization of the Default registries to a different
module later, but this will do for now.)

This change set also contains a test fix to suppress a BytesWarning
when running the tests under -bb.

42162. By R. David Murray

Merge from py3k trunk.

42161. By R. David Murray

Add a temporary version of the ContentType header.

This is to facilitate the GSOC student's testing of a Message prototype.

42160. By R. David Murray

Add test that shows that passing a policy with a changed header registry works.

42159. By R. David Murray

Turn BytesHeader and Stringheader into mixin classes.

I cheated a bit to make the tests continue to pass: I disabled one
RFC test, and I synthesized a composite class that allows the
tests that use 'from_full_header' to continue to work. The tests
will get fixed as I continue to revise the API. (The disabled RFC
test arises from the fact that the revised API raises errors on
invalid input in the (name, value) form where the previous API
iteration did not...the test really needs to use the upcoming
parser interface for the data that needs to be accepted-with-defects
instead of raising errors.)

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers