summaryrefslogtreecommitdiff
path: root/unidecode/util.py
Commit message (Collapse)AuthorAgeFilesLines
* Read input line by lineJan-Thorsten Peter2022-02-181-10/+12
|
* More Python 2 compatibility code clean up.Tomaz Solc2021-02-051-11/+2
|
* Merge remote-tracking branch 'jdufresne/b-literal'Tomaz Solc2019-01-191-1/+1
|\
| * Replace string literal + encode with bytes literalJon Dufresne2018-12-311-1/+1
| | | | | | | | | | Simpler and more forward compatible. The b prefix syntax is available on all supported Pythons.
* | Merge remote-tracking branch 'jdufresne/argparse'Tomaz Solc2019-01-191-12/+13
|\ \
| * | Replace use of deprecated optparse with argparseJon Dufresne2018-12-311-12/+13
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Python project considers the optparse module as deprecated. See: https://docs.python.org/3/library/optparse.html > Deprecated since version 3.2: The optparse module is deprecated and > will not be developed further; development will continue with the > argparse module. Replace the project's use with the newer argparse. The CLI is fully equivalent and should not result in any backwards comparability concerns. https://docs.python.org/3/library/argparse.html
* | Remove unused import from unidecode/util.pyJon Dufresne2018-12-311-1/+0
|/
* Add a newline if the string comes from commandlineTomaz Solc2015-05-141-0/+4
|
* Don't append an extra new-line.Tomaz Solc2015-05-131-1/+1
|
* Add -c command line option.Tomaz Solc2015-05-131-6/+18
|
* Use optparse for Python 2.6 compatibility.Tomaz Solc2015-05-131-21/+15
|
* Avoid reopening sys.stdin on Python 3.Tomaz Solc2015-05-131-5/+4
|
* Remove unnecessary check for isatty()Tomaz Solc2015-05-131-9/+7
|
* Use entry_points for the commandline utility.Tomaz Solc2015-05-131-0/+51