On Sunday, September 11, 2011 8:13:53 PM UTC-7, William wrote:
>
> On Sun, Sep 11, 2011 at 11:17 AM, John H Palmieri
> wrote:
> > When I log in to sage.math, I see the file
> >
> > /home/sagemath/www/packages/experimental/4ti2-20061025.spkg
> >
> > which is the wrong version. The other approp
On Sun, Sep 11, 2011 at 11:17 AM, John H Palmieri
wrote:
> When I log in to sage.math, I see the file
>
> /home/sagemath/www/packages/experimental/4ti2-20061025.spkg
>
> which is the wrong version. The other appropriate directories in
> /home/sagemath/ contain the correct version of this spkg.
I think your suggestion makes sense at least in the short term. I
admit my own frustration with the current plotting code means I tend
to write my own functions to extract and plot the vertices, edges, and
faces so I've been lazy about fixing things.
-Marshall
On Sep 10, 5:49 pm, davidp wrote:
It would be nice if someone could review
http://trac.sagemath.org/sage_trac/ticket/8217
since that package version (at
http://sage.math.washington.edu/home/mhampton/4ti2-1.3.2.p1.spkg)
is more up to date.
-Marshall Hampton
On Sep 11, 1:17 pm, John H Palmieri wrote:
> When I log in to sage.mat
Hi!
For the record: If the metaclass M of a new class C is dynamically
created, for example from the metaclasses of the bases of C, then
pickling of C indeed works after registering copy_reg.pickle(M,
M.__reduce__).
Remark:
I found some comments stating that the current use of metaclasses in
Sag
PS:
On 11 Sep., 23:01, Simon King wrote:
> So, perhaps that is the solution!
No, it didn't work. It is the same error. as before.
But is it perhaps required that in copy_reg.pickle(metacls, meth),
metacls is the exact metaclass of the class to be pickled?
In my case, I want to pickle the class
Hi Florent,
On 11 Sep., 22:26, Florent Hivert wrote:
> I'm not quite sure what's happening but at the end of
> the file there is a
>
> # This registers the appropriate reduction methods (depends on #5985)
> import copy_reg
> copy_reg.pickle(DynamicMetaclass, DynamicMetaclass.__reduce__)
>
> impor
Hi Simon,
You probably want to have a look at sage/structure/dynamic_class.py
which is the file solving those kinds of problems for dynamic classes created
by the category system. I'm not quite sure what's happening but at the end of
the file there is a
# This registers the appropriate redu
Hi Maarten,
On 11 Sep., 21:12, Maarten Derickx
wrote:
> can you check wether type(MyPolyRing).__reduce__() is actually called?
It isn't. I am currently trying to understand the "pickle" module. I
already found that it there is a special case when type(obj) is a
subclass of types.TypeType. That i
Hmm the only thing I can think of is that .__reduce__ is never called
because your metaclass (i.e. type(MyPolyRing)) is a subclass of a class wich
implements .__reduce_ex__
can you check wether type(MyPolyRing).__reduce__() is actually called?
--
To post to this group, send an email to sage-de
I've found the python documentation on this exact behaviour of hash and
other special methods by accident (I was looking for something else in the
python docs). For a total understanding read 3.4.11 and 3.4.12
of
http://docs.python.org/reference/datamodel.html#special-method-lookup-for-old-styl
When I log in to sage.math, I see the file
/home/sagemath/www/packages/experimental/4ti2-20061025.spkg
which is the wrong version. The other appropriate directories in
/home/sagemath/ contain the correct version of this spkg. Do we just need
to replace this file with the correct one?
--
J
Hi!
I'd apreciate help with implementing pickling of classes with
metaclasses.
I have a class MyPolyRing, such that type(MyPolyRing) is some
metaclass that defines a __reduce__ method for MyPolyRing.
I thought that, generally, pickling should work for any object O
(where O might be a class) such
On Sun, Sep 11, 2011 at 10:05 AM, R. Andrew Ohana
wrote:
> I'm not in Seattle currently, so I can't until probably Wednesday. Is there
> anyone else who has access to the hardware?
No worries.
Incidentally, my main laptop is now upgraded to 10.7!
>
> --
> Andrew
>
> On Sep 11, 2011 12:21 AM, "W
I'm not in Seattle currently, so I can't until probably Wednesday. Is there
anyone else who has access to the hardware?
--
Andrew
On Sep 11, 2011 12:21 AM, "William Stein" wrote:
> On Saturday, September 10, 2011, Dima Pasechnik wrote:
>> is sqrt5.cs.washington.edu down?
>
>
> Yes. Andrew, can y
On Sun, Sep 11, 2011 at 8:45 AM, daveloeffler wrote:
> Is there a Solaris box currently available which Sage developers can
> use for testing their code?
There are two Solaris Sparc SunOS boxes working on skynet. There was
an intel Solaris box, but it broke during a power failure.
> At one poi
The command 'sage -i 4ti2' gives
"/usr/local/sage-4.7.1/local/bin/sage-spkg: file 4ti2 does not exist
Attempting to download it.
Searching for latest version of 4ti2
Found package 4ti2-20061025
..."
and subsequently crashes (never having installed 4ti2).
The version of 4ti2 listed at http://sage
Is there a Solaris box currently available which Sage developers can
use for testing their code? At one point t2.math.washington.edu was in
use for this, but it seems to have been unavailable for some while.
I ask because of patch #10335, which had a positive review some while
back, but which turn
On Sunday, September 11, 2011, William Stein wrote:
> On Sun, Sep 11, 2011 at 12:39 AM, Maarten Derickx
> wrote:
>> It's good that you are willing to help! Mike Hansen did the most (if not
all) work of porting. You should ask him to add the changes he made to a
trac ticket so you can start where
On Sun, Sep 11, 2011 at 12:39 AM, Maarten Derickx
wrote:
> It's good that you are willing to help! Mike Hansen did the most (if not all)
> work of porting. You should ask him to add the changes he made to a trac
> ticket so you can start where he left off. From the previous posts it seems
> tha
It's good that you are willing to help! Mike Hansen did the most (if not all)
work of porting. You should ask him to add the changes he made to a trac ticket
so you can start where he left off. From the previous posts it seems that this
means you have to update the ecl and maxima SPKG to a newer
On Saturday, September 10, 2011, Dima Pasechnik wrote:
> is sqrt5.cs.washington.edu down?
Yes. Andrew, can you fix it?
> --
> 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 <
sage-dev
22 matches
Mail list logo