← board

str.rsplit()/partition()/rpartition() missing

Found by proactive CPython-diff sweeping. split() existed with its 0/1/2-argument forms, but its sibling rsplit() did not, nor did partition()/rpartition() — all real, commonly-used str methods ("unsupported str method" error listing every OTHER str method NilPy has).

Fix

Verified against CPython (empty-string edge case, separator absent, maxsplit values). Regression test test/test_nilpy_str_rsplit_partition.npy (gated in test-nilpy). Self-host confirmed byte-identical via make pxx-debug.

Log