Package pyraf :: Module irafecl
[hide private]
[frames] | no frames]

Module irafecl

source code

This module adds IRAF ECL style error handling to PyRAF.

Classes [hide private]
  EclState
An object which records the ECL state for one invocation of a CL proc:
  Erract
Erract is a state variable (singleton) which corresponds to the IRAF ECL environment variable 'erract'.
  EclBase
  SimpleTraceback
  EclTraceback
  EclTask
  IrafTask
  EclGKITask
  IrafGKITask
  EclPset
  IrafPset
  EclPythonTask
  IrafPythonTask
  EclCLTask
  IrafCLTask
  EclForeignTask
  IrafForeignTask
  EclPkg
  IrafPkg
Functions [hide private]
 
getTaskModule()
Returns the module which supplies Task classes for the current language mode, either ECL or classic CL.
source code
 
_ecl_runframe(frame)
Determines if frame corresponds to an IrafTask._run() method call.
source code
 
_ecl_parent_task()
Returns the local variables of the task which called this one.
source code
 
_ecl_interpreted_frame(frame=None)
Returns the stack frame corresponding to the executing Python code of the nearest enclosing CL task.
source code
 
mutateCLTask2Pkg(o, loaded=1, klass=EclPkg) source code
Variables [hide private]
  executionMonitor = None
  erract = Erract()

Imports: inspect, sys, iraf, irafglobals, iraftask, irafexecute, irafecl