lepl.apps.rfc3696.Email() not woking anymore

Asked by Ivan Tadic

Hello,

I have been using this Python3 module (lepl.apps.rfc3696 ) for a while for email syntax validation. It works well with Bionic, but not with Focal anymore !

Example (with python3-lepl installed):

import lepl.apps.rfc3696
email_validator = lepl.apps.rfc3696.Email()
print(email_validator("<email address hidden>"))

=> email syntax is correct => return "True" with Bionic (python 3.6.5-3) , but return "False" with Focale (python 3.8.2-0ubuntu2)

Is this a bug ?

Thank you for your answer

Ivan

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu python-lepl Edit question
Assignee:
No assignee Edit question
Solved by:
Ivan Tadic
Solved:
Last query:
Last reply:
Revision history for this message
Kai Kasurinen (kai-kasurinen) said :
#1

lepl seems broken [1], discontinued and unsupported [2].

[1] "import lepl._test ; lepl._test.all()" -> RuntimeError: generator raised StopIteration
https://docs.python.org/3/whatsnew/3.7.html#changes-in-python-behavior
https://www.python.org/dev/peps/pep-0479/

[2] http://www.acooke.org/lepl/

Revision history for this message
Ivan Tadic (padawan) said :
#2

Thank you very much Kai for your answer !

I will use a regex found here : (answer 2440)
https://stackoverflow.com/questions/201323/how-to-validate-an-email-address-using-a-regular-expression

Revision history for this message
lindamartin (lindamartin0589) said :
#3

lepl seems broken [1], discontinued and unsupported [2].

[1] "import lepl._test ; lepl._test.all()" -> RuntimeError: generator raised StopIteration
https://docs.python.org/3/whatsnew/3.7.html#changes-in-python-behavior
https://www.python.org/dev/peps/pep-0479/

[2] http://www.acooke.org/lepl/
[3] https://cuteplushies.net/
Thank you very much Kai for your answer !
this information best kawaii plushies is very helpful thanks alot!