Did I find the right examples for you? yes no

All Samples(1344)  |  Call(1326)  |  Derive(18)  |  Import(0)
Unicode related error.

src/p/y/pydroid-HEAD/src/pydroid/framework/project_skeleton/libs/python27/lib/python2.7/encodings/idna.py   pydroid(Download)
           stringprep.in_table_c8(c) or \
           stringprep.in_table_c9(c):
            raise UnicodeError("Invalid character %r" % c)
 
    # Check bidi
            # MUST NOT contain any LCat character.
            if filter(stringprep.in_table_d2, label):
                raise UnicodeError("Violation of BIDI requirement 2")
 
            # 3) If a string contains any RandALCat character, a
            # RandALCat character MUST be the first character of the
            # string, and a RandALCat character MUST be the last
            # character of the string.
            if not RandAL[0] or not RandAL[-1]:
                raise UnicodeError("Violation of BIDI requirement 3")
        if 0 < len(label) < 64:
            return label
        raise UnicodeError("label empty or too long")
 
    # Step 2: nameprep
        if 0 < len(label) < 64:
            return label
        raise UnicodeError("label empty or too long")
 
    # Step 5: Check ACE prefix

src/m/a/main-HEAD/External.LCA_RESTRICTED/Languages/IronPython/27/Lib/encodings/idna.py   main(Download)
           stringprep.in_table_c8(c) or \
           stringprep.in_table_c9(c):
            raise UnicodeError("Invalid character %r" % c)
 
    # Check bidi
            # MUST NOT contain any LCat character.
            if filter(stringprep.in_table_d2, label):
                raise UnicodeError("Violation of BIDI requirement 2")
 
            # 3) If a string contains any RandALCat character, a
            # RandALCat character MUST be the first character of the
            # string, and a RandALCat character MUST be the last
            # character of the string.
            if not RandAL[0] or not RandAL[-1]:
                raise UnicodeError("Violation of BIDI requirement 3")
        if 0 < len(label) < 64:
            return label
        raise UnicodeError("label empty or too long")
 
    # Step 2: nameprep
        if 0 < len(label) < 64:
            return label
        raise UnicodeError("label empty or too long")
 
    # Step 5: Check ACE prefix

src/m/a/main-HEAD/External.LCA_RESTRICTED/Languages/CPython/27/Lib/encodings/idna.py   main(Download)
           stringprep.in_table_c8(c) or \
           stringprep.in_table_c9(c):
            raise UnicodeError("Invalid character %r" % c)
 
    # Check bidi
            # MUST NOT contain any LCat character.
            if filter(stringprep.in_table_d2, label):
                raise UnicodeError("Violation of BIDI requirement 2")
 
            # 3) If a string contains any RandALCat character, a
            # RandALCat character MUST be the first character of the
            # string, and a RandALCat character MUST be the last
            # character of the string.
            if not RandAL[0] or not RandAL[-1]:
                raise UnicodeError("Violation of BIDI requirement 3")
        if 0 < len(label) < 64:
            return label
        raise UnicodeError("label empty or too long")
 
    # Step 2: nameprep
        if 0 < len(label) < 64:
            return label
        raise UnicodeError("label empty or too long")
 
    # Step 5: Check ACE prefix

src/l/o/LODGrefine-HEAD/lod2-google-refine/extensions/jython/module/MOD-INF/lib/jython/encodings/idna.py   LODGrefine(Download)
           stringprep.in_table_c8(c) or \
           stringprep.in_table_c9(c):
            raise UnicodeError("Invalid character %r" % c)
 
    # Check bidi
            # MUST NOT contain any LCat character.
            if filter(stringprep.in_table_d2, label):
                raise UnicodeError("Violation of BIDI requirement 2")
 
            # 3) If a string contains any RandALCat character, a
            # RandALCat character MUST be the first character of the
            # string, and a RandALCat character MUST be the last
            # character of the string.
            if not RandAL[0] or not RandAL[-1]:
                raise UnicodeError("Violation of BIDI requirement 3")
        if 0 < len(label) < 64:
            return label
        raise UnicodeError("label empty or too long")
 
    # Step 2: nameprep
        if 0 < len(label) < 64:
            return label
        raise UnicodeError("label empty or too long")
 
    # Step 5: Check ACE prefix

src/p/l/plexnet-HEAD/third_party/generic/pypy/lib-python/modified-2.5.2/encodings/idna.py   plexnet(Download)
           stringprep.in_table_c8(c) or \
           stringprep.in_table_c9(c):
            raise UnicodeError("Invalid character %r" % c)
 
    # Check bidi
            # MUST NOT contain any LCat character.
            if filter(stringprep.in_table_d2, label):
                raise UnicodeError("Violation of BIDI requirement 2")
 
            # 3) If a string contains any RandALCat character, a
            # RandALCat character MUST be the first character of the
            # string, and a RandALCat character MUST be the last
            # character of the string.
            if not RandAL[0] or not RandAL[-1]:
                raise UnicodeError("Violation of BIDI requirement 3")
        if 0 < len(label) < 64:
            return label
        raise UnicodeError("label empty or too long")
 
    # Step 2: nameprep
        if 0 < len(label) < 64:
            return label
        raise UnicodeError("label empty or too long")
 
    # Step 5: Check ACE prefix

src/p/l/plexnet-HEAD/third_party/generic/pypy/lib-python/2.5.2/encodings/idna.py   plexnet(Download)
           stringprep.in_table_c8(c) or \
           stringprep.in_table_c9(c):
            raise UnicodeError("Invalid character %r" % c)
 
    # Check bidi
            # MUST NOT contain any LCat character.
            if filter(stringprep.in_table_d2, label):
                raise UnicodeError("Violation of BIDI requirement 2")
 
            # 3) If a string contains any RandALCat character, a
            # RandALCat character MUST be the first character of the
            # string, and a RandALCat character MUST be the last
            # character of the string.
            if not RandAL[0] or not RandAL[-1]:
                raise UnicodeError("Violation of BIDI requirement 3")
        if 0 < len(label) < 64:
            return label
        raise UnicodeError("label empty or too long")
 
    # Step 2: nameprep
        if 0 < len(label) < 64:
            return label
        raise UnicodeError("label empty or too long")
 
    # Step 5: Check ACE prefix

src/s/a/SASM-HEAD/Windows/NASM/MinGW64/opt/lib/python2.7/encodings/idna.py   SASM(Download)
           stringprep.in_table_c8(c) or \
           stringprep.in_table_c9(c):
            raise UnicodeError("Invalid character %r" % c)
 
    # Check bidi
            # MUST NOT contain any LCat character.
            if filter(stringprep.in_table_d2, label):
                raise UnicodeError("Violation of BIDI requirement 2")
 
            # 3) If a string contains any RandALCat character, a
            # RandALCat character MUST be the first character of the
            # string, and a RandALCat character MUST be the last
            # character of the string.
            if not RandAL[0] or not RandAL[-1]:
                raise UnicodeError("Violation of BIDI requirement 3")
        if 0 < len(label) < 64:
            return label
        raise UnicodeError("label empty or too long")
 
    # Step 2: nameprep
        if 0 < len(label) < 64:
            return label
        raise UnicodeError("label empty or too long")
 
    # Step 5: Check ACE prefix

src/o/p/openvault-core-HEAD/hydra-jetty/webapps/media/WEB-INF/lib/Lib/encodings/idna.py   openvault-core(Download)
           stringprep.in_table_c8(c) or \
           stringprep.in_table_c9(c):
            raise UnicodeError("Invalid character %r" % c)
 
    # Check bidi
            # MUST NOT contain any LCat character.
            if filter(stringprep.in_table_d2, label):
                raise UnicodeError("Violation of BIDI requirement 2")
 
            # 3) If a string contains any RandALCat character, a
            # RandALCat character MUST be the first character of the
            # string, and a RandALCat character MUST be the last
            # character of the string.
            if not RandAL[0] or not RandAL[-1]:
                raise UnicodeError("Violation of BIDI requirement 3")
        if 0 < len(label) < 64:
            return label
        raise UnicodeError("label empty or too long")
 
    # Step 2: nameprep
        if 0 < len(label) < 64:
            return label
        raise UnicodeError("label empty or too long")
 
    # Step 5: Check ACE prefix

src/t/r/TrustRouter-HEAD/client/packaging/Windows/Python32/Lib/encodings/idna.py   TrustRouter(Download)
           stringprep.in_table_c8(c) or \
           stringprep.in_table_c9(c):
            raise UnicodeError("Invalid character %r" % c)
 
    # Check bidi
            # MUST NOT contain any LCat character.
            if any(stringprep.in_table_d2(x) for x in label):
                raise UnicodeError("Violation of BIDI requirement 2")
 
            # 3) If a string contains any RandALCat character, a
            # RandALCat character MUST be the first character of the
            # string, and a RandALCat character MUST be the last
            # character of the string.
            if not RandAL[0] or not RandAL[-1]:
                raise UnicodeError("Violation of BIDI requirement 3")
        if 0 < len(label) < 64:
            return label
        raise UnicodeError("label empty or too long")
 
    # Step 2: nameprep
        if 0 < len(label) < 64:
            return label
        raise UnicodeError("label empty or too long")
 
    # Step 5: Check ACE prefix

src/s/p/Spherebot-Host-GUI-HEAD/InkscapePortable/App/Inkscape/python/Lib/encodings/idna.py   Spherebot-Host-GUI(Download)
           stringprep.in_table_c8(c) or \
           stringprep.in_table_c9(c):
            raise UnicodeError("Invalid character %r" % c)
 
    # Check bidi
            # MUST NOT contain any LCat character.
            if filter(stringprep.in_table_d2, label):
                raise UnicodeError("Violation of BIDI requirement 2")
 
            # 3) If a string contains any RandALCat character, a
            # RandALCat character MUST be the first character of the
            # string, and a RandALCat character MUST be the last
            # character of the string.
            if not RandAL[0] or not RandAL[-1]:
                raise UnicodeError("Violation of BIDI requirement 3")
        if 0 < len(label) < 64:
            return label
        raise UnicodeError("label empty or too long")
 
    # Step 2: nameprep
        if 0 < len(label) < 64:
            return label
        raise UnicodeError("label empty or too long")
 
    # Step 5: Check ACE prefix

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next