- Aug 26, 2015
-
-
ulif authored
-
- Aug 05, 2015
- Aug 03, 2015
- Aug 02, 2015
-
-
ulif authored
-
ulif authored
The last hotfix to make sys.stdin seek()-able was far from being proper. It checked only for sys.stdin (which is only one possible stream delivering unseekable file positions) and didn't consider that sys.stdin could be replaced (by somthing with proper seek functionality). We now test properly for working seek() functionality. If the stream does not support it, we copy streamdata to a new temporary file. If the file is not too large, we keep the file data in memory (up to 20 MB), so in most cases runtime trade-off should be moderate.
-
ulif authored
-
ulif authored
We have to try hard to create a string accepted by all supported Python versions.
-
ulif authored
-
ulif authored
-
ulif authored
Add test case that provides a file descriptor with broken seek(). We must expect "broken" seek() methods for instance with sys.stdin.
-
ulif authored
Use conftest module for fixtures we need in several test modules.
-
ulif authored
-
- Aug 01, 2015
- Jul 31, 2015
-
-
ulif authored
-
ulif authored
We want to have such functionality be aggregated in a class.
-
ulif authored
-
ulif authored
-
ulif authored
-
ulif authored
Also in tests.
-
ulif authored
-
ulif authored
-
ulif authored
For wordlists we require a certain filename format. This is described by a regular expression we introduce hereby.
-
ulif authored
This function provides pure WordList functionality and should be part of this class therefore.
-
ulif authored
We do not need `basestring` (or some Py3 equivalent) to check for strings.
-
- Jul 30, 2015