py.typed
file so mypy can lint listparser use in dependent applications.requirements.txt
files.update
, so it's easy to update tool dependencies.Published by kurtmckee over 2 years ago
"Spring cleaning"
requests
as an optional dependency.lxml
as an optional dependency.Drop support for CPython 3.6 and lower.
Drop support for IronPython.
Drop support for Jython.
Remove some ancient Jython compatibility code.
HTML entities are no longer automatically injected into the DTD.
If lxml
is installed and undeclared HTML entities are encountered,
they will be ignored.
If lxml is not installed and undeclared HTML entities are encountered,
Python's xml.sax
parser will fail to parse the document.
src/
-based directory structure.parse()
no longer accepts etag, modified, or agent arguments.bozo
is now True
or False
, not 1
or 0
.bozo_exception
is guaranteed to exist in the return dict.datetime
objectslptest.py
into the tests/
subdirectorytest_*
files.tox
environments where listparser must be built and installed.dict
key-based lookups instead of SuperDict
attribute-based lookups.ListError
to ListparserError
.tox
to automate testing across multiple interpreters and versions.pytest
for unit testing.six
package.pyproject.toml
for project configuration.