Commit Graph

7 Commits

Author SHA1 Message Date
Shahar Naveh
74bee7cbbe Update codeop.py from 3.13.5 (#6026) 2025-07-25 10:47:20 +09:00
Aneesh Durg
323ea3b96b Support incomplete parsing (#5764)
* continue accepting REPL input for multiline strings

* Match cpython behavior for all multi-line statements (execute when complete)

* Emit _IncompleteInputError when compiling with incomplete flag

* Refine when _IncompleteInputError is emitted

* Support multiline strings emitting _IncompleteInputError

* lint

* Undo accidental change to PyTabError

* match -> if let

* Fix test_baseexception and test_codeop

* fix spelling

* fix exception name

* Skip pickle test of _IncompleteInputError

* Use py3.15's codeop implementation

* Update Lib/test/test_baseexception.py

---------

Co-authored-by: Jeong, YunWon <69878+youknowone@users.noreply.github.com>
2025-06-05 14:41:56 +09:00
Aneesh Durg
e49e743669 Support multiline function/class definitions in REPL and InteractiveConsole (#5743)
* Support multiline function/class definitions in REPL and InteractiveConsole
2025-04-30 14:53:37 +09:00
NakanoMiku39
488bac7413 Update codeop.py from CPython v3.12 2023-11-09 15:20:52 +08:00
DimitrisJim
89323dadc2 Update codeop from Python 3.11 2023-06-12 20:02:31 +03:00
Padraic Fanning
c50bb0beeb Upgrade codeop to 3.9 2021-01-29 18:10:15 -05:00
coolreader18
140d582599 Add a bunch of stdlib modules from CPython 2019-07-21 07:26:38 -05:00