Module Expr Str Import alias alias alias alias ImportFrom alias Import alias Import alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Num FunctionDef arguments args defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign AttributeStore NameLoad attr Call NameLoad ListLoad Str BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr While UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If CompareEq NameLoad NameLoad body If CompareLt AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Expr Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A 
Uzbl browser wrapper

Created by: Rui Carmo
License: MIT (see LICENSE for details)
 N/A os sys time logging subprocess * N/A resource N/A utils config settings N/A log N/A N/A logging getLogger N/A blank data:text/html;base64,PHN0eWxlPmJvZHkgeyBiYWNrZ3JvdW5kOiBibGFjazsgfTwvc3R5bGU+ N/A _threshold 0 setrlimit N/A N/A N/A N/A N/A Helper function to set browser subprocess resource limits N/A N/A N/A resource setrlimit N/A resource RLIMIT_RSS N/A _threshold _threshold N/A Browser N/A N/A __init__ N/A N/A self home N/A blank N/A N/A Handle initialization. N/A N/A self home home N/A N/A N/A self launch N/A self home N/A N/A N/A self do N/A set uri = %s home N/A launch N/A N/A self home N/A blank N/A N/A Launch uzbl N/A _threshold N/A N/A N/A settings uzbl ram hard_limit N/A N/A self uzbl N/A Popen N/A /usr/bin/uzbl-core N/A --geometry=%dx%d+0+0 N/A N/A N/A settings screen width N/A N/A settings screen height N/A --uri=%s home stdin PIPE stdout PIPE stderr PIPE preexec_fn setrlimit N/A N/A self fifo N/A /tmp/uzbl_fifo_%d N/A N/A self uzbl pid N/A N/A N/A N/A N/A os path exists N/A self fifo N/A N/A N/A N/A time sleep 1 N/A N/A N/A self do N/A set uri = %s home N/A terminate N/A N/A self N/A N/A N/A Kill the browser (softly) N/A N/A N/A N/A self uzbl terminate N/A kill N/A N/A self N/A N/A N/A Kill the browser N/A N/A N/A N/A self uzbl kill N/A restart N/A N/A self N/A N/A N/A Restart the browser and open a blank screen N/A N/A N/A N/A self uzbl terminate N/A N/A N/A self launch blank N/A blank N/A N/A self N/A N/A N/A Blank the screen N/A N/A N/A self do N/A set uri = %s blank N/A do N/A N/A self buffer N/A N/A N/A Perform a browser command by talking to its FIFO N/A returncode N/A N/A N/A self uzbl poll N/A N/A returncode None N/A N/A N/A N/A N/A N/A settings uzbl ram soft_limit N/A N/A utils get_pid_rss N/A N/A self uzbl pid N/A N/A N/A N/A log debug Restarting browser due to memory leak N/A N/A N/A self restart N/A N/A N/A log debug buffer N/A h N/A open N/A self fifo a N/A N/A N/A h write set show_status = 0
 N/A N/A N/A h write N/A buffer N/A N/A N/A h close N/A N/A N/A N/A log error N/A Browser exited with return code %s, relaunching returncode N/A N/A N/A self launch N/A self home N/A N/A N/A self do buffer N/A N/A