Skip to content

Behaviour of modules depends on how they where imported #65752

Description

@mythsmith
mannequin
BPO 21553
Nosy @brettcannon, @ncoghlan, @ericsnowcurrently
Superseder
  • bpo-13475: Add '--mainpath'/'--nomainpath' command line options to override sys.path[0] initialisation
  • Files
  • imptest.zip: imptest package exposing import inconsistencies
  • 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 2014-05-22.17:41:38.608>
    created_at = <Date 2014-05-22.15:37:33.493>
    labels = ['interpreter-core', 'type-bug']
    title = 'Behaviour of modules depends on how they where imported'
    updated_at = <Date 2014-05-23.00:29:13.421>
    user = 'https://bugs.python.org/mythsmith'

    bugs.python.org fields:

    activity = <Date 2014-05-23.00:29:13.421>
    actor = 'berker.peksag'
    assignee = 'none'
    closed = True
    closed_date = <Date 2014-05-22.17:41:38.608>
    closer = 'eric.snow'
    components = ['Interpreter Core']
    creation = <Date 2014-05-22.15:37:33.493>
    creator = 'mythsmith'
    dependencies = []
    files = ['35314']
    hgrepos = []
    issue_num = 21553
    keywords = []
    message_count = 3.0
    messages = ['218901', '218903', '218905']
    nosy_count = 5.0
    nosy_names = ['brett.cannon', 'ncoghlan', 'peter.otten', 'eric.snow', 'mythsmith']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '13475'
    type = 'behavior'
    url = 'https://bugs.python.org/issue21553'
    versions = ['Python 2.7', 'Python 3.2']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      interpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error
      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