Module Expr Str ImportFrom alias alias Import alias ImportFrom alias alias alias alias alias FunctionDef arguments args NameParam defaults body Expr Str Import alias Import alias Return Call NameLoad NameLoad BinOpAdd NameLoad TupleLoad Call NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str NameLoad Str body Expr Str If Call NameLoad NameLoad NameLoad body Return NameLoad If BoolOpAnd NameLoad Call NameLoad NameLoad body Return NameLoad TryExcept body If UnaryOpNot Call NameLoad NameLoad NameLoad body If Call NameLoad NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr orelse If UnaryOpNot NameLoad body If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad orelse Assign NameStore Call NameLoad NameLoad orelse Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad Str attr ListComp Call NameLoad NameLoad NameLoad NameLoad NameLoad comprehension NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias Expr Call AttributeLoad NameLoad attr Str NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Assign NameStore Call NameLoad Call NameLoad NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Assign NameStore Str ExceptHandler type NameLoad body TryExcept body Assign NameStore Call NameLoad Call NameLoad Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Assign NameStore Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Return Call NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str handlers ExceptHandler body Return Call AttributeLoad Call NameLoad NameLoad attr Str decorator_list
N/A N/A 
raven.utils.encoding
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

:copyright: (c) 2010-2012 by the Sentry Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
 __future__ absolute_import unicode_literals N/A warnings raven._compat integer_types text_type binary_type string_types PY2 is_protected_type N/A N/A obj N/A N/A N/A Determine if the object instance is of a protected type.

    Objects of protected types are preserved as-is when passed to
    force_text(strings_only=True).
     N/A Decimal N/A datetime N/A N/A isinstance obj N/A integer_types N/A N/A type None float Decimal N/A datetime datetime N/A datetime date N/A datetime time N/A force_text N/A N/A s encoding strings_only errors N/A utf-8 False strict N/A N/A 
    Similar to smart_text, except that lazy instances are resolved to
    strings, rather than kept as lazy objects.

    If strings_only is True, don't convert (some) non-string-like objects.
     N/A N/A isinstance s text_type N/A N/A s N/A N/A strings_only N/A is_protected_type s N/A N/A s N/A N/A N/A N/A N/A isinstance s string_types N/A N/A N/A hasattr s __unicode__ N/A N/A s N/A N/A s __unicode__ N/A N/A N/A PY2 N/A N/A N/A isinstance s bytes N/A N/A s N/A text_type s encoding errors N/A N/A s N/A text_type s N/A N/A s N/A text_type N/A bytes s encoding errors N/A N/A s N/A N/A s decode encoding errors N/A N/A N/A UnicodeDecodeError N/A e N/A N/A N/A N/A isinstance s Exception N/A N/A N/A UnicodeDecodeError N/A e args N/A N/A s N/A N/A join N/A N/A force_text arg encoding strings_only errors N/A arg s N/A s N/A transform N/A N/A value N/A N/A raven.utils.serializer transform N/A N/A N/A warnings warn You should switch to raven.utils.serializer.transform DeprecationWarning N/A N/A transform value N/A to_unicode N/A N/A value N/A N/A N/A N/A N/A value N/A text_type N/A force_text value N/A N/A N/A N/A UnicodeEncodeError UnicodeDecodeError N/A N/A value (Error decoding value) N/A N/A Exception N/A N/A N/A N/A value N/A binary_type N/A repr N/A type value N/A N/A N/A Exception N/A N/A value (Error decoding value) N/A value N/A to_string N/A N/A value N/A N/A N/A N/A N/A N/A binary_type N/A N/A N/A N/A value decode utf-8 encode utf-8 N/A N/A N/A N/A N/A N/A N/A to_unicode value encode utf-8 N/A