Commit Graph
4263 Commits
Author SHA1 Message Date
Shahar Naveh fcc75a11b6 Update tomllib from 3.14.3 (#7048) 2026-02-08 12:51:38 +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
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
Shahar Naveh ec977da1e1 test__all__.py (#7037) 2026-02-07 22:42:10 +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
CPython Developers e9271d96d6 Update encodings from v3.14.3 2026-02-06 12:05:17 +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
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
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
ShaharNaveh d6c26074ac Merge remote-tracking branch 'upstream/main' into move-pickletester 2026-02-05 15:52:30 +02:00
ShaharNaveh 73e55444f9 Update test_pickle.py from 3.14.3 2026-02-05 15:52:00 +02:00
CPython Developers b5edbd0ca7 Update warnings from v3.14.2
Assisted-by: Codex:gpt-6
2026-02-05 21:54:56 +09:00
ShaharNaveh 3956372933 Mark failing tests 2026-02-05 14:19:41 +02:00
ShaharNaveh 2e1fbb6897 Move pickletester.py to the correct place 2026-02-05 13:32:40 +02:00
Jeong, YunWon 8ffb8f5512 Update list-related CPython tests to v3.14.2 (#7000) 2026-02-05 20:30:17 +09:00
CPython Developers cfe1196b7d Update annotationlib from v3.14.2 2026-02-05 19:31:58 +09:00
Shahar Naveh bbb6c66a29 Update pickle.py from 3.14.2 (#6982)
* Update `_compat_pickle.py` from 3.14.2

* Update `pickle.py` from 3.14.2

* Update pickletools and tests

* Update all other pickle related files

* Make `test_extcall` to use modified doctest checker
2026-02-05 19:27:10 +09:00
Jeong, YunWon 48e4e7c661 Implement more ast features (#6986)
Assisted-by: Codex:gpt-6
2026-02-05 16:20:22 +09:00
Jeong, YunWon 4f893e45ca impl more importlib 2026-02-05 00:21:34 +09:00
CPython Developers 6202455032 Update importlib from v3.14.2 2026-02-05 00:21:34 +09:00
Elmir 54ccf8be60 support | operation between typing.Union and strings (#6983)
* remove duplicated _call_typing_func_object() functions

Move _call_typing_func_object() code to
stdlib::typing::call_typing_func_object().
Use that function everywhere.

* support | operation between typing.Union and strings

Adds support for performing '|' operation between Union objects and
strings, e.g. forward type references.

For example following code:

    from typing import Union

    U1 = Union[int, str]
    U1 | "float"

The result of the operation above becomes:

   int | str | ForwardRef('float')
2026-02-04 23:49:36 +09:00
ShaharNaveh 17acf51a0d Update queue from 3.14.2 2026-02-04 18:32:45 +09:00
Jeong, YunWon 30abcac399 Merge pull request #6985 from youknowone/subprocess
Update subprocess from v3.14.2
2026-02-04 13:17:14 +09:00
Jeong, YunWon a48802553a Fix Context.new_bytes (#6989) 2026-02-04 13:07:16 +09:00
CPython Developers fd252a4e0c Update subprocess from v3.14.2 2026-02-04 11:16:15 +09:00
Jeong, YunWon fea26e456f impl more nt (#6984)
* mpl new features

* windows encodings

* impl nt functions

* revert

* codecs

* fix codecs
2026-02-04 09:53:02 +09:00
Jeong, YunWon 9ccd5d6980 more windows impl 2026-02-03 22:10:31 +09:00
Jeong, YunWon 279f33a407 fix timeout 2026-02-03 22:10:31 +09:00
CPython Developers 8e316a2255 Update os from v3.14.2 2026-02-03 22:10:31 +09:00
CPython Developers 4dad534ce0 Update test_posix from v3.14.2 2026-02-03 22:10:31 +09:00