rename "functools" to "local_functools".
It can't have the same name as the module it's trying to emulate. Python's local-imports-first rule means it would shadow the stdlib functools module and we would always get the fallback version.
Showing
Please
register
or
sign in
to comment