youknowdot
5aab0db07d
Align duplicate-parameter diagnostics with Python 3.15 ( #9287 )
...
* Align duplicate-parameter diagnostics with Python 3.15
Preserve source names and locations in both symbol-table paths, and migrate
the existing canonical codeop expectation through update_lib.
Assisted-by: OpenAI Codex: model version unavailable
* Sync positional-only duplicate-parameter expectations
Migrate the full pinned CPython 3.15.0 test file through update_lib. Its only delta is six existing expected messages, completing the dependent canonical wording coverage.
Assisted-by: OpenAI Codex: model version unavailable
2026-10-22 10:16:23 +09:00
Shahar Naveh
e82753086d
Align more error messages with CPython 3.14.5 ( #7928 )
2026-05-20 08:59:59 +09:00
Jeong, YunWon
edd7b4d45d
Align bytecode CFG cleanup with CPython ( #7781 )
2026-05-12 22:14:24 +09:00
CPython Developers
7b357e42dd
Update hashlib from v3.14.3
2026-02-14 21:40:04 +09:00
ShaharNaveh
98a47a66dd
Update test_positional_only_arg.py from 3.14.3
2026-02-13 13:43:18 +09:00
CPython Developers
58a37bc839
Update test_unpack_ex from v3.14.2
2026-02-12 01:01:35 +09:00
Jeong, YunWon
01a5f94e7b
Fix error / warning messages ( #6594 )
...
* fix functools.partial repr
* warn_deprecated_throw_signature
* fix function error messages
2025-12-31 15:01:55 +09:00
a6b4ef7f5d
Replace Python parser with ruff parser ( #5494 )
...
* stage1
* compiler pass build
* introduce rustpython-compiler-source
* stage2
* fixup
* pass compile
* Fix hello world compiler test
* Fix code generation for if-elif-else statement
* Fix code generation for lambda expression
* Fix code generation for integers
* Fix code generation for fstrings
* Fix code generation for if statement
* Fix code generation for if statement
* Fix code generation for if statement
* Fix code generation for fstring
* Fix code generation for class definition
* Replace feature flags
* Initialize frozen core modules
* Allow __future__ import after module doc comment
* Disable ast module
* Commit remaining fixes for compile errors in examples
* Fix some warnings
* Update ast stdlib module
* Update ast stdlib module
* Update ast stdlib module
* Update ast stdlib module
* Update ast stdlib module
* Split ast stdlib module into files
* Fix codegen for positional arguments with defaults
* Update ast stdlib module
* Update ast stdlib module
* Extract string and constant handling from expression.rs
* Always add required fields to AST nodes
* Compile doc strings correctly again
* Enable "ast" Cargo feature by default
* Refactor compilation of big integer literal
* Update ast stdlib module
* Update ast stdlib module
* Update ast stdlib module
* Reset barebones example
* Fix some left-over warnings
* Undo accidential change
* Adapt shell to ruff parser
* Pin parser to v0.4.10
* fix clippy
* Add TODO about interactive mode
* Fix compilation of complex number expression
* Remove moved code
* Update test case to ruff v0.4.10
* Apply suggestion
Co-authored-by: Jeong, YunWon <69878+youknowone@users.noreply.github.com >
* Apply suggestion
Co-authored-by: Jeong, YunWon <69878+youknowone@users.noreply.github.com >
* Fix compilation of fstring expression
* Fix compilation of fstring expression
* Fix wasm compile errors
* Attach correct source locations to ast objects
* Fix some more wasm compile errors
* Consider compile mode and enable AST stdlib module again
* Fix incorrect AST source location end column
* Fix compile error if "compiler" feature is not enabled
* Fix regrtests
* Fix some test_ast tests
* Add source range to type ignore
* Fix incompatibility with Rust 2024 edition
* Fix todos by implementing missing ast conversions and deleting unused code
* Appease clippy
* Fix remaining ast tests
* Fix remaining ast tests
* Mark/fix remaining tests
* Fix more
* Hacky windows fix
---------
Co-authored-by: Kangzhi Shi <shikangzhi@gmail.com >
Co-authored-by: Jeong YunWon <jeong@youknowone.org >
Co-authored-by: Jeong, YunWon <69878+youknowone@users.noreply.github.com >
Co-authored-by: Noa <coolreader18@gmail.com >
2025-03-19 21:06:03 -05:00
Nick Liu
7e3c59d21d
remove expectedFailure decorators
2022-12-29 22:49:26 +08:00
CPython Developers
740efd5e9f
Update test_positional_only_arg from CPython 3.10.6
2022-08-15 02:36:46 +09:00
Noa
e51cb82ff0
Unskip tests
2021-11-15 16:08:46 -06:00
zetwhite
0523a57195
fix error message for checking number of positional arguments
2021-11-06 17:00:20 +09:00
Moreal
9ddc6ba0d6
Unmark fixed test
2021-08-26 00:30:08 +09:00
Padraic Fanning
c789aef7bb
Mark erroring/failing tests
2021-04-28 17:50:44 -04:00
Padraic Fanning
90ba5fda94
Add test_positional_only_arg from CPython 3.8
2021-04-28 17:50:43 -04:00