ypcrts / fqdn

RFC-compliant FQDN validation and manipulation for Python.
http://fqdn.readthedocs.io/
Mozilla Public License 2.0
30 stars 11 forks source link

Accept empty string on construction #46

Open shane-kearns opened 7 months ago

shane-kearns commented 7 months ago

The empty string is already treated as invalid by the supplied validators. It was incorrect to raise ValueError on construction since this requires users to pre-validate strings before passing to a validation library.

Fixes #45