Skip to content

Conversation

@isidentical
Copy link
Member

@isidenticalisidentical commented Jul 17, 2021

_PyPegen_byte_offset_to_character_offset now returns -1 on error since we need to distinguish 0-width lines from errors. Also the error checks are added to the call sites.

https://bugs.python.org/issue43950

@isidentical
Copy link
MemberAuthor

Thanks @pablogsal!

Sign up for freeto 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.

4 participants

@isidentical@pablogsal@the-knights-who-say-ni@bedevere-bot