Restrictive APIs for Python


Version: 1.0
Date: 2013-09-12
Category:
Scripts
Python
Requirements:
Seller:
Price:
-
System:
Requirements:
License:

Description - Restrictive APIs for Python



Python has no inherent provision for a restrictive API that blocks accesses to methods and variables outside an allowed set. Inexperienced Python programmers may FAIL to adhere to an agreed-upon API, directly accessing the private internals of a class. Adherence to defined APIs is a good thing. This function allows a class to specify its API, and raise AttributeErrors for disallowed accesses.

‚Äč


More in Python-Restrictive APIs for Python

Class Accesses Restrictive Apis Thing This Function