Sure. I have been developing via loaded files and not directly in the library, so it may take me a little bit to get a development branch set-up and get a patch made correctly, but since my eventual goal is to get the arithmetic dynamcis tools directly into sage, it seems like good idea to do a nice simple bug like this to get started with.
I'll go request a trac account. Ben On Mar 25, 9:48 pm, David Roe <r...@math.harvard.edu> wrote: > Ah ha! Apparently that function is not used anywhere in Sage. It's just a > typo: it should be "from finite_rings.constructor import is_FiniteField. > > Want to practice your new developer skills by opening a ticket and > submitting a patch? I'll review it.... > David > > > > > > > > On Mon, Mar 26, 2012 at 02:41, Ben Hutz <bn4...@gmail.com> wrote: > > Hi all, > > I'm fairly new to sage and have been developing some tools for > > arithmetic dynamics over projective and affine spaces this semester. I > > met william stein last week and am starting to get actually set-up to > > get involved in Sage. First things first is to post the (potential) > > bugs I've come across. There will be 4 in total. > > > Here is the first and most minor. I know there is a new function for > > this, but this still produces an error. This is potentially a user > > problem, but I thought I'd post it as I couldn't find a discussion of > > it. > > > 'Sage Version 4.8, Release Date: 2012-01-20' on Ubuntu 11.10 > > > K.<t>=GF(13) > > is_PrimeField(K) > > > __main__:1: DeprecationWarning: > > Using is_PrimeField from the top level is deprecated since it was > > designed to be used by developers rather than end users. > > It most likely does not do what you would expect it to do. If you > > really need to use it, import it from the module that it is defined > > in. > > Traceback (most recent call last): > > File "<stdin>", line 1, in <module> > > File "_sage_input_25.py", line 10, in <module> > > exec compile(u'open("___code___.py","w").write("# -*- coding: > > utf-8 -*-\\n" + > > > _support_.preparse_worksheet_cell(base64.b64decode("Sy48dD49R0YoMTMpCmlzX1ByaW1lRmllbGQoSyk="),globals()) > > +"\\n"); execfile(os.path.abspath("___code___.py")) > > File "", line 1, in <module> > > > File "/tmp/tmp1oEtRy/___code___.py", line 4, in <module> > > exec compile(u'is_PrimeField(K) > > File "", line 1, in <module> > > > File "/home/ben/sage-4.8/local/lib/python2.6/site-packages/sage/misc/ > > misc.py", line 2412, in wrapper > > return func(*args, **kwds) > > File "/home/ben/sage-4.8/local/lib/python2.6/site-packages/sage/ > > rings/field.py", line 23, in is_PrimeField > > from finite_field.constructor import is_FiniteField > > ImportError: No module named finite_field.constructor > > > -- > > 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 -- 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