Commit Graph
4330 Commits
Author SHA1 Message Date
Lee Dogeon ecc59cfdcd Fix inspect.signature introspection for attrgetter/itemgetter/methodcaller (#7111)
* Fix attrgetter signature introspection in operator

* Fix itemgetter signature introspection in operator

* Fix methodcaller signature introspection in operator
2026-02-14 09:17:41 +09:00
Jeong, YunWon 8ea96fb540 Fix typing, typevar, genericalias, and symboltable (#7091)
- TypeVar/ParamSpec repr: use infer_variance flag
- ParamSpec: add type_check on bound argument
- ParamSpecArgs/Kwargs: use equality instead of identity
- NoDefault: change to IMMUTABLETYPE flag
- subscript_generic: wrap TypeVarTuple in Unpack
- symboltable: selective name mangling in type param scopes
- symboltable: fix double default scanning for non-generic fns
- Unmark 4 passing tests in test_type_params
2026-02-14 09:15:57 +09:00
Jeong, YunWon 12de55fc68 Use CRT functions for time module on Windows (#7090)
- Replace chrono with CRT functions (wcsftime, _gmtime64_s,
  _localtime64_s, _mktime64) on Windows for correct behavior
- Fix timezone name corruption: use take_while instead of filter
  for null-terminated wide strings in TIME_ZONE_INFORMATION
- Fix wcsftime symbol name (_wcsftime -> wcsftime)
- Fix CString import cfg to unix-only
- Remove 13 expectedFailure markers from test_time for Windows
2026-02-14 09:13:06 +09:00
Jeong, YunWon bbf39d3523 Merge pull request #7113 from ShaharNaveh/update-tests-2
Update some tests from 3.14.3
2026-02-13 22:16:18 +09:00
ShaharNaveh 3b30e5530f Update test_abc.py from 3.14.3 2026-02-13 22:15:52 +09:00
ShaharNaveh 32ef23feb4 Update pathlib, glob, fnmatch from 3.14.3 2026-02-13 22:15:19 +09:00
Lee Dogeon 85e146e868 Add float.from_number classmethod (#7107) 2026-02-13 11:47:12 +00:00
ShaharNaveh 19790c9890 Update test_print 2026-02-13 13:36:33 +02:00
ShaharNaveh 207c979761 Add test_flufl.py 2026-02-13 13:36:33 +02:00
ShaharNaveh ab9594c4de Update test_dictcomps, test_userdict 2026-02-13 13:36:33 +02:00
ShaharNaveh d923f84687 Update test_buffer.py 2026-02-13 13:36:33 +02:00
ShaharNaveh 897bbe1b48 Update test_bool.py from 3.14.3 2026-02-13 13:36:33 +02:00
ShaharNaveh 1a9e7ebc20 Update posixpath.py from 3.14.3 2026-02-13 20:24:57 +09:00
Jeong, YunWon da5fcba64e Merge pull request #7106 from moreal/test_float
Update test_float from v3.14.3
2026-02-13 19:35:28 +09:00
Shahar Naveh 3e64c42b23 Update pydoc.py from 3.14.3 (#7104) 2026-02-13 18:07:25 +09:00
ShaharNaveh 6d516fe7e4 Mark failing test 2026-02-13 18:06:47 +09:00
ShaharNaveh 720c9639c4 Update test_defaultdict.py from 3.14.3 2026-02-13 18:06:47 +09:00
Lee DogeonandClaude Opus 4.6 7b97ff94c6 Mark failing tests
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 18:05:39 +09:00
CPython Developers 7df6664854 Update test_float from v3.14.3 2026-02-13 18:03:21 +09:00
Jeong, YunWon f1282f8553 mark typing 2026-02-13 14:13:30 +09:00
CPython Developers ae9caada50 Update io from v3.14.3 2026-02-13 14:13:30 +09:00
ShaharNaveh 706e99a742 Update test_long.py from 3.14.3 2026-02-13 13:55:05 +09:00
ShaharNaveh fe966d5fef Update _pylong.py from 3.14.3 2026-02-13 13:55:05 +09:00
ShaharNaveh a1d30432d5 Update urllib from 3.14.3 2026-02-13 13:44:28 +09:00
ShaharNaveh 1d64b4991f Update test_functools.py from 3.14.3 2026-02-13 13:44:08 +09:00
ShaharNaveh 9676a1a5dd Update test_deque.py from 3.14.3 2026-02-13 13:43:46 +09:00
ShaharNaveh 223cedb49d Update test_future_stmt from 3.14.3 2026-02-13 13:43:29 +09:00
ShaharNaveh 98a47a66dd Update test_positional_only_arg.py from 3.14.3 2026-02-13 13:43:18 +09:00
ShaharNaveh 93af6e16d1 Update test_funcattrs.py from 3.14.3 2026-02-13 13:43:04 +09:00
ShaharNaveh 8203153d60 Update test_property.py from 3.14.3 2026-02-13 13:42:52 +09:00
ShaharNaveh 58352f08f2 Update test_sundry.py from 3.14.3 2026-02-13 13:42:38 +09:00
ShaharNaveh c51be99876 Update wave.py from 3.14.3 2026-02-13 13:42:22 +09:00
Jeong, YunWon 11275507b3 Remove expectedFailure from test_bad_newobj_ex_args 2026-02-12 01:49:31 +09:00
Jeong, YunWon 0ec406fc95 fix 2026-02-12 01:01:35 +09:00
CPython Developers 58a37bc839 Update test_unpack_ex from v3.14.2 2026-02-12 01:01:35 +09:00
CPython Developers d22ff7bdf6 Update test_extcall from v3.14.2 2026-02-12 01:01:35 +09:00
Jeong, YunWon 42b3f9ac9d Unmark failing markers 2026-02-11 18:38:10 +09:00
Jeong, YunWon adddfe605a Merge pull request #7078 from youknowone/typing
Implement more typing
2026-02-11 18:33:26 +09:00
Jeong, YunWon 84a2581372 Merge pull request #7073 from youknowone/time
update test_time and implement more time module
2026-02-11 18:29:35 +09:00
ShaharNaveh b394da7b50 Update statistics.py from 3.14.3 2026-02-11 18:01:41 +09:00
Jeong, YunWon 46a86ec036 Merge pull request #7067 from youknowone/doctest
Update doctest,test_generators from v3.14.2 and fix generator bugs
2026-02-11 17:49:59 +09:00
Copilot 344eb92d16 Sync test_abstract_numbers with CPython v3.14.3 (#7080) 2026-02-11 17:42:16 +09:00
Shahar Naveh c31458e50b Update test_tabnanny.py from 3.14.3 (#7083) 2026-02-11 17:41:57 +09:00
Jeong, YunWon 96f160211f Propagate can_see_class_scope to annotation scopes in type param blocks
Annotation scopes now inherit can_see_class_scope from parent scopes
(not just direct Class parents), allowing annotations in generic
methods inside classes to access class variables via __classdict__.

Remove 3 expectedFailure markers from test_type_params.
2026-02-11 17:00:30 +09:00
Jeong, YunWon af5c5f13bc Fix nonlocal type param check, __class_getitem__, __set_name__ note, sre module names
- Reject nonlocal binding for type parameters in symboltable
- Enable __class_getitem__ on memoryview, Template, Interpolation
- Fix __set_name__ error note to quote attribute name
- Set re.Match and re.Pattern module to "re" instead of "_sre"
- Migrate parking_lot::Mutex to PyMutex in typevar.rs
- Collapse nested if-let chains in typing_type_repr (clippy)
- Remove 5 expectedFailure markers from test files
2026-02-11 17:00:29 +09:00
Jeong, YunWon 821e29e92c Add _ConstEvaluator, evaluate_* getters, format validation
- Implement _ConstEvaluator type in _typing module with STRING
  format support via typing_type_repr (port of _Py_typing_type_repr)
- Add evaluate_bound, evaluate_constraints, evaluate_default
  pygetset properties to TypeVar, ParamSpec, TypeVarTuple
- Emit format validation in evaluator scopes
  (compile_type_param_bound_or_default, TypeAlias value scopes)
  so evaluators raise NotImplementedError for unsupported formats
- Add non-default-after-default SyntaxError in scan_type_params
- Fix ParamSpec default_value to use Mutex for proper caching
- Fix TypeVar constructor: evaluate_constraints set to None
  instead of constraints tuple for eager-constructed TypeVars
- Pass format=1 (FORMAT_VALUE) to all lazy evaluator calls
- Remove 6 expectedFailure markers from test_type_params
2026-02-11 16:59:33 +09:00
CPython Developers abec3606cf Update test_time from v3.14.3 2026-02-11 16:57:51 +09:00
Jeong, YunWon 25f545f059 apply tests
Assisted-by: Codex:gpt-6
2026-02-11 16:50:23 +09:00
CPython Developers 895140afa1 Update test_generators from v3.14.2 2026-02-11 16:47:11 +09:00
CPython Developers 182fc3d79c Update doctest from v3.14.2 2026-02-11 16:47:03 +09:00