py: Add optional support for descriptors' __get__ and __set__ methods.

Disabled by default.  Enabled on unix and windows ports.
This commit is contained in:
stijn
2015-02-14 18:43:54 +01:00
committed by Damien George
parent c260836beb
commit 28fa84b445
7 changed files with 99 additions and 23 deletions

View File

@@ -66,6 +66,10 @@ Q(__add__)
Q(__sub__)
Q(__repr__)
Q(__str__)
#if MICROPY_PY_DESCRIPTORS
Q(__get__)
Q(__set__)
#endif
Q(__getattr__)
Q(__del__)
Q(__call__)