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
Only copy the items if they are sorted, and check the keys before sorting
The three writers now use a common helper. It builds a list only if the
items are sorted, and if skipkeys is false it checks the type of keys
before sorting, so that a dict with mixed keys is reported as
"keys must be strings" instead of failing to compare the keys.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
0 commit comments