*Not documented*
def dupfile(f, mode=None, buffering=0, raising=False):
origin:<UNKNOWN>
where:
exceptions that might appear during execution:
function source:
def dupfile(f, mode=None, buffering=0, raising=False):
try:
fd = f.fileno()
except AttributeError:
if raising:
raise
return f
newfd = os.dup(fd)
mode = mode and mode or f.mode
return os.fdopen(newfd, mode, buffering)
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/out.py
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/out.py
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/out.py