google / google/python-fire

arg parsing truncates at hash

Aperta
#338 4 commenti 1 reazione 0 assegnatari Vedi su GitHub
bug
Lingua principale
Python
Stelle
28.2k
Fork
1.5k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Fire's arg parser truncates strings with hashes (#) in them. Simple test:

test.py:
```
import fire
def test(a): print(a, type(a))
fire.Fire(test)
```

```
> python test.py hi#there
hi
> python test.py "hi#there"
hi
```

If this is by design, it doesn't appear to be documented anywhere.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.