ATLAS Offline Software
|
Functions | |
def | make_fn (what, res, *args) |
def | fifo () |
def | set_blocking (fd) |
def | reader_thread_func (filename, filter_, real_stdout, filt_content) |
def | threaded_file_reader (*args) |
def | silence (filter_=lambda line:True, file_=stdout) |
def | silence_sout_serr (filter_) |
def | test () |
def | test_with_exception () |
Variables | |
pyapi = PyDLL(None) | |
this_exe = CDLL(None) | |
FILE_p = c_void_p | |
def | PyFile_AsFile = make_fn(pyapi.PyFile_AsFile, FILE_p, py_object) |
def | freopen = make_fn(this_exe.freopen, FILE_p, c_char_p, c_char_p, FILE_p) |
def python.ext.silence.fifo | ( | ) |
def python.ext.silence.make_fn | ( | what, | |
res, | |||
* | args | ||
) |
Definition at line 26 of file silence.py.
def python.ext.silence.reader_thread_func | ( | filename, | |
filter_, | |||
real_stdout, | |||
filt_content | |||
) |
Sit there, reading lines from the pipe `filename`, sending those for which `filter_()` returns False to `real_stdout`
Definition at line 64 of file silence.py.
def python.ext.silence.set_blocking | ( | fd | ) |
def python.ext.silence.silence | ( | filter_ = lambda line: True , |
|
file_ = stdout |
|||
) |
Prevent lines matching `filter_` ending up on `file_` (defaults to stdout)
Definition at line 96 of file silence.py.
def python.ext.silence.silence_sout_serr | ( | filter_ | ) |
Definition at line 137 of file silence.py.
def python.ext.silence.test | ( | ) |
Definition at line 142 of file silence.py.
def python.ext.silence.test_with_exception | ( | ) |
Definition at line 159 of file silence.py.
def python.ext.silence.threaded_file_reader | ( | * | args | ) |
Operate a read_thread_func in another thread. Block with statement exit until the function completes.
Definition at line 83 of file silence.py.
python.ext.silence.FILE_p = c_void_p |
Definition at line 31 of file silence.py.
Definition at line 34 of file silence.py.
python.ext.silence.pyapi = PyDLL(None) |
Definition at line 23 of file silence.py.
Definition at line 33 of file silence.py.
python.ext.silence.this_exe = CDLL(None) |
Definition at line 24 of file silence.py.