-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-123378: fix some corner cases of start
and end
values in PyUnicodeErrorObject
#123380
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
encukou
merged 34 commits into
python:main
from
picnixz:fix/c-api-unicode-error-get-start
Dec 4, 2024
Merged
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
7a1574d
Fix `PyUnicode{Encode,Decode}Error_GetStart`.
picnixz 6ef0c6d
blurb
picnixz 60ab0bb
add tests
picnixz 67b3d8e
fix NEWS
picnixz 78fff57
remove a duplicated normal case
picnixz a6e6f80
handle start < 0
picnixz 20c47ba
add C tests
picnixz 51bc77e
add test coverage
picnixz b290e58
update docs
picnixz 75398a9
fixup
picnixz 546be87
update blurb
picnixz cded571
address Victor's review
picnixz 1900d9a
refactor name
picnixz 8acc563
fix refcounts
picnixz 0538c83
remove debugging code
picnixz d5ea357
address Victor's review (round 2)
picnixz 7c10769
handle negative 'start' and 'end' values
picnixz 7ce2ef0
add C API tests
picnixz b55ca5a
add Python tests
picnixz 4e34e5f
update docs
picnixz 033a1ac
fix typo
picnixz c802e64
convert macros into `static inline` functions
picnixz 66f33f8
Merge branch 'main' into fix/c-api-unicode-error-get-start
skirpichev 6caf5b6
Merge remote-tracking branch 'upstream/main' into fix/c-api-unicode-e…
picnixz fcde448
post-merge cleanup
picnixz 2e66302
Merge branch 'main' into fix/capi/unicode-error-start-end-123378
picnixz dc6b37b
Merge branch 'main' into fix/capi/unicode-error-start-end-123378
picnixz baa5cb2
fix typo
picnixz 4c4808e
update NEWS and docs
picnixz efbdff1
add some assertion checks
picnixz 180f3c2
add some assertion checks
picnixz 4bd6e20
Merge branch 'main' into fix/c-api-unicode-error-get-start
picnixz 5759a70
remove failing assertions for now
picnixz 8c12171
fix docs
picnixz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
add tests
- Loading branch information
commit 60ab0bb67f1b0469a2b76f9b25fc6f5ae2e89efb
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.