Skip to content

"TypeError: Item in ``from list'' not a string" message #65919

@davidszotten

Description

@davidszotten
BPO 21720
Nosy @brettcannon, @rhettinger, @ncoghlan, @taleinat, @ezio-melotti, @ericsnowcurrently, @berkerpeksag, @serhiy-storchaka, @davidszotten, @timgraham
PRs
  • bpo-21720: Improve exception message of __import__() #4113
  • bpo-21720: Restore the Python 2.7 logic in handling a fromlist. #4118
  • [3.6] bpo-21720: Restore the Python 2.7 logic in handling a fromlist. (GH-4118) #4128
  • Files
  • fromlist.patch
  • fromlist2.patch
  • issue21720.diff
  • issue21720_python3.diff
  • 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-10-26.09:03:53.524>
    created_at = <Date 2014-06-11.13:28:45.104>
    labels = ['interpreter-core', 'type-feature', '3.7']
    title = '"TypeError: Item in ``from list\'\' not a string" message'
    updated_at = <Date 2017-10-26.09:03:53.523>
    user = 'https://github.com/davidszotten'

    bugs.python.org fields:

    activity = <Date 2017-10-26.09:03:53.523>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-10-26.09:03:53.524>
    closer = 'serhiy.storchaka'
    components = ['Interpreter Core']
    creation = <Date 2014-06-11.13:28:45.104>
    creator = 'davidszotten@gmail.com'
    dependencies = []
    files = ['36500', '36501', '45006', '45063']
    hgrepos = []
    issue_num = 21720
    keywords = ['patch']
    message_count = 42.0
    messages = ['220267', '221027', '226038', '226039', '226040', '226046', '226047', '226055', '232703', '278252', '278255', '278270', '278330', '278506', '278513', '278515', '278522', '278523', '278527', '278530', '278539', '278783', '278785', '278786', '278794', '304792', '304868', '304954', '304960', '304961', '304967', '304969', '304971', '304984', '304986', '305005', '305006', '305019', '305031', '305032', '305033', '305039']
    nosy_count = 13.0
    nosy_names = ['brett.cannon', 'rhettinger', 'ncoghlan', 'taleinat', 'ezio.melotti', 'bignose', 'python-dev', 'eric.snow', 'berker.peksag', 'serhiy.storchaka', 'Julian.Gindi', 'davidszotten@gmail.com', 'Tim.Graham']
    pr_nums = ['4113', '4118', '4128']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue21720'
    versions = ['Python 2.7', 'Python 3.6', 'Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancement
      No fields configured for issues without a type.

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions