#4938: Words.count() returns a Python int instead of a Sage Integer
---------------------------+------------------------------------------------
Reporter: saliola | Owner: saliola
Type: defect | Status: new
Priority: major | Milestone: sage-3.4
Component: combinatorics | Keywords: sage-words
---------------------------+------------------------------------------------
{{{
Hi guys,
I sat around and was looking at the new ReST Words documentation and
noticed the following:
[5:40pm] mabs: WTF:
[5:40pm] mabs: sage: Words(7,13).count()
[5:40pm] mabs: 96889010407L # 32-bit
[5:40pm] mabs: 96889010407 # 64-bit
[5:40pm] mabs: So Words().count() returns a Python int?
[5:40pm] wstein: ick
[5:40pm] wstein: That stupid L at theend was suck an annoying decision by
Guido.
I would expect that count() returns a Sage Integer since that seems to
be the expected result in general. If you agree please open a ticket,
but this is not a high priority issue for me.
Cheers,
Michael
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4938>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---