Hi,
The following scares me.
sage: 0^0
1
sage: F.a=GF(5)
sage: F(0)^0
Traceback (most recent call last):
...
ArithmeticError: 0^0 is undefined.
For any x, x^0 is 1 by definition. Isn't it in Sage? I am using Sage
4.1.2
Kwankyu
--~--~-~--~~~---~--~~
To post to
Hi,
sage: A=matrix(2,[1,2,3,3])
sage: A.solve_right(vector([3,6]))
(1, 1)
sage: category(_)
Category of elements of Vector space of dimension 2 over Rational
Field
sage: A.solve_left(vector([3,6]))
[3 0]
sage: category(_)
Category of elements of Full MatrixSpace of 1 by 2 dense matrices over
On Oct 23, 12:11 am, John H Palmieri jhpalmier...@gmail.com wrote:
On Oct 22, 1:25 am, Kwankyu Lee ekwan...@gmail.com wrote:
Hi,
The following scares me.
sage: 0^0
1
sage: F.a=GF(5)
sage: F(0)^0
Traceback (most recent call last):
...
ArithmeticError: 0^0 is undefined
I hope some expert confirm that this is a bug or merely my
misunderstanding.
Kwankyu
--~--~-~--~~~---~--~~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel-unsubscr...@googlegroups.com
Hi,
To get the names of generators of a polynomial ring R, I may use
R.variable_names().
But it seems that the method at least does not fail for other rings.
For example,
sage: GF(2).variable_names()
('x',)
What is the intention? If variable_names() intends to return the names
of generators,
I think generator_names() is a universal name for all structures,
and variable_names should be an alias of that only for polynomial
rings.
I understand William's concerns, but I think there should an official
mechanism to change an inappropriate nomination with what makes sense
as soon as it is
Hi,
verbose() may be quite useful for user programs, but it seems right
now only oriented for developers. If I place some verbose(...,
level=1) statements in my Sage program, and the verbose level is set
to 1 by set_verbose(1), then the verbose statements of internal Sage
functions are printed,
Oh... I missed the parameter files of set_verbose(). The parameter
already fulfills my wish as in
set_verbose(1,files=myprogram.py)
Sorry for noise...
Kwankyu
--~--~-~--~~~---~--~~
To post to this group, send an email to sage-devel@googlegroups.com
To
Hi,
I am experiencing the problem exactly that David raised
Then it seems the original idea is good that we add tag (or flag?,
I don't like component as Robert proposed) parameter to verbose
commands. It will default to internal (or system or library or
builtin?) This will not break or change
Hi,
Is this an expected behavior of the magma interface?
--
| Sage Version 4.2, Release Date: 2009-10-24 |
| Type notebook() for the GUI, and license() for information.|
Hi,
What is the standard way to get a reference to a magma object in Sage?
Is it m._ref() or m.name()? What is their difference?
Kwankyu
--~--~-~--~~~---~--~~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group,
On Nov 15, 3:56 am, William Stein wst...@gmail.com wrote:
On Thu, Nov 12, 2009 at 11:43 PM, Kwankyu Lee ekwan...@gmail.com wrote:
Hi,
Is this an expected behavior of the magma interface?
--
| Sage Version 4.2
As East Asian countries, please include Korea along side with China
and Japan.
Thank you!
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at
Hi Harald,
On Nov 19, 12:59 am, Harald Schilly harald.schi...@gmail.com wrote:
They are meant to be included by the dots. It's just for a rough
estimate where you are, nothing specific.
I know. :-)
This survey is nice. Thank you for your work.
Kwankyu
--
To post to this group, send an
Thank you. The article reveals human sides of the origin of the
inhumanly marvelous Sage project and its originator. Quite moving.
Kwankyu
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
Hi,
I want to raise this issue again.
sage: P.x,y = PolynomialRing(QQ,2)
sage: f = 2*x*y+x+y
sage: f.coefficient({x:1,y:1})
2
sage: c = f.coefficient({x:1,y:1})
sage: c.parent()
Multivariate Polynomial Ring in x, y over Rational Field
sage: c = f.monomial_coefficient(x*y)
sage: c.parent()
Hi,
There is no problem on the command line:
sage: r\use
'\\use'
But in the notebook of Sage 4.3.3, the same input produces
Traceback (most recent call last):
File stdin, line 1, in module
File _sage_input_37.py, line 9, in module
open(___code___.py,w).write(# -*- coding: utf-8 -*-\n +
Hi,
In Mac OS, latest Magma v2.16-6 fails to load under Sage 4.3.3, with
the following error message:
sage: magma_console()
dyld: Library not loaded: @executable_path/libgmp.3.dylib
Referenced from: /Applications/Magma/bin/magma.exe
Reason: Incompatible library version: magma.exe requires
Hi,
No objection. But you need to provide deprecation warnings before
removing any long used things in Sage.
Kwankyu
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more
this happen? Why I get a different result in
doctesting? I seek of your expertise. Thank you in advance.
Kwankyu Lee
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options
Hi Leif,
This doctest failure did not occur without applying my own patch, so I
thought my patch was the cause. A weird bug indeed...
Thank you for the pointers.
Kwankyu
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
Added information to the ticket http://trac.sagemath.org/sage_trac/ticket/9003
Kwankyu Lee
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http
Hi
While I am working on a small patch to a file in sage/gsl/ for the
ticket
http://trac.sagemath.org/sage_trac/ticket/9080
I am wondering why the gsl directory occupy the top-level place in the
Sage library. I suppose that the top-level directories represent big
themes, but gsl is just a
A related comment:
I like the method name variables for symbolic expressions. On the
other hand, I think the name variable should be avoided in the exact
polynomial rings cases, as in
sage: P.x,y=PolynomialRing(QQ)
sage: P.variable_names()
('x', 'y')
In this case, gen_names() is perhaps
Hi,
I might be a beginner of the toric geometry package in Sage.
I prefer long and explicit names for method names. However, I also
prefer to see those methods have docstrings that are written using the
traditional N and M notations.
I also want to mention that N reminds me of the Mathematica
How about
sage: tutorial() # optional
with no return value? It would be better if the tag optional can be
removed as the doctest mechanism prevent a web browser from opening.
Your cheating is a bad idea.
Kwankyu
--
To post to this group, send an email to sage-devel@googlegroups.com
To
Hi,
On Sage 4.4.4, I have the following bug.
sage: F.a=GF(4)
sage: m=matrix(2,[F(1),2,3,4])
sage: magma(m)
---
TypeError Traceback (most recent call
last)
...
TypeError: unable to coerce
This is now trac #9377.
Thank you.
sage-support is a better place to report bugs.
sage-devel is for discussions about development.
Mariah
I see.
Kwankyu
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
Hi,
Currently there is an option repr for the finite field constructor.
For small finite fields, it can take log, which makes finite field
elements printed as a discrete log with base the primitive generator.
So a^14 is printed as 14
It would be very convenient if repr can take power such that
On Jul 8, 12:20 pm, John H Palmieri jhpalmier...@gmail.com wrote:
I'm not sure which finite field constructor you're looking at. In
rings/finite_rings/finite_field_givaro.py, the repr option is
described this way:
repr -- controls the way elements are printed to the
user:
Congratulations!
He is truly one of omnipresent persons in the Sage world.
Kwankyu
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at
Hi,
Look at this.
sage: tord = TermOrder(matrix([3,2,4,1,1,0,1,0,0]))
sage: S.t=PolynomialRing(QQ)
sage: R.x,y,z = PolynomialRing(S,'x',3,order=tord)
sage: (x^2).degree()
2
So the behavior is not consistent among different backend engines, namely,
Singular and PolyDict. I think degree()
Hi Simon,
I think one should not take it for granted a polynomial ring is a graded
ring. Of course, you can view a polynomial ring as a graded ring. But one
work with a polynomial ring, perhaps more often, not as a graded ring.
With a polynomial in a polynomial ring not as a graded ring, you
Hi Simon,
In your point of view that a polynomial ring is always a graded ring, what I
want is perhaps this: even though you work with a polynomial ring with
non-default grading, the methods degree(), degrees(), total_degree() for the
default grading should still be available to the user
I thought a bit more, and now I think Simon's viewpoint is arguably more
consistent than mine, and my worries are groundless because we have method
exponents().
Cheers.
Kwankyu
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an
Hi,
The second versions seem to me all bugs, resulted from implementation
details.
Kwankyu
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at
I had also troubles with old pickled objects. I am not sure whether the
discussion on my own problems are relevant here or not, but here is the
link:
https://groups.google.com/forum/#!searchin/sage-devel/term$20order/sage-devel/APrvYHL4Bck/ex4R00T6MW0J
Kwankyu
--
To post to this group,
Hi,
My cython patch readline_extra_commands works well on Mac but fails on
Ubuntu at runtime with the following message:
ImportError: ../sage/misc/readline_extra_commands.so: undefined symbol:
rl_last_func
So the linker do not find the symbol in the readline library linked to
Python. What is
It is
Extension('sage.misc.readline_extra_commands',
sources = ['sage/misc/readline_extra_commands.pyx']),
Do I need to add -lreadline somewhere here?
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an
I wonder why that was not necessary for Mac. Anyway, thank you very much!
Kwankyu
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at
On my patch, the patchbot shows a red swirling symbol with the following log:
...
--
sage: Building and installing modified Sage library files.
Installing c_lib
gcc -o src/convert.os -c -fPIC
Thanks for explaining me. 16G seems small, considering the (huge, I think)
amount of loads on the patchbot.
Kwankyu
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more
Hi,
A couple of simple developer questions. Sorry...
(1) I uploaded a new patch of the same name with the previous patch, but
the patchbot doesn't seem to be triggered. I already tried ?kick, with no
help. Is there other way to kick the patchbot? Do I need to upload the same
patch with other
Hi Robert,
(1) I uploaded a new patch of the same name with the previous patch, but
the
patchbot doesn't seem to be triggered. I already tried ?kick, with no
help. Is there other way to kick the patchbot? Do I need to upload the
same
patch with other name?
Has it ever been triggered
The second patch is small, but the doctest takes quite a bit of time. So I
changed the doctest and uploaded the patch again. Let me see this helps...
Kwankyu
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
Anyway, I just noticed that many of the patches with positive reviews have
the red swirling symbol with Apply Failed on Sage 4.8. Then I wonder the
patchbot is working correctly now...
Kwankyu
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this
Hi,
In the
Publications_using_SAGEhttp://wiki.sagemath.org/Publications_using_SAGE?action=fullsearchcontext=180value=linkto%3A%22Publications_using_SAGE%22wiki
page, I find the following passage:
``Also, be sure to find out what components of Sage, e.g., NumPy, PARI,
'GAP, that your
Here is the link
http://wiki.sagemath.org/Publications_using_SAGE
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at
Hi,
There is a simple script for that purpose in trac ticket #7893.
http://trac.sagemath.org/sage_trac/ticket/7893
Kwankyu
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more
Hi Don,
I just uploaded a revised version of the script modified according to
your comments. Check it out!
Kwankyu
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options,
Hi Minh,
Thank you for the link to the article of J. Neubuser. I think the
article should be displayed in a holy place at the Sage website, as it
seems to me the original source of the philosophy on which all this
Sage project is founded.
Kwankyu
--
To post to this group, send an email to
Hi,
A developer of R attempted to pull the part of the Bash source code
responsible for the operate-and-get-next feature into R interface.
See the following link:
http://r.789695.n4.nabble.com/readline-operate-and-get-next-td2317208.html
I want to do the same thing for Sage. As I am ignorant of
Hi Dan,
Thank you for the comments.
IPython just relies on the readline library linked to Python. Perhaps
Sage can provide necessary functions that complements the readline
library.
I did some experiments, and I now think this is a doable task. So I
made a ticket:
Hi,
I uploaded a patch to this ticket.
Please do experiments with it, and leave comments.
Kwankyu
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options, visit this
Here is the ticket
http://trac.sagemath.org/sage_trac/ticket/10289
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at
Hi,
Perhaps it is well known to others except me (until a moment ago) that
the following code
print vector([1,0,1])
is loaded and executed if it is contained in a file named like
test.sage, but results in error if the file name is changed to
test.spyx. The Sage Tutorial says as if there is no
There is a related ticket:
http://trac.sagemath.org/sage_trac/ticket/482
Kwankyu
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at
Hi Robert,
I just learned at a corner of the Tutorial that preparsing is not
applied to .spyx files. So my assumption that .sage and .spyx are
equivalent except compiling is not true.
Then what is difference between .spyx and .pyx...I am saying to
myself. ^^
It's because Pyrex/Cython didn't
Hi,
I love the reference manual in the new format. For building time
problem, users may be given several choices, one of which might be
just to download the built documentation from the web.
Kwankyu
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from
Hi,
I like the new approach. In the same vein, the Contents page may be
restructured such that it lists only chapter titles, and each chaper
has its own contents page. The current Contents page is too long to
scroll down to reach what I want.
Kwankyu
--
To post to this group, send an email to
Hi,
.sage and .spyx files are intended for end users while the library
files should be .py or .pyx files.
Kwankyu
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options,
Hi,
As an occasional developer for Sage, I have a question regarding to
what should be the target release of Sage for a patch. This question
arose to me at least twice.
I wrote and uploaded a patch for the latest release, 4.6, of Sage.
Then a reviewer said the patch is not applied cleanly to the
I found sage-release. Never mind the second question.
Kwankyu
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at
Hi Minh,
+1. Thank you for the good move.
Kwankyu
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
Hi,
How about Sage Math User Group - SMUG?
Kwankyu
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
Hi,
I would like to see a section on rebasing patches with mercurial
queues, in the Developer's Manual. It is a frequent task to rebase a
patch for a new version of Sage. I myself do this one way, but I am
not sure if I am doing it the right way. My way is simply:
1. hg qpop -a
2. upgrade Sage.
Hi all,
This is to advertise a patch (http://trac.sagemath.org/sage_trac/
ticket/10289) which, unfortunately, is sleeping in Trac without a
reviewer for more than four months.
This patch would be very useful for those who converted from Magma.
Please review!
Hi,
How about converting triple dots (...) in math(I mean inside ` `) in a
docstring automatically to \dots so that it appears nice both in commandline
and in notebook? Does this have a trac ticket?
Kwankyu
--
To post to this group, send an email to sage-devel@googlegroups.com
To
Other solution would be to convert \ldots in latex markup to ... in
commandline. Currently, \dots inside ` ` is just converted to dots. This
looks ugly in commandline.
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
Hi,
I hear about patchbot here and there. I understand it as an automatic patch
testing system. Is that available to an occasional developer like me? Or is
that for the release manager and his/her lieutenants? Please give me a short
guide on it or a reference to it. Thank you.
Kwankyu
--
Hi Johin,
You may be interested in the ticket:
http://trac.sagemath.org/sage_trac/ticket/10289
Would you kindly review it? It's long been in needs review state.
Kwankyu
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
So \ldots is converted to ..., but \dots is not. Ok.
Thanks, John!
Kwankyu
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at
I just looked into the detex function. To me, it seems a little buggy.
1. \ldots, \cdots are both converted to Hence there is no reason
not to convert \dots to ...
2. The programming logic introduces a bug. For example souldots is
converted to sou That is, if there is a word which
Thanks, Dan!
Kwankyu
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org
Here is the ticket:
http://trac.sagemath.org/sage_trac/ticket/11265
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at
This is also basic, but inconsistent throughout the documentation.
The first one line of every method docstring should be written as a command.
Hence
Return true if blah blah
rather than
Returns true if blah blah
Kwankyu
--
To post to this group, send an email to
Hi,
I am going to deprecate a property attribute defined in a certain class with
the reason being that in Sage, using a method to obtain a property of
objects is preferred than using property attributes. I think an example is
that we use parent.ngens() rather than parent.ngens.
My question is
Hi Jason,
I totally agree with you. Thanks for the definitive comments.
Kwankyu
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at
Hi Martin,
Thank you for asking this to sage-dev.
I want to be more informed about this pickled Sage objects stored in the
pickle jar. First let me explain what I understand. The pickle jar is there
to ensure that upgrading Sage does not break unpickling of Sage objects
pickled in a previous
Hi Simon,
It seems to me that
Your remarks: If the internal data structure has changed, then it is
imperative that data stored in the old format will be correctly translated
into the new format when unpickling. ... upgrading the old objects pickled
by users must be part of the usual
Hi,
I am confused with the usage of Homset and Homspace. It seems to me that
each author choose his/her favorite among Homset and Homspace. But is
there a reason to prefer one over the other for new modules? Or do they have
distinct usage? I am asking this because at some point William changed
Hi Robert,
I guess some use homspace for the homset for an abelian category. I agree
that for consistency, it is good to use homset everywhere in Sage.
Kwankyu
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
Hi,
How does Sage solve the following situation? A user stores objects pickled
in Sage version X.1. Then a developer changes internal logic and data
structure of the class of the objects for Sage version X.2. If we assume the
developer's patch is merged to Sage X.2, then typically the user's
Hi Simon,
I thought of the proposal while fixing unpickling problem of the patch for
TermOrder objects for
http://trac.sagemath.org/sage_trac/ticket/11316
The situation I described originally is of course what I faced while fixing
the problem.
On 27 Mai, 18:10, Kwankyu Lee ekwa...@gmail.com
Hi Simon,
I am one of those who eagerly hope the thematic tutorial to be written and
maintained by the core developers of Sage. The article should explain on
parents, elements, categories, coercion, morphisms, homsets, and the
canonical way to program an algebraic structure on the basic
Hi,
In Sage Notebook, entering shift-enter after typing
E=EllipticCurve?
shows correctly the doc, but on commandline, we get
sage: E=EllipticCurve?
Object `E=EllipticCurve` not found.
This different behavior seems a bug. I am using Sage 4.7.
--
To post to this group, send an email to
I now see that this is IPython' fault.
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL:
Hi, Simon
All right. Now I think the ? behaves reasonably in each of both
environments, though it's not perfectly consistent. In the notebook, it is
good to get some information on an object in the midst of typing a
statement.
Cheers
Kwankyu
--
To post to this group, send an email to
Hi all,
This is a question. Is the apparent error in the output below a genuine
error? What does it mean? I am experiencing the same error when making
several previous versions of Sage, which all failed (seemingly) by the
issue trac #13947. I am wondering whether this failure at the end is
Nope, this originates from
if [ -f $SAGE_ROOT/spkg/bin/sage-spkg ]; then
if $MAKE -q $@; then
echo Nothing to (re)build / all up-to-date.
exit 0
fi
fi
and is (harmless and) completely unrelated to the zn_poly issue (#13947).
(We should probably
Hi,
I am experiencing consistent failure in building the latest Sage including
just released 5.9 at zn_poly. My system is MacPro Quad-Core Intel Xeon with
OS X 10.7.5 and latest Xcode (I think). Are there others experiencing the
same?
Here is the log:
Now running zn_poly's self-tuning
Hi,
Sorry that I was not clear. Reading the comments for the Trac ticket, I
thought that for others, this happens intermittently, so they succeed in
building Sage eventually after a couple of failures. For my case, it always
fails. I was asking if others experience the same consistent
I think it is intermittent in the sense that on computers with the
problem, it fails consistently when building Sage in parallel; the fix is
to then quickly do that one package in series, then remain doing things in
parallel (see the ticket or other discussions for details). Are you
For example, can you stop everything on the computer and remote log in to
it from another machine, so you're hardly running anything on it? If not,
quit all possible applications and try building again. By the way, how much
RAM does this machine have (this may not be relevant, but just in
Congratulations!
--
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
In Sage 5.0rc0, I observe a weird phenomenon. See the following code
-
from sage.rings.ring import CommutativeAlgebra
class NA(CommutativeAlgebra):
def __init__(self, i):
CommutativeAlgebra.__init__(self, i.base_ring())
self._ideal = i
-
Hi Simon,
Thank you for the explanation.
However, during the category initialisation, self is used as key in
some cache. Hence, it is needed that its hash value is available. By
default in sage.rings.ring.Ring, hash(self) is the self as
hash(repr(self))
(which I don't like, by the way).
Hi Simon,
The result is that the hash is broken by default, since the string
representation can be changed *after* creation of the object, which
means that the hash value would change as well. There is a ticket fixing
it, though.
I think the problem lies in that the hash is calculated
Hi,
The patchbot is failing(ApplyFailed) on my patch for ticket #12503. I want to
understand the reason.
According to the log below, the patchbot seems to try to fetch the file at
http://trac.sagemath.org/sage_trac/raw-attachment/ticket/12503/trac#12503.patch
I copied this line into the
Ah, so it is a bug. Thanks. I should not have included # in the patch file
name.
On the other hand, it is strange that the patchbot tries to fetch an old
patch file trac#12503.patch rather than the new patch file named
trac_12503_v3.patch though I placed the comment apply
trac_12503_v3.patch
1 - 100 of 730 matches
Mail list logo