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

All Samples(34)  |  Call(21)  |  Derive(0)  |  Import(13)

src/x/b/xbmctorrent-HEAD/resources/site-packages/bencode/__init__.py   xbmctorrent(Download)
# Written by Petru Paler
 
from BTL import BTFailure
 
 
def bdecode(x):
    try:
        r, l = decode_func[x[0]](x, 0)
    except (IndexError, KeyError, ValueError):
        raise BTFailure("not a valid bencoded string")
    if l != len(x):
        raise BTFailure("invalid bencoded value (data after valid prefix)")

src/w/h/whoperator-HEAD/whoperator/libs/bencode/__init__.py   whoperator(Download)
# Written by Petru Paler
 
from BTL import BTFailure
 
 
def bdecode(x):
    try:
        r, l = decode_func[x[0]](x, 0)
    except (IndexError, KeyError, ValueError):
        raise BTFailure("not a valid bencoded string")
    if l != len(x):
        raise BTFailure("invalid bencoded value (data after valid prefix)")

src/c/o/CouchPotatoServer-HEAD/libs/bencode/__init__.py   CouchPotatoServer(Download)
# Written by Petru Paler
 
from BTL import BTFailure
 
 
def bdecode(x):
    try:
        r, l = decode_func[x[0]](x, 0)
    except (IndexError, KeyError, ValueError):
        raise BTFailure("not a valid bencoded string")
    if l != len(x):
        raise BTFailure("invalid bencoded value (data after valid prefix)")

src/b/e/bencode-1.0/bencode/__init__.py   bencode(Download)
# Written by Petru Paler
 
from BTL import BTFailure
 
 
def bdecode(x):
    try:
        r, l = decode_func[x[0]](x, 0)
    except (IndexError, KeyError, ValueError):
        raise BTFailure("not a valid bencoded string")
    if l != len(x):
        raise BTFailure("invalid bencoded value (data after valid prefix)")

src/b/e/bencode-HEAD/bencode/__init__.py   bencode(Download)
# Written by Petru Paler
 
from BTL import BTFailure
 
 
def bdecode(x):
    try:
        r, l = decode_func[x[0]](x, 0)
    except (IndexError, KeyError, ValueError):
        raise BTFailure("not a valid bencoded string")
    if l != len(x):
        raise BTFailure("invalid bencoded value (data after valid prefix)")

src/b/a/baidupcsapi-HEAD/baidupcsapi/bencode.py   baidupcsapi(Download)
# Written by Petru Paler
 
from BTL import BTFailure
 
 
def bdecode(x):
    try:
        r, l = decode_func[x[0]](x, 0)
    except (IndexError, KeyError, ValueError):
        raise BTFailure("not a valid bencoded string")
    if l != len(x):
        raise BTFailure("invalid bencoded value (data after valid prefix)")

src/b/i/BitTorrent-bencode-5.0.8.1/bencode.py   BitTorrent-bencode(Download)
# Written by Petru Paler
 
from BTL import BTFailure
 
 
def bdecode(x):
    try:
        r, l = decode_func[x[0]](x, 0)
    except (IndexError, KeyError, ValueError):
        raise BTFailure("not a valid bencoded string")
    if l != len(x):
        raise BTFailure("invalid bencoded value (data after valid prefix)")

src/l/i/lightdht-HEAD/bencode.py   lightdht(Download)
# Written by Petru Paler
 
from BTL import BTFailure
 
 
def bdecode(x):
    try:
        r, l = decode_func[x[0]](x, 0)
    except (IndexError, KeyError, ValueError):
        raise BTFailure("not a valid bencoded string")
    if l != len(x):
        raise BTFailure("invalid bencoded value (data after valid prefix)")

src/t/o/torrent2magnet-HEAD/bencode.py   torrent2magnet(Download)
# Written by Petru Paler
 
from BTL import BTFailure
 
 
def bdecode(x):
    try:
        r, l = decode_func[x[0]](x, 0)
    except (IndexError, KeyError, ValueError):
        raise BTFailure("not a valid bencoded string")
    if l != len(x):
        raise BTFailure("invalid bencoded value (data after valid prefix)")

src/b/i/BitTorrent-bencode-HEAD/bencode.py   BitTorrent-bencode(Download)
# Written by Petru Paler
 
from BTL import BTFailure
 
 
def bdecode(x):
    try:
        r, l = decode_func[x[0]](x, 0)
    except (IndexError, KeyError, ValueError):
        raise BTFailure("not a valid bencoded string")
    if l != len(x):
        raise BTFailure("invalid bencoded value (data after valid prefix)")

  1 | 2  Next