To protect your data, the CISO officer has suggested users to enable 2FA as soon as possible.
Currently 2.7% of users enabled 2FA.

Commit 9f1a6714 authored by Stefan Marr's avatar Stefan Marr
Browse files

Cleanup inconsistencies

- delete unneeded frame primitives
- added missing __init__ to AbstractObject
- removed unused parameter from print_stack_trace
- pass instance of universe to get_class(.)
Signed-off-by: default avatarStefan Marr <>
parent 91c4af20
......@@ -86,6 +86,6 @@ class ClassGenerationContext(object):
# class-bound == class-instance-bound
super_mclass = system_class.get_class(self._universe.nilObject)
super_mclass = system_class.get_class(self._universe)
......@@ -143,7 +143,7 @@ class Frame(object):
for i in range(0, num_args):
self._stack[i] = frame.get_stack_element(num_args - 1 - i)
def print_stack_trace(self, nilObject):
def print_stack_trace(self):
# Print a stack trace starting in this frame
from som.vm.universe import std_print, std_println
from som.primitives.primitives import Primitives
from som.vmobjects.primitive import Primitive
def _method(ivkbl, frame, interpreter):
rcvr = frame.pop()
def _previous_frame(ivkbl, frame, interpreter):
rcvr = frame.pop()
class FramePrimitives(Primitives):
def install_primitives(self):
self._universe, _method))
self._universe, _previous_frame))
\ No newline at end of file
class AbstractObject(object):
def __init__(self):
def send(self, selector_string, arguments, universe, interpreter):
# Turn the selector string into a selector
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment