Top "Descriptor" questions

Understanding __get__ and __set__ and Python descriptors

I am trying to understand what Python's descriptors are and what they are useful for. I understand how they work, …

python descriptor
How to call a property of the base class if this property is being overwritten in the derived class?

I'm changing some classes of mine from an extensive use of getters and setters to a more pythonic use of …

python inheritance properties overloading descriptor
Subscribe to a BLE Gatt notification Android

I´m developing an BLE app, based on the Gatt sample project provided by google: https://developer.android.com/samples/…

android bluetooth bluetooth-lowenergy descriptor
Eclipse 'loading descriptor' takes ages

We have a Java Spring MVC based project using Eclipse (Juno - the latest build), using the latest JVM 1.7 and …

java eclipse spring-mvc descriptor
How to visualize descriptor matching using opencv module in python

I am trying to use opencv with python. I wrote a descriptor (SIFT, SURF, or ORB) matching code in C++ …

python opencv image-processing descriptor
How to add weblogic-application.xml in a WAR file

Could you please let me know whether weblogic-application.xml can be added in a WAR file and if so, then …

java jakarta-ee weblogic descriptor
python, __slots__, and "attribute is read-only"

I want to create an object in python that has a few attributes and I want to protect myself from …

python exception descriptor readonly-attribute
weblogic 12c deployment failure

I'm migrating from Weblogic 11g to 12c, during the deployment process it fails and shows the following error: Caused by: …

java jakarta-ee deployment weblogic descriptor
Set and Get @property method in Python by string variable

Currently I have a generalized function where you can pass in an attribute name and a class (it would also …

python attributes descriptor
Python dict.get('key') versus dict['key']

Why does this throw a KeyError: d = dict() d['xyz'] But this does not? d = dict() d.get('xyz') I'm …

python dictionary descriptor keyerror