Issue1465481

classification
Title: classmethod fixes
Type: Severity: normal
Components: None Versions:
Milestone:
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: fwierzbicki Nosy List: fwierzbicki, kzuberi
Priority: normal Keywords: patch

Created on 2006-04-06.03:39:38 by kzuberi, last changed 2006-05-14.02:47:33 by fwierzbicki.

Files
File name Uploaded Description Edit Remove
PyClassMethod_fixes.patch kzuberi, 2006-04-06.03:39:39
Messages
msg2485 (view) Author: Khalid Zuberi (kzuberi) Date: 2006-04-06.03:39:38
Patch to address 2 items:

 - expose __get__()
 - check that arg to classmethod is a callable

The relevant test case is classmethod() in test_descr
(from cpython 2.3), which now passes.

It would probably be useful to take a more rigorous
approach comparing exposed attributes from the builtins
between jython & cpython since the test-cases probably
don't catch everything. However hopefully taking small
steps is still progress.

Needs review. Thanks.

- kz
msg2486 (view) Author: Frank Wierzbicki (fwierzbicki) Date: 2006-05-14.02:47:33
Logged In: YES 
user_id=193969

I moved the new-style class support into the (sandbox/jt)
files classmethod.expose and classmethod.derived.  Applied.
History
Date User Action Args
2006-04-06 03:39:38kzubericreate