Commit Graph
15755 Commits
Author SHA1 Message Date
Jeong, YunWon a5fc3a82de reason inside #[allow] (#7049) 2026-02-08 13:11:50 +00:00
Shahar Naveh fcc75a11b6 Update tomllib from 3.14.3 (#7048) 2026-02-08 12:51:38 +00:00
Shahar Naveh b1752c86a1 Newtype for LoadAttr oparg (#7047) 2026-02-08 11:47:14 +00:00
ShaharNaveh c714fcc816 Update difflib.py from 3.14.3 2026-02-08 20:36:35 +09:00
ShaharNaveh 19f6d02da7 Update dataclasses.py from 3.14.3 2026-02-08 19:38:26 +09:00
Jeong, YunWon e8ac05174a Add _types module (#6807)
* _types

* builtin_function_or_method

* PyCapsule

* function_or_method

* Remove expectedFailure for test_builtin_function and test_join_nondaemon_on_shutdown
2026-02-08 19:17:03 +09:00
Jeong, YunWon 9d563ce168 no_std clippy (#7043) 2026-02-08 16:49:18 +09:00
ShaharNaveh 2026996ff6 Update get{opt,pass}.py from 3.14.3 2026-02-08 16:35:56 +09:00
Shahar Naveh 1b149e9a21 Update test_{binop,contains}.py from 3.14.3 (#7038) 2026-02-08 10:00:50 +09:00
Shahar Naveh 0b60910998 Update tests with deprecated get_c_recursion_limit (#7039) 2026-02-08 09:59:14 +09:00
ShaharNaveh 150deeb1c9 Remove redundunt test_pickle tests 2026-02-08 08:54:38 +09:00
ShaharNaveh d601faa9d1 Update test_sort.py from 3.14.3 2026-02-08 08:33:45 +09:00
dependabot[bot] 388102e46b Bump webpack from 5.94.0 to 5.104.1 in /wasm/example (#7036)
Bumps [webpack](https://github.com/webpack/webpack) from 5.94.0 to 5.104.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Changelog](https://github.com/webpack/webpack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack/compare/v5.94.0...v5.104.1)

---
updated-dependencies:
- dependency-name: webpack
  dependency-version: 5.104.1
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-08 00:10:53 +09:00
Shahar Naveh ec977da1e1 test__all__.py (#7037) 2026-02-07 22:42:10 +09:00
Shahar Naveh 21a8733cb8 Bytecode oparg optimization (#7032)
* Generate optimized oparg enums

* No need to match on 255

* Remove `num_enum` crate from `compiler-core`

* Update `Cargo.lock`

* macro fmt

* Rename macro vars

* Match without `,`

* Support alternative values

* Fix alternatives

* Improve docs

* Add const assert

* Don't use `as u32`

* Make only ComparisonOperator unoptimized

* Fix test

* cleanup

* All opargs are optimized

* Remove comment
2026-02-07 19:15:16 +09:00
Shahar Naveh 97d1fea488 Update some libs&tests to 3.14.3 (#7006)
* Update some libs&tests to 3.14.3

* Update argparse from 3.14.3

* Update inspect

* Update `configparser.py` from 3.14.3
2026-02-07 19:09:42 +09:00
CPython Developers e3183b63b0 Update test_import from v3.14.3 2026-02-07 15:13:43 +09:00
Jeong, YunWonandCPython Developers 3df178298a Fix traceback, syntax errors, and exception handling (#7015)
* Update codeop from v3.14.3

* Fix traceback, syntax errors, and exception handling

- Improve unclosed bracket detection with "'(' was never closed" message
- Fix IndentationError location to point to end of line
- Implement frame.clear() with proper checks for executing/suspended frames
- Fix exception context chaining for propagated exceptions
- Add traceback.__dir__() and prevent tb_next deletion
- Fix subscript operation source range restoration in compiler
- Change "duplicate parameter" to "duplicate argument" error message
- Refactor duplicate code in asyncgenerator.rs and frame.rs

---------

Co-authored-by: CPython Developers <>

Assisted-by: Codex:gpt-6
2026-02-07 13:41:45 +09:00
Jeong, YunWon 58831550c4 Refactor warn.rs and _warnings module (#7023)
- Add already_warned() with filter version tracking
- Add type validation for _defaultaction and _onceregistry
- Use direct function names for _warnings pyattr/pyfunction
- Route stdlib::warnings::warn through warn::warn
- Remove spurious EncodingWarning from TextIOWrapper
- Clean up comments and simplify check_matched error handling
- Remove expectedFailure from 3 passing test_warnings tests
2026-02-06 20:46:51 +09:00
Jeong, YunWon ef41555307 Impl more codecs and _codecs._unregister_error (#7025)
- Rewrite _pycodecs.py: escape_decode, charmap_decode,
  unicode_escape_decode/encode, raw_unicode_escape_decode/encode
- Add _codecs._unregister_error with built-in handler protection
  and null byte/surrogate validation
- Normalize encoding name in register_manual
- Add codec error notes via add_note
- Fix cp65001 encoding constant in StandardEncoding::parse
- Remove 35 expectedFailure markers from test_codecs,
  test_pickle, test_datetime, pickletools
2026-02-06 20:37:18 +09:00
dependabot[bot] 42a26a7ed5 Bump x509-parser from 0.18.0 to 0.18.1 (#7029)
Bumps [x509-parser](https://github.com/rusticata/x509-parser) from 0.18.0 to 0.18.1.
- [Changelog](https://github.com/rusticata/x509-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rusticata/x509-parser/commits)

---
updated-dependencies:
- dependency-name: x509-parser
  dependency-version: 0.18.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-06 18:34:59 +09:00
Jeong, YunWon a30d701f1a Refactor _ast module for clarity (#7031)
- Extract singleton_node_to_object() helper for operator/context nodes
- Rename PY_COMPILE_FLAG_AST_ONLY to PY_CF_ONLY_AST
- Rename populate_match_args_and_attributes to populate_repr
- Set _attributes in impl_base_node! no-args variant
- Simplify ast_reduce with .is_some() instead of drop(value)
- Remove _ prefix from used parameters across ast/ files
- Fix slot_new comment to explain why slot_init is called
2026-02-06 17:45:11 +09:00
dependabot[bot] 9ab3542f52 Bump webpki-roots from 1.0.5 to 1.0.6 in the webpki-root group
Bumps the webpki-root group with 1 update: [webpki-roots](https://github.com/rustls/webpki-roots).


Updates `webpki-roots` from 1.0.5 to 1.0.6
- [Release notes](https://github.com/rustls/webpki-roots/releases)
- [Commits](https://github.com/rustls/webpki-roots/compare/v/1.0.5...v/1.0.6)

---
updated-dependencies:
- dependency-name: webpki-roots
  dependency-version: 1.0.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: webpki-root
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-06 17:31:46 +09:00
dependabot[bot] e09ea34128 Bump criterion from 0.8.1 to 0.8.2 in the criterion group
Bumps the criterion group with 1 update: [criterion](https://github.com/criterion-rs/criterion.rs).


Updates `criterion` from 0.8.1 to 0.8.2
- [Release notes](https://github.com/criterion-rs/criterion.rs/releases)
- [Changelog](https://github.com/criterion-rs/criterion.rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/criterion-rs/criterion.rs/compare/criterion-v0.8.1...criterion-v0.8.2)

---
updated-dependencies:
- dependency-name: criterion
  dependency-version: 0.8.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: criterion
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-06 17:31:33 +09:00
Jeong, YunWon c8b210d171 [AGENTS] guideline for comments 2026-02-06 14:30:15 +09:00
Padraic Fanning 7860f866f8 Add dependency groups to dependabot.yml 2026-02-06 14:20:31 +09:00
dependabot[bot] 2eea3d7a7f Bump webpack from 5.98.0 to 5.105.0 in /wasm/demo
Bumps [webpack](https://github.com/webpack/webpack) from 5.98.0 to 5.105.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Changelog](https://github.com/webpack/webpack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack/compare/v5.98.0...v5.105.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-version: 5.105.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-06 12:08:41 +09:00
github-actions[bot] b98e8cbf52 Update doc DB for CPython 3.14.3 2026-02-06 12:08:22 +09:00
CPython Developers e9271d96d6 Update encodings from v3.14.3 2026-02-06 12:05:17 +09:00
Jeong, YunWon c17afd948f [doc] fix workflow (#7021) 2026-02-06 11:41:08 +09:00
dependabot[bot]andCopilot c4d4d67abd Bump cranelift-module from 0.128.1 to 0.128.2 (#6992)
* Bump cranelift-module from 0.128.1 to 0.128.2

Bumps [cranelift-module](https://github.com/bytecodealliance/wasmtime) from 0.128.1 to 0.128.2.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases)
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/RELEASES.md)
- [Commits](https://github.com/bytecodealliance/wasmtime/commits)

---
updated-dependencies:
- dependency-name: cranelift-module
  dependency-version: 0.128.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Upgrade all cranelift-* packages to 0.128.3 in Cargo.toml (#7017)

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
2026-02-06 11:39:50 +09:00
Jeong, YunWon 7b5d695002 [AGNETS.md] guide control flow (#7018) 2026-02-06 09:31:55 +09:00
Jeong, YunWon 69c280fdaa Merge pull request #6997 from youknowone/test_io
Better codecs and fix lots of test_io and other expectedFailures
2026-02-06 09:04:47 +09:00
dependabot[bot] 9c853737c3 Bump time from 0.3.46 to 0.3.47 (#7014)
Bumps [time](https://github.com/time-rs/time) from 0.3.46 to 0.3.47.
- [Release notes](https://github.com/time-rs/time/releases)
- [Changelog](https://github.com/time-rs/time/blob/main/CHANGELOG.md)
- [Commits](https://github.com/time-rs/time/compare/v0.3.46...v0.3.47)

---
updated-dependencies:
- dependency-name: time
  dependency-version: 0.3.47
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-06 09:00:59 +09:00
Shahar Naveh 1d5301bae5 Use num_enum crate for oparg types (#6980)
* Use `num_enum` crate for oparg types

* Fix doctest

* Make opargs `#[repr(u8)]`

* BuildSliceArgCount optimized
2026-02-06 09:00:38 +09:00
Jeong, YunWon 2657be6b4b Merge pull request #7008 from youknowone/warnings 2026-02-06 07:45:48 +09:00
CPython Developers e02d9fc91f Update traceback from v3.14.3 2026-02-06 07:45:17 +09:00
ShaharNaveh 8a4368120b Update pprint.py from 3.14.3 2026-02-06 01:14:55 +09:00
CPython Developers 3174072f03 Update test_dict from v3.14.3 2026-02-06 00:35:00 +09:00
Jeong, YunWon a9a7f263a1 Move pickletester.py to the correct place (#7003)
* Move `pickletester.py` to the correct place

* Mark failing tests

* Update `test_pickle.py` from 3.14.3
2026-02-06 00:21:15 +09:00
Jeong, YunWon 6c8477d2a8 win codecs 2026-02-06 00:15:18 +09:00
Jeong, YunWon 808ed9c68f fix io 2026-02-06 00:15:18 +09:00
CPython Developers fffb567010 Update test_io from v3.14.3 2026-02-06 00:15:18 +09:00
Jeong, YunWon 3e6cb83fc5 Fix test_io expectedFailures
Assisted-by: Codex:gpt-6
2026-02-06 00:15:18 +09:00
Jeong, YunWon 654a3eab8c Implement more warnings 2026-02-05 23:50:08 +09:00
Jeong, YunWon 7271f56c28 skip flaky test_threaded_weak_key_dict_copy (#7010) 2026-02-05 23:47:09 +09:00
fanninpmandcoderabbitai[bot] a63a5045d5 RustPython version to 3.14.3 (#6999)
* RustPython version to 3.14.3

* Refactor version number to variable

* Fix CPython clone version statement

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-02-05 23:42:33 +09:00
Jeong, YunWon 18ac6dd63b Merge pull request #7001 from youknowone/annotationlib
Add test_annotationlib to v3.14.2 and fix related bugs
2026-02-05 23:39:47 +09:00
Jeong, YunWon 6561fb12da align overlapped to CPython 3.14.2 (#7005) 2026-02-05 23:38:35 +09:00
ShaharNaveh d6c26074ac Merge remote-tracking branch 'upstream/main' into move-pickletester 2026-02-05 15:52:30 +02:00