This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author merchise
Recipients eryksun, merchise, ncoghlan, r.david.murray, rhettinger
Date 2015-10-21.00:19:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1445386780.61.0.848833830625.issue25448@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks ~eryksun, you clarified me in where the error is located and possible patches for it.

We are programming a framework where is very important to do mappings between (1) the API and (2) the drivers layers.

We try to make our code available to both branches of Python (2 and 3).  This case is complex because a logical exception type definition (like "resource not found") is implemented different by disparate API consumer applications (these implementing the drivers), for example `httplib`, `couchdb` or any specific database management system.

So, the API layer have to find a way to uniform disparate exception "fauna" in its definitions at a logical level.

ABCs are the nice solution, only have to work as its conceptual definition said, including exceptions, in all Python versions.
History
Date User Action Args
2015-10-21 00:19:40merchisesetrecipients: + merchise, rhettinger, ncoghlan, r.david.murray, eryksun
2015-10-21 00:19:40merchisesetmessageid: <1445386780.61.0.848833830625.issue25448@psf.upfronthosting.co.za>
2015-10-21 00:19:40merchiselinkissue25448 messages
2015-10-21 00:19:39merchisecreate