for(Map.Entry<Class<? extends Event>, Set<PythonEventHandler>> entry : pyListener.handlers.entrySet()) {
Set<RegisteredListener> eventSet = new HashSet<RegisteredListener>();
for(final PythonEventHandler handler : entry.getValue()) {
EventExecutor executor = new EventExecutor() {
@Override
public void execute(Listener listener, Event event) throws EventException {
if(!listener.getClass().equals(PythonListener.class)) {
throw new IllegalArgumentException("No PythonListener passed to EventExecutor! If this happens someone really fucked up something");