-
-
Notifications
You must be signed in to change notification settings - Fork 482
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extend ClasscallMetaclass to allow for binding behavior #8250
Comments
comment:1
This is a check to see if CC to sage-combinat-commits is working. Cheers, Florent |
comment:3
Hi Nicolas, They are a few problem with this patch:
indeed Florent |
comment:5
Replying to @hivert:
Thanks for spotting this; that could explain some trouble I was having right now :-)
Let's discuss this over the phone.
Oops right. It calls Please let me know if you already made a patch on top on this one in the queue. |
comment:6
Replying to @nthiery:
Ok.
please see |
Attachment: trac_8250-classcall-classget.patch.gz Documentation improvements after phone discussion with Florent |
comment:8
There were still a few problems with the documentation:
I uploaded a review patch. Please review :-) |
comment:9
Attachment: trac_8250-classcall-classget-review-2.patch.gz As we spoke on the phone I added a comment and corrected a typo. |
Merged: sage-4.3.3.alpha1 |
comment:11
Merged in this order: |
From the documentation:
(using this patch) we show how to implement a nested class Foo.Bar
with a binding behavior, as if it was a method of Foo: namely for
foo
an instance ofFoo
, callingfoo.Bar()
is equivalent toFoo.Bar(foo)
::This will be used by the upcoming improvements to the functorial constructions in categories
CC: @sagetrac-sage-combinat
Component: categories
Keywords: ClassCall, descriptor, classget
Author: Nicolas M. Thiéry
Reviewer: Florent Hivert
Merged: sage-4.3.3.alpha1
Issue created by migration from https://trac.sagemath.org/ticket/8250
The text was updated successfully, but these errors were encountered: