Trees | Indices | Help |
|
---|
|
Support for user scripting, including
The official global scope is module qubx.global_namespace, populated from global_names.py to avoid circular imports
The exec_* environments eat exceptions and report them via env.On*Exception callbacks (except exec_file with default raise_exceptions=True).
Copyright 2007-2014 Research Foundation State University of New York This file is part of QUB Express.
QUB Express is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
QUB Express is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License, named LICENSE.txt, in the QUB Express program directory. If not, see <http://www.gnu.org/licenses/>.
|
|||
PythonEnvironment Python environment management for user scripting. |
|||
PluginManager | |||
DeferredAction Calls a func(*args, **kw) after a short delay; if multiple expressions are received from one source within the delay time, only the final one is passed through; if the source changes, previous func is called immediately. |
|||
DeferredScriptable Passes through expressions to qubx.pyenv.env.OnScriptable after a short delay; if multiple expressions are received from one source within the delay time, only the final one is passed through. |
|||
DeferredScriptableScroll | |||
ScriptRecursionError | |||
ScriptModule | |||
DeferredSideEffects Context manager, for use in a script, which disables the trace function -- faster execution because it doesn't wait for side-effects to complete after each line -- but dangerous if the side effects need to happen before the script continues. |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
env = None hash(x) |
|||
featured_pat = re.compile(r'\.
|
|||
functional_class_str =
|
|||
classname_pat = re.compile(r'.
|
|||
PYTHON_HELP =
|
|||
__package__ =
|
|
Calls func, returns a delayed result via call_later func must be written to return a result via a callback on the main event loop, e.g. >>> gobject.idle_add(receiver, results, ...) It will be called >>> func(receiver, *args, **kw) then a recursive main loop will run until receiver is called (be careful this is not forever). Receiver's args are returned as a tuple. |
To help bridge the gap between the class hierarchy and the working global namespace, creates a defaultdict(list) INSTANCES in each sub-module of the listed modules, with global names of instances.
|
Sets up the global variable "env" (class PythonEnvironment)
|
|
functional_class_str
|
PYTHON_HELP
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Dec 15 19:07:38 2017 | http://epydoc.sourceforge.net |