[issue27134] allow str(bytes) raises an exception to be controlled programmatically

2016-05-27 Thread Daniel Holth
Daniel Holth added the comment: Continuing discussion in the older bug -- resolution: -> duplicate status: open -> closed ___ Python tracker ___

[issue27134] allow str(bytes) raises an exception to be controlled programmatically

2016-05-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Isn't this a duplicate of issue18373? -- nosy: +serhiy.storchaka ___ Python tracker ___

[issue27134] allow str(bytes) raises an exception to be controlled programmatically

2016-05-26 Thread Daniel Holth
New submission from Daniel Holth: When I discovered str(b'bytes') in my Python 3 program was causing errors to be serialized to disk, I was unhappy. It turns out there is a command line option to turn it off, but the vulnerable serialization code is not going to be able to set that argument;