Issue2240

classification
Title: Classes implementing abstract base class methods should be proxied as such in Java space
Type: rfe Severity: normal
Components: Core Versions: Jython 2.7
Milestone:
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: zyasoft
Priority: low Keywords: RFE

Created on 2014-12-27.16:08:19 by zyasoft, last changed 2018-03-16.22:19:50 by jeff.allen.

Messages
msg9268 (view) Author: Jim Baker (zyasoft) Date: 2014-12-27.16:08:18
https://docs.python.org/2/library/collections.html#collections-abstract-base-classes defines what constitutes an abstract base class. Note that in some cases, this registration is dynamic - Hashable checks if __hash__ is available or not.

We can do the same thing by ensuring that a class that implements the ABC methods can be treated as the closest corresponding Java collection. Of course, being dynamic makes this tricky...

The Clamp project is the current workaround.

Indefinitely deferred until Jython 2.7.x, x > 0 or Jython 3.y, y >= 5
History
Date User Action Args
2018-03-16 22:19:50jeff.allensetkeywords: + RFE
type: rfe
components: + Core
2014-12-27 16:08:19zyasoftcreate