$ the-wire · showcase
EmailValidator gains per-part validation, ASV adds ubuntu-latest
By RepoJournal · Filed · About Django · Composed from the cited sources · methodology
Django's EmailValidator is now subclassable at each stage of address validation, while the ASV benchmark suite picked up ubuntu-latest results with no code changes.
Fixed #36809 -- Allowed customizing EmailValidator per-part validation. django/django
Address parsing and validation are now split into overridable methods (parse_address(), validate(), validate_username(), and validate_domain()), each receiving the full address being validated, and the ValidationError params now carry the failing username or domain so error messages can name the part that broke. Subclasses that previously had to reimplement validate() wholesale can now override...
Fixed #36809 -- Allowed customizing EmailValidator per-part validation. django/django
The same change landed as a pull request against ticket-36809, letting projects customize EmailValidator per part instead of replacing the whole validator.
Results for ubuntu-latest added [skip ci] django/django-asv
by Github Bot
The benchmark runner added ubuntu-latest results, a CI-only addition marked skip ci that changes what django-asv publishes rather than how Django itself runs.