Using something like
syn = Synapses(..., on_pre='...', on_post='...', delay=0*ms)
sets the delay for the pre pathway, but not for the post pathway (as it should according to brian2 docs). But for some reason the delay of the on_post pathway gets a random value, seems like uninitialized memory allocation. So I needed to set
explicitly to have no delays. The delay variable of the synapse object is also not set when using the on_post keyword.