-
-
Notifications
You must be signed in to change notification settings - Fork 49
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
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: python/importlib_resources
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v6.5.0
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: python/importlib_resources
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v6.5.1
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 8 commits
- 6 files changed
- 2 contributors
Commits on Jan 3, 2025
-
Demonstrate python/cpython#127012
This adds an in-memory finder, loader, and traversable implementation, which allows the `Traversable` protocol and concrete methods to be tested. This additional infrastructure demonstrates python/cpython#127012, but also highlights that the `Traversable.joinpath()` concrete method raises `TraversalError` which is not getting caught in several places.
Configuration menu - View commit details
-
Copy full SHA for 912a9e5 - Browse repository at this point
Copy the full SHA 912a9e5View commit details -
Catch
TraversalError
, raised byTraversable.joinpath()
Exercising the `Traversable` protocol's concrete methods has highlighted that `.joinpath()` raises `TraversalError`, which needs to be caught in several places. This is primarily resolved within the test suite, but implicates the `is_resource()` function as well.
Configuration menu - View commit details
-
Copy full SHA for f10a2e9 - Browse repository at this point
Copy the full SHA f10a2e9View commit details -
Resolve a
TypeError
lurking in theread_text()
functional API`importlib_resources.read_text()` calls the `Traversable.read_text()` concrete method with an `errors` argument that doesn't exist in the method signature, resulting in an `TypeError`. This is resolved by adding an `errors` parameter to `Traversable.read_text()`. Fixes python/cpython#127012
Configuration menu - View commit details
-
Copy full SHA for d001110 - Browse repository at this point
Copy the full SHA d001110View commit details -
Configuration menu - View commit details
-
Copy full SHA for 72d550d - Browse repository at this point
Copy the full SHA 72d550dView commit details -
Configuration menu - View commit details
-
Copy full SHA for cf269ce - Browse repository at this point
Copy the full SHA cf269ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a872e5 - Browse repository at this point
Copy the full SHA 9a872e5View commit details -
Merge pull request #321 from kurtmckee/add-readtext-errors-parameter-…
…cpython-issue-127012 Add a `Traversable.read_text()` `errors` parameter
Configuration menu - View commit details
-
Copy full SHA for 10d87bf - Browse repository at this point
Copy the full SHA 10d87bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 78c4bda - Browse repository at this point
Copy the full SHA 78c4bdaView commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v6.5.0...v6.5.1