Message9268
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 |
|
Date |
User |
Action |
Args |
2014-12-27 16:08:19 | zyasoft | set | recipients:
+ zyasoft |
2014-12-27 16:08:19 | zyasoft | set | messageid: <1419696499.37.0.971797830871.issue2240@psf.upfronthosting.co.za> |
2014-12-27 16:08:19 | zyasoft | link | issue2240 messages |
2014-12-27 16:08:18 | zyasoft | create | |
|