Skip to content

gh-107450: Check for overflow in the tokenizer and fix overflow test - #110832

Merged
lysnikolaou merged 6 commits into
python:mainfrom
lysnikolaou:overflow-error-col-offset
Oct 16, 2023
Merged

gh-107450: Check for overflow in the tokenizer and fix overflow test#110832
lysnikolaou merged 6 commits into
python:mainfrom
lysnikolaou:overflow-error-col-offset

Conversation

@lysnikolaou

@lysnikolaoulysnikolaou commented Oct 13, 2023

Copy link
Copy Markdown
Member

@bedevere-bot

Copy link
Copy Markdown

🤖 New build scheduled with the buildbot fleet by @lysnikolaou for commit 3036fad 🤖

If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again.

@bedevere-botbedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Oct 13, 2023
… test
Co-authored-by: Filipe Laíns <lains@riseup.net>
@lysnikolaou
lysnikolaouforce-pushed the overflow-error-col-offset branch from 3036fad to 16d508dCompareOctober 13, 2023 14:39
Comment threadInclude/errcode.h
Comment threadLib/test/test_exceptions.py Outdated
Comment threadLib/test/test_exceptions.py
Comment threadParser/lexer/lexer.c Outdated
Comment threadLib/test/test_exceptions.py Outdated
Comment threadLib/test/test_exceptions.py Outdated
Comment threadLib/test/test_exceptions.py Outdated
Comment threadLib/test/test_exceptions.py Outdated
Comment threadLib/test/test_exceptions.py Outdated
@lysnikolaou
lysnikolaouforce-pushed the overflow-error-col-offset branch from 1f94480 to f20b95fCompareOctober 16, 2023 13:03
@lysnikolaou

Copy link
Copy Markdown
MemberAuthor

@serhiy-storchaka Thanks a lot for the reviews! I've addressed all comments.

@lysnikolaou
lysnikolaou merged commit a1ac559 into python:mainOct 16, 2023
@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @lysnikolaou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12.
🐍🍒⛏🤖

@miss-islington

Copy link
Copy Markdown
Contributor

Sorry, @lysnikolaou, I could not cleanly backport this to 3.12 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker a1ac5590e0f8fe008e5562d22edab65d0c1c5507 3.12

@miss-islington

Copy link
Copy Markdown
Contributor

Sorry, @lysnikolaou, I could not cleanly backport this to 3.11 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker a1ac5590e0f8fe008e5562d22edab65d0c1c5507 3.11

@bedevere-app

Copy link
Copy Markdown

GH-110931 is a backport of this pull request to the 3.12 branch.

@bedevere-appbedevere-appBot removed the needs backport to 3.12 only security fixes label Oct 16, 2023
lysnikolaou added a commit to lysnikolaou/cpython that referenced this pull request Oct 16, 2023
…verflow test (pythonGH-110832)
(cherry picked from commit a1ac559)
Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
Co-authored-by: Filipe Laíns <lains@riseup.net>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-app

Copy link
Copy Markdown

GH-110939 is a backport of this pull request to the 3.11 branch.

@bedevere-appbedevere-appBot removed the needs backport to 3.11 only security fixes label Oct 16, 2023
lysnikolaou added a commit to lysnikolaou/cpython that referenced this pull request Oct 16, 2023
…verflow test (pythonGH-110832)
(cherry picked from commit a1ac559)
Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
Co-authored-by: Filipe Laíns <lains@riseup.net>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
lysnikolaou added a commit that referenced this pull request Oct 16, 2023
…w test (GH-110832) (#110931)
(cherry picked from commit a1ac559)
Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
Co-authored-by: Filipe Laíns <lains@riseup.net>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
vstinner pushed a commit that referenced this pull request Oct 17, 2023
…w test (GH-110832) (#110939)
(cherry picked from commit a1ac559)
Co-authored-by: Filipe Laíns <lains@riseup.net>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
… test (python#110832)
Co-authored-by: Filipe Laíns <lains@riseup.net>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
… test (python#110832)
Co-authored-by: Filipe Laíns <lains@riseup.net>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
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.

5 participants

@lysnikolaou@bedevere-bot@miss-islington@serhiy-storchaka@pablogsal