Bug 225991

Summary: [webkitcorepy] Add hybridmethod decorator
Product: WebKit Reporter: Jonathan Bedard <jbedard>
Component: Tools / TestsAssignee: Jonathan Bedard <jbedard>
Status: RESOLVED FIXED    
Severity: Normal CC: aakash_jain, dewei_zhu, slewis, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=225985
Attachments:
Description Flags
Patch
none
Patch
none
Patch for landing none

Jonathan Bedard
Reported 2021-05-19 16:29:23 PDT
The hybridmethod decorator is similar to the classmethod decorator, except that a hybridmethod can differentiate between it's caller being an instance of a class and it's caller being a type object.
Attachments
Patch (3.10 KB, patch)
2021-05-19 16:30 PDT, Jonathan Bedard
no flags
Patch (2.89 KB, patch)
2021-07-28 16:56 PDT, Jonathan Bedard
no flags
Patch for landing (4.13 KB, patch)
2021-07-28 19:03 PDT, Jonathan Bedard
no flags
Radar WebKit Bug Importer
Comment 1 2021-05-19 16:29:40 PDT
Jonathan Bedard
Comment 2 2021-05-19 16:30:44 PDT
Jonathan Bedard
Comment 3 2021-07-28 16:56:32 PDT
dewei_zhu
Comment 4 2021-07-28 18:53:16 PDT
Comment on attachment 434477 [details] Patch r=me
Jonathan Bedard
Comment 5 2021-07-28 19:03:12 PDT
Created attachment 434489 [details] Patch for landing
EWS
Comment 6 2021-07-28 19:32:02 PDT
Committed r280413 (240053@main): <https://commits.webkit.org/240053@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 434489 [details].
Note You need to log in before you can comment on or make changes to this bug.