Did I find the right examples for you? yes no

All Samples(13)  |  Call(12)  |  Derive(1)  |  Import(0)
Base class for warnings about Unicode related problems, mostly
related to conversion problems.

src/r/w/rwet-examples-HEAD/web/bs4/dammit.py   rwet-examples(Download)
                    warnings.warn(
                        UnicodeWarning(
                            "Some characters could not be decoded, and were "
                            "replaced with REPLACEMENT CHARACTER."))
                    self.contains_replacement_characters = True

src/u/n/unicode-nazi-1.1/unicodenazi.py   unicode-nazi(Download)
def warning_encode(input, errors='strict'):
    warnings.warn(UnicodeWarning('Implicit conversion of unicode to str'),
                  stacklevel=2)
    return codecs.ascii_encode(input, errors)
 
 
def warning_decode(input, errors='strict'):
    warnings.warn(UnicodeWarning('Implicit conversion of str to unicode'),

src/o/p/OpenColorado-Tools-and-Utilities-HEAD/Scripts/Harvest/Drcog/bs4/dammit.py   OpenColorado-Tools-and-Utilities(Download)
                    warnings.warn(
                        UnicodeWarning(
                            "Some characters could not be decoded, and were "
                            "replaced with REPLACEMENT CHARACTER."))
                    self.contains_replacement_characters = True

src/f/b/fbfbot-0.2.2/fbf/contrib/bs4/dammit.py   fbfbot(Download)
                    warnings.warn(
                        UnicodeWarning(
                            "Some characters could not be decoded, and were "
                            "replaced with REPLACEMENT CHARACTER."))
                    self.contains_replacement_characters = True

src/g/g/ggzbot-0.1.3/ggz/contrib/bs4/dammit.py   ggzbot(Download)
                    warnings.warn(
                        UnicodeWarning(
                            "Some characters could not be decoded, and were "
                            "replaced with REPLACEMENT CHARACTER."))
                    self.contains_replacement_characters = True

src/j/s/jsb3-0.4.1/jsb3/contrib/bs4/dammit.py   jsb3(Download)
                    warnings.warn(
                        UnicodeWarning(
                            "Some characters could not be decoded, and were "
                            "replaced with REPLACEMENT CHARACTER."))
                    self.contains_replacement_characters = True

src/t/l/tl-0.5/tl/contrib/bs4/dammit.py   tl(Download)
                    warnings.warn(
                        UnicodeWarning(
                            "Some characters could not be decoded, and were "
                            "replaced with REPLACEMENT CHARACTER."))
                    self.contains_replacement_characters = True

src/m/y/mylar-HEAD/bs4/dammit.py   mylar(Download)
                    warnings.warn(
                        UnicodeWarning(
                            "Some characters could not be decoded, and were "
                            "replaced with REPLACEMENT CHARACTER."))
                    self.contains_replacement_characters = True

src/p/y/pyssy-HEAD/bs4/dammit.py   pyssy(Download)
                    warnings.warn(
                        UnicodeWarning(
                            "Some characters could not be decoded, and were "
                            "replaced with REPLACEMENT CHARACTER."))
                    self.contains_replacement_characters = True

src/m/y/mysql-utilities-HEAD/bs4/dammit.py   mysql-utilities(Download)
                    warnings.warn(
                        UnicodeWarning(
                            "Some characters could not be decoded, and were "
                            "replaced with REPLACEMENT CHARACTER."))
                    self.contains_replacement_characters = True

  1 | 2  Next