History for Lib/annotationlib.py - python/cpython · GitHub

github.com

Tin mới

[3.14] gh-148680: Replace internal names with type_reprs of objects in string representations of ForwardRef (GH-148682) (#148913)

[3.14] gh-148680: Replace internal names with type_reprs of objects in string representations of ForwardRef (GH-148682) (#148913)

[3.14] gh-146556: Fix infinite loop in annotationlib.get_annotations() on circular __wrapped__ (GH-146557) (#146622)

[3.14] gh-146556: Fix infinite loop in annotationlib.get_annotations() on circular __wrapped__ (GH-146557) (#146622)

[3.14] gh-145870: Fix Format.SOURCE reference in get_annotations docstring (GH-145889) (GH-146036)

[3.14] gh-145870: Fix Format.SOURCE reference in get_annotations docstring (GH-145889) (GH-146036)

[3.14] gh-143831: Compare cells by identity in forward references (GH-143848) (#144020)

[3.14] gh-143831: Compare cells by identity in forward references (GH-143848) (#144020)

[3.14] gh-143517: Fix an edge case in rewriting stringified starred annotations (GH-143518) (#143540)

[3.14] gh-143517: Fix an edge case in rewriting stringified starred annotations (GH-143518) (#143540)

[3.14] gh-141489: Simplify closure/freevar iteration in `annotationlib._build_closure()` (GH-141490) (#141776)

[3.14] gh-141489: Simplify closure/freevar iteration in `annotationlib._build_closure()` (GH-141490) (#141776)

[3.14] gh-137969: Fix double evaluation of `ForwardRef`s which rely on globals (GH-140974) (#141527)

[3.14] gh-137969: Fix double evaluation of `ForwardRef`s which rely on globals (GH-140974) (#141527)

[3.14] gh-138151: Fix annotationlib handling of multiple nonlocals (GH-138164) (#140949)

[3.14] gh-138151: Fix annotationlib handling of multiple nonlocals (GH-138164) (#140949)

[3.14] Revert "gh-137969: Fix evaluation of `ref.evaluate(format=Format.FORWARDREF)` objects (GH-138075) (#140929)" (GH-140931)

[3.14] Revert "gh-137969: Fix evaluation of `ref.evaluate(format=Format.FORWARDREF)` objects (GH-138075) (#140929)" (GH-140931)

[3.14] gh-137969: Fix evaluation of `ref.evaluate(format=Format.FORWARDREF)` objects (GH-138075) (#140929)

[3.14] gh-137969: Fix evaluation of `ref.evaluate(format=Format.FORWARDREF)` objects (GH-138075) (#140929)

[3.14] gh-138425: Correctly partially evaluate global generics with undefined params in `ref.evaluate(format=Format.FORWARDREF)` (GH-138430) (#140927)

[3.14] gh-138425: Correctly partially evaluate global generics with undefined params in `ref.evaluate(format=Format.FORWARDREF)` (GH-138430) (#140927)

[3.14] gh-138764: annotationlib: Make `call_annotate_function` fallback to using `VALUE` annotations if both the requested format and `VALUE_WITH_FAKE_GLOBALS` are not implemented (GH-138803) (#140…

[3.14] gh-138764: annotationlib: Make `call_annotate_function` fallback to using `VALUE` annotations if both the requested format and `VALUE_WITH_FAKE_GLOBALS` are not implemented (GH-138803) (#140…

[3.14] gh-138891: fix star-unpack in get_annotations (GH-138951) (#140384)

[3.14] gh-138891: fix star-unpack in get_annotations (GH-138951) (#140384)

[3.14] gh-138558: Improve handling of Template annotations in annotationlib (GH-139072) (#139272)

[3.14] gh-138558: Improve handling of Template annotations in annotationlib (GH-139072) (#139272)

[3.14] gh-137226: Fix behavior of ForwardRef.evaluate with type_params (GH-137227) (#137709)

[3.14] gh-137226: Fix behavior of ForwardRef.evaluate with type_params (GH-137227) (#137709)

[3.14] gh-135646: Raise consistent `NameError` exceptions in `ForwardRef.evaluate()` (GH-135663) (#135673)

[3.14] gh-135646: Raise consistent `NameError` exceptions in `ForwardRef.evaluate()` (GH-135663) (#135673)

[3.14] gh-119180: Only fetch globals and locals if necessary in `annotationlib.get_annotations()` (GH-135644) (#135654)

[3.14] gh-119180: Only fetch globals and locals if necessary in `annotationlib.get_annotations()` (GH-135644) (#135654)

[3.14] gh-133684: Fix get_annotations() where PEP 563 is involved (GH-133795) (#134656)

[3.14] gh-133684: Fix get_annotations() where PEP 563 is involved (GH-133795) (#134656)

[3.14] gh-133551: Support t-strings in annotationlib (GH-133553) (#133628)

[3.14] gh-133551: Support t-strings in annotationlib (GH-133553) (#133628)

gh-119180: Make the FORWARDREF format work with more kinds of runtime errors (#133407)

gh-119180: Make the FORWARDREF format work with more kinds of runtime errors (#133407)

gh-125618: Make FORWARDREF format succeed more often (#132818)

gh-125618: Make FORWARDREF format succeed more often (#132818)

gh-132805: annotationlib: Fix handling of non-constant values in FORWARDREF (#132812)

gh-132805: annotationlib: Fix handling of non-constant values in FORWARDREF (#132812)

gh-132426: Add get_annotate_from_class_namespace replacing get_annotate_function (#132490)

gh-132426: Add get_annotate_from_class_namespace replacing get_annotate_function (#132490)

annotationlib: Move ForwardRef tests to test_annotationlib (#132571)

annotationlib: Move ForwardRef tests to test_annotationlib (#132571)

annotationlib: Remove some unnecessary dict copies (#132495)

gh-132491: Rename annotationlib.value_to_string to type_repr (#132492)

gh-129463: Remove two attributes from ForwardRef equality (#132283)

gh-132064: Make annotationlib use __annotate__ if only it is present (#132195)

gh-132261: Store annotations at hidden internal keys in the class dict (#132345)

gh-129463, gh-128593: Simplify ForwardRef (#129465)

gh-118761: Defer import of functools in annotationlib (#132059)

Remove deferred ``typing`` import in ``annotationlib`` (#132034)

gh-119180: Add VALUE_WITH_FAKE_GLOBALS format to annotationlib (#124415)

gh-125614: annotationlib: Fix bug where not all Stringifiers are converted (#125635)

Minor edit for code clarification in annotationlib. (#124805)