Stefan Monnier writes: Hi Stefan, thanks for your input. Here is a preliminary patch for the trunk.