I was just looking for something to work on myself when I saw your
patch and gave it a try. I'm not in position to comment the
implementation but I guess that John McCall is the right person to CC
when (or if) you get back to this issue.