#18107: The codes collection should be a real module
-------------------------------------+-------------------------------------
Reporter: jsrn | Owner:
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-6.6
Component: coding theory | Resolution:
Keywords: sd66 | Merged in:
Authors: Johan S. R. | Reviewers: Nathann Cohen
Nielsen | Work issues:
Report Upstream: N/A | Commit:
Branch: | f4604893e1757420d61372d22f33c900ca6a316c
u/jsrn/18107_coding_module | Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Changes (by vbraun):
* status: positive_review => needs_work
Comment:
thats not really your fault but you trigger a bug:
{{{
sage -t --long --warn-long 28.8 src/sage/misc/dev_tools.py
**********************************************************************
File "src/sage/misc/dev_tools.py", line 233, in
sage.misc.dev_tools.find_objects_from_name
Failed example:
dt.find_objects_from_name('FareySymbol')
Exception raised:
Traceback (most recent call last):
File "/mnt/disk/home/release/Sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/mnt/disk/home/release/Sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.misc.dev_tools.find_objects_from_name[1]>", line
1, in <module>
dt.find_objects_from_name('FareySymbol')
File "/mnt/disk/home/release/Sage/local/lib/python2.7/site-
packages/sage/misc/dev_tools.py", line 267, in find_objects_from_name
for smodule_name, smodule in sys.modules.iteritems():
RuntimeError: dictionary changed size during iteration
}}}
iteration over sys.modules should first get all keys and then iterate.
--
Ticket URL: <http://trac.sagemath.org/ticket/18107#comment:16>
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/d/optout.