#6586: [with spkg, needs review] update Sphinx to version 0.6.2
-------------------------+--------------------------------------------------
Reporter: jhpalmieri | Owner: mabshoff
Type: enhancement | Status: new
Priority: major | Milestone: sage-4.1.1
Component: packages | Keywords:
Reviewer: | Author:
Merged: |
-------------------------+--------------------------------------------------
Changes (by mvngu):
* cc: sage-combinat (added)
Comment:
The upgraded Sphinx SPKG can't handle binary encodings in the file:
{{{
sage/combinat/partition.py
}}}
In particular, the following sections from that source file:
[[BR]]
line:2233
{{{
sage: p =
loads('x\x9c\x85\x8e\xbd\xaa\...@\x10\x85\x89\xff.>\xc4\x94\xda\x04\x15|\x04\xb1\xb1\x90\x0b[\x87I\x18\x935\xc9\xae\xb33\xda\t\xd7\xc2\xf76"biw\x0e\x9c\x9f\xef\xbfW\x08\x96\x94\x16\xa1\xcd\x9dGM\xcf\x18\xd5\xa9\x0b\xde\x1c>Jv\x91PIt\xbf\xcd|m8Y\xdc\xb9w\xe3\xfe\xdc&\xf5\xbb\x1d\x9d/%u^\xa9\xa4hZ\xac)\xfb\x18\x1e\xd8d\xfd\xf8\xe3\xa1\x1df\x1e[\xe2\x91\xdd|\x97!\x1ca\xb5\x84\n\xaf\xdd\x02\xbc\xbe\x05\x1a\x12\x01\xad\xd0C\x88@|\xc1\x064\xc0\x9a\xc7v\x16\xf2\x13\x15\x9a\x15\r\x8a\xf0\xe47\xf9;ixj\x13_u
\xd8\x81\x98K\x9e>\x01\x13iVH')
}}}
[[BR]]
line:2294
{{{
sage: p =
loads('x\x9c\x85\x8e\xbd\x0e\x820\x14\x85\x03\x8a?\x8d\x0f\xd1Q\x97\x06y\x07\xe3\xaa&\x9d\xc9\xa5\xb9\x96\n\xb4^Z\xdcLt\xf0\xbd\xc5
qt;\'9?\xdf#V\x1e4\n\xe5\x9a\xc2X\x08\xe2\nm0\xc18\xcb\x0e\xa3\xf2\xfb\x16!\xa0\x0f\xbbcn+F\xd1\xe6I\xf1\x9d&k\x19uc\xbb5v...@\x8d-k\xa0\xc2|44\x95Q\xf6:Q"\x93\xdcB\x834\x93\xe9o\x99\xbb3\xdf\xa6\xbc\x84[\xbf\xc0\xf5\xf7\x87\x7f
8R\x075\x0f\x8eg4\x97+W\\P\x85\\\xd5\xe0=-\xfeC\x0fIFK\x19\xd9\xb2g\x80\x9e\x81u\x85x\x03w\x0eT\xb1')
}}}
[[BR]]
line:2839
{{{
sage: dmp =
'x\x9ck`J.NLO\xd5K\xce\xcfM\xca\xccK,\xd1+H,*\xc9,\xc9\xcc\xcf\xe3\n\x80\xb1\x8a\xe3\x93\x81DIQbf^I1W!\xa3fc!Sm!\xb3F(7\x92x!Km!k(GnbE<\xc8\x88b6\x88\xb9e\x99y\xe9\x...@\x05\xa9\xe9\xa9e\\\xb9\x89\xd9\xa9\xf10n!{(\xa3QkP!Gq(c^\x06\x90c\x0c\xe4p\x96&\xe9\x01\x00\xc2\xe53\xfd'
}}}
When these lines are removed, the HTML version of the reference manual
builds OK. So a possible fix for line 2233 is to replace everything in the
TEST block starting from that line by:
{{{
sage: p = PartitionsGreatestLE(10,2)
sage: p == loads(dumps(p))
True
}}}
We can do something similar for line 2294; replace everything in the TEST
block starting from line 2294 by:
{{{
sage: p = PartitionsGreatestEQ(10,2)
sage: p == loads(dumps(p))
True
}}}
As for the TEST block starting from line 2839, I have no idea how to fix
it so that the reference manual would successfully builds. Someone on the
sage-combinat team to the rescue?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6586#comment:5>
Sage <http://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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---