Abstract
There are many good uses for read-only - or immutable - property descriptors. In fact, there is a lot to back up the idea of having everything be effectively immutable. Unfortunately, due to Python's inherent lack of being able to make anything actually immutable, interpreter optimization isn't one of those possible benefits with Python.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2016 Jacob Zimmerman
About this chapter
Cite this chapter
Zimmerman, J. (2016). Read-Only Descriptors. In: Python Descriptors. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-2505-9_8
Download citation
DOI: https://doi.org/10.1007/978-1-4842-2505-9_8
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-2504-2
Online ISBN: 978-1-4842-2505-9
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)