Package EasyExtend :: Module eeconsole
[hide private]
[frames] | no frames]

Module eeconsole

Command compiler and console that executes Langlet specific commands.

Classes [hide private]
  User
Used to mediate or simulate user actions
  ConsoleBase
  EEConsole
Console object used to handle user input.
  LastOutput
Stores last output.
  EERecordedConsole
EEConsole extension used to record user input.
  EEReplayConsole
  EEReplayConsoleTest
  EERecordedReplayConsole
Functions [hide private]
 
raises(exc, func, *args, **kwd)
Turns a side effect into a boolean value.
Variables [hide private]
  PyCF_DONT_IMPLY_DEDENT = 512
  COMPILER_FLAGS = 512
Function Details [hide private]

raises(exc, func, *args, **kwd)

 

Turns a side effect into a boolean value.

Parameters:
  • exc - exception class. function is expected to raise an exception of this class.
  • func - function to raise an exception.
  • args - optional arguments of func.
  • kwd - optional keyword areguments of func.
Returns:
True if exception 'exc' is raised, False otherwise.