Skip to content

modulefinder fails if module contains syntax error #61598

Description

@jgosmann
mannequin
BPO 17396
Nosy @brettcannon, @ncoghlan, @merwok, @bitdancer, @florentx, @ericsnowcurrently, @berkerpeksag
PRs
  • bpo-35936: Updates to modulefinder #11787
  • bpo-35936: Updates to modulefinder #11787
  • bpo-35936: Updates to modulefinder #11787
  • bpo-35936: Updates to modulefinder #11787
  • Files
  • fix-handling-of-syntax-errors.diff: Reraise SyntaxError as ImportError if imported module code cannot be compiled
  • fix-handling-of-syntax-errors.diff: Reraise SyntaxError as ImportError if imported module code cannot be compiled
  • 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 2019-04-07.08:06:01.330>
    created_at = <Date 2013-03-11.12:03:45.792>
    labels = ['3.8', 'type-bug', 'library']
    title = 'modulefinder fails if module contains syntax error'
    updated_at = <Date 2019-04-07.08:06:01.323>
    user = 'https://bugs.python.org/jgosmann'

    bugs.python.org fields:

    activity = <Date 2019-04-07.08:06:01.323>
    actor = 'ncoghlan'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-04-07.08:06:01.330>
    closer = 'ncoghlan'
    components = ['Library (Lib)']
    creation = <Date 2013-03-11.12:03:45.792>
    creator = 'jgosmann'
    dependencies = []
    files = ['29376', '30237']
    hgrepos = []
    issue_num = 17396
    keywords = ['patch']
    message_count = 8.0
    messages = ['183953', '187938', '187941', '187960', '187961', '189059', '189060', '339562']
    nosy_count = 8.0
    nosy_names = ['brett.cannon', 'ncoghlan', 'eric.araujo', 'r.david.murray', 'flox', 'eric.snow', 'berker.peksag', 'jgosmann']
    pr_nums = ['11787', '11787', '11787', '11787']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue17396'
    versions = ['Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.8 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions