X Tutup
The Wayback Machine - https://web.archive.org/web/20260110162405/https://github.com/python/cpython/issues/69707
Skip to content

optparse module does not emit DeprecationWarning #69707

@johnthagen

Description

@johnthagen
BPO 25521
Nosy @bitdancer, @vadmium, @serhiy-storchaka, @matrixise, @johnthagen
Files
  • optparse_and_test_deprecationwarning.patch: Adds a PendingDeprecationWarning to optparse, and suppresses the warning in its tests.
  • 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 = None
    created_at = <Date 2015-10-30.23:22:34.136>
    labels = ['type-bug', 'library']
    title = 'optparse module does not emit DeprecationWarning'
    updated_at = <Date 2020-04-29.15:12:36.841>
    user = 'https://github.com/johnthagen'

    bugs.python.org fields:

    activity = <Date 2020-04-29.15:12:36.841>
    actor = 'John Hagen'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2015-10-30.23:22:34.136>
    creator = 'John Hagen'
    dependencies = []
    files = ['40921']
    hgrepos = []
    issue_num = 25521
    keywords = ['patch']
    message_count = 21.0
    messages = ['253768', '253779', '253788', '253808', '253838', '253841', '253842', '253857', '253858', '253869', '253874', '253881', '253884', '253889', '253890', '254051', '254059', '254061', '254063', '265061', '367655']
    nosy_count = 6.0
    nosy_names = ['r.david.murray', 'SilentGhost', 'martin.panter', 'serhiy.storchaka', 'matrixise', 'John Hagen']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue25521'
    versions = ['Python 3.4', 'Python 3.5', 'Python 3.6']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.12only security fixesstdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      Status

      Doc issues

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        X Tutup