This release seems to have broken "our" exception report system. Any error 
raises a second error for its report. As an example, ask for the sum of two 
undefined variables :

```
sage: truc+machin
Unexpected exception formatting exception. Falling back to standard 
exception
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/IPython/core/interactiveshell.py", 
line 3577, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)
    ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<ipython-input-188-a6f685eae0e2>", line 1, in <module>
    truc+machin
    ^^^^
NameError: name 'truc' is not defined
```

This is the expected error message. But :

```
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/IPython/core/interactiveshell.py", 
line 2168, in showtraceback
    stb = self.InteractiveTB.structured_traceback(
        etype, value, tb, tb_offset=tb_offset
    )
  File "/usr/lib/python3/dist-packages/IPython/core/ultratb.py", line 1457, 
in structured_traceback
    return FormattedTB.structured_traceback(
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        self, etype, evalue, etb, tb_offset, number_of_lines_of_context
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3/dist-packages/IPython/core/ultratb.py", line 1348, 
in structured_traceback
    return VerboseTB.structured_traceback(
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        self, etype, value, tb, tb_offset, number_of_lines_of_context
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3/dist-packages/IPython/core/ultratb.py", line 1195, 
in structured_traceback
    formatted_exception = self.format_exception_as_a_whole(etype, evalue, 
etb, number_of_lines_of_context,
                                                           tb_offset)
  File "/usr/lib/python3/dist-packages/IPython/core/ultratb.py", line 1085, 
in format_exception_as_a_whole
    self.get_records(etb, number_of_lines_of_context, tb_offset) if etb 
else []
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/IPython/core/ultratb.py", line 1182, 
in get_records
    res = list(stack_data.FrameInfo.stack_data(etb, 
options=options))[tb_offset:]
          ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/usr/local/sage-10/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/stack_data/core.py",
 
line 597, in stack_data
    yield from collapse_repeated(
    ...<4 lines>...
    )
  File 
"/usr/local/sage-10/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/stack_data/utils.py",
 
line 83, in collapse_repeated
    yield from map(mapper, original_group)
  File 
"/usr/local/sage-10/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/stack_data/core.py",
 
line 587, in mapper
    return cls(f, options)
  File 
"/usr/local/sage-10/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/stack_data/core.py",
 
line 551, in __init__
    self.executing = Source.executing(frame_or_tb)
                     ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File 
"/usr/local/sage-10/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/executing/executing.py",
 
line 283, in executing
    assert_(new_stmts <= stmts)
    ~~~~~~~^^^^^^^^^^^^^^^^^^^^
  File 
"/usr/local/sage-10/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/executing/executing.py",
 
line 80, in assert_
    raise AssertionError(str(message))
AssertionError
```

This is understandable only by the developer's of this part of Sage's error 
handling. Which I am*not*.

This problem deserves an issue (probably critical, *i. e.* deserving a 
solution before the vext release). Advice for creating this issue ?

HTH,

Le samedi 22 février 2025 à 00:40:17 UTC+1, Volker Braun a écrit :

> As always, you can get the latest beta version from the "develop" git 
> branch. Alternatively, the self-contained source tarball is at 
> http://www.sagemath.org/download-latest.html
>
>
> 9cd86e9596a (tag: 10.6.beta7, github/develop) Updated SageMath version to 
> 10.6.beta7
> c2766d1f625 gh-39541: Remove dead mailing lists.
> 54951498178 gh-39536: Fix a nonfunctional long time doctest tag
> 5289298248a gh-39533: build/pkgs: update eclib to version 20250122
> 7420a272382 gh-39530: Improvement to flint_autogen reader
> cee1e2b52f9 gh-39527: Test on CI that update-meson is properly ran
> a007379b910 gh-39523: multi polynomial element/repr
> 850493472d5 gh-39521: rename also set-like species
> bd626efc02f gh-39518: line_graph for multigraphs
> 72c6188116a gh-39513: Show test failures of ci-meson as annotations
> 4f4c1203415 gh-39510: add of the function rank_support_of_vector
> 2af3de6fa6e gh-39509: Add a doctest for 
> HomsetsCategory._make_named_class_key
> d8b7cdfcecb gh-39508: Fix some typo
> b567299fbbb gh-39506: New algorithm for cuts of a Poset
> 88672d71a29 gh-39505: Improve handling of strings supplied as matrix 
> entries
> 935232df552 gh-39504: Implement im_gens in the class fraction_field_FpT
> a01815fda00 gh-39499: Improve sage_getfile by looking at __init__
> b7da8f23c43 gh-39498: Apply sort and filter of walk_packages consistently
> 3500f616037 gh-39497: moving random_element to category of rings
> e368fa71812 gh-39496: Add deformation cones and checking for regularity 
> for Point Configurations and normal fans of Polyhedra
> 8978ff83f52 gh-39495: Add documentation of Gabidulin codes in the 
> reference manual
> 98eec5d86fe gh-39494: Fix more doctests in meson_editable install
> cfbaaf16be2 gh-39491: fixing doctests failures in misc/latex*.py
> a2737325c19 gh-39489: fix several oeis related doctests
> 8a44c7365b7 gh-39488: Fix issue on matrix construction over integer mod 
> ring for large coefficients
> 78a3eede92c gh-39487: Improvement of the rendering of the documentation in 
> polynomial sequence
> 34b7f9050fb gh-39486: Finish changing Rational's round method default 
> rounding to even
> 04afcf71552 gh-39485:  Implement conversion from laurent series to 
> rational function field
> ae158663847 gh-39482: fix one typo
> 83f7d065286 gh-39481: Fixed issue in list_plot where it assumed data had 
> been enumerated when it might not have been
> 8e204dde3b3 gh-39479: Fixed crash when exp(0) of p-adic numbers is called
> 11ee7ca4e19 gh-39477: typing and details in tableaux files
> c61e562de76 gh-39476: typing annotation for gens method in rings and 
> groups (pyx files)
> 85ce297ff2c gh-39474: convert gens method in modular to return tuple
> c732c6552e4 gh-39473: add tuple typing to gens methods in algebras
> 556d5f0eb80 gh-39466: remove some deprecations in groups
> c22e48480c3 gh-39456: Trivial simplifications for arccos
> 68744be391e gh-39454: remove deprecated stuff in permutation.py
> 784ff00867a gh-39449: Magma padics
> 897e722c74e gh-39423: Use import_module instead of find_spec
> 870aba20786 gh-39397: details in braid groups
> e6975bebe80 gh-39381: Allow system python 3.13
> b57e33797cf gh-39366: Add documentation to LaurentSeries point to accessors
> 357f95e088c gh-39365: Allow coercion from Frac(QQ[x]) to 
> LaurentSeriesRing(QQ)
> 041336691f6 gh-39266: add parameter immutable to generators in 
> `sage/graphs/digraph_generators.py` (part 2)
> e0806107d60 gh-39251: Require Python 3.11 or newer; remove outdated 
> workarounds
> ac8406fba6a gh-39248: introduce new apozeta polynomial for posets
> 10edc54de0a gh-39215: Class polynomial for Drinfeld modules
> 2e0d6d201bf gh-39214: Add keyword prec for exponential and logarithm of 
> Drinfeld modules
> b5c26156430 gh-39212: Refactor period lattice
> d0e72a61433 gh-39128: Add note about makeflags and ninja parallelism
> 067ebbd0c8c gh-39093: Improve hack used in debug_options
> a89c57b64f8 gh-39092: Remove erroneous member declaration in farey_symbol
> cc231ef0353 gh-39061: Fix some errors in documentation of cachefunc
> f0581cbe397 gh-39025: Add reseed_rng option to p_iter_fork
> 290b261bc4f gh-38986: Allow CRT_list() to be called with one argument
> 0a278fc918e gh-38824: Turn some doctests in `ell_rational_field.py` into 
> long tests
> c43cd23ee83 gh-38650: Add support for pseudomorphisms
> 6e82ee51eb9 gh-38108: Implicit function solver for lazy series
> 42d00ed27b3 gh-37173: Implemented `.ramified_places` and modified further 
> methods to extend quaternion algebra functionality to number fields
> 8d7107c1aab gh-37158: use Parent in quotient rings too
> 766c7a0c5b8 (tag: 10.6.beta6) Updated SageMath version to 10.6.beta6
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/sage-release/7c29eca1-2433-4d9d-803e-392a9d63609bn%40googlegroups.com.

Reply via email to