• R David Murray's avatar
    #20476: Deal with the message_factory circular import differently. · b067c8fd
    R David Murray yazdı
    It turns out we can't depend on email.message getting imported every place
    message_factory is needed, so to avoid a circular import we need to special
    case Policy.message_factory=None in the parser instead of using monkey
    patching.  I had a feeling that was a bad idea when I did it.
    b067c8fd
test_policy.py 13.8 KB