Absolute imports fail in some cases where relative imports would work

Offen
#69,481 12 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
25/100
Issue-Typ
Bug
Klarheit
Muss geklärt werden
Aktivitätsstatus
Veraltet
Tech-Stack
python

Rechercherichtung

Start with the migrated BPO issue 25294 and its 12-message discussion; no source files or tests are named in the issue. Trace the reported absolute-versus-relative import behavior and the Documentation and Library components, then define completion as a documented or tested resolution of that case.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

docs stdlib type-bug
BPO 25294
Nosy @brettcannon, @ncoghlan, @ericsnowcurrently

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-02.02:23:44.142>
labels = ['type-bug', 'library', 'docs']
title = 'Absolute imports fail in some cases where relative imports would work'
updated_at = <Date 2015-10-07.04:08:36.112>
user = 'https://bugs.python.org/PatrickMaupin'

bugs.python.org fields:

activity = <Date 2015-10-07.04:08:36.112>
actor = 'ncoghlan'
assignee = 'docs@python'
closed = False
closed_date = None
closer = None
components = ['Documentation', 'Library (Lib)']
creation = <Date 2015-10-02.02:23:44.142>
creator = 'Patrick Maupin'
dependencies = []
files = []
hgrepos = []
issue_num = 25294
keywords = []
message_count = 12.0
messages = ['252078', '252209', '252229', '252253', '252254', '252327', '252337', '252346', '252353', '252360', '252451', '252452']
nosy_count = 7.0
nosy_names = ['brett.cannon', 'ncoghlan', 'docs@python', 'eric.snow', 'Patrick Maupin', 'flatsieve', 'J Richard Snape']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue25294'
versions = ['Python 2.7', 'Python 3.2', 'Python 3.3', 'Python 3.4', 'Python 3.5', 'Python 3.6']

Vorherrschende Sprache
Python
Sterne
77.2k
Forks
36k
Ø Merge
1 T. 9 Std.
Gemergte PRs (30 T.)
558

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus python/cpython

Alle Issues in python/cpython

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.