Skip to content

__file__ is now fully qualified in 3.8 and 3.9 #88236

Description

@jamesls
mannequin
BPO 44070
Nosy @gpshead, @ambv, @zooba, @graingert, @jamesls, @citrus-it
PRs
  • [3.9] bpo-44070: No longer eagerly makes import filenames absolute, except for extension modules #26025
  • [3.8] bpo-44070: No longer eagerly makes import filenames absolute, except for extension modules (GH-26025) #26028
  • [3.9] bpo-44070: Clarify NEWS message to specify the version when the behaviour was introduced #26029
  • 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 2021-05-12.13:40:02.171>
    created_at = <Date 2021-05-07.19:59:49.088>
    labels = ['3.8', 'type-bug', 'library', '3.9']
    title = '__file__ is now fully qualified in 3.8 and 3.9'
    updated_at = <Date 2021-07-28.06:39:12.378>
    user = 'https://github.com/jamesls'

    bugs.python.org fields:

    activity = <Date 2021-07-28.06:39:12.378>
    actor = 'graingert'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-05-12.13:40:02.171>
    closer = 'steve.dower'
    components = ['Library (Lib)']
    creation = <Date 2021-05-07.19:59:49.088>
    creator = 'jamesls'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 44070
    keywords = ['patch', '3.8regression', '3.9regression']
    message_count = 12.0
    messages = ['393212', '393213', '393220', '393228', '393230', '393231', '393438', '393440', '393495', '397541', '398334', '398348']
    nosy_count = 6.0
    nosy_names = ['gregory.p.smith', 'lukasz.langa', 'steve.dower', 'graingert', 'jamesls', 'omnios']
    pr_nums = ['26025', '26028', '26029']
    priority = 'high'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue44070'
    versions = ['Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.8 (EOL)end of life3.9 (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