Hi Mike,
On 1 Aug., 03:10, Mike Hansen mhan...@gmail.com wrote:
On Tue, Jul 27, 2010 at 12:30 PM, Simon King simon.k...@nuigalway.ie wrote:
So, the fact that RingElement uses the category framework means that
both the code *and* the documentation are hidden behind layers of
abstraction, to
-Original Message-
From: Simon King
Sent: 01/08/2010, 2:56 PM
To: sage-support
Subject: [sage-support] Re: How to deal with wrapper_descriptor / slot wrapper
Hi Mike,
On 1 Aug., 03:10, Mike Hansen mhan...@gmail.com wrote:
On Tue, Jul 27, 2010 at 12:30 PM, Simon King simon.k
Hello,
You say that f.__pow__.__doc__ is a special read-only attribute,
apparently even at the time when the code is generated. But for what
reason? Is there really no way around?
There isn't really any way to make f.__pow__.__doc__ work for your
object. The reason is that there is really no
Hi Mike!
On 1 Aug., 20:07, Mike Hansen mhan...@gmail.com wrote:
Where can I learn more about method-wrapper?
A method wrapper is a basically a light wrapper around an underlying C
function. I'm not sure where to find documentation on-line, but it's
all in the Python source code. This is
Hello,
On Tue, Jul 27, 2010 at 12:30 PM, Simon King simon.k...@nuigalway.ie wrote:
So, the fact that RingElement uses the category framework means that
both the code *and* the documentation are hidden behind layers of
abstraction, to the extent that they can actually not be accessed *at
all*,
Dear Robert,
On 27 Jul., 19:55, Robert Bradshaw rober...@math.washington.edu
wrote:
This is actually very related to
http://groups.google.com/group/sage-devel/browse_thread/thread/c97d36...
So, the fact that RingElement uses the category framework means that
both the code *and* the
Hi Robert,
On 27 Jul., 21:55, Robert Bradshaw rober...@math.washington.edu
wrote:
While I
would like to be able to introspect functions such as __pow__, I don't
think it's always the best place to put documentation (only power
users will know to check there) and not worth significant
On 27 Jul., 21:30, Simon King simon.k...@nuigalway.ie wrote:
Is there no workaround? Say, defining the method (or slot method
wrapper envelop whatever) and explicitly assign an attribute __doc__
to it?
For the record:
AttributeError: attribute '__doc__' of 'method-wrapper' objects is not
On Tue, Jul 27, 2010 at 1:25 PM, Simon King simon.k...@nuigalway.ie wrote:
On 27 Jul., 21:30, Simon King simon.k...@nuigalway.ie wrote:
Is there no workaround? Say, defining the method (or slot method
wrapper envelop whatever) and explicitly assign an attribute __doc__
to it?
For the record: