News for hackers. Stuff that matters.
Re:Useful Python Libraries for Startups by GFK_of_xmaspast on Tuesday June 30, 2015 @04:25PM (#9808203)
Why is "222-222-2222" not a valid phone number?
Re:Useful Python Libraries for Startups by bdarnell on Tuesday June 30, 2015 @04:29PM (#9808223)
The phone numbers library isn't just counting digits; it has a database of which area codes exist (as well as other lesser-known rules, depending on the country). This makes it more effective at filtering out invalid/fake phone numbers, but it does mean you need to stay on top of the latest version as its database changes over time.