Dear all,

we (should I say we ?) are making *slowly* progress towards python3.

* The conversion of cmp to richcmp is underway. There remains about 35 
files containing old-style cmp, that may be the hardest cases to handle.

* One of the next steps would be to handle "div". There 
is https://trac.sagemath.org/ticket/22875 for this, but this seems to be 
stalled.

* Another problem that has not really been looked at so far is unicode. 
See https://trac.sagemath.org/ticket/14153 for an important step that needs 
review.

* There remains to make a proper python3 install setup, in order to make it 
easier to debug. Currently, "make" with "SAGE_PYTHON3=yes" always rebuilds 
everything, which is *very annoying*. Happily, using only "sage -b" take 
much less time. For instance, an access to ipython3 inside a python3-build 
sage would be helpful.

* using public/ugly_python3 and severl other tweaks, I have reached the 
point where the failure is a core-dumped. I am not able to debug that, so 
it would take somebody else to have a look. I can provide a branch on 
demand. I copy the failure at the end of this message.

I have said it before, but let me say it again. I would appreciate if our 
move towards python3 was more of a collaborative effort, and not me alone 
doing things and trying to find reviewers for my tickets.

Frederic


┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 8.0.rc1, Release Date: 2017-07-05                 │
│ Type "notebook()" for the browser-based notebook interface.        │
│ Type "help()" for help.                                            │
└────────────────────────────────────────────────────────────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Warning: this is a prerelease version, and it may be unstable.     ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
------------------------------------------------------------------------
/home/chapoton/sage3/local/lib/python3.6/site-packages/cysignals/signals.cpython-36m-x86_64-linux-gnu.so(+0x5c58)[0x7f95b1f68c58]
/home/chapoton/sage3/local/lib/python3.6/site-packages/cysignals/signals.cpython-36m-x86_64-linux-gnu.so(+0x5cc5)[0x7f95b1f68cc5]
/home/chapoton/sage3/local/lib/python3.6/site-packages/cysignals/signals.cpython-36m-x86_64-linux-gnu.so(+0x8877)[0x7f95b1f6b877]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x11670)[0x7f95ba16c670]
/home/chapoton/sage3/local/lib/libpython2.7.so.1.0(PyInt_FromLong+0x53)[0x7f950a139ef3]
/home/chapoton/sage3/local/lib/libpynac.so.13(+0x88196)[0x7f950a559196]
/lib64/ld-linux-x86-64.so.2(+0x109ca)[0x7f95ba8c49ca]
/lib64/ld-linux-x86-64.so.2(+0x10adb)[0x7f95ba8c4adb]
/lib64/ld-linux-x86-64.so.2(+0x15a76)[0x7f95ba8c9a76]
/lib64/ld-linux-x86-64.so.2(+0x10874)[0x7f95ba8c4874]
/lib64/ld-linux-x86-64.so.2(+0x15059)[0x7f95ba8c9059]
/lib/x86_64-linux-gnu/libdl.so.2(+0xee9)[0x7f95b9b90ee9]
/lib64/ld-linux-x86-64.so.2(+0x10874)[0x7f95ba8c4874]
/lib/x86_64-linux-gnu/libdl.so.2(+0x1581)[0x7f95b9b91581]
/lib/x86_64-linux-gnu/libdl.so.2(dlopen+0x32)[0x7f95b9b90f82]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(_PyImport_FindSharedFuncptr+0x1a9)[0x7f95ba5336d9]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(_PyImport_LoadDynamicModuleWithSpec+0x13d)[0x7f95ba50a25d]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x18f323)[0x7f95ba508323]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(PyCFunction_Call+0xc9)[0x7f95ba4538a9]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(_PyEval_EvalFrameDefault+0x6be2)[0x7f95ba4ed402]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16cc8c)[0x7f95ba4e5c8c]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16cf54)[0x7f95ba4e5f54]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(_PyEval_EvalFrameDefault+0x2459)[0x7f95ba4e8c79]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16c220)[0x7f95ba4e5220]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16d241)[0x7f95ba4e6241]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(_PyEval_EvalFrameDefault+0x2459)[0x7f95ba4e8c79]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16c220)[0x7f95ba4e5220]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16d241)[0x7f95ba4e6241]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(_PyEval_EvalFrameDefault+0x2459)[0x7f95ba4e8c79]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16c220)[0x7f95ba4e5220]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16d241)[0x7f95ba4e6241]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(_PyEval_EvalFrameDefault+0x2459)[0x7f95ba4e8c79]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16c220)[0x7f95ba4e5220]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16d241)[0x7f95ba4e6241]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(_PyEval_EvalFrameDefault+0x2459)[0x7f95ba4e8c79]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16c220)[0x7f95ba4e5220]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(_PyFunction_FastCallDict+0x368)[0x7f95ba4ee558]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(_PyObject_FastCallDict+0x16e)[0x7f95ba3ec85e]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(_PyObject_CallMethodIdObjArgs+0xf4)[0x7f95ba3edb24]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(PyImport_ImportModuleLevelObject+0x4c9)[0x7f95ba509409]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(_PyEval_EvalFrameDefault+0x675e)[0x7f95ba4ecf7e]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16cc8c)[0x7f95ba4e5c8c]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(PyEval_EvalCodeEx+0x2f)[0x7f95ba4e628f]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(PyEval_EvalCode+0x1b)[0x7f95ba4e62bb]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16a27d)[0x7f95ba4e327d]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(PyCFunction_Call+0xc9)[0x7f95ba4538a9]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(_PyEval_EvalFrameDefault+0x6be2)[0x7f95ba4ed402]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16cc8c)[0x7f95ba4e5c8c]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16cf54)[0x7f95ba4e5f54]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(_PyEval_EvalFrameDefault+0x2459)[0x7f95ba4e8c79]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16c220)[0x7f95ba4e5220]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16d241)[0x7f95ba4e6241]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(_PyEval_EvalFrameDefault+0x2459)[0x7f95ba4e8c79]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16c220)[0x7f95ba4e5220]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16d241)[0x7f95ba4e6241]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(_PyEval_EvalFrameDefault+0x2459)[0x7f95ba4e8c79]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16c220)[0x7f95ba4e5220]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16d241)[0x7f95ba4e6241]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(_PyEval_EvalFrameDefault+0x2459)[0x7f95ba4e8c79]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16c220)[0x7f95ba4e5220]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(_PyFunction_FastCallDict+0x368)[0x7f95ba4ee558]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(_PyObject_FastCallDict+0x16e)[0x7f95ba3ec85e]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(_PyObject_CallMethodIdObjArgs+0xf4)[0x7f95ba3edb24]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(PyImport_ImportModuleLevelObject+0x4c9)[0x7f95ba509409]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(_PyEval_EvalFrameDefault+0x675e)[0x7f95ba4ecf7e]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16cc8c)[0x7f95ba4e5c8c]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(PyEval_EvalCodeEx+0x2f)[0x7f95ba4e628f]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(PyEval_EvalCode+0x1b)[0x7f95ba4e62bb]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16a27d)[0x7f95ba4e327d]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(PyCFunction_Call+0xc9)[0x7f95ba4538a9]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(_PyEval_EvalFrameDefault+0x6be2)[0x7f95ba4ed402]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16cc8c)[0x7f95ba4e5c8c]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16cf54)[0x7f95ba4e5f54]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(_PyEval_EvalFrameDefault+0x2459)[0x7f95ba4e8c79]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16c220)[0x7f95ba4e5220]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16d241)[0x7f95ba4e6241]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(_PyEval_EvalFrameDefault+0x2459)[0x7f95ba4e8c79]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16c220)[0x7f95ba4e5220]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16d241)[0x7f95ba4e6241]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(_PyEval_EvalFrameDefault+0x2459)[0x7f95ba4e8c79]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16c220)[0x7f95ba4e5220]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16d241)[0x7f95ba4e6241]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(_PyEval_EvalFrameDefault+0x2459)[0x7f95ba4e8c79]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16c220)[0x7f95ba4e5220]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(_PyFunction_FastCallDict+0x368)[0x7f95ba4ee558]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(_PyObject_FastCallDict+0x16e)[0x7f95ba3ec85e]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(_PyObject_CallMethodIdObjArgs+0xf4)[0x7f95ba3edb24]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(PyImport_ImportModuleLevelObject+0x4c9)[0x7f95ba509409]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(_PyEval_EvalFrameDefault+0x675e)[0x7f95ba4ecf7e]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16cc8c)[0x7f95ba4e5c8c]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(_PyFunction_FastCallDict+0x136)[0x7f95ba4ee326]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(_PyObject_FastCallDict+0x16e)[0x7f95ba3ec85e]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(_PyObject_Call_Prepend+0xcc)[0x7f95ba3ec95c]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(PyObject_Call+0x47)[0x7f95ba3ec607]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0xf7dc9)[0x7f95ba470dc9]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0xf2ff2)[0x7f95ba46bff2]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(_PyObject_FastCallDict+0x89)[0x7f95ba3ec779]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(_PyObject_FastCallKeywords+0x70)[0x7f95ba3ecc10]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16ce08)[0x7f95ba4e5e08]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(_PyEval_EvalFrameDefault+0x4014)[0x7f95ba4ea834]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16cc8c)[0x7f95ba4e5c8c]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(PyEval_EvalCodeEx+0x2f)[0x7f95ba4e628f]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0xa703d)[0x7f95ba42003d]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(PyObject_Call+0x47)[0x7f95ba3ec607]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(_PyEval_EvalFrameDefault+0x4161)[0x7f95ba4ea981]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16cc8c)[0x7f95ba4e5c8c]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(PyEval_EvalCodeEx+0x2f)[0x7f95ba4e628f]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0xa6f48)[0x7f95ba41ff48]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(PyObject_Call+0x47)[0x7f95ba3ec607]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(_PyEval_EvalFrameDefault+0x4161)[0x7f95ba4ea981]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16cc8c)[0x7f95ba4e5c8c]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16cf54)[0x7f95ba4e5f54]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(_PyEval_EvalFrameDefault+0x2459)[0x7f95ba4e8c79]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16c220)[0x7f95ba4e5220]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16d241)[0x7f95ba4e6241]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(_PyEval_EvalFrameDefault+0x2459)[0x7f95ba4e8c79]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16c220)[0x7f95ba4e5220]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16d241)[0x7f95ba4e6241]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(_PyEval_EvalFrameDefault+0x2459)[0x7f95ba4e8c79]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16c220)[0x7f95ba4e5220]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16d241)[0x7f95ba4e6241]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(_PyEval_EvalFrameDefault+0x2459)[0x7f95ba4e8c79]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16cc8c)[0x7f95ba4e5c8c]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(PyEval_EvalCodeEx+0x2f)[0x7f95ba4e628f]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0xa703d)[0x7f95ba42003d]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(PyObject_Call+0x47)[0x7f95ba3ec607]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(_PyEval_EvalFrameDefault+0x4161)[0x7f95ba4ea981]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16cc8c)[0x7f95ba4e5c8c]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16cf54)[0x7f95ba4e5f54]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(_PyEval_EvalFrameDefault+0x2459)[0x7f95ba4e8c79]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16cc8c)[0x7f95ba4e5c8c]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16cf54)[0x7f95ba4e5f54]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(_PyEval_EvalFrameDefault+0x2459)[0x7f95ba4e8c79]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(+0x16cc8c)[0x7f95ba4e5c8c]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(PyEval_EvalCodeEx+0x2f)[0x7f95ba4e628f]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(PyEval_EvalCode+0x1b)[0x7f95ba4e62bb]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(PyRun_FileExFlags+0xb2)[0x7f95ba51ab42]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(PyRun_SimpleFileExFlags+0xf5)[0x7f95ba51acc5]
/home/chapoton/sage3/local/lib/libpython3.6m.so.1.0(Py_Main+0xf13)[0x7f95ba536be3]
/home/chapoton/sage3/local/bin/python3(main+0x179)[0x5573fd568b59]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1)[0x7f95b9db43f1]
/home/chapoton/sage3/local/bin/python3(_start+0x2a)[0x5573fd568c1a]
------------------------------------------------------------------------
Attaching gdb to process id 25929.

Failed to run gdb.
Failed to run gdb.
Install gdb for enhanced tracebacks.
------------------------------------------------------------------------
Unhandled SIGSEGV: A segmentation fault occurred.
This probably occurred because a *compiled* module has a bug
in it and is not properly wrapped with sig_on(), sig_off().
Python will now terminate.
------------------------------------------------------------------------
Erreur de segmentation (core dumped)



-- 
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.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to