Issue1361317
Created on 2005-11-19.12:45:50 by tibu, last changed 2006-06-06.19:31:34 by fwierzbicki.
msg2475 (view) |
Author: Carlos Quiroz (tibu) |
Date: 2005-11-19.12:45:50 |
|
Hi
Here is a patch for PyProperty.java. It fixes it so
that it passes the test in test_descr.py/properties()
as for Python 2.3.
The following issues are solved:
- Setting a property via __set__ was failing
- Attempts to set __doc__, fget, fset and fdel should
throw a TypeError("readonly") exceptions
Additionally a patch for inspect.py is included
Carlos Quiroz
|
msg2476 (view) |
Author: Frank Wierzbicki (fwierzbicki) |
Date: 2006-06-06.19:31:34 |
|
Logged In: YES
user_id=193969
I've translated this fix into the templating code
(sandbox/jt/property.expose with a couple of small fixes.
For now I've included the stub that throw readonly
exceptions directly in PyProperty. The comment that it
should probably be moved is retained.
|
|
Date |
User |
Action |
Args |
2005-11-19 12:45:50 | tibu | create | |
|