Commit Graph
14 Commits
Author SHA1 Message Date
Shahar Naveh ba266ff382 Update test_warnings to 3.14.5 (#7853) 2026-05-12 20:52:20 +09:00
Jeong, YunWon 8a74956590 more algorithm-independent GC infra (#7194)
* mark poluting tests

* GC-infra independent to EBR

* trashcan

* add overflow guard to inc(), #[must_use] on dec()/safe_inc(), trashcan debug_assert, weakref generic re-check
2026-02-22 21:31:42 +09:00
Jeong, YunWon 88242301ff Use _print_exception_bltin in excepthook, register source in linecache (#7177)
- excepthook: call traceback._print_exception_bltin instead of
  traceback.print_exception to match PyErr_Display behavior
- run_string: register compiled code in linecache._interactive_cache
  so traceback can display source lines and caret indicators
- Remove test_sys_tracebacklimit expectedFailure
2026-02-18 01:50:27 +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 654a3eab8c Implement more warnings 2026-02-05 23:50:08 +09:00
CPython Developers b5edbd0ca7 Update warnings from v3.14.2
Assisted-by: Codex:gpt-6
2026-02-05 21:54:56 +09:00
Copilot b0c5bbc589 Update warnings module from CPython 3.14.1 (#6840) 2026-01-24 01:24:41 +09:00
Lee Dogeon 52a854a57a Unmark resolved test 2026-01-20 15:29:05 +09:00
Jeong, YunWon 8f7b1343bc mark and unmark successful/failing tests 2026-01-18 20:00:15 +09:00
fanninpmandJeong, YunWon e4ce70bbda Update Lib/warnings to CPython 3.14 (#6762)
* Update Lib/warnings to CPython 3.14

* Add context_aware_warnings setting

XXX- The default setting of this and thread_inherit_context should be
true.

* Unmark passing test

* Mark failing tests

* Skip failing test in test_sys for now

Updating test_sys to CPython 3.14 is beyond the scope of this PR.

* test_improper_option is fixed

---------

Co-authored-by: Jeong, YunWon <jeong@youknowone.org>
2026-01-18 13:59:49 +09:00
Jeong, YunWon 96e08a425e Initialize warnings module during interpreter startup to process (#6766) 2026-01-18 13:15:40 +09:00
Jeong, YunWon 11c9b0e783 fix finalizing and atexit timing (#6626)
* fix finalizing and atexit timing

* fix shutdown
2026-01-18 01:54:16 +09:00
Jeong, YunWon 9bbfdf5067 mark expectedFailure 2025-12-12 21:44:00 +09:00
Shahar Naveh 9995cc60b5 Update warnings from 3.13.5 (#6019) 2025-07-23 12:27:26 +09:00