a 97aC @s2ddlmZddlZddlmZmZmZer:ddlmZn ddl mZerddl Z ddl mZddZ ddl m Zdd Zd d Zdd lmZd dZeZddlmZe ZeZeZnVddlZddlmZej Z ejZejZejZejZejZejZejZejZejZejZerdddZer*gdZngZdS))unicode_literalsN)PY2PY3exec_)MappingcOs||i|S)N)fargskwrrm/private/var/folders/s6/9n5zrl012gv99k63s4q6ccsd4s6mqz/T/pip-target-f5cq3f2q/lib/python/past/builtins/misc.pyapplysr )strcCstt|fS)zU Return a byte-string of one character with ordinal i; 0 <= i <= 256 )oldstrbytes)irrr chrsrcCs||k||kS)zf cmp(x, y) -> integer Return negative if xy. r)xyrrr cmpsr)interncCsdt|ddS)zUoct(number) -> string Return the octal representation of an integer 0N)builtinsoct)numberrrr r%sr)reloadcCs|dur*td}|dj}|dj}n |dur6|}t|tsHtdt|tsZtdt|d}|}Wdn1s0Yt ||d}t |||dS)z Read and execute a Python script from a file in the given namespaces. The globals and locals are dictionaries, defaulting to the current globals and locals. If only globals is given, locals defaults to it. Nrzglobals must be a mappingzlocals must be a mappingrbexec) inspectstack f_globalsf_locals isinstancer TypeErroropenreadcompiler)filenameZ myglobalsZmylocalsZ caller_frameZfinsourcecoderrr execfileBs      & r+) r rrr+r raw_inputrunichrunicodexrange)NN) __future__rrZ future.utilsrrr collectionsrcollections.abcrr Z past.builtinsr rrrsysrrinputr,imprr.r-ranger/ __builtin__r+__all__rrrr sJ