Index

A, B

Attribute access
instance access
class
__getattribute__() method
__get__() method
MRO
set and delete calls
AttributeError
Attributes storage
class-level
descriptor, data ( see Descriptor, data)
location, indirect
name mangling ( see Name mangling)
original and mangled name storage ( see Original and mangled name storage)

C

Class constants
autocompletion
metaclass
metadescriptor
multiclassing issues

D

Descriptor, data
descriptor protocol
facade class
hashable types
instance dictionary
Boolean flag
name conflicts
__slots__
vars() function
instance’s ID
key ID
location name
__init__() method
set-it-and-forget-it descriptors
validatedAttribute
memory leaks
mutable collections
vs. non-data
overriding
__setitem__() class
WeakKeyDictionary
Descriptor methods
__delete__() method
EAFP
__get__() method
__set__() method
unbound attributes
attrgetter() function
map() function
self returning
unboundattr() function
Descriptor protocol
__delete__(self, instance) method
__get__(self, instance, owner) method
__set__(self, instance, value) method
Descriptors
abstract method
cons of Python
additional objects
__delete__() method
descriptor-tools library
encapsulation
__get__() method
inheritance
instance, passing
methods ( see Descriptor methods)
optional/default parameters
pros of Python
class level
encapsulation
read/write patterns
Python, use
__set__() method
standard library
bound method
classmethod descriptor
property class
staticmethod descriptor
uses
Elk
Jigna
SQLAlchemy
validators

E, F

Easier to ask for forgiveness than for permission (EAFP)
Elk

G, H

GitHub

I

Instance-level descriptors, Python, see Python

J

Jigna

K, L

Kotlin

M

Metadescriptors
Method resolution order (MRO)
Multi-paradigm language

N

Name mangling
name fetching
dir() method
getattr_static() function
name_of() method
__set_name__() method
non-data descriptor
Python

O

Original and mangled name storage
DRYness
ID keying
__dir__() method
pickle module
metadescriptors

P, Q

Python
default() method
__getattribute__() method
__get__() method
initialize() method
InstanceProperty descriptor
__setattr__() method
set_meta() method

R

Read-only descriptors
forced-set descriptor
secret-set descriptor
set-once descriptor
Read/write patterns

S, T, U, V

SQLAlchemy

W, X, Y, Z

Wheel, reusing
read-only solutions
decorator
__getattribute__() method
storage solutions
NameGetter class
OnInstanceStorageSolution class
per-instance
set() method
template-called methods
unbound attributes
object decorator
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.12.156