Message347183
This thread has been really interesting to follow, I'm glad to have opened it :)
I would agree with Barry here, it should follow the documentation.
BUT, I would suggest to add a "strict" parameter that would throw exceptions depending on the parsing issue (missing a @, having multiple @, etc).
That way, a basic usage would return the empty strings, letting the developer know the email is invalid, and advanced case would still be possible.
By default, I think having strict set to False would be logical, since it would follow the documentation. |
|
Date |
User |
Action |
Args |
2019-07-03 07:17:23 | cnicodeme | set | recipients:
+ cnicodeme, barry, vstinner, msapiro, ned.deily, r.david.murray, nicoe, maxking, kal.sze, Windson Yang, xtreak, bortzmeyer, jpic, Dain Dwarf |
2019-07-03 07:17:23 | cnicodeme | set | messageid: <1562138243.7.0.83577378693.issue34155@roundup.psfhosted.org> |
2019-07-03 07:17:23 | cnicodeme | link | issue34155 messages |
2019-07-03 07:17:23 | cnicodeme | create | |
|