passagemath-objects 10.6.31rc1__cp313-cp313-macosx_13_0_arm64.whl → 10.6.31rc3__cp313-cp313-macosx_13_0_arm64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of passagemath-objects might be problematic. Click here for more details.

Files changed (75) hide show
  1. {passagemath_objects-10.6.31rc1.dist-info → passagemath_objects-10.6.31rc3.dist-info}/METADATA +2 -2
  2. {passagemath_objects-10.6.31rc1.dist-info → passagemath_objects-10.6.31rc3.dist-info}/RECORD +75 -75
  3. sage/arith/numerical_approx.cpython-313-darwin.so +0 -0
  4. sage/arith/power.cpython-313-darwin.so +0 -0
  5. sage/categories/action.cpython-313-darwin.so +0 -0
  6. sage/categories/category_cy_helper.cpython-313-darwin.so +0 -0
  7. sage/categories/category_singleton.cpython-313-darwin.so +0 -0
  8. sage/categories/functor.cpython-313-darwin.so +0 -0
  9. sage/categories/map.cpython-313-darwin.so +0 -0
  10. sage/categories/morphism.cpython-313-darwin.so +0 -0
  11. sage/cpython/atexit.cpython-313-darwin.so +0 -0
  12. sage/cpython/atexit.pyx +73 -24
  13. sage/cpython/builtin_types.cpython-313-darwin.so +0 -0
  14. sage/cpython/cython_metaclass.cpython-313-darwin.so +0 -0
  15. sage/cpython/debug.cpython-313-darwin.so +0 -0
  16. sage/cpython/dict_del_by_value.cpython-313-darwin.so +0 -0
  17. sage/cpython/getattr.cpython-313-darwin.so +0 -0
  18. sage/cpython/string.cpython-313-darwin.so +0 -0
  19. sage/cpython/type.cpython-313-darwin.so +0 -0
  20. sage/groups/group.cpython-313-darwin.so +0 -0
  21. sage/groups/old.cpython-313-darwin.so +0 -0
  22. sage/libs/gmp/pylong.cpython-313-darwin.so +0 -0
  23. sage/misc/c3_controlled.cpython-313-darwin.so +0 -0
  24. sage/misc/cachefunc.cpython-313-darwin.so +0 -0
  25. sage/misc/cachefunc.pyx +1 -1
  26. sage/misc/classcall_metaclass.cpython-313-darwin.so +0 -0
  27. sage/misc/constant_function.cpython-313-darwin.so +0 -0
  28. sage/misc/fast_methods.cpython-313-darwin.so +0 -0
  29. sage/misc/fpickle.cpython-313-darwin.so +0 -0
  30. sage/misc/function_mangling.cpython-313-darwin.so +0 -0
  31. sage/misc/inherit_comparison.cpython-313-darwin.so +0 -0
  32. sage/misc/instancedoc.cpython-313-darwin.so +0 -0
  33. sage/misc/lazy_attribute.cpython-313-darwin.so +0 -0
  34. sage/misc/lazy_import.cpython-313-darwin.so +0 -0
  35. sage/misc/lazy_list.cpython-313-darwin.so +0 -0
  36. sage/misc/lazy_list.pyx +9 -10
  37. sage/misc/lazy_string.cpython-313-darwin.so +0 -0
  38. sage/misc/misc_c.cpython-313-darwin.so +0 -0
  39. sage/misc/nested_class.cpython-313-darwin.so +0 -0
  40. sage/misc/persist.cpython-313-darwin.so +0 -0
  41. sage/misc/randstate.cpython-313-darwin.so +0 -0
  42. sage/misc/reset.cpython-313-darwin.so +0 -0
  43. sage/misc/sage_ostools.cpython-313-darwin.so +0 -0
  44. sage/misc/sage_timeit_class.cpython-313-darwin.so +0 -0
  45. sage/misc/sage_unittest.py +11 -14
  46. sage/misc/sageinspect.py +25 -72
  47. sage/misc/session.cpython-313-darwin.so +0 -0
  48. sage/misc/weak_dict.cpython-313-darwin.so +0 -0
  49. sage/misc/weak_dict.pyx +6 -6
  50. sage/modules/module.cpython-313-darwin.so +0 -0
  51. sage/sets/pythonclass.cpython-313-darwin.so +0 -0
  52. sage/structure/category_object.cpython-313-darwin.so +0 -0
  53. sage/structure/coerce.cpython-313-darwin.so +0 -0
  54. sage/structure/coerce_actions.cpython-313-darwin.so +0 -0
  55. sage/structure/coerce_dict.cpython-313-darwin.so +0 -0
  56. sage/structure/coerce_maps.cpython-313-darwin.so +0 -0
  57. sage/structure/debug_options.cpython-313-darwin.so +0 -0
  58. sage/structure/element.cpython-313-darwin.so +0 -0
  59. sage/structure/element_wrapper.cpython-313-darwin.so +0 -0
  60. sage/structure/factory.cpython-313-darwin.so +0 -0
  61. sage/structure/list_clone.cpython-313-darwin.so +0 -0
  62. sage/structure/list_clone.pyx +1 -1
  63. sage/structure/list_clone_demo.cpython-313-darwin.so +0 -0
  64. sage/structure/list_clone_timings_cy.cpython-313-darwin.so +0 -0
  65. sage/structure/mutability.cpython-313-darwin.so +0 -0
  66. sage/structure/parent.cpython-313-darwin.so +0 -0
  67. sage/structure/parent_base.cpython-313-darwin.so +0 -0
  68. sage/structure/parent_gens.cpython-313-darwin.so +0 -0
  69. sage/structure/parent_old.cpython-313-darwin.so +0 -0
  70. sage/structure/richcmp.cpython-313-darwin.so +0 -0
  71. sage/structure/sage_object.cpython-313-darwin.so +0 -0
  72. sage/structure/sage_object.pyx +7 -6
  73. sage/structure/unique_representation.py +2 -2
  74. {passagemath_objects-10.6.31rc1.dist-info → passagemath_objects-10.6.31rc3.dist-info}/WHEEL +0 -0
  75. {passagemath_objects-10.6.31rc1.dist-info → passagemath_objects-10.6.31rc3.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: passagemath-objects
3
- Version: 10.6.31rc1
3
+ Version: 10.6.31rc3
4
4
  Summary: passagemath: Sage objects, elements, parents, categories, coercion, metaclasses
5
5
  Author-email: The Sage Developers <sage-support@googlegroups.com>
6
6
  Maintainer: Matthias Köppe, passagemath contributors
@@ -27,7 +27,7 @@ Classifier: Programming Language :: Python :: 3.12
27
27
  Classifier: Programming Language :: Python :: 3.13
28
28
  Classifier: Programming Language :: Python :: Implementation :: CPython
29
29
  Classifier: Topic :: Scientific/Engineering :: Mathematics
30
- Requires-Python: <3.14,>=3.10
30
+ Requires-Python: <3.15,>=3.10
31
31
  Description-Content-Type: text/x-rst
32
32
  Requires-Dist: gmpy2~=2.1.b999
33
33
  Requires-Dist: cysignals<1.12.4; sys_platform == "win32"
@@ -1,22 +1,22 @@
1
+ passagemath_objects-10.6.31rc3.dist-info/RECORD,,
2
+ passagemath_objects-10.6.31rc3.dist-info/WHEEL,sha256=kXhjAk4l4-cEIS1SjPDOm7-791qK4vKG27T_LvSNhyU,136
3
+ passagemath_objects-10.6.31rc3.dist-info/top_level.txt,sha256=Kmzulf9WsphADFQuqgvdy5mvTLDj_V2zkFHU2s3UXos,6
4
+ passagemath_objects-10.6.31rc3.dist-info/METADATA,sha256=xb5rhHC8etJrGqZcEY7_sthyokGOKY_VR-jbY3ibhbQ,5271
1
5
  passagemath_objects.dylibs/libgmp.10.dylib,sha256=T4tRS4q5c3n5n2fvrh5ZdWU1PNzftAfcw5cgGi7qVXA,464688
2
- passagemath_objects-10.6.31rc1.dist-info/RECORD,,
3
- passagemath_objects-10.6.31rc1.dist-info/WHEEL,sha256=kXhjAk4l4-cEIS1SjPDOm7-791qK4vKG27T_LvSNhyU,136
4
- passagemath_objects-10.6.31rc1.dist-info/top_level.txt,sha256=Kmzulf9WsphADFQuqgvdy5mvTLDj_V2zkFHU2s3UXos,6
5
- passagemath_objects-10.6.31rc1.dist-info/METADATA,sha256=lIGD0Yi6kaK7zPqT4OU5pQjbom1yrt_cNm0y-7KsyL8,5271
6
6
  sage/all__sagemath_objects.py,sha256=NVxVF3fEVtmNUxMKNHjkVqgXO4-AsnV6iuMsgVh3l_4,804
7
7
  sage/misc/superseded.py,sha256=3K8MzLbmNupi8gMwYaYK68F7YNaYWTVsI9YO1z0TxBE,19934
8
- sage/misc/c3_controlled.cpython-313-darwin.so,sha256=yLNRH7yjBifTQ1RPedrNCsjpshyiydqNF7COR1Q2owU,273952
8
+ sage/misc/c3_controlled.cpython-313-darwin.so,sha256=VKgaER88G0E5zA7mESxnj9UJTM0m-UpRhn8XpXCLesA,273952
9
9
  sage/misc/prandom.py,sha256=vnbY62JYLu5_5L1nGbq1SoHkt0ScGBrx-LisbzhM2YY,12432
10
10
  sage/misc/verbose.py,sha256=KGMJeArKTqIPTgTxRq4YsSyY7KwZov0m1VmzfImmbUc,6636
11
11
  sage/misc/classcall_metaclass.pyx,sha256=QkgYomel8fNufKtvWx8Iz9fBrSoubKqGIm6sfU-sLYU,21263
12
- sage/misc/randstate.cpython-313-darwin.so,sha256=v0nAn8fuQFKy-IpS7aTFCZ8bz8mQqLRYgVxSvwc0e6A,181344
13
- sage/misc/fpickle.cpython-313-darwin.so,sha256=aA-nejsQCos-jcay1s2xddK9GS-EYl66RbtYo4LlnwE,127728
12
+ sage/misc/randstate.cpython-313-darwin.so,sha256=uzQqqjz0lDcotuh7D4_wo2lI-MPbZKGfauQCE9zGiaU,181344
13
+ sage/misc/fpickle.cpython-313-darwin.so,sha256=LlHIi-al9qtCpVQJzn8UFine9Jg1aLtJsuv5PG4nd48,127728
14
14
  sage/misc/misc.py,sha256=3M5ekIsxGhmZOR2c1AzChqurp7rQl-ErMOe-R1lO_BA,30450
15
15
  sage/misc/sage_timeit.py,sha256=2l3OuSjfwQFqF3CkzVDR8LOR2AiPGskiOMleWD03NKU,9064
16
- sage/misc/lazy_import.cpython-313-darwin.so,sha256=-WUl-sr6PXqzH1gSXUGGC9cSMNsykginrcBFyB3a4go,236832
17
- sage/misc/weak_dict.pyx,sha256=CXWvbATI26YASIJ-vVvq9YcNHpnRp6tnoDnJ92iT-8Q,41565
16
+ sage/misc/lazy_import.cpython-313-darwin.so,sha256=_xoaj-jyeYMbzG5P2ZN77i6RE9bXS1qbUVx_JCjOneg,236832
17
+ sage/misc/weak_dict.pyx,sha256=0gbKGb_Fovx_pIblCYMwsVwxLfTGpU9CgI9n65N8OF0,41601
18
18
  sage/misc/flatten.py,sha256=BMribQzTuNq4JqjNkTtla9mEUb7QVCBhskj9rLWAiuQ,2739
19
- sage/misc/sage_ostools.cpython-313-darwin.so,sha256=PfsLb1WIByUtYTFOUWOT3wKu2ZY0oRg6jWbszb1fHUI,127280
19
+ sage/misc/sage_ostools.cpython-313-darwin.so,sha256=LTVnLfdRN_DlKQjQuwVkfXNqCOclc7_gN_UuecEuzSI,127280
20
20
  sage/misc/sage_timeit_class.pyx,sha256=3IIxeFsvD7gxemBNgP_tnhuwMWjPiVdUTKQshSHWSxk,3908
21
21
  sage/misc/lazy_string.pyx,sha256=kjC5HtApqcYKUv4VGXK0_zjUqJ_HdLzXAUW5Ws9FdJA,16280
22
22
  sage/misc/c3_controlled.pyx,sha256=a3z5yOBzNLzcMS085cQH6S1heXHCU4zT32SvU0ng6F4,56078
@@ -25,59 +25,59 @@ sage/misc/instancedoc.pyx,sha256=ml1-c_SKHAnww2zwkJTXbuf2TSHJXtNYQstTSCRipFo,111
25
25
  sage/misc/reset.pyx,sha256=9xnGnC8yOv-3MKXXEAWcnuc7WLrw6lZQDLqsC91rQ5Y,5675
26
26
  sage/misc/sage_ostools.pyx,sha256=CaDOaTvu2JXfOwJk8wsgTF_OT_ivjugrqVvBa2FvvqA,9287
27
27
  sage/misc/function_mangling.pyx,sha256=bVzo7-pJq0kNLBvR4W3AVuCCr7JrVVnj-9oqEq0bQLI,10873
28
- sage/misc/lazy_list.pyx,sha256=8uPSFQUEqpi098JLpAgHqd_43uWsXfd12DMxZn_pQyU,38284
29
- sage/misc/classcall_metaclass.cpython-313-darwin.so,sha256=P7CoLw-ntnKvE2ivAoGrne2sI0qjTQWDd8BjkTSoK5w,126984
30
- sage/misc/sage_timeit_class.cpython-313-darwin.so,sha256=_urQMnPa5HOG6obqR4BK1143poLsd1Atjb2ZVMqTKgQ,84808
31
- sage/misc/instancedoc.cpython-313-darwin.so,sha256=empOBPc8uNFj6ygEl5qCNLLo14z0_G1T3vGji6_xgXc,98528
28
+ sage/misc/lazy_list.pyx,sha256=ib3TZpxutctPqQ2bAwTGVJgo4YIJv8wmKfiBvoBtIsM,38313
29
+ sage/misc/classcall_metaclass.cpython-313-darwin.so,sha256=yZ7_Kce5-R0JR_mJTQBQtLP9x3xNX_oqCNtcHmMI4RA,126984
30
+ sage/misc/sage_timeit_class.cpython-313-darwin.so,sha256=BYGvhYeM1OJY6ognWNJ8jyH-53AhbXvflACxiHh_6UE,84808
31
+ sage/misc/instancedoc.cpython-313-darwin.so,sha256=MrQvH02KnU-y6waEAqu8KsEr7MOtukvdqNLOiwm9ZX4,98528
32
32
  sage/misc/nested_class.pxd,sha256=8jncbDWcavg4ZjbrbtXscGagkcMVU-ZDYH4k15jZyc4,94
33
33
  sage/misc/fast_methods.pyx,sha256=RrRNp3UNliUhKPdIXz_mxu1BL_7iHze4vx7Ulpyaw84,11976
34
34
  sage/misc/misc_c.pxd,sha256=6ijmZ05ZScqQVt6NfUEaSbHijl_JK2U4JQlV_E8SxR0,96
35
- sage/misc/cachefunc.pyx,sha256=PxXg3mtgFy3d2j1QlrvAHRkihnRBwmRjRjy2luSHRbI,127240
35
+ sage/misc/cachefunc.pyx,sha256=H2S0-A5IQEOvKZ4XDwq1_3kuCkc5dzVvwL_6FbRKW-Q,127246
36
36
  sage/misc/session.pyx,sha256=vxqDy-kT1QEplhoyuDlRM6WiWmFfYLDZiOmy-gwl3gE,11770
37
37
  sage/misc/inherit_comparison.pxd,sha256=vV-3Ek7tnZ-05_uFZwTAYTjsFM5OR5qFknyDu9jJTwU,139
38
38
  sage/misc/randstate.pxd,sha256=LERpWdd_7yS8mD_MYIES5yxA-Zh060remnG4jROIApc,746
39
39
  sage/misc/repr.py,sha256=Q8sxfz4xNPGbHlMuKnIeAsH2LaZtXKkKwkHEZLlwFic,6987
40
- sage/misc/weak_dict.cpython-313-darwin.so,sha256=YhIvg9NeEGd3QYXTTw2h2YE6GneDjhnZ_dsZpHCA6tE,174960
40
+ sage/misc/weak_dict.cpython-313-darwin.so,sha256=y-aMlGavgITfHllpKajN7T-DgH7LkSlcyPyh-LvMPdo,174960
41
41
  sage/misc/randstate.pyx,sha256=gmiTORYmK3lx44l6XWxkjCcD5PO4rHvEJ94TE7K_6bQ,38090
42
42
  sage/misc/inherit_comparison.pyx,sha256=qitU_YiVHB-9wHUMh3M2ewuee0DMd7Kq7ZPJXxchjzI,3828
43
- sage/misc/lazy_list.cpython-313-darwin.so,sha256=46NJKm0AtG8FQPSzKlXlyj_D6z9j6gzcJ7-2Ic0FmIg,194768
44
- sage/misc/constant_function.cpython-313-darwin.so,sha256=2dwEVN0OnU4y-lZj3Fexn3oRFwta3J3pAIq0cs0oHjM,106536
45
- sage/misc/reset.cpython-313-darwin.so,sha256=KVBROv5sxX9IdXoeRdXe6jULq1assV1dTVX6bd8xhwE,100424
43
+ sage/misc/lazy_list.cpython-313-darwin.so,sha256=-lP-1lv7ERloScixu6jcDEQ9m3py58VJPDe0aVeN2Xg,194768
44
+ sage/misc/constant_function.cpython-313-darwin.so,sha256=zuKQiaDNyM93NAYCLc4coGdIcgqfIXXV5mXVAHQRUqs,106536
45
+ sage/misc/reset.cpython-313-darwin.so,sha256=RPx1Iywk1vGkkt8dgGogWDLmbbv2qGT_nIYQI1EUcBs,100424
46
46
  sage/misc/cachefunc.pxd,sha256=4c9YK_wVbUSit4f5LtoZsgV43_49S_P6LbrO-LDwl9w,1163
47
- sage/misc/misc_c.cpython-313-darwin.so,sha256=x5b9oaXczfy6_U9KjqeHyTS28vmIIKlHJ6UtYMxeio4,149952
47
+ sage/misc/misc_c.cpython-313-darwin.so,sha256=xt0q6ttzfz_pSOzofl-8q17pz7p2MVvv1QiiLICDt-M,149952
48
48
  sage/misc/fast_methods.pxd,sha256=A0ImtHm4rQ0JAxnCygpTP0RyqZtodCqqm8_TKXtiYK0,577
49
49
  sage/misc/bindable_class.py,sha256=WY48Hlz5tyVP-pKsCebjfsZKcPSDDrZKruv9W3fhhHw,8369
50
50
  sage/misc/nested_class.pyx,sha256=j0pwxE44IvMSpUM-Pl3_uv9T2CzfmwxsIoDuFML9VTQ,13318
51
51
  sage/misc/misc_c.pyx,sha256=NXV3k96bXvVKqt_jmbtlrpBOE_l8tYy6IgLHwl2vZLs,23685
52
52
  sage/misc/timing.py,sha256=sbUPFLljrbKKA0wPBU-wTI-xO1E7DcqUcfxlo4jTU8g,8329
53
53
  sage/misc/lazy_attribute.pyx,sha256=rpc8WnIiCbrZdwi06AxMWKBcN_uuvHlXJ0UI3xpXg2w,19121
54
- sage/misc/lazy_attribute.cpython-313-darwin.so,sha256=hCIjAUmbZTZyOb6NVLZ_W_9PPB7a30l1bsvf-lYvP0E,124904
54
+ sage/misc/lazy_attribute.cpython-313-darwin.so,sha256=qJMBctI4iVRJA2U39yhDaoJV7LKms9jBzF3xUMSMC1I,124904
55
55
  sage/misc/lazy_list.pxd,sha256=ugiVT7-AGL6qSOBVn6YSELu_TJctsEL-Dzpv65ep3XQ,672
56
56
  sage/misc/function_mangling.pxd,sha256=n_zmWpk40S2JNrwTiBxFRkZaI9Fj7ZD_E9s_qm7PKu0,330
57
57
  sage/misc/lazy_import.pyx,sha256=ku_tlp1o5BwAfRlJSQtUiGg9c23FjLAQDdOqyw2xhoI,41770
58
58
  sage/misc/abstract_method.py,sha256=57iobT5AwJzRPkutZNFoHyHqc4BgAn_NYzvG2PjlP-E,8409
59
59
  sage/misc/test_nested_class.py,sha256=E_r0pvZKHIWw-1V3djlwdSKjY5BbaPmp-UFewrRhTLA,5914
60
- sage/misc/sageinspect.py,sha256=jjtNFSH6QniO3OjJEKv44Fj7gRmA9JBm94mQRCwLcXQ,108872
61
- sage/misc/nested_class.cpython-313-darwin.so,sha256=vaEi2-HMLDftolct8y9YkdWJiQ7FWe1CGadEQ9g9bmM,126816
60
+ sage/misc/sageinspect.py,sha256=QPEhtfOAmjM8dXPl1v89np73eO2qJYdRCdrrSZFSCGI,107670
61
+ sage/misc/nested_class.cpython-313-darwin.so,sha256=LLFEJ-CTToTobHCgORGkgpICd7nt8Y2W2qK1OXG_XQY,126816
62
62
  sage/misc/c3_controlled.pxd,sha256=EWT5P-X5Y6-dAslfrcE14QFMLsGHWcLSxCoAEkcN7NY,93
63
- sage/misc/persist.cpython-313-darwin.so,sha256=Uop_YCUFC-FGmhPoDQ5SIvvBZanxRP76iBE2_M71bQk,262880
63
+ sage/misc/persist.cpython-313-darwin.so,sha256=cZzfX4wsZWJej6LVexY6wCgA8-emqK87naoFj7-KOLk,262880
64
64
  sage/misc/fpickle.pyx,sha256=Vh5kja4ylA8ln6_ICX5OUvhOXjZDdnazCkB4SC8tGPc,4900
65
65
  sage/misc/namespace_package.py,sha256=1Zm09A9QjmQ6i4zp3I2G_x1XEm8wJVFxxZ353LN-EZE,938
66
66
  sage/misc/lazy_string.pxd,sha256=svK96-FOIZqWLd-uY9F-s_tF9buYOvl8goNGVbc_Uv8,182
67
67
  sage/misc/persist.pyx,sha256=dy8qDVBTtQrG79tvgeaOLom6QNM8hZTxD7KVGnnuxT0,46217
68
68
  sage/misc/weak_dict.pxd,sha256=7mDU5vWwLDunO53fgGyEhVvSGZKxvHRx-EprQtgBmOA,428
69
69
  sage/misc/call.py,sha256=WerCuE2OSAGLgok9s-2JqTwEIZkvgqfarMUyQsYZlCc,5757
70
- sage/misc/lazy_string.cpython-313-darwin.so,sha256=9MhAZ6qNPGLFl6By571Ftic8INWjZENDjps7Q6zQyiA,107984
71
- sage/misc/fast_methods.cpython-313-darwin.so,sha256=d9L5-cEqkLgri4aZaWH6oYjVdEyu5-P8SPzfPHXeLwc,108800
72
- sage/misc/cachefunc.cpython-313-darwin.so,sha256=w3aC7uWcY2XaZx3cVX3E68CMMmhV1OEYhbmzveVchVI,456112
73
- sage/misc/session.cpython-313-darwin.so,sha256=3a01dQa9YJpu_nG70rh_mXN6M-vT-LWUhshhfgqYvMQ,99200
70
+ sage/misc/lazy_string.cpython-313-darwin.so,sha256=RqZwhttRw5ZWvfNDxz_ZHzfkbLRl_uGNfEAZK1JTKSQ,107984
71
+ sage/misc/fast_methods.cpython-313-darwin.so,sha256=Ulo3Baq53PON5kpByl-1wIEp_0VT7aSUSQ7snyaYpE4,108800
72
+ sage/misc/cachefunc.cpython-313-darwin.so,sha256=BgLt0WFFTsNbpAyPVY8JvVFzpJOT9YLSv1XTCiSOU8A,456112
73
+ sage/misc/session.cpython-313-darwin.so,sha256=yAeP4JO44LnsBy5L-vbTCgD_9QGttv7j9AMYaJ4lxYk,99200
74
74
  sage/misc/all__sagemath_objects.py,sha256=PA6ug9z-uYIb61IYDsyIxyOmch9QQY8KfYqAJin-lco,1544
75
75
  sage/misc/lazy_format.py,sha256=MpN8wJXCvdiyJyOp5x0cfSGNjvUA58bFY7LVjwX5_4c,4379
76
- sage/misc/sage_unittest.py,sha256=sTp3rvIV43FgnsznD08LVMF6miRuvTa81VN7a2D9qBg,24177
76
+ sage/misc/sage_unittest.py,sha256=gIvNuRKZZZKZzlO_TL5ifEUGc2j0MCxkqF-9Bp5dkRc,24002
77
77
  sage/misc/unknown.py,sha256=fVh3T3B3vgSKqYqLjyWu2LhIErNlGQVkcJgqIMAJHtc,6481
78
- sage/misc/function_mangling.cpython-313-darwin.so,sha256=ojjZ6iQb_xBVPUZQYeDvUJcX8g4kVPc2-mMnz4Kg6g8,103272
78
+ sage/misc/function_mangling.cpython-313-darwin.so,sha256=FLK3afW17IkC36a0-XffBG4yox5KwUa-5x8OfaOfRSs,103272
79
79
  sage/misc/constant_function.pyx,sha256=gmEpTMwOfsS1xJZBFUJSuDTqfleKvJzuhsWIfBsGN54,3578
80
- sage/misc/inherit_comparison.cpython-313-darwin.so,sha256=TKHNVbioI6usAZ4lPmQHLLbXETZ-3B0tjb8UUKhrTTM,77400
80
+ sage/misc/inherit_comparison.cpython-313-darwin.so,sha256=wMilX4WYm7LFRn3Lkzi-ZonWw14cazGpurNhPxSKQ7g,77400
81
81
  sage/misc/classcall_metaclass.pxd,sha256=_VnrhJRQAclaFng-7vwzhDrQW-mwExvPLgP5bk1YmhM,583
82
82
  sage/misc/decorators.py,sha256=VOubDgl-3KemmGs2kkyUSLd-WYS8XQ2HGTDBeuRSXAM,26572
83
83
  sage/ext/ccobject.h,sha256=eLtqVFdLUrmjR1gkAzuzwRVL55bj31H9-p2n2NKJW3U,1186
@@ -87,18 +87,18 @@ sage/ext/mod_int.pxd,sha256=KbuB1xE_rbe3812HzeAnljlBfeASVe8ea2CIK-t-OIM,878
87
87
  sage/ext/stdsage.pxd,sha256=LtnBsa8UN7H5cMbb2AFpj_Bnb9nyl-hQFm2bATj-g_w,1427
88
88
  sage/ext/all__sagemath_objects.py,sha256=YDdaT0ZDVNDu-ssAUrDGDpEkHpGC0KRBZ15j5Xk8O80,169
89
89
  sage/groups/group.pyx,sha256=CGAhNiFVdAT2Kjv8Hh-AFq423cfiCyt-SfvMMR0rDU0,9827
90
- sage/groups/old.cpython-313-darwin.so,sha256=docCzEBmJ0fsMHYM5aNxbFNhXwurUvwhKFTBIyge2Eo,103032
90
+ sage/groups/old.cpython-313-darwin.so,sha256=WOwYvGsdyfSu8FAanC_Bprtm5OMtjcWA7lZWEwmxI7c,103032
91
91
  sage/groups/old.pyx,sha256=gxDN9ZQSNq3VnccG9So3tLGk2JgSjTrAwKlpkE26aig,6154
92
92
  sage/groups/old.pxd,sha256=2CXrLHHAFFGvFhOcHEBR4jo65SGynhNEcMF0f9rMsQs,266
93
- sage/groups/group.cpython-313-darwin.so,sha256=bHJuOpMK-AmPDEaVZ-cQd6vp0qfDZWjZzyra3DNBKM4,131288
93
+ sage/groups/group.cpython-313-darwin.so,sha256=HZUbu8IoEXPXY7U4TO2nApvw8jHsiCnOo5Fh5CHcplU,131288
94
94
  sage/groups/all__sagemath_objects.py,sha256=U0s3i-j8VG_G3hwosaLXkFtIexExCHE66vo6Xk5_V08,46
95
95
  sage/groups/group.pxd,sha256=l5XDUVBLZZghkEMm3p72KdVJDLxD85Je9otL5yDkXQM,251
96
96
  sage/arith/long.pxd,sha256=wc2jBHq3rpg7oSfahGg7LqU495AgGG-IrU5R6RVXlKA,13944
97
97
  sage/arith/numerical_approx.pxd,sha256=gFWmxAnUn8xt1cMwCW0pxfywfy_ZJ3vrRuNjAjlo1dU,950
98
- sage/arith/power.cpython-313-darwin.so,sha256=tFLESDTPQ_f9bFtlat-CGoWQ0wlPO08pA-ZkhQFVRr8,99200
98
+ sage/arith/power.cpython-313-darwin.so,sha256=G5vtM2h7RAygfK2kvxed1vWznXHkf22vgri6lpIGCcc,99200
99
99
  sage/arith/power.pyx,sha256=SJamErC6EQinYao_I5JMTWNnYRRxUT-t-jRErZq-T5A,3257
100
100
  sage/arith/power.pxd,sha256=CS0qcAvGCF4VdHFFOxfKtF5cmviM0UyOzGfAYghjTCA,630
101
- sage/arith/numerical_approx.cpython-313-darwin.so,sha256=GkqxRl-kLsMep_ePVT26PXZmITjvVHJJ0e4AiSmJ5e0,80056
101
+ sage/arith/numerical_approx.cpython-313-darwin.so,sha256=-GQzMJ-3fxbSHWjGNaLptwakSHXUNolChGUHN5WDXdo,80056
102
102
  sage/arith/numerical_approx.pyx,sha256=IkdhP04vlBfHcSR4YREYBisONaa9uBWMlQmM8wrF-3Q,2538
103
103
  sage/arith/all__sagemath_objects.py,sha256=Xsmp9IOAIWpXfNhDnlC1rPzaAWwkOnDGBX7TSDM7HKc,222
104
104
  sage/libs/all__sagemath_objects.py,sha256=YDdaT0ZDVNDu-ssAUrDGDpEkHpGC0KRBZ15j5Xk8O80,169
@@ -107,7 +107,7 @@ sage/libs/gmp/types.pxd,sha256=wR4xaLY3oPMQbId8-bD8VkhyUqQBy8weclDvc5r9AcY,1487
107
107
  sage/libs/gmp/binop.pxd,sha256=kEYV_DmiSF25RuweUG4qbksBoNrFraslszy4RPG-2mI,880
108
108
  sage/libs/gmp/mpf.pxd,sha256=pPdAUid-su3Jr_SCBfrNsKyUZpBzAed1enzj6l5KuS0,3670
109
109
  sage/libs/gmp/mpq.pxd,sha256=4E1Ldx99k4EuYKCdgn7iTMqNRy2E8MpzUMErKdxvbZc,2271
110
- sage/libs/gmp/pylong.cpython-313-darwin.so,sha256=z6gZnDNwSC01_BxTgGal8oOICvEkEK8NoP0BoieHac0,75152
110
+ sage/libs/gmp/pylong.cpython-313-darwin.so,sha256=XsPNGSx5qHOHatyPDkct2EcwdG6HHn0UshTq0jSaasA,75152
111
111
  sage/libs/gmp/misc.pxd,sha256=wibMsVyG72PRhtrGo7w223ivijK0pxmAzsYlaB9ML-g,243
112
112
  sage/libs/gmp/random.pxd,sha256=IVs3XSfaq39Vr7S0IAVoNvU-mvPhmrjyPWJ4OKAl7ns,1020
113
113
  sage/libs/gmp/__init__.py,sha256=U0s3i-j8VG_G3hwosaLXkFtIexExCHE66vo6Xk5_V08,46
@@ -122,8 +122,8 @@ sage/cpython/type.pyx,sha256=Xso6fkWMzcPl3lxJAAdy11BQ57gmuDkbIDbi_DmCH0w,1076
122
122
  sage/cpython/getattr.pxd,sha256=8Cb3X41HUmaro-m-uD-Hoto63wxoVvNYYd80wbOYNbU,288
123
123
  sage/cpython/pyx_visit.h,sha256=MFhGSCe_RsFn-D03QfNixKbe-cD2nzwC7JsNFmUd-rY,651
124
124
  sage/cpython/wrapperdescr.pxd,sha256=01d05_VmUeAhJ9tWINAL4MnghxJzJVb7s-bafCejIi0,2263
125
- sage/cpython/builtin_types.cpython-313-darwin.so,sha256=Of8_puTZtefWDMKs8BKCXskPCqIf3I6r3VXpRTwfBBk,54960
126
- sage/cpython/debug.cpython-313-darwin.so,sha256=fjGuG-vW4mY3F5iibU50LiZYgJNoB8A3Z10wPpl6XxM,99336
125
+ sage/cpython/builtin_types.cpython-313-darwin.so,sha256=ngQJ0cqD4SUwgeiCh_RjiO0rFJzMEbojNLUjL0XvXqY,54960
126
+ sage/cpython/debug.cpython-313-darwin.so,sha256=Cz6nsofb_sL_NsDLFfiI-owJdpoOticLDM19e0tE0b4,99336
127
127
  sage/cpython/pycore_long.pxd,sha256=R5pyHcmmdtWn_DyNdvY60pcwgn0sTH38WecVWKclwXA,394
128
128
  sage/cpython/debug.pyx,sha256=dbWOnaY3Gmrs-WrTpfhIhYnLIX9TIHUmzpToiqSHOkY,11765
129
129
  sage/cpython/string_impl.h,sha256=IFEnaYxWnD9-Nn__f3KtGjsMQhUpw1RjHEwSYbDCEyM,1781
@@ -134,31 +134,31 @@ sage/cpython/cython_metaclass.pxd,sha256=lYUJgERJZix2MwpLWrhZm-a6iq7-rT01DAvph4S
134
134
  sage/cpython/string.pxd,sha256=TvD_ZgtYp36TW8mkjwFZaCyh5RS0ekjiokNAa-qskIE,2588
135
135
  sage/cpython/builtin_types.pyx,sha256=d0O-Ydnf8SKZ-TtMnpK7E5gLGPpTLJjnrSkdyIqI2Lw,196
136
136
  sage/cpython/all.py,sha256=Tux0o-rbgpJYFx4d5KeaoqJqhZb7KyqTdCrRD81Gq7A,148
137
- sage/cpython/cython_metaclass.cpython-313-darwin.so,sha256=1JEdcff2qFVFzqp2NBNNCq1oR1yXqi-d8b7NOH_UKBE,54456
137
+ sage/cpython/cython_metaclass.cpython-313-darwin.so,sha256=ulrryfD6hCVeSoKtzvwGZzFGfOvCuftaYIldAJEpFCo,54456
138
138
  sage/cpython/string.pyx,sha256=WVruGwr0FdR7ZRxk0sWTVQA5kau9Ar3ZTH6XUyHpBDg,1196
139
- sage/cpython/atexit.cpython-313-darwin.so,sha256=CZ42eBUfnLRg9BLyL6l60svrFNx0IAHBZ9oXZ24yKds,81280
139
+ sage/cpython/atexit.cpython-313-darwin.so,sha256=cvF_SVdp2vncvrci5vkmgMTUpGPpa50WAWG-1hQy_HE,82432
140
140
  sage/cpython/cython_metaclass.pyx,sha256=FOME93m8ak8IfERSVZf28JufCeWGz0R_jL1xPIVfNwI,4833
141
- sage/cpython/getattr.cpython-313-darwin.so,sha256=IYtRqRxIVcaTyk2TDxds91GnSXaRtuqzAAHEuQvD0mI,101056
141
+ sage/cpython/getattr.cpython-313-darwin.so,sha256=gqaG3-e_PQPEtsLr-kq2aYS0UDH5TIQhvK8P5WUw6b4,101056
142
142
  sage/cpython/_py2_random.py,sha256=U4iBlbHd_4HhW6fU2MBPI2ERQZtZFmJIu9j1bPrxlwM,22928
143
143
  sage/cpython/python_debug.pxd,sha256=EpFaKv-z7KzZ6f7g3o-NYUovfp9Yg-nsWbgFODjxI_w,2032
144
- sage/cpython/type.cpython-313-darwin.so,sha256=RJ08OZXmt5_jSECstpRXfK_30L1FGygFkPXeCmePAMg,59240
144
+ sage/cpython/type.cpython-313-darwin.so,sha256=sAste88zdGgZkd0raIKeDTA9lio-PgEmRe278dFXj20,59240
145
145
  sage/cpython/dict_internal.h,sha256=McGCYoRGYalDPKk-tRx0wtfImuIV9BJ5Xg5PQdzJTR8,7110
146
- sage/cpython/string.cpython-313-darwin.so,sha256=Ev25MaulPuTt_Q3jh8kI1pfQYQtN6HEJ1r5jjO60rCM,76432
146
+ sage/cpython/string.cpython-313-darwin.so,sha256=seUFtNsXFvWkS3pux1v0T-C2pl-QTfOAUe1FPQVWEM8,76432
147
147
  sage/cpython/getattr.pyx,sha256=-FRx8cibqtRVwD8-hZIZEt1v154UP5ZW5dFPCenQcY4,14954
148
148
  sage/cpython/python_debug.h,sha256=MP_YprVdq11ZK_tNFcK2AakrhBcY_8ct4lCAm5kDT18,875
149
- sage/cpython/atexit.pyx,sha256=5kAPsFMq6WfMlaaCWkJGsVmbDtpwCHVeBIo04xsIkXo,7310
149
+ sage/cpython/atexit.pyx,sha256=kYlC89poO0W6nOQuL5brywiSlNdS22IzepBSkzkzCS8,9371
150
150
  sage/cpython/dict_del_by_value.pxd,sha256=s4fW6tHggYhyNEbYFRca06_uaqZaG0mpKBzHE6usOIk,346
151
151
  sage/cpython/type.pxd,sha256=4o2n1_b9Pcrm3kAFKcUaY-incfgUaeNwfOcqni1PxrY,88
152
- sage/cpython/dict_del_by_value.cpython-313-darwin.so,sha256=2H5R_h5N7t64DySW6QdUMSnybQ-SGW6URn2Alef3DyM,58888
152
+ sage/cpython/dict_del_by_value.cpython-313-darwin.so,sha256=PMyhvHZrS50-AUKf5FQRJg0bh4UV7FYRr_wuCcvvgVU,58888
153
153
  sage/sets/pythonclass.pyx,sha256=ZzUjh8bkoqWPCd85Kcx-NnuEghofSQ0NoCG_CpeCpX4,7136
154
- sage/sets/pythonclass.cpython-313-darwin.so,sha256=kDYXmSkl8XhrZMMbgC2j27hlOJsv0G0BYOzJm_3QAcA,131088
154
+ sage/sets/pythonclass.cpython-313-darwin.so,sha256=IjPYO3wfm38SJJZBe1b7tHz7IXbYSC_TYRXE0wQb31Y,131088
155
155
  sage/sets/all__sagemath_objects.py,sha256=YDdaT0ZDVNDu-ssAUrDGDpEkHpGC0KRBZ15j5Xk8O80,169
156
156
  sage/sets/pythonclass.pxd,sha256=GYb_urQBxr8j28s_6FqtaN0WRZiW2hguXWR3Hztq3LU,189
157
157
  sage/rings/integer_fake.pxd,sha256=D7n-VZrrigxZm_D7NQKNikuWm25lg4u7Ity0y7Pv_Io,1949
158
158
  sage/rings/all__sagemath_objects.py,sha256=YDdaT0ZDVNDu-ssAUrDGDpEkHpGC0KRBZ15j5Xk8O80,169
159
159
  sage/rings/integer_fake.h,sha256=e271zfi8hEZ5nzPLEljAjifRBaB4jOSgf8COx5zH2Zs,396
160
160
  sage/modules/module.pxd,sha256=l0gI2rRtwVMJPQNkQfJXqEN9EEovo46yAcs-aHio_Uc,125
161
- sage/modules/module.cpython-313-darwin.so,sha256=mLwQRtgfxtAH7-Q6pTowr_YomUy-k_W1X-ldKZcmIOg,101776
161
+ sage/modules/module.cpython-313-darwin.so,sha256=qpwPRkZztGOYUOgm5A6URVrpXMS1WESIXmOaEnDo4Es,101776
162
162
  sage/modules/module.pyx,sha256=-QTSiktCdR3n9F5dee8hNk8yVgfWsJ7lzIFtgQHJT6o,12096
163
163
  sage/modules/all__sagemath_objects.py,sha256=U0s3i-j8VG_G3hwosaLXkFtIexExCHE66vo6Xk5_V08,46
164
164
  sage/structure/gens_py.py,sha256=3e2OoLDBveDRyuaGStNBUZarUNa0CE2Qs9cBGhxR28g,2069
@@ -173,18 +173,18 @@ sage/structure/parent_old.pyx,sha256=z-tLmDMh5F_gjUYm5pAshEFtldFZfPhXY49H4vzStZw
173
173
  sage/structure/element.pyx,sha256=PFFZFGWp9K1yCnqOIyLGT3tEi-gT5VPwAxoNIXOSRmo,188418
174
174
  sage/structure/richcmp.pxd,sha256=XI0UNlzfLFW23_8TopFeTl-B6jzDSqhWryKGwbsbTkY,6475
175
175
  sage/structure/factory.pyx,sha256=Y6CLDS5XvZZrywNWyo4XhJkyM6Yn_1VJ8MIKZRRNzXs,31258
176
- sage/structure/coerce_dict.cpython-313-darwin.so,sha256=hBBOE_EAuTo2AaIqHgT1_K_3-ZJuUWngHhDl2yvFdHM,194880
176
+ sage/structure/coerce_dict.cpython-313-darwin.so,sha256=A4uwd1mrC_dyvGcxGckwLDHqzG1Sek_dwhoEra9v3Mk,194880
177
177
  sage/structure/dynamic_class.py,sha256=30FYmhsiPynSJwopAhcOeXrTukqOlJpBNjNhtBYt_gw,20222
178
178
  sage/structure/coerce_maps.pxd,sha256=dm5fxyEnzLHBmAd__K4xLZNuyz0LYpX39YmCmj7amv8,504
179
179
  sage/structure/mutability.pyx,sha256=uA5GXQxj1JVE-0Xua5RwV5JgnedSrf0GQPxmrl9HiNs,11493
180
180
  sage/structure/category_object.pxd,sha256=rz9gGO9WiOLQ2XP9PdzSIELHW-4vvPmjXvqdD6huRvY,1030
181
- sage/structure/unique_representation.py,sha256=cSFw-aXRY3jGTOvt3RRORXPVGkSNbcHgVjuBnKJC2AE,52738
181
+ sage/structure/unique_representation.py,sha256=cdLGUBHPZb4tK3uQ4zqnIH93--I0J6oQQc4wf0N5B5Y,52750
182
182
  sage/structure/sequence.py,sha256=MRvLtTYRik3rQvUYLANxgvafNXc9QteQRM1OwbcziPU,29457
183
183
  sage/structure/global_options.py,sha256=OwIgjujCtFcIp5YYDkQpOSPXeVABfPFZiotM2Yq2Ap4,69477
184
- sage/structure/element_wrapper.cpython-313-darwin.so,sha256=psBuMi6fqFfZTtNJE1LpnCsP4vHyYfbxLlYTyPTwEOQ,155096
185
- sage/structure/sage_object.cpython-313-darwin.so,sha256=ijfcdY9d71PXp8n4r7NkmqsKML3pInSz-XcBd5BiCoI,212960
186
- sage/structure/coerce_maps.cpython-313-darwin.so,sha256=-qSLEzMPYFhCsNgl8jGTigfmfCMjRySmPnK0SKYS--c,193488
187
- sage/structure/debug_options.cpython-313-darwin.so,sha256=1S_dAXljnmemgCHNS9xDevx03n6XW3j9rhDkWAdyo7k,60512
184
+ sage/structure/element_wrapper.cpython-313-darwin.so,sha256=ikhaWHI6NOi4GqIPyz7evQEC9SgzFH24DdbQC9u0vKU,155096
185
+ sage/structure/sage_object.cpython-313-darwin.so,sha256=yqb80zXBuiAxu4zjj1M1N0EoIzVLleDeiSomGxSWX0Q,212960
186
+ sage/structure/coerce_maps.cpython-313-darwin.so,sha256=rQODFPMY06q2ZIoc3o12j6rxPO0hV1IK_K5To845HUk,193488
187
+ sage/structure/debug_options.cpython-313-darwin.so,sha256=gGVcrvglL31pvzMwAEP4q8708RjWjhylrPvIKUAfTV0,60512
188
188
  sage/structure/test_factory.py,sha256=HL9H4MZC73a6Ew13W4VppvmRpcuqiJFEuM5xw3SZqOk,1760
189
189
  sage/structure/debug_options.pxd,sha256=yf-VwnEs8Ur2_VYSQsrF9nkj_6AFTSsfcAcLW6IpdWM,200
190
190
  sage/structure/parent_gens.pyx,sha256=uIOBoxy-5e8L2YRMEMzX36uPbOg4PCO97iIgcXAfCTQ,12910
@@ -196,72 +196,72 @@ sage/structure/coerce.pyx,sha256=IA4rnmiMIndhMGrZMpMD0Hl10ZUK8l6gLuTXoqax2G0,822
196
196
  sage/structure/coerce_dict.pxd,sha256=3Exj0-GuFQcXtXXKs4ydsU8trgO81fO2cIBP7PDlgZo,1415
197
197
  sage/structure/all.py,sha256=5GYCPE_LABmoZGre1WR9mlhvvpWpzqJMZrS9rAPSan8,798
198
198
  sage/structure/element_wrapper.pxd,sha256=MI50lX2z0XmOoaFwGXns-rpOcdcduculNkS8t6VP1i4,319
199
- sage/structure/element.cpython-313-darwin.so,sha256=KxAJzB9JSW0Q9FDLqec1n9Rf_rq3GypTX5S7PNPBpFM,588416
200
- sage/structure/category_object.cpython-313-darwin.so,sha256=wPN4_EV5eJZ2AaJrFrCHNkfOVm2ji55rVQ6hRuwDlCI,198872
199
+ sage/structure/element.cpython-313-darwin.so,sha256=LqZI-ArO_n04wLLEmInppcxr_DzyhFcg8Xi6AsqqvbU,588416
200
+ sage/structure/category_object.cpython-313-darwin.so,sha256=RHSgvq7tDU5WDW7zCGGcJqusXqbntEg1xmnMHBf_MGw,198872
201
201
  sage/structure/element_wrapper.pyx,sha256=RH3G4VHj1Rop1w5eLV6ynIPVaV_qPxClhZ846aqxPbY,19276
202
202
  sage/structure/factorization.py,sha256=4cKiiZ7KCiTW6MBXWrV3UdyDc-ww7-9p1Twv5LS-n78,45770
203
203
  sage/structure/coerce_dict.pyx,sha256=_DuaRSosZsllXhc57Oe9imVrkc2xkQNzdHeNEAdtjVo,49983
204
- sage/structure/list_clone.cpython-313-darwin.so,sha256=oqRpTT-r6ATg6fryNTskjlADu-6g_VaC2NkFB0zukDw,291136
204
+ sage/structure/list_clone.cpython-313-darwin.so,sha256=GFzmoHdNj9ekLF0wq2WiKMoTNAXQvBhBfqWClFhxqmo,291136
205
205
  sage/structure/indexed_generators.py,sha256=T3ADtTQ_D3s9waiEbURYTlyr7udHmoCXDCLnSk8xcts,34776
206
- sage/structure/mutability.cpython-313-darwin.so,sha256=xHeETuhGZqaeoYTgGpePpLOjZYFT_3zEvN70hnn4k3I,129136
207
- sage/structure/parent_old.cpython-313-darwin.so,sha256=qQiaIwqy8okQFnmyaKga70afHnUtES0QM2wOVBqguO0,123312
206
+ sage/structure/mutability.cpython-313-darwin.so,sha256=x0sPSl9Oee1D6fxcDgtf5RJI34vhG1-_JjaFvAYJi4I,129136
207
+ sage/structure/parent_old.cpython-313-darwin.so,sha256=_0drzBVa55Fv2pbcSr-RLNNkBIN_dY25S5FuzlM7tz8,123312
208
208
  sage/structure/coerce.pxd,sha256=FklBQUdf23MFPu33SkIWJC9mQw2jjNSIY7PPMlQCNLQ,1369
209
209
  sage/structure/list_clone_demo.pyx,sha256=oU65ulMRrP8mkP8aNRlBd8j0Z61tIta868Fxui8LDKs,7643
210
210
  sage/structure/debug_options.pyx,sha256=JR58ihocYWnDea5HgTN8WQ_wRVwyYcO6xe8XFM2Ku_k,1974
211
- sage/structure/list_clone_timings_cy.cpython-313-darwin.so,sha256=hqnpX1BLFE3Iv_yR4ZqPtt6SGfuUdGoKaa-7qzf6gTo,78104
211
+ sage/structure/list_clone_timings_cy.cpython-313-darwin.so,sha256=W9Z1ry5Z7KgQsxld6CG17orKUOpXBTkVBUI_dcggxNA,78104
212
212
  sage/structure/coerce_exceptions.py,sha256=0_og2GtBcrr8me7_8edijpOnlKFbFhAiQS7OfpNslAQ,988
213
213
  sage/structure/parent_gens.pxd,sha256=mE16F-vEdWAUeE3atp6ZddvIAteQ6jagiYwnVGjHr3s,802
214
- sage/structure/list_clone_demo.cpython-313-darwin.so,sha256=K7RpRPNKHj1PG_GATfRWMAFnwnUl3bDHStTBdHX-n1k,133032
215
- sage/structure/richcmp.cpython-313-darwin.so,sha256=16_2_Z9MBIB-085FFc_oa9EA2nlL_InUZBxvo0oeiIg,127376
214
+ sage/structure/list_clone_demo.cpython-313-darwin.so,sha256=70SRIWZa7Dz-daM97CnczZ1YXNi2H0bpZasIrbiUt-E,133032
215
+ sage/structure/richcmp.cpython-313-darwin.so,sha256=RAXyDb8-dFoRGGG_r_L7kitWm_MrPzoALN1tGTgG11A,127376
216
216
  sage/structure/formal_sum.py,sha256=-0PPVOHHlfLGQNmU8YV7qNZhrxanAoVorZuFUKSX8Ss,15953
217
217
  sage/structure/mutability.pxd,sha256=SvQMhy7o0PKUnPdNSOdM0w6qpgzEqVzxVXmG1EvmKNo,680
218
218
  sage/structure/category_object.pyx,sha256=iK22UiNYaCgkEc4QeRY4Cu9V7oMBVQCZKhtd4O8NpVM,39030
219
219
  sage/structure/list_clone_timings_cy.pyx,sha256=Yta-vzJVi8ZBH_1mPFJ7mNB11RGB64TqKqtSuil5CPc,2588
220
220
  sage/structure/richcmp.pyx,sha256=3q-PX3EvGzjpYz9uPcoRuHU5NiJt_ax32_-9v5QAgNY,17828
221
221
  sage/structure/coerce_maps.pyx,sha256=n1_2DKjzOu_I6lxkBXnr6hUqFAQau83Z985ryHK1HLY,25878
222
- sage/structure/factory.cpython-313-darwin.so,sha256=RwhnriVyFTh2LK_Yf9zxfZpc9j1PGw6hcSEuikJIVOM,144928
222
+ sage/structure/factory.cpython-313-darwin.so,sha256=sxoJo-kxencrzSSYed6OvEMU7b623RnHM2dsoAg_aLY,144928
223
223
  sage/structure/parent_old.pxd,sha256=rzTYw76EYTgql4jxm5X8wvYQ3D8vmU-V8wVQsU3w4Cw,969
224
224
  sage/structure/element.pxd,sha256=JaMsIvj0HnpDZf2Q1vSs99SIQv3WKCpqkfg9oWLnTuU,7958
225
- sage/structure/parent_gens.cpython-313-darwin.so,sha256=k_0TiSYHKLxOWYpZQ-OJJVvdqHALU788DABAgFWrg7E,132480
225
+ sage/structure/parent_gens.cpython-313-darwin.so,sha256=hiS6o0ukG_dvnYGmY_DBGX-KzpmH_zOJpeEoI_dDXhQ,132480
226
226
  sage/structure/coerce_actions.pxd,sha256=4Gzyc43JOKIYDPkKUowbdQ-vYpDTrIxJERUed88b6Oo,528
227
- sage/structure/coerce.cpython-313-darwin.so,sha256=aKw_LYGbsPhSQq5vdtW4x6Qzvo42tRu6k_sRdZo4Wg4,344064
227
+ sage/structure/coerce.cpython-313-darwin.so,sha256=e8rBh4YURpmony04MuSCqVn1X40AM4uZBUW4oEvQsv8,344064
228
228
  sage/structure/parent_base.pxd,sha256=sQ4wTvOWWZUY8j_zLQjeFpZeXTCpJ6eNAFhL3BPU9tk,585
229
229
  sage/structure/nonexact.py,sha256=kyCU30mUCCbiju6ujgVGe57gtAhavlEQvHDYHSYYupA,1736
230
- sage/structure/parent.cpython-313-darwin.so,sha256=fF1Vc9WsKRp403b-nSRzfE-9Qe6j5GPFD0rjdRoRarM,385952
231
- sage/structure/sage_object.pyx,sha256=eLvXjVABCzuRoEG251tVeDS1Yc8vi_zG2PLMDzyWTdE,32244
232
- sage/structure/coerce_actions.cpython-313-darwin.so,sha256=zrJs1tOHhoky1VPNVgRMm3tBpyDCmpckFyJpzJsTar8,228304
233
- sage/structure/list_clone.pyx,sha256=bn_4rDwtdbYkM4lp3vImfYaVnwvgdQrqQYApKbYAh3g,58958
230
+ sage/structure/parent.cpython-313-darwin.so,sha256=AKJSAYygVIGBbDGH1MTNiiQN_Si06qFjfz18ldOqd0I,385952
231
+ sage/structure/sage_object.pyx,sha256=v-zZLileKVikJuuZNdYlGp5StPASFAAMgdh7s1mHrPY,32292
232
+ sage/structure/coerce_actions.cpython-313-darwin.so,sha256=LhaxIkX1k61jDb8hxm3NKGdwcBaI2o_7PS3sqFB-A0o,228304
233
+ sage/structure/list_clone.pyx,sha256=Jbicq-sIZ7WhqD_r0zbaXk4D0JEI820TrIcGN6EEGNQ,58956
234
234
  sage/structure/set_factories_example.py,sha256=NjmC2WP-cCdojYsQhjuZaI9PPlaqMcLdO3FyNnc2aRE,17262
235
235
  sage/structure/parent.pyx,sha256=1xhTOHMo_pVq7-LJ0LbM_lppyF0HMoEjEla99Yu4T5I,120215
236
- sage/structure/parent_base.cpython-313-darwin.so,sha256=m079hHouwCU-D_gkS0c-7KOR8j0RENJYSHgnygVSTLQ,82384
236
+ sage/structure/parent_base.cpython-313-darwin.so,sha256=6goB4MfyVqPcyi0tbL4kQ6dqGmCZXzOXjKK_I9lY_bc,82384
237
237
  sage/structure/proof/__init__.py,sha256=U0s3i-j8VG_G3hwosaLXkFtIexExCHE66vo6Xk5_V08,46
238
238
  sage/structure/proof/all.py,sha256=oc3nbgOBRqlm6Azip-reTyYu9WejRD4EwD9gN8aBnbk,7339
239
239
  sage/structure/proof/proof.py,sha256=0awMTNTW8UkYw-So8sEswkOH3ZJ2NjwMbjTTmcZZodY,10401
240
240
  sage/categories/category_cy_helper.pyx,sha256=8OSlOSed3p6Lp4Sr9vBck7lEtXxnrcnsKjQhbHZh1tY,10890
241
241
  sage/categories/action.pyx,sha256=jmGSGsG4VxsrIa26ShNxk1pnz9UdHxsDH6jxNVlHexQ,21056
242
- sage/categories/morphism.cpython-313-darwin.so,sha256=OM4J76VN1tf8wy6xC1OEEajFMNsGng4flDai1KAy02E,220480
242
+ sage/categories/morphism.cpython-313-darwin.so,sha256=deKaPUtAgPrwnp-CfyAuOBwTgXcSAth3eT3_lGzSoVE,220480
243
243
  sage/categories/algebra_functor.py,sha256=uAzDhMfZtzhoLyWTo9EXcsp88eMWQiyKdVuGKjNIZu4,24518
244
244
  sage/categories/quotients.py,sha256=aWaYtsUG0-ZHgmuvchh6zfkx6xJxxLumLINPChE942Y,2562
245
245
  sage/categories/morphism.pxd,sha256=udKj7cdyqm5oVHsn1abH2D9j2Xyd_47e2ZpTi0ouyVg,347
246
246
  sage/categories/facade_sets.py,sha256=RYPBPreMt6hUZBA5x2ArTqrDlzE-heSw114vAv4opGg,8237
247
247
  sage/categories/functor.pyx,sha256=VKU-tGKlPxn180i43CwUq6jZUSY3yVx1N78Xb3GxO34,22277
248
248
  sage/categories/primer.py,sha256=23FNm2rMEjZDJ4oIisHooAK9xgOsw1VrnvSji9-kPvk,67064
249
- sage/categories/functor.cpython-313-darwin.so,sha256=-PtTU1hH95PfAHnTGKu_FnxCYbgBmxAyZGfF20UFKJY,152768
249
+ sage/categories/functor.cpython-313-darwin.so,sha256=oo78gaKcJW_mhFiw0zlu8P2D4p3b-YykyN06LR6QZpk,152768
250
250
  sage/categories/sets_cat.py,sha256=bVLsdneRUzh1knBFwlmo9OQEwVl0dpSfChe4Qanf_PU,132801
251
251
  sage/categories/subobjects.py,sha256=upYT6feRHzYRELhoBs3VrJ0cgFNwRntxwsucbuHVsdY,2548
252
252
  sage/categories/sets_with_partial_maps.py,sha256=Rn-Z75T-bSG5KJnIdADHbsQAvCJtbcEgxi79V46JXjc,1668
253
253
  sage/categories/realizations.py,sha256=4ocuBKRQmROJGau7k-6OizQVLmgiGIOGRwSIvJGE_is,8297
254
254
  sage/categories/category_singleton.pyx,sha256=xwsrucWotXXe-lZib5PSE7cMz_5qfIOTS9rIpbxFNns,13719
255
- sage/categories/map.cpython-313-darwin.so,sha256=HeHAMBXrY2bDVsuuObxzF17H2Mw5tIvdJqvVwWLidVE,295144
255
+ sage/categories/map.cpython-313-darwin.so,sha256=ceKRcbrKsEJezETZ1eaIgq0RdsFnwdBLz-O8MosD1U8,295144
256
256
  sage/categories/homsets.py,sha256=D8Lf2aqcWUcbeDUx7sTAW_MLTU6Tbthlem708qxsjFg,12567
257
257
  sage/categories/isomorphic_objects.py,sha256=Uyr_YZf3yyUAB9o5afQNMILaXe8PwM1wKGlt00OGPdg,2993
258
258
  sage/categories/pushout.py,sha256=D1aW5fogmVyvjE0SGDzQqK4YD67bO445OIpBUZK5lQA,192358
259
259
  sage/categories/category_types.py,sha256=5zGnHgih48q7hEjKl4Sh72fhAnJXmDElgniKe63VHDo,20303
260
260
  sage/categories/map.pyx,sha256=T2JEvZlFbCTXIN-PfbXOTG3JNouw8mlfqltV-Q0MPVk,78451
261
261
  sage/categories/map.pxd,sha256=BuIaeaQ6Kid0Vu6BtwWpZjU6Kbdgfl_oL02qvdtgB2s,1093
262
- sage/categories/category_cy_helper.cpython-313-darwin.so,sha256=kRyZ8_oQMQngfeTw-e4w99HDoquRrdlY7RtejSDg1HQ,103320
262
+ sage/categories/category_cy_helper.cpython-313-darwin.so,sha256=2DrPWm4aC8HXKvGp1Uwh8F09QPoETZLXrtoAIApDmE8,103320
263
263
  sage/categories/homset.py,sha256=U8rhTZaH1hSypzW7UHjddBlzl51RIMw297vjNdVybVA,53173
264
- sage/categories/action.cpython-313-darwin.so,sha256=9s56oIlkMc_mgvvrNtMLkcyjwU9W9n00hmMSjjI7dyk,172512
264
+ sage/categories/action.cpython-313-darwin.so,sha256=-GJv--iKT_0CpgDT1XYTxR5tVQjN8KlOlSEgQkUIiWs,172512
265
265
  sage/categories/basic.py,sha256=V1FArAZxEZpxXXHcsY60rknBOSsWqvEbMzVTik8yWJ4,2576
266
266
  sage/categories/category_singleton.pxd,sha256=Jm1lACWOGrs6Jjsy_fdv61NQSyQqnaKftAiNBNJYhgI,139
267
267
  sage/categories/covariant_functorial_construction.py,sha256=1iCOoZ-1heNULiTQfGNJ4uN2MDRDQZErWDHx6p-A-MI,27547
@@ -274,6 +274,6 @@ sage/categories/with_realizations.py,sha256=tYlFsLXAZzZjZrbPS2YM76Qx9ipjSdOt00ng
274
274
  sage/categories/all__sagemath_objects.py,sha256=l0cQjqOFqQLeB_KplQnKRfuL566SRDm5Q9eBkz72_l4,1148
275
275
  sage/categories/subquotients.py,sha256=t4hQukYFVMlI_ZGM7PdXKkT0ch2qVSDHvhbUCIToBPI,706
276
276
  sage/categories/category.py,sha256=C1wrDQB95QNB6RFjoipqNxoTP6w9SDDY12EFnmywpH8,129691
277
- sage/categories/category_singleton.cpython-313-darwin.so,sha256=K5Qrt9jl9SZU1yUjIXkDv8kinKzG8LifZ3_xowq7AAk,127224
277
+ sage/categories/category_singleton.cpython-313-darwin.so,sha256=PLQ0JQjfqlxh19eiWzPE0UdNWEw_uT3-m-p6TI5-9E8,127224
278
278
  sage/categories/action.pxd,sha256=lhpj480hNMVyP3sWhDt0FZV3q74Y-6Q19-Ba15OO6bc,725
279
279
  sage/categories/category_cy_helper.pxd,sha256=JsUgsEflgxFj99fKcUkZIF51hubE3fm1NjYFjEUdNzc,408
Binary file
Binary file
Binary file
sage/cpython/atexit.pyx CHANGED
@@ -144,51 +144,97 @@ cdef class restore_atexit:
144
144
  _set_exithandlers(self._exithandlers)
145
145
 
146
146
  from cpython.ref cimport PyObject
147
+ import sys
147
148
 
148
- # Implement "_atexit_callbacks()" for each supported python version
149
+ # Implement a uniform interface for getting atexit callbacks
149
150
  cdef extern from *:
150
151
  """
152
+ #ifndef Py_BUILD_CORE
151
153
  #define Py_BUILD_CORE
154
+ #endif
152
155
  #undef _PyGC_FINALIZED
153
156
  #include "internal/pycore_interp.h"
154
157
  #include "internal/pycore_pystate.h"
155
- #if PY_VERSION_HEX >= 0x030c0000
156
- // struct atexit_callback was renamed in 3.12 to atexit_py_callback
157
- #define atexit_callback atexit_py_callback
158
- #endif
159
- static atexit_callback ** _atexit_callbacks(PyObject *self) {
158
+
159
+ // Always define this struct for Cython's use
160
+ typedef struct {
161
+ PyObject *func;
162
+ PyObject *args;
163
+ PyObject *kwargs;
164
+ } atexit_callback_struct;
165
+
166
+ #if PY_VERSION_HEX >= 0x030e0000
167
+ // Python 3.14+: atexit uses a PyList
168
+ static PyObject* get_atexit_callbacks_list(PyObject *self) {
160
169
  PyInterpreterState *interp = _PyInterpreterState_GET();
161
170
  struct atexit_state state = interp->atexit;
162
171
  return state.callbacks;
163
172
  }
173
+
174
+ // Dummy function for Python 3.14+ (never called)
175
+ static atexit_callback_struct** get_atexit_callbacks_array(PyObject *self) {
176
+ return NULL;
177
+ }
178
+ #else
179
+ // Python < 3.14: atexit uses C array
180
+ static atexit_callback_struct** get_atexit_callbacks_array(PyObject *self) {
181
+ PyInterpreterState *interp = _PyInterpreterState_GET();
182
+ struct atexit_state state = interp->atexit;
183
+ // Cast from atexit_callback** to our struct type
184
+ return (atexit_callback_struct**)state.callbacks;
185
+ }
186
+
187
+ // Dummy function for Python < 3.14 (never called)
188
+ static PyObject* get_atexit_callbacks_list(PyObject *self) {
189
+ return NULL;
190
+ }
191
+ #endif
164
192
  """
165
- ctypedef struct atexit_callback:
193
+ # Declare both functions - they exist in all Python versions (one is dummy)
194
+ PyObject* get_atexit_callbacks_list(object module)
195
+
196
+ ctypedef struct atexit_callback_struct:
166
197
  PyObject* func
167
198
  PyObject* args
168
199
  PyObject* kwargs
169
- atexit_callback** _atexit_callbacks(object module)
200
+ atexit_callback_struct** get_atexit_callbacks_array(object module)
170
201
 
171
202
 
172
203
  def _get_exithandlers():
173
204
  """Return list of exit handlers registered with the atexit module."""
174
- cdef atexit_callback ** callbacks
175
- cdef atexit_callback callback
176
- cdef list exithandlers
205
+ cdef list exithandlers = []
206
+ cdef atexit_callback_struct ** callbacks
207
+ cdef atexit_callback_struct callback
177
208
  cdef int idx
178
209
  cdef object kwargs
179
-
180
- exithandlers = []
181
- callbacks = _atexit_callbacks(atexit)
182
-
183
- for idx in range(atexit._ncallbacks()):
184
- callback = callbacks[idx][0]
185
- if callback.kwargs:
186
- kwargs = <object>callback.kwargs
187
- else:
188
- kwargs = {}
189
- exithandlers.append((<object>callback.func,
190
- <object>callback.args,
191
- kwargs))
210
+
211
+ # Python 3.14+ uses a PyList directly
212
+ if sys.version_info >= (3, 14):
213
+ callbacks_list = <object>get_atexit_callbacks_list(atexit)
214
+ if callbacks_list is None:
215
+ return exithandlers
216
+ # callbacks is a list of tuples: [(func, args, kwargs), ...]
217
+ # Normalize kwargs to ensure it's always a dict (not None)
218
+ # Note: In Python 3.14+, atexit stores callbacks in LIFO order
219
+ # (most recently registered first), but we return them in FIFO
220
+ # order (registration order) for consistency with earlier versions
221
+ for item in reversed(callbacks_list):
222
+ func, args, kwargs = item
223
+ if kwargs is None:
224
+ kwargs = {}
225
+ exithandlers.append((func, args, kwargs))
226
+ else:
227
+ # Python < 3.14 uses C array
228
+ callbacks = get_atexit_callbacks_array(atexit)
229
+ for idx in range(atexit._ncallbacks()):
230
+ callback = callbacks[idx][0]
231
+ if callback.kwargs:
232
+ kwargs = <object>callback.kwargs
233
+ else:
234
+ kwargs = {}
235
+ exithandlers.append((<object>callback.func,
236
+ <object>callback.args,
237
+ kwargs))
192
238
  return exithandlers
193
239
 
194
240
 
@@ -203,6 +249,9 @@ def _set_exithandlers(exithandlers):
203
249
 
204
250
  # We could do this more efficiently by directly rebuilding the array
205
251
  # of atexit_callbacks, but this is much simpler
252
+ # Note: exithandlers is in registration order (FIFO).
253
+ # In Python 3.14+, atexit.register prepends to the list (LIFO),
254
+ # so registering in forward order gives us the correct execution order.
206
255
  for callback in exithandlers:
207
256
  atexit.register(callback[0], *callback[1], **callback[2])
208
257
 
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
sage/misc/cachefunc.pyx CHANGED
@@ -379,7 +379,7 @@ in caches. This can be achieved by defining an appropriate method
379
379
  sage: hash(b)
380
380
  Traceback (most recent call last):
381
381
  ...
382
- TypeError: unhashable type: 'sage.rings.padics.qadic_flint_CR.qAdicCappedRelativeElement'
382
+ TypeError: ...unhashable type: 'sage.rings.padics.qadic_flint_CR.qAdicCappedRelativeElement'...
383
383
  sage: from sage.misc.cachefunc import cached_method
384
384
  sage: @cached_method
385
385
  ....: def f(x): return x == a
Binary file
Binary file
Binary file
Binary file
sage/misc/lazy_list.pyx CHANGED
@@ -535,16 +535,15 @@ cdef class lazy_list_generic():
535
535
 
536
536
  EXAMPLES::
537
537
 
538
- sage: from itertools import count
539
538
  sage: from sage.misc.lazy_list import lazy_list
540
- sage: m = lazy_list(count())
539
+ sage: m = lazy_list(iter([0, 1, 4, 9, 16, 25, 36, 49, 64, 81]))
541
540
  sage: x = loads(dumps(m))
542
541
  sage: y = iter(x)
543
542
  sage: print("{} {} {}".format(next(y), next(y), next(y)))
544
- 0 1 2
543
+ 0 1 4
545
544
  sage: m2 = m[3::2]
546
545
  sage: loads(dumps(m2))
547
- lazy list [3, 5, 7, ...]
546
+ lazy list [9, 25, 49, ...]
548
547
  """
549
548
  if self.master is None:
550
549
  raise NotImplementedError
@@ -917,8 +916,9 @@ cdef class lazy_list_from_iterator(lazy_list_generic):
917
916
  [0, 1, 2]
918
917
  sage: [next(x), next(y)]
919
918
  [3, 3]
920
- sage: loads(dumps(m))
921
- lazy list [0, 1, 2, ...]
919
+ sage: m2 = lazy_list(iter([0, 1, 4, 9, 16]))
920
+ sage: loads(dumps(m2))
921
+ lazy list [0, 1, 4, ...]
922
922
  """
923
923
 
924
924
  def __init__(self, iterator, cache=None, stop=None):
@@ -987,10 +987,9 @@ cdef class lazy_list_from_iterator(lazy_list_generic):
987
987
  TESTS::
988
988
 
989
989
  sage: from sage.misc.lazy_list import lazy_list_from_iterator
990
- sage: from itertools import count
991
- sage: loads(dumps(lazy_list_from_iterator(count())))
992
- lazy list [0, 1, 2, ...]
993
- sage: loads(dumps(lazy_list_from_iterator(count(), ['a'])))
990
+ sage: loads(dumps(lazy_list_from_iterator(iter([0, 1, 4, 9, 16]))))
991
+ lazy list [0, 1, 4, ...]
992
+ sage: loads(dumps(lazy_list_from_iterator(iter([0, 1, 4, 9, 16]), ['a'])))
994
993
  lazy list ['a', 0, 1, ...]
995
994
  """
996
995
  return lazy_list_from_iterator, (self.iterator, self.cache, self.stop)
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -216,6 +216,14 @@ class TestSuite:
216
216
  ....: def _test_b(self, tester): tester.fail()
217
217
  ....: def _test_c(self, tester): pass
218
218
  ....: def _test_d(self, tester): tester.fail()
219
+ ....: def _test_pickling(self, tester):
220
+ ....: from _pickle import PicklingError
221
+ ....: from sage.misc.persist import dumps
222
+ ....: try:
223
+ ....: dumps(self)
224
+ ....: tester.fail("Expected PicklingError")
225
+ ....: except PicklingError:
226
+ ....: pass
219
227
 
220
228
  sage: TestSuite(Blah()).run()
221
229
  Failure in _test_b:
@@ -228,13 +236,7 @@ class TestSuite:
228
236
  ...
229
237
  AssertionError: None
230
238
  ------------------------------------------------------------
231
- Failure in _test_pickling:
232
- Traceback (most recent call last):
233
- ...
234
- ...PicklingError: Can't pickle <class '__main__.Blah'>: attribute
235
- lookup ...Blah... failed
236
- ------------------------------------------------------------
237
- The following tests failed: _test_b, _test_d, _test_pickling
239
+ The following tests failed: _test_b, _test_d
238
240
 
239
241
  sage: TestSuite(Blah()).run(verbose = True)
240
242
  running ._test_a() . . . pass
@@ -252,13 +254,8 @@ class TestSuite:
252
254
  ------------------------------------------------------------
253
255
  running ._test_new() . . . pass
254
256
  running ._test_not_implemented_methods() . . . pass
255
- running ._test_pickling() . . . fail
256
- Traceback (most recent call last):
257
- ...
258
- ...PicklingError: Can't pickle <class '__main__.Blah'>: attribute
259
- lookup ...Blah... failed
260
- ------------------------------------------------------------
261
- The following tests failed: _test_b, _test_d, _test_pickling
257
+ running ._test_pickling() . . . pass
258
+ The following tests failed: _test_b, _test_d
262
259
 
263
260
  File "/opt/sage/local/lib/python/site-packages/sage/misc/sage_unittest.py", line 183, in run
264
261
  test_method(tester = tester)
sage/misc/sageinspect.py CHANGED
@@ -460,8 +460,9 @@ class SageArgSpecVisitor(ast.NodeVisitor):
460
460
  sage: v = visitor.visit(ast.parse("{'a':('e',2,[None,({False:True},'pi')]), 37.0:'temp'}").body[0].value)
461
461
  sage: sorted(v.items(), key=lambda x: str(x[0]))
462
462
  [(37.0, 'temp'), ('a', ('e', 2, [None, ({False: True}, 'pi')]))]
463
- sage: v = ast.parse("jc = ['veni', 'vidi', 'vici']").body[0]; v
464
- <...ast.Assign object at ...>
463
+ sage: v = ast.parse("jc = ['veni', 'vidi', 'vici']").body[0]
464
+ sage: isinstance(v, ast.Assign)
465
+ True
465
466
  sage: attrs = [x for x in dir(v) if not x.startswith('__')]
466
467
  sage: '_attributes' in attrs and '_fields' in attrs and 'col_offset' in attrs
467
468
  True
@@ -492,31 +493,6 @@ class SageArgSpecVisitor(ast.NodeVisitor):
492
493
  """
493
494
  return node.id
494
495
 
495
- def visit_NameConstant(self, node):
496
- """
497
- Visit a Python AST :class:`ast.NameConstant` node.
498
-
499
- This is an optimization added in Python 3.4 for the special cases
500
- of True, False, and None.
501
-
502
- INPUT:
503
-
504
- - ``node`` -- the node instance to visit
505
-
506
- OUTPUT: ``None``, ``True``, ``False``
507
-
508
- EXAMPLES::
509
-
510
- sage: import ast, sage.misc.sageinspect as sms
511
- sage: visitor = sms.SageArgSpecVisitor()
512
- sage: vis = lambda x: visitor.visit_NameConstant(ast.parse(x).body[0].value)
513
- sage: [vis(n) for n in ['True', 'False', 'None']]
514
- [True, False, None]
515
- sage: [type(vis(n)) for n in ['True', 'False', 'None']]
516
- [<class 'bool'>, <class 'bool'>, <class 'NoneType'>]
517
- """
518
- return node.value
519
-
520
496
  def visit_arg(self, node):
521
497
  r"""
522
498
  Visit a Python AST :class:`ast.arg` node.
@@ -544,51 +520,6 @@ class SageArgSpecVisitor(ast.NodeVisitor):
544
520
  """
545
521
  return node.arg
546
522
 
547
- def visit_Num(self, node):
548
- """
549
- Visit a Python AST :class:`ast.Num` node.
550
-
551
- INPUT:
552
-
553
- - ``node`` -- the node instance to visit
554
-
555
- OUTPUT: the number the ``node`` represents
556
-
557
- EXAMPLES::
558
-
559
- sage: import ast, sage.misc.sageinspect as sms
560
- sage: visitor = sms.SageArgSpecVisitor()
561
- sage: vis = lambda x: visitor.visit_Num(ast.parse(x).body[0].value)
562
- sage: [vis(n) for n in ['123', '0.0']]
563
- [123, 0.0]
564
-
565
- .. NOTE::
566
-
567
- On Python 3 negative numbers are parsed first, for some reason, as
568
- a UnaryOp node.
569
- """
570
- return node.value
571
-
572
- def visit_Str(self, node):
573
- r"""
574
- Visit a Python AST :class:`ast.Str` node.
575
-
576
- INPUT:
577
-
578
- - ``node`` -- the node instance to visit
579
-
580
- OUTPUT: the string the ``node`` represents
581
-
582
- EXAMPLES::
583
-
584
- sage: import ast, sage.misc.sageinspect as sms
585
- sage: visitor = sms.SageArgSpecVisitor()
586
- sage: vis = lambda x: visitor.visit_Str(ast.parse(x).body[0].value)
587
- sage: [vis(s) for s in ['"abstract"', "'syntax'", r'''r"tr\ee"''']]
588
- ['abstract', 'syntax', 'tr\\ee']
589
- """
590
- return node.value
591
-
592
523
  def visit_List(self, node):
593
524
  """
594
525
  Visit a Python AST :class:`ast.List` node.
@@ -820,6 +751,28 @@ class SageArgSpecVisitor(ast.NodeVisitor):
820
751
  if op == 'USub':
821
752
  return -self.visit(node.operand)
822
753
 
754
+ def visit_Constant(self, node):
755
+ """
756
+ Visit a Python AST :class:`ast.Constant` node.
757
+
758
+ INPUT:
759
+
760
+ - ``node`` -- the node instance to visit
761
+
762
+ OUTPUT: the constant value the ``node`` represents
763
+
764
+ EXAMPLES::
765
+
766
+ sage: import ast, sage.misc.sageinspect as sms
767
+ sage: visitor = sms.SageArgSpecVisitor()
768
+ sage: vis = lambda x: visitor.visit_Constant(ast.parse(x).body[0].value)
769
+ sage: [vis(n) for n in ['123', '0', '3.14', '"hello"', 'True', 'False', 'None']]
770
+ [123, 0, 3.14, 'hello', True, False, None]
771
+ sage: [type(vis(n)) for n in ['123', '0', '3.14', '"hello"', 'True', 'False', 'None']]
772
+ [<class 'int'>, <class 'int'>, <class 'float'>, <class 'str'>, <class 'bool'>, <class 'bool'>, <class 'NoneType'>]
773
+ """
774
+ return node.value
775
+
823
776
 
824
777
  def _grep_first_pair_of_parentheses(s):
825
778
  r"""
Binary file
Binary file
sage/misc/weak_dict.pyx CHANGED
@@ -466,7 +466,7 @@ cdef class WeakValueDictionary(dict):
466
466
  sage: D.setdefault(matrix([]), ZZ) # needs sage.modules
467
467
  Traceback (most recent call last):
468
468
  ...
469
- TypeError: mutable matrices are unhashable
469
+ TypeError: ...mutable matrices are unhashable...
470
470
  """
471
471
  cdef PyObject* wr = PyDict_GetItemWithError(self, k)
472
472
  if wr != NULL:
@@ -540,7 +540,7 @@ cdef class WeakValueDictionary(dict):
540
540
  sage: D[matrix([])] = ZZ # needs sage.modules
541
541
  Traceback (most recent call last):
542
542
  ...
543
- TypeError: mutable matrices are unhashable
543
+ TypeError: ...mutable matrices are unhashable...
544
544
  """
545
545
  self._set_item(k, v)
546
546
 
@@ -586,7 +586,7 @@ cdef class WeakValueDictionary(dict):
586
586
  sage: D.pop(matrix([])) # needs sage.modules
587
587
  Traceback (most recent call last):
588
588
  ...
589
- TypeError: mutable matrices are unhashable
589
+ TypeError: ...mutable matrices are unhashable...
590
590
  """
591
591
  cdef PyObject* wr = PyDict_GetItemWithError(self, k)
592
592
  if wr == NULL:
@@ -663,7 +663,7 @@ cdef class WeakValueDictionary(dict):
663
663
  sage: D.get(matrix([])) # needs sage.modules
664
664
  Traceback (most recent call last):
665
665
  ...
666
- TypeError: mutable matrices are unhashable
666
+ TypeError: ...mutable matrices are unhashable...
667
667
  """
668
668
  cdef PyObject * wr = PyDict_GetItemWithError(self, k)
669
669
  if wr == NULL:
@@ -702,7 +702,7 @@ cdef class WeakValueDictionary(dict):
702
702
  sage: D[matrix([])] # needs sage.modules
703
703
  Traceback (most recent call last):
704
704
  ...
705
- TypeError: mutable matrices are unhashable
705
+ TypeError: ...mutable matrices are unhashable...
706
706
  """
707
707
  cdef PyObject* wr = PyDict_GetItemWithError(self, k)
708
708
  if wr == NULL:
@@ -745,7 +745,7 @@ cdef class WeakValueDictionary(dict):
745
745
  sage: matrix([]) in D # needs sage.modules
746
746
  Traceback (most recent call last):
747
747
  ...
748
- TypeError: mutable matrices are unhashable
748
+ TypeError: ...mutable matrices are unhashable...
749
749
  """
750
750
  cdef PyObject* wr = PyDict_GetItemWithError(self, k)
751
751
  return (wr != NULL) and (PyWeakref_GetObject(wr) != Py_None)
Binary file
Binary file
Binary file
@@ -774,7 +774,7 @@ cdef class ClonableArray(ClonableElement):
774
774
  sage: c.index(5)
775
775
  Traceback (most recent call last):
776
776
  ...
777
- ValueError: 5 is not in list
777
+ ValueError: ...not in list
778
778
  """
779
779
  if start is None:
780
780
  return self._list.index(x)
Binary file
@@ -410,7 +410,7 @@ cdef class SageObject:
410
410
  sage: hash(b)
411
411
  Traceback (most recent call last):
412
412
  ...
413
- TypeError: unhashable type: 'sage.rings.padics.qadic_flint_CR.qAdicCappedRelativeElement'
413
+ TypeError: ...unhashable type: 'sage.rings.padics.qadic_flint_CR.qAdicCappedRelativeElement'...
414
414
  sage: @cached_method
415
415
  ....: def f(x): return x==a
416
416
  sage: f(b)
@@ -665,11 +665,12 @@ cdef class SageObject:
665
665
  TESTS::
666
666
 
667
667
  sage: class Bla(SageObject): pass
668
- sage: Bla()._test_pickling()
669
- Traceback (most recent call last):
670
- ...
671
- PicklingError: Can't pickle <class '__main__.Bla'>: attribute
672
- lookup ... failed
668
+ sage: from _pickle import PicklingError
669
+ sage: try:
670
+ ....: Bla()._test_pickling()
671
+ ....: except PicklingError as e:
672
+ ....: print("PicklingError caught")
673
+ PicklingError caught
673
674
 
674
675
  TODO: for a stronger test, this could send the object to a
675
676
  remote Sage session, and get it back.
@@ -83,7 +83,7 @@ must be hashable, i.e., must be valid as dictionary keys::
83
83
  sage: C([1,2])
84
84
  Traceback (most recent call last):
85
85
  ...
86
- TypeError: unhashable type: 'list'
86
+ TypeError: ...unhashable type: 'list'...
87
87
 
88
88
  In addition, equivalent ways of providing the arguments are *not*
89
89
  automatically normalised when forming the cache key, and hence different but
@@ -733,7 +733,7 @@ class CachedRepresentation(WithPicklingByInitArgs):
733
733
  sage: MyClass(value = [1,2,3])
734
734
  Traceback (most recent call last):
735
735
  ...
736
- TypeError: unhashable type: 'list'
736
+ TypeError: ...unhashable type: 'list'...
737
737
 
738
738
  .. rubric:: Argument preprocessing
739
739