U „á§\²ã@sÄddlZejddkZerbddlZeZ ddl Z e e fZ eeefZeefZdd„Zdd„ZedƒnNddlmZddl Z e Z e fZ eefZefZdd„Zd d „Zd d„Zdd d „Zdd„Zdd„ZdS)éNécCs| ¡S©N)Ú iteritems©Úx©rúC/opt/alt/python38/lib/python3.8/site-packages/sentry_sdk/_compat.pyÚór cCs|j|_dd„|_|S)NcSst|ƒ d¡S)Nzutf-8)ÚunicodeÚencoderrrrr r z implements_str..)Ú__str__Ú __unicode__)ÚclsrrrÚimplements_strs rz5def reraise(tp, value, tb=None): raise tp, value, tbcCs| ¡Sr)Úitemsrrrrr 'r cCs|SrrrrrrÚ _identity)srcCs|Srrrrrrr,scCs(|dk s t‚|j|k r | |¡‚|‚dSr)ÚAssertionErrorÚ __traceback__Úwith_traceback)ÚtpÚvalueÚtbrrrÚreraise/s   rcs&G‡‡fdd„dtƒ}t |ddi¡S)NcseZdZ‡‡fdd„ZdS)z!with_metaclass..metaclasscs ˆ|ˆ|ƒSrr)rÚnameÚ this_basesÚd©ÚbasesÚmetarrÚ__new__9sz)with_metaclass..metaclass.__new__N)Ú__name__Ú __module__Ú __qualname__r rrrrÚ metaclass8sr$Útemporary_classr)Útyper )rrr$rrrÚwith_metaclass7sr'cCshzddlm}Wntk r&YdSXd|kr4dSt| dd¡ƒ ¡dkrdddlm}|tdƒƒdS) Nr)ÚoptÚthreadszenable-threadsÚ0)ÚfalseÚoffÚnor*)Úwarnz¾We detected the use of uwsgi with disabled threads. This will cause issues with the transport you are trying to use. Please enable threading for uwsgi. (Enable the "enable-threads" flag).) Zuwsgir(Ú ImportErrorÚstrÚgetÚlowerÚwarningsr.ÚWarning)r(r.rrrÚcheck_thread_support?s ÿÿr5)N)ÚsysÚOptionalZTupleZAnyZTypeÚ version_infoÚPY2Úurlparser Ú text_typeZQueueÚqueuer0Ú string_typesÚintÚlongÚfloatZ number_typesZ int_typesrrÚexecÚ urllib.parseÚparserrr'r5rrrrÚs.