Message156162
I don’t understand why the repr should use \\r instead of \r. It seems to work:
>>> from email.policy import Policy, HTTP, strict
>>> strict
Policy(raise_on_defect=True)
>>> eval(repr(strict))
Policy(raise_on_defect=True)
>>> HTTP
Policy(linesep='\r\n', max_line_length=None)
>>> eval(repr(HTTP))
Policy(linesep='\r\n', max_line_length=None)
>>> HTTP.__dict__
{'max_line_length': None, 'linesep': '\r\n'}
>>> eval(repr(HTTP)).__dict__
{'max_line_length': None, 'linesep': '\r\n'} |
|
Date |
User |
Action |
Args |
2012-03-17 15:54:09 | eric.araujo | set | recipients:
+ eric.araujo, r.david.murray |
2012-03-17 15:54:09 | eric.araujo | set | messageid: <1331999649.16.0.86257584064.issue14344@psf.upfronthosting.co.za> |
2012-03-17 15:54:08 | eric.araujo | link | issue14344 messages |
2012-03-17 15:54:08 | eric.araujo | create | |
|