summaryrefslogtreecommitdiff
path: root/python/magic.py
Commit message (Collapse)AuthorAgeFilesLines
* fix python tests, better cleanupChristos Zoulas2022-09-011-2/+12
|
* Better error checking and pyi file addition from (Hoel Bezier)Christos Zoulas2022-07-241-5/+17
|
* PR/285: Benjamin: python detect functions don't work in a multi-threadedChristos Zoulas2021-09-091-13/+30
| | | | context.
* PR/225: Brian: add get/setparamChristos Zoulas2021-01-041-0/+34
|
* fix tab issueChristos Zoulas2018-06-241-2/+2
|
* PR/7: Return the proper ValueError messageChristos Zoulas2018-06-231-1/+4
|
* retain python 2 compatibility, factoring out the conversion functions.Christos Zoulas2017-04-041-30/+38
|
* PR/562: Reiner Herrmann: Avoid double encoding with python3Christos Zoulas2016-06-281-3/+3
|
* PR/511: Orestis: Restore python-2 compatibility.Christos Zoulas2016-02-021-4/+7
|
* PR/477: Make python code pypi friendly.Christos Zoulas2015-11-231-2/+52
|
* PR/489: Avoid evaluating things twice.Christos Zoulas2015-10-291-16/+19
|
* remove stray g.Christos Zoulas2014-06-031-1/+1
|
* PR/357: flake8 warning cleanupsChristos Zoulas2014-06-031-13/+17
|
* Fix regression: If a file was already bytes, don't try to convert it.Christos Zoulas2014-04-031-1/+4
| | | | From: Arfrever Frehtes Taifersar Arahesis
* encode filename (Debian#435397)Christos Zoulas2014-03-021-1/+1
|
* add python3 changes.Christos Zoulas2011-09-221-6/+16
|
* When matching softmagic for ascii files, don't just printChristos Zoulas2011-02-031-26/+26
| | | | | | | | the softmagic classification, keep going and print the text classification too. This fixes broken troff files when we moved them from keyword recognition to softmagic (they stopped printing "with CRLF" etc.) Reported by Doug McIlroy.
* New pure-Python bindings (same API as before, with missing methods added).Reuben Thomas2011-01-141-0/+204