Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(14)  |  Call(10)  |  Derive(0)  |  Import(4)

src/f/l/flanker-0.4.14/flanker/addresslib/parser.py   flanker(Download)
    def _address_list_relaxed(self):
        "Grammar: address-list-relaxed -> address { delimiter address }"
        #addrs = []
        addrs = flanker.addresslib.address.AddressList()
        unparsable = []
    def _address_list_strict(self):
        "Grammar: address-list-strict -> address { delimiter address }"
        #addrs = []
        addrs = flanker.addresslib.address.AddressList()
 

src/f/l/flanker-HEAD/flanker/addresslib/parser.py   flanker(Download)
    def _address_list_relaxed(self):
        "Grammar: address-list-relaxed -> address { delimiter address }"
        #addrs = []
        addrs = flanker.addresslib.address.AddressList()
        unparsable = []
    def _address_list_strict(self):
        "Grammar: address-list-strict -> address { delimiter address }"
        #addrs = []
        addrs = flanker.addresslib.address.AddressList()
 

src/f/l/flanker-HEAD/tests/addresslib/parser_address_list_test.py   flanker(Download)
 
from flanker.addresslib import address
from flanker.addresslib.address import EmailAddress, AddressList
 
 
def test_simple_invalid():
    s = '''httd://foo.com:8080\r\n; "Ev K." <ev@ host.com>\n "Alex K" alex@ , "Tom, S" "tom+["  a]"@s.com'''
    assert_equal(address.AddressList(), address.parse_list(s))
 
    s = ""
    assert_equal(address.AddressList(), address.parse_list(s))
 
    s = "crap"
    assert_equal(address.AddressList(), address.parse_list(s))

src/f/l/flanker-HEAD/tests/addresslib/address_test.py   flanker(Download)
 
from flanker.addresslib.address import parse, parse_list
from flanker.addresslib.address import Address, AddressList, EmailAddress, UrlAddress
 
 

src/f/l/flanker-0.4.14/tests/addresslib/parser_address_list_test.py   flanker(Download)
 
from flanker.addresslib import address
from flanker.addresslib.address import EmailAddress, AddressList
 
 
def test_simple_invalid():
    s = '''httd://foo.com:8080\r\n; "Ev K." <ev@ host.com>\n "Alex K" alex@ , "Tom, S" "tom+["  a]"@s.com'''
    assert_equal(address.AddressList(), address.parse_list(s))
 
    s = ""
    assert_equal(address.AddressList(), address.parse_list(s))
 
    s = "crap"
    assert_equal(address.AddressList(), address.parse_list(s))

src/f/l/flanker-0.4.14/tests/addresslib/address_test.py   flanker(Download)
 
from flanker.addresslib.address import parse, parse_list
from flanker.addresslib.address import Address, AddressList, EmailAddress, UrlAddress