this is 2.6-dev
Fixed an issue with stream wrapping on python 3