Skip to content

Conversation

akshat62
Copy link
Owner

Summary

  • detect reverse difflib replacements as item moves
  • test that list swaps report iterable_item_moved
  • document iterable_item_moved usage
  • prefer difflib move detection over legacy replacement diffing

Testing

  • pip install orderly-set (fails: Could not find a version that satisfies the requirement orderly-set)
  • pip install numpy (fails: Could not find a version that satisfies the requirement numpy)
  • pytest tests/test_diff_text.py -k test_item_moved -vv (fails: TypeError: np_type() takes no arguments)

https://chatgpt.com/codex/tasks/task_e_689b867ec2e883318b56e18dcaddeeef

@akshat62 akshat62 changed the base branch from master to update-diff-behavior-item-movements August 12, 2025 18:48
@akshat62 akshat62 merged commit ff5ddac into update-diff-behavior-item-movements Aug 12, 2025
@akshat62 akshat62 deleted the tucdyf-codex/update-diff-behavior-for-item-movements branch August 12, 2025 18:48
akshat62 added a commit that referenced this pull request Aug 12, 2025
…behavior-for-item-movements"

This reverts commit ff5ddac, reversing
changes made to 6068470.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant