This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 torsten.becker
收信人 barry, r.david.murray, terry.reedy, torsten.becker
日期 2011-03-27.13:44:28
SpamBayes Score 5.2383416e-06
Marked as misclassified
Message-id <1301233470.65.0.2509531099.issue1690608@psf.upfronthosting.co.za>
In-reply-to
内容
I implemented a basic test for the issue and an attempt for a fix.

I am not entirely sure with my implementation, specifically I would like to get comments concerning the following points:

  - Is is OK that formataddr() will now check if address is ascii safe and if not it will raise a UnicodeEncodeError?
  
  - I was not sure on the style how to append new tests to test_email.py, I just put it into the same spot where all the other formataddr() tests where, shall I put it to the end instead?


I am submitting this patch as part of my preparation for the Google Summer of Code to familiarize myself with the contribution process, any feedback on what I should do different is very welcome.
历史
日期 用户 动作 参数
2011-03-27 13:44:30torsten.becker修改recipients: + torsten.becker, barry, terry.reedy, r.david.murray
2011-03-27 13:44:30torsten.becker修改messageid: <1301233470.65.0.2509531099.issue1690608@psf.upfronthosting.co.za>
2011-03-27 13:44:28torsten.becker链接issue1690608 messages
2011-03-27 13:44:28torsten.becker创建