Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: dry-python/returns
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 828b34c
Choose a base ref
...
head repository: dry-python/returns
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3b9768d
Choose a head ref
  • 1 commit
  • 4 files changed
  • 1 contributor

Commits on Apr 14, 2025

  1. feat: Implement __replace__ method in BaseContainer for copy.replace(…

    …) support
    
    - Added the __replace__ magic method to BaseContainer, enabling the creation of modified copies of immutable containers in line with Python 3.13's copy.replace() functionality.
    - Updated documentation to include usage examples and clarify the behavior of the new method.
    - Added tests to ensure the correct functionality of the __replace__ method and its integration with the copy module.
    - Updated CHANGELOG to reflect this new feature and its implications for container usage.
    
    Closes #1920.
    Adrian Acala authored and Adrian Acala committed Apr 14, 2025
    Configuration menu
    Copy the full SHA
    3b9768d View commit details
    Browse the repository at this point in the history
Loading