Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-06-18 | add type hints to all of the code | Helmut Grohne | |
In order to use type hint syntax, we need to bump the minimum Python version to 3.7 and some of the features such as Literal and Protocol are opted in when a sufficiently recent Python is available. This does not make all of the code pass type checking with mypy. A number of typing issues remain, but the output of mypy becomes something one can read through. In adding type hints, a lot of epydoc @type annotations are removed as redundant. This update also adopts black-style line breaking. | |||
2023-06-18 | drop support for Python 2.x | Helmut Grohne | |
2012-07-01 | make HtdigestTokenGenerator work with py3k | Helmut Grohne | |
Define a textopen function that returns "native strings" (in the sense of pep3333). Therefore textopen needs to decode using iso-8859-1 iff running on py3k. Additionally use a with construct to close the file being read in all circumstances. | |||
2012-06-29 | scgi.asynchronous: move {en,de}coding to internal module | Helmut Grohne | |