So this is rather mysterious. pbr isn't in the habit of randomly assigning None to attributes of modules.
https://github.com/mitsuhiko/markupsafe/blob/master/markupsafe/_compat.py is the code in question, and pbr's absence certainly can't explain sys module attributes being bong.
Can I see the print output - I'm particularly interested in whether PY2 is assigned correctly, and what the content of builtins() is when those if blocks run.
So this is rather mysterious. pbr isn't in the habit of randomly assigning None to attributes of modules.
https:/ /github. com/mitsuhiko/ markupsafe/ blob/master/ markupsafe/ _compat. py is the code in question, and pbr's absence certainly can't explain sys module attributes being bong.
Can I see the print output - I'm particularly interested in whether PY2 is assigned correctly, and what the content of builtins() is when those if blocks run.