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

Description Jonathan Bedard 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.
Comment 1 Radar WebKit Bug Importer 2021-05-19 16:29:40 PDT
<rdar://problem/78230701>
Comment 2 Jonathan Bedard 2021-05-19 16:30:44 PDT
Created attachment 429111 [details]
Patch
Comment 3 Jonathan Bedard 2021-07-28 16:56:32 PDT
Created attachment 434477 [details]
Patch
Comment 4 dewei_zhu 2021-07-28 18:53:16 PDT
Comment on attachment 434477 [details]
Patch

r=me
Comment 5 Jonathan Bedard 2021-07-28 19:03:12 PDT
Created attachment 434489 [details]
Patch for landing
Comment 6 EWS 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].