You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to RFC 1035, domain label cannot start or end in hyphen. Validation on email addresses such as email("andy-noble@data-workshop.-com") should throw a ValidationFailure while the function currently returns True.
Activity
devikasondhi commentedon Apr 11, 2020
Here is another inconsistency with the specs.:
Email can't end with a dot:
"andy.noble@data-workshop.com."should be flagged as invalid emailkvesteri commentedon Apr 13, 2020
PRs welcome
maint: improves `email` module
maint: improves `email` module
maint: improves `email` module