google / google/python-fire

arg parsing truncates at hash

Aberta
#338 4 comentários 1 reação 0 responsáveis Ver no GitHub
bug
Linguagem predominante
Python
Estrelas
28.2k
Forks
1.5k
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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.

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.