`site.abs__file__` fails for modules where `__file__` cannot be modified

Aperta
#75,979 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
python
Ambito
tooling

Direzione di ricerca

Inizia individuando l’entry point site.abs__file__ menzionato nell’issue e verifica come gestisce i moduli il cui file non può essere modificato. L’issue è contrassegnata con «test needed»; il lavoro è completato quando il problema è corretto e coperto da un test di regressione.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

3.7 (EOL) stdlib type-bug
BPO 31798
Nosy @terryjreedy, @ericvsmith

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 2017-10-16.10:55:47.808>
labels = ['3.7', 'type-bug', 'library']
title = '`site.abs__file__` fails for modules where `__file__` cannot be modified'
updated_at = <Date 2017-10-20.18:41:48.517>
user = 'https://bugs.python.org/AlexanderMcFarlane'

bugs.python.org fields:

activity = <Date 2017-10-20.18:41:48.517>
actor = 'terry.reedy'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2017-10-16.10:55:47.808>
creator = 'Alexander McFarlane'
dependencies = []
files = []
hgrepos = []
issue_num = 31798
keywords = []
message_count = 4.0
messages = ['304466', '304550', '304669', '304670']
nosy_count = 3.0
nosy_names = ['terry.reedy', 'eric.smith', 'Alexander McFarlane']
pr_nums = []
priority = 'normal'
resolution = None
stage = 'test needed'
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue31798'
versions = ['Python 2.7', 'Python 3.6', 'Python 3.7']

Lingua principale
Python
Stelle
77.2k
Fork
36k
Merge medio
1g 9h
PR unite (30g)
558

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di python/cpython

Tutte le issue di python/cpython

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.