Skip to content

bpo-37491: Fix IndexError when parsing unexpectedly ending quoted-string. #14813

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
merged 1 commit into from
Jul 17, 2019

Conversation

maxking
Copy link
Contributor

@maxking maxking commented Jul 17, 2019

This exception was caused because the input ended unexpectedly with only one
single quote instead of a pair with some value inside it.

https://bugs.python.org/issue37491

This exception was caused because the input ended unexpectedly with only one
single quote instead of a pair with some value inside it.
@miss-islington
Copy link
Contributor

Thanks @maxking for the PR, and @warsaw for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7, 3.8.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 17, 2019
…nGH-14813)

This exception was caused because the input ended unexpectedly with only one
single quote instead of a pair with some value inside it.
(cherry picked from commit 719a062)

Co-authored-by: Abhilash Raj <maxking@users.noreply.github.com>
@bedevere-bot
Copy link

GH-14819 is a backport of this pull request to the 3.8 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 17, 2019
…nGH-14813)

This exception was caused because the input ended unexpectedly with only one
single quote instead of a pair with some value inside it.
(cherry picked from commit 719a062)

Co-authored-by: Abhilash Raj <maxking@users.noreply.github.com>
@bedevere-bot
Copy link

GH-14820 is a backport of this pull request to the 3.7 branch.

miss-islington added a commit that referenced this pull request Jul 17, 2019
)

This exception was caused because the input ended unexpectedly with only one
single quote instead of a pair with some value inside it.
(cherry picked from commit 719a062)

Co-authored-by: Abhilash Raj <maxking@users.noreply.github.com>
miss-islington added a commit that referenced this pull request Jul 17, 2019
)

This exception was caused because the input ended unexpectedly with only one
single quote instead of a pair with some value inside it.
(cherry picked from commit 719a062)

Co-authored-by: Abhilash Raj <maxking@users.noreply.github.com>
lisroach pushed a commit to lisroach/cpython that referenced this pull request Sep 10, 2019
…nGH-14813)

This exception was caused because the input ended unexpectedly with only one
single quote instead of a pair with some value inside it.
DinoV pushed a commit to DinoV/cpython that referenced this pull request Jan 14, 2020
…nGH-14813)

This exception was caused because the input ended unexpectedly with only one
single quote instead of a pair with some value inside it.
websurfer5 pushed a commit to websurfer5/cpython that referenced this pull request Jul 20, 2020
…nGH-14813)

This exception was caused because the input ended unexpectedly with only one
single quote instead of a pair with some value inside it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants