Re: Extensions to REST-API
Joseph Myers <[email protected]>
| Newsgroups | gmane.comp.bug-tracking.roundup.devel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 28 Mar 2019, Ralf Schlatterbeck wrote: > Concerning index: I'm not very happy with the current state of affairs > of indexing binary files, as far as I understand the indexer currently > indexes everything. The indexers disregard files that aren't text/plain. This logic is duplicated in each indexer. (The back-ends call the indexers for all files, whether or not they will be indexed, and make sure to use errors='ignore' when decoding the files as UTF-8 for Python 3. This logic is duplicated in back_anydbm.py and rdbms_common.py, with at most small differences, like quite a lot of back-end logic.) -- Joseph S. Myers [email protected]