Skip to content

-W command line options and PYTHONWARNINGS environmental variable should not override -b / -bb command line options #64560

@Arfrever

Description

@Arfrever
mannequin
BPO 20361
Nosy @warsaw, @brettcannon, @ncoghlan, @pitrou, @vstinner, @larryhastings, @pjenvey, @jwilk, @ezio-melotti, @merwok, @briancurtin, @serhiy-storchaka, @jdufresne
PRs
  • bpo-32230, bpo-20361: Set sys.warnoptions for all command line options #4734
  • bpo-32230: Set sys.warnoptions with -X dev #4820
  • bpo-20361: Remove workaround for a now fixed bug #5283
  • Dependencies
  • bpo-20363: BytesWarnings triggerred by test suite
  • Files
  • python-bytes_warnings.patch
  • 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

    GitHub fields:

    assignee = None
    closed_at = <Date 2017-12-12.22:01:13.847>
    created_at = <Date 2014-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 = <Date 2018-01-23.12:30:55.712>
    user = 'https://bugs.python.org/Arfrever'

    bugs.python.org fields:

    activity = <Date 2018-01-23.12:30:55.712>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-12-12.22:01:13.847>
    closer = 'vstinner'
    components = ['Interpreter Core']
    creation = <Date 2014-01-23.09:19:49.506>
    creator = 'Arfrever'
    dependencies = ['20363']
    files = ['33648']
    hgrepos = []
    issue_num = 20361
    keywords = ['patch']
    message_count = 8.0
    messages = ['208894', '208898', '212095', '217439', '307792', '308157', '308158', '310500']
    nosy_count = 14.0
    nosy_names = ['barry', 'brett.cannon', 'ncoghlan', 'pitrou', 'vstinner', 'larry', 'pjenvey', 'jwilk', 'ezio.melotti', 'eric.araujo', 'Arfrever', 'brian.curtin', 'serhiy.storchaka', 'jdufresne']
    pr_nums = ['4734', '4820', '5283']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue20361'
    versions = ['Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions