pyscg: Investigate potential new rule based on os.path.commonprefix()

Aperta
#5 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Tranquilla
Stack tecnologico
python
Ambito
security

Direzione di ricerca

Read the linked article about os.path.commonprefix() and inspect the repository’s existing rule definitions and tests to see whether they cover this API. The issue does not name any files or specify what the proposed rule should detect; done would require a concrete rule proposal and matching tests. Check the two existing comments for discussion before starting.

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

Descrizione

Interesting deep-dive into a confusing API has the potential to require a rule to prevent issues:
Deprecate confusing APIs like “os.path.commonprefix()”.

The os.path.commonprefix() function has been an API in the Python
standard library for at least 35 years (since February 1991)
and in that time has been confusing users and creating security
issues...

Lingua principale
Python
Stelle
2
Fork
2
Merge medio
11m
PR unite (30g)
2

Preparare l'ambiente

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 ossf/python-secure-coding-guide

Tutte le issue di ossf/python-secure-coding-guide

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.