Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
assignee=Noneclosed_at=<Date2017-12-12.22:01:13.847>created_at=<Date2014-01-23.09:19:49.506>labels= ['interpreter-core', 'type-bug', '3.7']
title='-W command line options and PYTHONWARNINGS environmental variable should not override -b / -bb command line options'updated_at=<Date2018-01-23.12:30:55.712>user='https://bugs.python.org/Arfrever'
The approach I've taken in my PR is similar to the one that Arfrever proposed (albeit different in the details due to other changes in the startup code since that patch was written).
For the embedding case, I've simply noted in the What's New section of the porting guide that embedding applications need to configure a error::BytesWarning filter explicitly if they want to treat BytesWarning as errors (in addition to setting the flag to request that the warnings be emitted in the first place).