On Thursday, June 27, 2019 at 4:41:30 PM UTC+9, John Cremona wrote:
>
> I think this is one disadvantage of using the cached_method decorator, 
> instead of the clumsier way of actually storing the result in the object, 
> eg. by setting X._genus.  In your example I cannot think of a reason why we 
> would not want to store the genus as an attribute after computing it.
>

I thought the same. I expected the cached_method decorator could make a 
(pseudo) attribute attached to the object magically somehow if I cast the 
right spell...

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/3615ea68-ee95-4ce2-8a2d-434c186be948%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to