Bug fixes:
-
Fixed
ImportHooks
: it must raiseModuleNotFoundError
instead ofImportError
. -
Fixed absolute import in
ImportHooks
under Python 3. -
Fixed
Template.webInput
: Useurllib.parse.parse_qs
instead ofcgi.FieldStorage
; Python 3.13 droppedcgi
. -
Fixed
_namemapper.c
: Silent an inadvertentTypeError
exception
inPyMapping_HasKeyString
under Python 3.13+
caused by_namemapper
looking up a key in a non-dictionary. -
Fixed
_namemapper.c
: SilenceIndexError
when testing
name[attr]
. Some objects likere.MatchObject
implement both
attribute access and index access. This confusesNameMapper
because
it expectsname[attr]
to raiseTypeError
for objects that don't
implement mapping protocol. -
Fixed mapping test in
NameMapper.py
:
Python 3.13 brough a new mapping typeFrameLocalsProxy
. -
Fixed another
RecursionError
inImportHooks
under PyPy3.
Tests:
- tox: Run tests under Python 3.13.
CI:
-
CI(GHActions): Switch to
setup-miniconda
. -
CI(GHActions): Run tests under Python 3.13.