Skip to content

[v3-3-test] Fix the deadline_reference decorator's no-parentheses form (#70708) - #70966

Open
github-actions[bot] wants to merge 1 commit into
v3-3-testfrom
backport-8541668-v3-3-test
Open

[v3-3-test] Fix the deadline_reference decorator's no-parentheses form (#70708)#70966
github-actions[bot] wants to merge 1 commit into
v3-3-testfrom
backport-8541668-v3-3-test

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor
  • Fix the deadline_reference decorator's no-parenthesis form

Used bare, the decorator silently rebound the decorated class to the inner decorator function and skipped registration entirely, surfacing later as an unrelated TypeError with an unhelpful message. Accept both forms, add clearer error messaging when a reference cannot be instantiated, and clarify the related docs.

  • bugfix newsfragment

  • sphynx riddles
    (cherry picked from commit 8541668)

Co-authored-by: D. Ferruzzi ferruzzi@amazon.com

#70708)

* Fix the deadline_reference decorator's no-parenthesis form

Used bare, the decorator silently rebound the decorated class to the inner decorator function and skipped registration entirely, surfacing later as an unrelated TypeError with an unhelpful message.  Accept both forms, add clearer error messaging when a reference cannot be instantiated, and clarify the related docs.

* bugfix newsfragment

* sphynx riddles
(cherry picked from commit 8541668)

Co-authored-by: D. Ferruzzi <ferruzzi@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant