#15247: Introduce a baseclass for singletons
-------------------------------------+-------------------------------------
Reporter: SimonKing | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.1
Component: performance | Resolution:
Keywords: | Merged in:
Authors: Simon King | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/SimonKing/ticket/15247 | 848952746e60990b25a0cf013081f5fad4ffe6e3
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by mmezzarobba):
Replying to [comment:8 SimonKing]:
> However, it seems that some old pickles in the pickle jar manage to
create a version of the integer ring without calling its `__init__`. This
could be accomplished by directly calling `__new__`. But is this really
done somewhere?
I'm not sure I understand what you mean: isn't that (calling `__new__` but
not `__init__`) how unpickling works in general?
--
Ticket URL: <http://trac.sagemath.org/ticket/15247#comment:24>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.