On Wednesday, February 13, 2019 at 5:33:38 PM UTC+1, Travis Scrimshaw wrote:
>
> My (complete) guess is that there are so many partitions of 50 (204226 to
> be precise) and in such a tight for loop that the garbage collector does
> not have enough time to actually collect the parents being create
One more thing. If I remove
sage: StandardTableaux(50).cardinality() # long time
then doctesting `tableary.py` with --long passes.
On Wednesday, February 13, 2019 at 12:27:03 PM UTC-6, Steven Trogdon wrote:
>
> Assuming this is the correct thing to do, starting at line 7740, the
>
Assuming this is the correct thing to do, starting at line 7740, the
following
sage: def cardinality_using_hook_formula(n):
: import gc
: c = 0
: for p in Partitions(n):
: gc.collect()
:
My (complete) guess is that there are so many partitions of 50 (204226 to
be precise) and in such a tight for loop that the garbage collector does
not have enough time to actually collect the parents being created and
discarded. Maybe also other stuff in tableau.py built up is causing a
memory
This issue is discussed here:
https://github.com/ipython/ipython/issues/6864
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sage-devel+unsubscr...@googlegroups.c
You can ignore that "An unexpected error occurred while tokenizing
input" message. It's IPython having trouble with the traceback, it has
nothing to do with your Cython code.
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To unsubscribe from th
Is this normal behaviour?
ERROR:root:An unexpected error occurred while tokenizing input
The following traceback may be corrupted or invalid
The error message is: ('EOF in multi-line string', (1, 0))
I guess I can just do
sage: cython('''
: c = 2
: try:
: if c == 2:
:
On 2019-02-13 11:02, jonathan.kliem via sage-devel wrote:
I'm getting a strange error when raising an error in cython(), example:
I don't really understand your problem. You ask Cython to raise an
exception and the exception is raised. It seems like Cython is doing
exactly what it's supposed
I'm getting a strange error when raising an error in cython(), example:
sage: cython('''
: c = 2
: if c == 2:
: raise IndexError()
: ''')
ERROR:root:An unexpected error occurred while tokenizing input
The following traceback may be corrupted or invalid
The error message is: ('E
On Wednesday, February 13, 2019 at 8:44:07 AM UTC+1, Simon King wrote:
>
> Hi again,
>
> On 2019-02-12, Simon King > wrote:
> > If I recall correctly, valgrind would be able to report leaking memory.
> > But how to use it in Sage?
> >
> > I guess `sage -i valgrind` is the first step. But the
Can you send `config.log` please?
François
> On 13/02/2019, at 21:36, Andreas Hermann wrote:
>
> The output of ./configure FC=gfortran-8 says among other things
>
> checking SPKGs to install...
>
> gcc-7.2.0 not installed (configure check)
>
> gfortran-7.2.0
>
> I have attached the
The output of ./configure FC=gfortran-8 says among other things
checking SPKGs to install...
gcc-7.2.0 not installed (configure check)
gfortran-7.2.0
I have attached the full output in a file.
--
You received this message because you are subscribed to the Google Groups
"sage-devel" g
12 matches
Mail list logo