InternationalPhoneNumber

"Stéphane Raimbault" <[email protected]> Thu, 16 Oct 2008 12:55:36 +0200
Newsgroups gmane.comp.python.formencode
Message-ID <[email protected]>
In France, the regional code is 33 (+33) so when I enter an French phone
number with 10 digits, this test must be valid :
>>> c = InternationalPhoneNumber(default_cc=33)
>>> c.to_python('02 43 92 34 18')
'+33-243923418'

What do you think about this test?

The associated message says:
Please enter a number, with area code, in the form +##-###-#######.

but it doesn't match the French format +## ## ## ## ## ## or +##-##########

How I can run the doctests of FormEncode?

Stephane

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

_______________________________________________
FormEncode-discuss mailing list
FormEncode-discuss-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/formencode-discuss