[feature-waitany] fix py3 bug, weakref for callback, doc cleanup