coolreader18
51934e0d7c
Add explanation of broken test
2019-09-08 10:09:15 -05:00
coolreader18
b797b51369
Fix class scopes by modifying symboltable
2019-09-07 01:29:11 -05:00
coolreader18
ae45a4a3be
Fix class vs method scopes
2019-09-05 00:27:16 -05:00
lynskylate
401ab2a399
Add str test
2019-08-17 01:41:09 +08:00
Jeong YunWon
7564833b6e
Add classmethod.__func__
2019-05-11 05:30:27 +09:00
ben
2164cb5e65
Produce correct value for __qualname__ and add attributes to class.
2019-04-11 20:13:23 +12:00
ben
84eff4a7ac
Add __name__ and __module__ to functions
2019-04-11 20:13:23 +12:00
Aviv Palivoda
6d53fe6924
Add more tests for class doc
2019-03-31 18:52:27 +03:00
Aviv Palivoda
ab3cde77b4
Support class __doc__
2019-03-31 18:52:27 +03:00
Aviv Palivoda
2f9a49d077
Support classmethod super
2019-03-23 19:56:00 +02:00
Aviv Palivoda
84e89d37e2
Use __class__ cell in super
2019-03-22 16:37:28 +02:00
Aviv Palivoda
6230a25c4b
Use first argument in super
2019-03-22 16:37:28 +02:00
Adam Kelly
1958e47022
Add __class__ cell to method scopes.
2019-03-20 09:20:28 +00:00
Aviv Palivoda
50cc9fa91f
super works in class methods
2019-03-18 22:00:54 +02:00
ben
3c3c1f2b6f
Fixed new_attribute_error and added more tests for property
2019-03-10 09:01:46 +13:00
Windel Bouwman
df0400dffb
Add filter and zip builtins
2018-11-07 09:41:16 +01:00
Windel Bouwman
ce5bb72ed0
Minor delta on super class.
2018-11-05 20:46:32 +01:00
Adam Kelly
7bf8378a18
type.__getattribute__ should be bound to type!
2018-11-04 18:43:39 +00:00
Windel Bouwman
a389b55ec1
Initial version of property class.
2018-11-04 17:14:07 +01:00
Windel Bouwman
6746784db8
Add classmethod and staticmethod classes.
2018-11-04 13:27:50 +01:00
Adam Kelly
ca7b792497
Get both forms of type to work properly.
...
Includes basic ability to traverse method resolution order (mro), but
not to derive mro or read parents from class definitions.
New and init called when creating types and instances.
__call__ works on types and instances.
Descriptors have have priority over instance variables.
2018-08-18 11:54:00 +01:00
Adam Kelly
4b52f72316
load_attr to use class based attribute getting.
2018-08-12 18:57:56 +01:00
Adam Kelly
aa1207adcf
Snippet to test out class definition.
2018-08-09 07:55:52 +01:00