Suggested resource monitoring calls post before put action finishes
Created by: arturo_diaz
Issue: Suggested patching for resources to allow declaration of pre/post callbacks does not work as expected with put method for simpy.Store
See attachment for code to replicate issue (Python 2.7)
Code Output
Current: post is called even though item was not actually put into Store object
0.000000: post
1.000000: post
[(0, [5]), (1, [5])]
Expected: post is not called until put action can actually place item into Store object
0.000000: post
[(0, [5])]