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: python/importlib_resources
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v6.4.0
Choose a base ref
...
head repository: python/importlib_resources
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 81ddbef7bd95aef5eeb58a26000fe05e9276b8e4
Choose a head ref
  • 5 commits
  • 4 files changed
  • 2 contributors

Commits on Aug 14, 2024

  1. gh-116608: Ignore UTF-16 BOM in importlib.resources._functional tests…

    … (GH-117569)
    
    gh-116609: Ignore UTF-16 BOM in importlib.resources._functional tests
    
    To test the `errors` argument, we read a UTF-16 file as UTF-8
    with "backslashreplace" error handling. However, the utf-16
    codec adds an endian-specific byte-order mark, so on big-endian
    machines the expectation doesn't match the test file (which was
    saved on a little-endian machine).
    
    Use endswith to ignore the BOM.
    encukou authored and jaraco committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    8c274e5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b44af23 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    31de3ca View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fb44cbf View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    81ddbef View commit details
    Browse the repository at this point in the history
Loading