3 Commits

Author SHA1 Message Date
Osama Alwaly
caa416e5e2 Improve cmath.complex dunder methods and tests; align lru_cache with stdlib
- Add __rtruediv__, __rpow__, __pos__, __bool__, __hash__, and coercion errors
- Extend __pow__ for complex exponents and real-only complex unwrap
- Tests for rdiv, rpow, bool, pos, float/int errors, hash, complex**complex
- lru_cache: accept typed= and **kwargs for host-Python compatibility when PYTHONPATH shadows this module
- Regenerate _generated.c from prebuild.py

Made-with: Cursor
2026-03-24 18:20:41 +02:00
blueloveTH
aaf611eff3 up 2026-02-21 21:08:33 +08:00
zhs628
fc991ab697
Increase coverage 2025 12 01 (#412)
* 通过引发py_call错误覆盖相关调用者的ok==false分支

* Revert "通过引发py_call错误覆盖相关调用者的ok==false分支"

This reverts commit 36dc0b5d81a02a83dfdeca2d4d6d265f5f793b4b.

* add test

* rename test files

* fix bugs

* fix bugs
2025-12-04 21:01:29 +08:00