Message308200
This is a consequence of the repr used by KeysView, which it inherits from MappingView. I agree that the result is surprising, but there may not be a generic fix. It's not entirely clear what KeysView should do here, but presumably we could at least add a repr to environ's use of it that would produce something useful.
Note that a workaround when doing something like a travis debug is to print os.environ._data.keys(), which will print the bytes versions of the keys. I wouldn't recommend depending on that continuing to, though ;) |
|
Date |
User |
Action |
Args |
2017-12-13 13:50:03 | r.david.murray | set | recipients:
+ r.david.murray, rhettinger, vstinner, Aaron.Meurer |
2017-12-13 13:50:03 | r.david.murray | set | messageid: <1513173003.13.0.213398074469.issue32300@psf.upfronthosting.co.za> |
2017-12-13 13:50:03 | r.david.murray | link | issue32300 messages |
2017-12-13 13:50:03 | r.david.murray | create | |
|