I'll work out a solution in jaraco.util first, where I can more readily test on Python 3 and then come back with an update.