/snap/core20/2769/usr/lib/python3.8/__pycache__
NameSizeModeActions
abc.cpython-38.pyc53340644editdlrm
aifc.cpython-38.pyc254740644editdlrm
antigravity.cpython-38.pyc7970644editdlrm
argparse.cpython-38.pyc625910644editdlrm
ast.cpython-38.pyc167630644editdlrm
asynchat.cpython-38.pyc68510644editdlrm
asyncore.cpython-38.pyc160280644editdlrm
base64.cpython-38.pyc170710644editdlrm
bdb.cpython-38.pyc249210644editdlrm
binhex.cpython-38.pyc121340644editdlrm
bisect.cpython-38.pyc23540644editdlrm
bz2.cpython-38.pyc114450644editdlrm
calendar.cpython-38.pyc270640644editdlrm
cgi.cpython-38.pyc265440644editdlrm
cgitb.cpython-38.pyc101500644editdlrm
chunk.cpython-38.pyc48390644editdlrm
cmd.cpython-38.pyc126260644editdlrm
code.cpython-38.pyc99130644editdlrm
codecs.cpython-38.pyc339560644editdlrm
codeop.cpython-38.pyc64170644editdlrm
colorsys.cpython-38.pyc32400644editdlrm
compileall.cpython-38.pyc94100644editdlrm
configparser.cpython-38.pyc457180644editdlrm
contextlib.cpython-38.pyc202290644editdlrm
contextvars.cpython-38.pyc2430644editdlrm
copy.cpython-38.pyc69870644editdlrm
copyreg.cpython-38.pyc43180644editdlrm
cProfile.cpython-38.pyc54800644editdlrm
crypt.cpython-38.pyc33870644editdlrm
csv.cpython-38.pyc119100644editdlrm
dataclasses.cpython-38.pyc236530644editdlrm
datetime.cpython-38.pyc571730644editdlrm
decimal.cpython-38.pyc3590644editdlrm
difflib.cpython-38.pyc594380644editdlrm
dis.cpython-38.pyc158080644editdlrm
doctest.cpython-38.pyc759740644editdlrm
dummy_threading.cpython-38.pyc11100644editdlrm
enum.cpython-38.pyc259620644editdlrm
filecmp.cpython-38.pyc84270644editdlrm
fileinput.cpython-38.pyc133730644editdlrm
fnmatch.cpython-38.pyc33550644editdlrm
formatter.cpython-38.pyc175450644editdlrm
fractions.cpython-38.pyc187390644editdlrm
ftplib.cpython-38.pyc280070644editdlrm
functools.cpython-38.pyc279010644editdlrm
genericpath.cpython-38.pyc40010644editdlrm
getopt.cpython-38.pyc62710644editdlrm
getpass.cpython-38.pyc41780644editdlrm
gettext.cpython-38.pyc180000644editdlrm
glob.cpython-38.pyc43430644editdlrm
gzip.cpython-38.pyc181840644editdlrm
hashlib.cpython-38.pyc67270644editdlrm
heapq.cpython-38.pyc140700644editdlrm
hmac.cpython-38.pyc63880644editdlrm
imaplib.cpython-38.pyc414640644editdlrm
imghdr.cpython-38.pyc41180644editdlrm
imp.cpython-38.pyc98090644editdlrm
inspect.cpython-38.pyc805930644editdlrm
io.cpython-38.pyc34540644editdlrm
ipaddress.cpython-38.pyc628290644editdlrm
keyword.cpython-38.pyc9980644editdlrm
linecache.cpython-38.pyc38670644editdlrm
locale.cpython-38.pyc346740644editdlrm
lzma.cpython-38.pyc120180644editdlrm
mailbox.cpython-38.pyc602640644editdlrm
mailcap.cpython-38.pyc72060644editdlrm
mimetypes.cpython-38.pyc160310644editdlrm
modulefinder.cpython-38.pyc161150644editdlrm
netrc.cpython-38.pyc37770644editdlrm
nntplib.cpython-38.pyc339740644editdlrm
ntpath.cpython-38.pyc140910644editdlrm
nturl2path.cpython-38.pyc17440644editdlrm
numbers.cpython-38.pyc122020644editdlrm
opcode.cpython-38.pyc54200644editdlrm
operator.cpython-38.pyc136910644editdlrm
optparse.cpython-38.pyc480570644editdlrm
os.cpython-38.pyc313970644editdlrm
pathlib.cpython-38.pyc442090644editdlrm
pdb.cpython-38.pyc472260644editdlrm
pickle.cpython-38.pyc469080644editdlrm
pickletools.cpython-38.pyc672040644editdlrm
pipes.cpython-38.pyc77950644editdlrm
pkgutil.cpython-38.pyc163090644editdlrm
platform.cpython-38.pyc243260644editdlrm
plistlib.cpython-38.pyc273740644editdlrm
poplib.cpython-38.pyc135560644editdlrm
posixpath.cpython-38.pyc104610644editdlrm
pprint.cpython-38.pyc162810644editdlrm
profile.cpython-38.pyc147580644editdlrm
pstats.cpython-38.pyc220660644editdlrm
pty.cpython-38.pyc39550644editdlrm
pyclbr.cpython-38.pyc104510644editdlrm
pydoc.cpython-38.pyc836460644editdlrm
py_compile.cpython-38.pyc73520644editdlrm
queue.cpython-38.pyc106260644editdlrm
quopri.cpython-38.pyc57480644editdlrm
random.cpython-38.pyc201080644editdlrm
re.cpython-38.pyc144220644editdlrm
reprlib.cpython-38.pyc53030644editdlrm
rlcompleter.cpython-38.pyc57550644editdlrm
runpy.cpython-38.pyc81810644editdlrm
sched.cpython-38.pyc65320644editdlrm
secrets.cpython-38.pyc21900644editdlrm
selectors.cpython-38.pyc169350644editdlrm
shelve.cpython-38.pyc94900644editdlrm
shlex.cpython-38.pyc75360644editdlrm
shutil.cpython-38.pyc372190644editdlrm
signal.cpython-38.pyc28430644editdlrm
site.cpython-38.pyc171680644editdlrm
sitecustomize.cpython-38.pyc2200644editdlrm
smtpd.cpython-38.pyc264630644editdlrm
smtplib.cpython-38.pyc355320644editdlrm
sndhdr.cpython-38.pyc69890644editdlrm
socket.cpython-38.pyc277870644editdlrm
socketserver.cpython-38.pyc253610644editdlrm
sre_compile.cpython-38.pyc151420644editdlrm
sre_constants.cpython-38.pyc63590644editdlrm
sre_parse.cpython-38.pyc216470644editdlrm
ssl.cpython-38.pyc450370644editdlrm
stat.cpython-38.pyc43720644editdlrm
statistics.cpython-38.pyc336530644editdlrm
string.cpython-38.pyc73000644editdlrm
stringprep.cpython-38.pyc110170644editdlrm
struct.cpython-38.pyc3300644editdlrm
subprocess.cpython-38.pyc419670644editdlrm
sunau.cpython-38.pyc170800644editdlrm
symbol.cpython-38.pyc24040644editdlrm
symtable.cpython-38.pyc113220644editdlrm
sysconfig.cpython-38.pyc158370644editdlrm
tabnanny.cpython-38.pyc70300644editdlrm
tarfile.cpython-38.pyc630430644editdlrm
telnetlib.cpython-38.pyc182370644editdlrm
tempfile.cpython-38.pyc266530644editdlrm
textwrap.cpython-38.pyc135190644editdlrm
this.cpython-38.pyc12610644editdlrm
threading.cpython-38.pyc399760644editdlrm
timeit.cpython-38.pyc117770644editdlrm
token.cpython-38.pyc24850644editdlrm
tokenize.cpython-38.pyc171600644editdlrm
trace.cpython-38.pyc200260644editdlrm
traceback.cpython-38.pyc199380644editdlrm
tracemalloc.cpython-38.pyc173630644editdlrm
tty.cpython-38.pyc10760644editdlrm
turtle.cpython-38.pyc1300220644editdlrm
types.cpython-38.pyc91770644editdlrm
typing.cpython-38.pyc624200644editdlrm
uu.cpython-38.pyc36050644editdlrm
uuid.cpython-38.pyc236830644editdlrm
warnings.cpython-38.pyc136520644editdlrm
wave.cpython-38.pyc181490644editdlrm
weakref.cpython-38.pyc195180644editdlrm
webbrowser.cpython-38.pyc171200644editdlrm
xdrlib.cpython-38.pyc82210644editdlrm
zipapp.cpython-38.pyc58540644editdlrm
zipfile.cpython-38.pyc593360644editdlrm
zipimport.cpython-38.pyc172750644editdlrm
_bootlocale.cpython-38.pyc12430644editdlrm
_collections_abc.cpython-38.pyc287410644editdlrm
_compat_pickle.cpython-38.pyc55010644editdlrm
_compression.cpython-38.pyc41460644editdlrm
_dummy_thread.cpython-38.pyc60370644editdlrm
_markupbase.cpython-38.pyc77900644editdlrm
_osx_support.cpython-38.pyc115930644editdlrm
_pydecimal.cpython-38.pyc1607350644editdlrm
_pyio.cpython-38.pyc740790644editdlrm
_py_abc.cpython-38.pyc46700644editdlrm
_sitebuiltins.cpython-38.pyc34810644editdlrm
_strptime.cpython-38.pyc160440644editdlrm
_sysconfigdata__linux_x86_64-linux-gnu.cpython-38.pyc211210644editdlrm
_sysconfigdata__x86_64-linux-gnu.cpython-38.pyc211150644editdlrm
_threading_local.cpython-38.pyc64460644editdlrm
_weakrefset.cpython-38.pyc76000644editdlrm
__future__.cpython-38.pyc41580644editdlrm
__phello__.foo.cpython-38.pyc1270644editdlrm
Edit: /snap/core20/2769/usr/lib/python3.8/__pycache__/bdb.cpython-38.pyc (24921B)
U yi8}@sdZddlZddlZddlZddlmZmZmZdddgZeeBeBZ Gddde Z GdddZ d d Z Gd ddZd d ZddZGddde ZddZddZddZdS)zDebugger basicsN) CO_GENERATOR CO_COROUTINECO_ASYNC_GENERATORBdbQuitBdb Breakpointc@seZdZdZdS)rz Exception to give up completely.N)__name__ __module__ __qualname____doc__r r /usr/lib/python3.8/bdb.pyr sc@sveZdZdZd[ddZddZddZd d Zd d Zd dZ ddZ ddZ ddZ ddZ ddZddZddZddZdd Zd!d"Zd#d$Zd\d&d'Zd]d(d)Zd*d+Zd,d-Zd.d/Zd^d0d1Zd2d3Zd4d5Zd_d7d8Zd9d:Zd;d<Zd=d>Z d?d@Z!dAdBZ"dCdDZ#dEdFZ$dGdHZ%dIdJZ&dKdLZ'dMdNZ(d`dPdQZ)dadRdSZ*dbdTdUZ+dVdWZ,dXdYZ-dZe-_.dS)craGeneric Python debugger base class. This class takes care of details of the trace facility; a derived class should implement user interaction. The standard debugger class (pdb.Pdb) is an example. The optional skip argument must be an iterable of glob-style module name patterns. The debugger will not step into frames that originate in a module that matches one of these patterns. Whether a frame is considered to originate in a certain module is determined by the __name__ in the frame globals. NcCs(|r t|nd|_i|_i|_d|_dS)N)setskipbreaksfncacheframe_returning)selfrr r r __init__sz Bdb.__init__cCsR|d|dddkr|S|j|}|sNtj|}tj|}||j|<|S)a%Return canonical form of filename. For real filenames, the canonical form is a case-normalized (on case insensitive filesystems) absolute path. 'Filenames' with angle brackets, such as "", generated in interactive mode, are returned unchanged. <>)rgetospathabspathnormcase)rfilenamecanonicr r r r%s    z Bdb.canoniccCs&ddl}|d|_|dddS)z5Set values of attributes as ready to start debugging.rN) linecache checkcachebotframe _set_stopinfo)rr r r r reset6sz Bdb.resetcCs|jr dS|dkr||S|dkr0|||S|dkrD|||S|dkrX|||S|dkrf|jS|dkrt|jS|dkr|jStd t||jS) aODispatch a trace function for debugged frames based on the event. This function is installed as the trace function for debugged frames. Its return value is the new trace function, which is usually itself. The default implementation decides how to dispatch a frame, depending on the type of event (passed in as a string) that is about to be executed. The event can be one of the following: line: A new line of code is going to be executed. call: A function is about to be called or another code block is entered. return: A function or other code block is about to return. exception: An exception has occurred. c_call: A C function is about to be called. c_return: A C function has returned. c_exception: A C function has raised an exception. For the Python events, specialized functions (see the dispatch_*() methods) are called. For the C events, no action is taken. The arg parameter depends on the previous event. NlineZcallreturnZ exceptionZc_callZ c_exceptionZc_returnz*bdb.Bdb.dispatch: unknown debugging event:)quitting dispatch_line dispatch_calldispatch_returndispatch_exceptiontrace_dispatchprintrepr)rframeZeventargr r r r,=s$    zBdb.trace_dispatchcCs.||s||r(|||jr(t|jS)a Invoke user function and return trace function for line event. If the debugger stops on the current line, invoke self.user_line(). Raise BdbQuit if self.quitting is set. Return self.trace_dispatch to continue tracing in this scope. ) stop_here break_here user_liner'rr,rr/r r r r(hs  zBdb.dispatch_linecCsd|jdkr|j|_|jS||s0||s0dS|jrH|jjt@rH|jS| |||j r^t |jS)a Invoke user function and return trace function for call event. If the debugger stops on this function call, invoke self.user_call(). Raise BbdQuit if self.quitting is set. Return self.trace_dispatch to continue tracing in this scope. N) r"f_backr,r1break_anywhere stopframef_codeco_flagsGENERATOR_AND_COROUTINE_FLAGS user_callr'rrr/r0r r r r)ts  zBdb.dispatch_callcCs|||s||jkrv|jr,|jjt@r,|jSz||_|||W5d|_X|j rVt |j|krv|j dkrv| dd|jS)aInvoke user function and return trace function for return event. If the debugger stops on this function return, invoke self.user_return(). Raise BdbQuit if self.quitting is set. Return self.trace_dispatch to continue tracing in this scope. Nr) r1 returnframer7r8r9r:r,r user_returnr'r stoplinenor#r<r r r r*s zBdb.dispatch_returncCs||rF|jjt@r.|dtkr.|ddks||||jrtnD|jr||jk r|jjjt@r|dtt fkr||||jrt|j S)aInvoke user function and return trace function for exception event. If the debugger stops on this exception, invoke self.user_exception(). Raise BdbQuit if self.quitting is set. Return self.trace_dispatch to continue tracing in this scope. rN) r1r8r9r: StopIterationuser_exceptionr'rr7 GeneratorExitr,r<r r r r+s$       zBdb.dispatch_exceptioncCs.|dkr dS|jD]}t||rdSqdS)z4Return True if module_name matches any skip pattern.NFT)rfnmatch)rZ module_namepatternr r r is_skipped_modules   zBdb.is_skipped_modulecCsN|jr||jdrdS||jkr@|jdkr4dS|j|jkS|jsJdSdS)z>Return True if frame is below the starting frame in the stack.rFrT)rrF f_globalsrr7r?f_linenor4r r r r1s   z Bdb.stop_herecCs||jj}||jkrdS|j}||j|krJ|jj}||j|krJdSt|||\}}|r|j|_|r|j r| t |jdSdSdS)zReturn True if there is an effective breakpoint for this line. Check for line or function breakpoint and if in effect. Delete temporary breakpoints if effective() says to. FTN) rr8 co_filenamerrHco_firstlineno effectivenumberZ currentbp temporarydo_clearstr)rr/rlinenobpflagr r r r2s  zBdb.break_herecCs tddS)zlRemove temporary breakpoint. Must implement in derived classes or get NotImplementedError. z)subclass of bdb must implement do_clear()N)NotImplementedError)rr0r r r rNsz Bdb.do_clearcCs||jj|jkS)zEReturn True if there is any breakpoint for frame's filename. )rr8rIrr4r r r r6szBdb.break_anywherecCsdS)z&Called if we might stop in a function.Nr )rr/Z argument_listr r r r;sz Bdb.user_callcCsdS)z'Called when we stop or break at a line.Nr r4r r r r3sz Bdb.user_linecCsdS)z&Called when a return trap is set here.Nr )rr/Z return_valuer r r r> szBdb.user_returncCsdS)z$Called when we stop on an exception.Nr )rr/exc_infor r r rB szBdb.user_exceptionrcCs||_||_d|_||_dS)zSet the attributes for stopping. If stoplineno is greater than or equal to 0, then stop at line greater than or equal to the stopline. If stoplineno is -1, then don't stop at all. FN)r7r=r'r?)rr7r=r?r r r r#szBdb._set_stopinfocCs$|dkr|jd}||||dS)zxStop when the line with the lineno greater than the current one is reached or when returning from current frame.Nr)rHr#)rr/rPr r r set_until"s z Bdb.set_untilcCs0|jr |jj}|r |js |j|_|dddS)zStop after one line of code.N)rr5f_tracer,r#)rZ caller_framer r r set_step*s  z Bdb.set_stepcCs||ddS)z2Stop on the next line in or below the given frame.N)r#r4r r r set_next6sz Bdb.set_nextcCs.|jjt@r||ddn||j|dS)z)Stop when returning from the given frame.Nr)r8r9r:r#r5r4r r r set_return:s zBdb.set_returncCsL|dkrtj}||r4|j|_||_|j}q|t|jdS)znStart debugging from frame. If frame is not specified, debugging starts from caller's frame. N) sys _getframer5r$r,rVr"rWsettracer4r r r set_traceAs z Bdb.set_tracecCsH||jdd|jsDtdtj}|rD||jk rD|`|j}q*dS)zStop only at breakpoints or when finished. If there are no breakpoints, set the system trace function to None. Nr)r#r"rrZr\r[r5rVr4r r r set_continuePs  zBdb.set_continuecCs"|j|_d|_d|_tddS)zuSet quitting attribute to True. Raises BdbQuit exception in the next call to a dispatch_*() method. NT)r"r7r=r'rZr\rr r r set_quit_sz Bdb.set_quitFc Csb||}ddl}|||}|s.d||fS|j|g}||krN||t|||||} dS)zSet a new breakpoint for filename:lineno. If lineno doesn't exist for the filename, return an error message. The filename should be in canonical form. rNzLine %s:%d does not exist)rr getliner setdefaultappendr) rrrPrMcondfuncnamer r%listrQr r r set_breakps    z Bdb.set_breakcCs4||ftjkr|j|||j|s0|j|=dS)aPrune breakpoints for filename:lineno. A list of breakpoints is maintained in the Bdb instance and in the Breakpoint class. If a breakpoint in the Bdb instance no longer exists in the Breakpoint class, then it's removed from the Bdb instance. N)rbplistrremoverrrPr r r _prune_breakss zBdb._prune_breakscCsj||}||jkrd|S||j|kr6d||fStj||fddD] }|qL|||dS)znDelete breakpoints for filename:lineno. If no breakpoints were set, return an error message. There are no breakpoints in %szThere is no breakpoint at %s:%dN)rrrrhdeleteMerk)rrrPrQr r r clear_breaks     zBdb.clear_breakc CsZz||}Wn.tk r<}zt|WYSd}~XYnX|||j|jdS)zxDelete a breakpoint by its index in Breakpoint.bpbynumber. If arg is invalid, return an error message. N)get_bpbynumber ValueErrorrOrmrkfiler%)rr0rQerrr r r clear_bpbynumberszBdb.clear_bpbynumbercCsX||}||jkrd|S|j|D]$}tj||f}|D] }|q', the input arguments, the return value, and the line of code (if it exists). rNz%s(%r)zz()Z __return__z->) r reprlibrr8rIco_namef_localsr.rarGstrip) rZ frame_linenoZlprefixr rr/rPrsrvr%r r r format_stack_entrys    zBdb.format_stack_entryc Cs|dkrddl}|j}|dkr"|}|t|tr@t|dd}t|jz*zt |||Wnt k rrYnXW5d|_ tdXdS)zDebug a statement executed via the exec() function. globals defaults to __main__.dict; locals defaults to globals. NrzexecT) __main____dict__r$ isinstancerOcompilerZr\r,r'rr)rcmdglobalslocalsrr r r run5s    zBdb.runc Csz|dkrddl}|j}|dkr"|}|t|jz,zt|||WWStk r^YnXW5d|_tdXdS)zDebug an expression executed via the eval() function. globals defaults to __main__.dict; locals defaults to globals. NrT) rrr$rZr\r,r'evalr)rexprrrrr r r runevalKs  z Bdb.runevalcCs||||dS)z.For backwards-compatibility. Defers to run().N)r)rrrrr r r runctx_sz Bdb.runctxc Ost|dkr|^}}}nV|s&tdnHd|krZ|d}|^}}ddl}|jdtddntdt|d |t|j d}z(z|||}Wnt k rYnXW5d |_ tdX|S) zWDebug a single function call. Return the result of the function call. r@z6descriptor 'runcall' of 'Bdb' object needs an argumentfuncrNz0Passing 'func' as keyword argument is deprecated) stacklevelz7runcall expected at least 1 positional argument, got %drT) r TypeErrorpopwarningswarnDeprecationWarningr$rZr\r,r'r)argskwdsrrrresr r r runcallfs2        z Bdb.runcallz($self, func, /, *args, **kwds))N)r)N)N)FNN)r)NN)NN)/rr r r rrr$r,r(r)r*r+rFr1r2rNr6r;r3r>rBr#rUrWrXrYr]r^r`rgrkrnrsrtrvrorzr{r|r}rrrrrr__text_signature__r r r r rs\ +               cCstdS)z|j|jf}d|j|j<|j|||j|s:|j|=dS)zDelete the breakpoint from the list associated to a file:line. If it is the last breakpoint in that position, it also deletes the entry for the file:line. N)rqr%rurLrhri)rindexr r r rms    zBreakpoint.deleteMecCs d|_dS)zMark the breakpoint as enabled.TNrr_r r r enableszBreakpoint.enablecCs d|_dS)z Mark the breakpoint as disabled.FNrr_r r r disableszBreakpoint.disablecCs"|dkrtj}t||ddS)zPrint the output of bpformat(). The optional out argument directs where the output is sent and defaults to standard output. N)rq)rZstdoutr-bpformat)routr r r bpprintszBreakpoint.bpprintcCs|jr d}nd}|jr |d}n|d}d|j||j|jf}|jrT|d|jf7}|jrj|d|jf7}|jr|jdkrd }nd }|d |j|f7}|S) zReturn a string with information about the breakpoint. The information includes the breakpoint number, temporary status, file:line position, break condition, number of times to ignore, and number of times hit. zdel zkeep zyes zno z%-4dbreakpoint %s at %s:%dz stop only if %sz ignore next %d hitsrrz" breakpoint already hit %d time%s)rMrrLrqr%rdrr)rZdispZretZssr r r rs(  zBreakpoint.bpformatcCsd|j|j|jfS)z1Return a condensed description of the breakpoint.zbreakpoint %s at %s:%s)rLrqr%r_r r r __str__szBreakpoint.__str__)FNN)N)rr r r rrhrurrmrrrrrr r r r rs  cCsN|js|j|jkrdSdS|jj|jkr,dS|js:|j|_|j|jkrJdSdS)aVReturn True if break should happen here. Whether a break should happen depends on the way that b (the breakpoint) was set. If it was set via line number, check if b.line is the same as the one in the frame. If it was set via function name, check if this is the right function and if it is on the first executable line. FT)rer%rHr8rr)br/r r r checkfuncnames  rcCstj||f}|D]}|jsqt||s*q|jd7_|jsh|jdkrZ|jd8_qq|dfSqzBt|j|j|j }|r|jdkr|jd8_n|dfWSWq|dfYSXqdS)aEDetermine which breakpoint for this file:line is to be acted upon. Called only if we know there is a breakpoint at this location. Return the breakpoint that was triggered and a boolean that indicates if it is ok to delete a temporary breakpoint. Return (None, None) if there is no matching breakpoint. rrTF)NN) rrhrrrrdrrrGr)rqr%r/Z possiblesrvalr r r rK#s*   rKc@s,eZdZddZddZddZddZd S) TdbcCs |jj}|sd}td||dS)N???z+++ call)r8rr-)rr/rnamer r r r;Tsz Tdb.user_callcCsTddl}|jj}|sd}||jj}|||j|j}td||j|d| dS)Nrrz+++:) r r8rrrIrarHrGr-r)rr/r rfnr%r r r r3Xsz Tdb.user_linecCstd|dS)Nz +++ returnr-)rr/Zretvalr r r r>_szTdb.user_returncCstd||dS)Nz +++ exception)r-r^)rr/Z exc_stuffr r r rBas zTdb.user_exceptionN)rr r r;r3r>rBr r r r rSsrcCs&td|dt|d}td|dS)Nzfoo() z bar returned)r-bar)nxr r r fooes  rcCstd|d|dS)Nzbar(rr@r)ar r r rjs rcCst}|ddS)Nzimport bdb; bdb.foo(10))rr)rr r r testnsr)r rDrZrinspectrrr__all__r: Exceptionrrr]rrrKrrrrr r r r s(  {t"0