You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Infrastructure for importing real CPython tests:
- Add min_args/max_args to PyBuiltinObject, validate in builtin_func_call
Methods like list.append() now raise TypeError when called with wrong
number of args instead of segfaulting.
- Add builtin_func_new_checked and add_method_to_dict_checked helpers
- Register list methods with proper arg count bounds
- Create lib/functools.py (cmp_to_key, reduce, partial)
- Create lib/itertools.py (chain, islice, count, repeat, cycle,
accumulate, starmap, product)
- Create lib/pickle.py (stub with HIGHEST_PROTOCOL constant)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments