#6097: [with patch, needs work] Implements a mantra for declaring abstract
methods
-------------------------+--------------------------------------------------
Reporter: nthiery | Owner: nthiery
Type: enhancement | Status: assigned
Priority: minor | Milestone: sage-4.0.1
Component: misc | Keywords: abstract methods
-------------------------+--------------------------------------------------
Changes (by nthiery):
* status: new => assigned
Comment:
Replying to [comment:1 was]:
> > Feedback and suggestion for improvement on this policy are welcome!
>
> {{{
> sage: x = A()
> sage: x.my_method?
> BOOM!
> }}}
>
> This must be fixed by improving sageinspect. That should be easy.
>
> 1) Trick to catch.
>
> 2) How do you get the docs on my_method though?
I commented on those in the patch.
I vote for integrating the code now, and improve it later when we will
have more experience.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6097#comment:3>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---