passagemath-objects 10.6.31rc1__cp312-cp312-macosx_13_0_arm64.whl → 10.6.31rc3__cp312-cp312-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-312-darwin.so +0 -0
  4. sage/arith/power.cpython-312-darwin.so +0 -0
  5. sage/categories/action.cpython-312-darwin.so +0 -0
  6. sage/categories/category_cy_helper.cpython-312-darwin.so +0 -0
  7. sage/categories/category_singleton.cpython-312-darwin.so +0 -0
  8. sage/categories/functor.cpython-312-darwin.so +0 -0
  9. sage/categories/map.cpython-312-darwin.so +0 -0
  10. sage/categories/morphism.cpython-312-darwin.so +0 -0
  11. sage/cpython/atexit.cpython-312-darwin.so +0 -0
  12. sage/cpython/atexit.pyx +73 -24
  13. sage/cpython/builtin_types.cpython-312-darwin.so +0 -0
  14. sage/cpython/cython_metaclass.cpython-312-darwin.so +0 -0
  15. sage/cpython/debug.cpython-312-darwin.so +0 -0
  16. sage/cpython/dict_del_by_value.cpython-312-darwin.so +0 -0
  17. sage/cpython/getattr.cpython-312-darwin.so +0 -0
  18. sage/cpython/string.cpython-312-darwin.so +0 -0
  19. sage/cpython/type.cpython-312-darwin.so +0 -0
  20. sage/groups/group.cpython-312-darwin.so +0 -0
  21. sage/groups/old.cpython-312-darwin.so +0 -0
  22. sage/libs/gmp/pylong.cpython-312-darwin.so +0 -0
  23. sage/misc/c3_controlled.cpython-312-darwin.so +0 -0
  24. sage/misc/cachefunc.cpython-312-darwin.so +0 -0
  25. sage/misc/cachefunc.pyx +1 -1
  26. sage/misc/classcall_metaclass.cpython-312-darwin.so +0 -0
  27. sage/misc/constant_function.cpython-312-darwin.so +0 -0
  28. sage/misc/fast_methods.cpython-312-darwin.so +0 -0
  29. sage/misc/fpickle.cpython-312-darwin.so +0 -0
  30. sage/misc/function_mangling.cpython-312-darwin.so +0 -0
  31. sage/misc/inherit_comparison.cpython-312-darwin.so +0 -0
  32. sage/misc/instancedoc.cpython-312-darwin.so +0 -0
  33. sage/misc/lazy_attribute.cpython-312-darwin.so +0 -0
  34. sage/misc/lazy_import.cpython-312-darwin.so +0 -0
  35. sage/misc/lazy_list.cpython-312-darwin.so +0 -0
  36. sage/misc/lazy_list.pyx +9 -10
  37. sage/misc/lazy_string.cpython-312-darwin.so +0 -0
  38. sage/misc/misc_c.cpython-312-darwin.so +0 -0
  39. sage/misc/nested_class.cpython-312-darwin.so +0 -0
  40. sage/misc/persist.cpython-312-darwin.so +0 -0
  41. sage/misc/randstate.cpython-312-darwin.so +0 -0
  42. sage/misc/reset.cpython-312-darwin.so +0 -0
  43. sage/misc/sage_ostools.cpython-312-darwin.so +0 -0
  44. sage/misc/sage_timeit_class.cpython-312-darwin.so +0 -0
  45. sage/misc/sage_unittest.py +11 -14
  46. sage/misc/sageinspect.py +25 -72
  47. sage/misc/session.cpython-312-darwin.so +0 -0
  48. sage/misc/weak_dict.cpython-312-darwin.so +0 -0
  49. sage/misc/weak_dict.pyx +6 -6
  50. sage/modules/module.cpython-312-darwin.so +0 -0
  51. sage/sets/pythonclass.cpython-312-darwin.so +0 -0
  52. sage/structure/category_object.cpython-312-darwin.so +0 -0
  53. sage/structure/coerce.cpython-312-darwin.so +0 -0
  54. sage/structure/coerce_actions.cpython-312-darwin.so +0 -0
  55. sage/structure/coerce_dict.cpython-312-darwin.so +0 -0
  56. sage/structure/coerce_maps.cpython-312-darwin.so +0 -0
  57. sage/structure/debug_options.cpython-312-darwin.so +0 -0
  58. sage/structure/element.cpython-312-darwin.so +0 -0
  59. sage/structure/element_wrapper.cpython-312-darwin.so +0 -0
  60. sage/structure/factory.cpython-312-darwin.so +0 -0
  61. sage/structure/list_clone.cpython-312-darwin.so +0 -0
  62. sage/structure/list_clone.pyx +1 -1
  63. sage/structure/list_clone_demo.cpython-312-darwin.so +0 -0
  64. sage/structure/list_clone_timings_cy.cpython-312-darwin.so +0 -0
  65. sage/structure/mutability.cpython-312-darwin.so +0 -0
  66. sage/structure/parent.cpython-312-darwin.so +0 -0
  67. sage/structure/parent_base.cpython-312-darwin.so +0 -0
  68. sage/structure/parent_gens.cpython-312-darwin.so +0 -0
  69. sage/structure/parent_old.cpython-312-darwin.so +0 -0
  70. sage/structure/richcmp.cpython-312-darwin.so +0 -0
  71. sage/structure/sage_object.cpython-312-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,8 +1,8 @@
1
+ passagemath_objects-10.6.31rc3.dist-info/RECORD,,
2
+ passagemath_objects-10.6.31rc3.dist-info/WHEEL,sha256=vcdc6UmFab_KM7UetvEB8rKprmUEGtAS3RDfB6JUCiY,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=vcdc6UmFab_KM7UetvEB8rKprmUEGtAS3RDfB6JUCiY,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
8
  sage/misc/prandom.py,sha256=vnbY62JYLu5_5L1nGbq1SoHkt0ScGBrx-LisbzhM2YY,12432
@@ -10,29 +10,29 @@ sage/misc/verbose.py,sha256=KGMJeArKTqIPTgTxRq4YsSyY7KwZov0m1VmzfImmbUc,6636
10
10
  sage/misc/classcall_metaclass.pyx,sha256=QkgYomel8fNufKtvWx8Iz9fBrSoubKqGIm6sfU-sLYU,21263
11
11
  sage/misc/misc.py,sha256=3M5ekIsxGhmZOR2c1AzChqurp7rQl-ErMOe-R1lO_BA,30450
12
12
  sage/misc/sage_timeit.py,sha256=2l3OuSjfwQFqF3CkzVDR8LOR2AiPGskiOMleWD03NKU,9064
13
- sage/misc/classcall_metaclass.cpython-312-darwin.so,sha256=AaRIYN7tv6KO4ktNV0ENAv4VYTr4TQdpBvfWJoryLvI,127480
14
- sage/misc/sage_timeit_class.cpython-312-darwin.so,sha256=MssIHkPgPUEV_LvXe58LglY0QlMD-HU3CNYdsXWh29A,85176
15
- sage/misc/weak_dict.pyx,sha256=CXWvbATI26YASIJ-vVvq9YcNHpnRp6tnoDnJ92iT-8Q,41565
13
+ sage/misc/classcall_metaclass.cpython-312-darwin.so,sha256=pEORYsZrVYFjHeP1MXO2lrfzT1QKaVTtBI6KxQsJ_QI,127480
14
+ sage/misc/sage_timeit_class.cpython-312-darwin.so,sha256=N3yF26K9SSZvT7ExoNiGJsjZX_2Hn61AWfb0rS4yvPk,85176
15
+ sage/misc/weak_dict.pyx,sha256=0gbKGb_Fovx_pIblCYMwsVwxLfTGpU9CgI9n65N8OF0,41601
16
16
  sage/misc/flatten.py,sha256=BMribQzTuNq4JqjNkTtla9mEUb7QVCBhskj9rLWAiuQ,2739
17
- sage/misc/instancedoc.cpython-312-darwin.so,sha256=1xYUGS2_4auSLCOFSqqBR4spfejphTe3TEIAhON_MFc,98736
17
+ sage/misc/instancedoc.cpython-312-darwin.so,sha256=yRzp1DcNwaS4QCKdk0O-HZ9pMK7nT4-rm_lrxGB9QCw,98736
18
18
  sage/misc/sage_timeit_class.pyx,sha256=3IIxeFsvD7gxemBNgP_tnhuwMWjPiVdUTKQshSHWSxk,3908
19
19
  sage/misc/lazy_string.pyx,sha256=kjC5HtApqcYKUv4VGXK0_zjUqJ_HdLzXAUW5Ws9FdJA,16280
20
20
  sage/misc/c3_controlled.pyx,sha256=a3z5yOBzNLzcMS085cQH6S1heXHCU4zT32SvU0ng6F4,56078
21
21
  sage/misc/lazy_import_cache.py,sha256=7UUPsvP7XLFIcXZee9tg8jB_0luUr-z3lxTPd8dsU2Y,1005
22
- sage/misc/randstate.cpython-312-darwin.so,sha256=JJUAA4qIWatoXWgSdPxPlancqBElsrz652XqQs-oIHI,181472
22
+ sage/misc/randstate.cpython-312-darwin.so,sha256=xi8c-ubmJ69ZvyXaNg5M8CXtQDrCS0mbUqST0PMUwP4,181472
23
23
  sage/misc/instancedoc.pyx,sha256=ml1-c_SKHAnww2zwkJTXbuf2TSHJXtNYQstTSCRipFo,11125
24
- sage/misc/c3_controlled.cpython-312-darwin.so,sha256=izSEnkvGIwqXcaTBQWRY7s7xwfDL1xfc69WEAE9PB_4,274112
24
+ sage/misc/c3_controlled.cpython-312-darwin.so,sha256=PYxzFYl47vEy0y9RqstY4owKlbu8CNveb8Eb7WixNPk,274112
25
25
  sage/misc/reset.pyx,sha256=9xnGnC8yOv-3MKXXEAWcnuc7WLrw6lZQDLqsC91rQ5Y,5675
26
- sage/misc/fpickle.cpython-312-darwin.so,sha256=EOyuLHEiE4rztPFv8oP2ZLGpAMXu4YQICdV2sfj34hg,127920
26
+ sage/misc/fpickle.cpython-312-darwin.so,sha256=sLjh6UYFlzv8sHz7wah7fZpKrlADXct0ShZT3g15KnI,127920
27
27
  sage/misc/sage_ostools.pyx,sha256=CaDOaTvu2JXfOwJk8wsgTF_OT_ivjugrqVvBa2FvvqA,9287
28
28
  sage/misc/function_mangling.pyx,sha256=bVzo7-pJq0kNLBvR4W3AVuCCr7JrVVnj-9oqEq0bQLI,10873
29
- sage/misc/lazy_import.cpython-312-darwin.so,sha256=4uz_smxZeVvO3ytljhJq3DqdBfI1ymDf8xLctX_7nH4,237104
30
- sage/misc/lazy_list.pyx,sha256=8uPSFQUEqpi098JLpAgHqd_43uWsXfd12DMxZn_pQyU,38284
29
+ sage/misc/lazy_import.cpython-312-darwin.so,sha256=4618nafnNuNrjPyqw-RUQ80z9jkUMgKVqhHhOiSkYoY,237104
30
+ sage/misc/lazy_list.pyx,sha256=ib3TZpxutctPqQ2bAwTGVJgo4YIJv8wmKfiBvoBtIsM,38313
31
31
  sage/misc/nested_class.pxd,sha256=8jncbDWcavg4ZjbrbtXscGagkcMVU-ZDYH4k15jZyc4,94
32
- sage/misc/sage_ostools.cpython-312-darwin.so,sha256=tu7fJJOrx6CoaHK5l1pjMPOXM_nAu6pmycSbt_T27sI,127440
32
+ sage/misc/sage_ostools.cpython-312-darwin.so,sha256=m0jrOa07qzOvArm3OBdUS2vecEZY-Z32M-gnZOjpWlk,127440
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
@@ -47,38 +47,38 @@ sage/misc/misc_c.pyx,sha256=NXV3k96bXvVKqt_jmbtlrpBOE_l8tYy6IgLHwl2vZLs,23685
47
47
  sage/misc/timing.py,sha256=sbUPFLljrbKKA0wPBU-wTI-xO1E7DcqUcfxlo4jTU8g,8329
48
48
  sage/misc/lazy_attribute.pyx,sha256=rpc8WnIiCbrZdwi06AxMWKBcN_uuvHlXJ0UI3xpXg2w,19121
49
49
  sage/misc/lazy_list.pxd,sha256=ugiVT7-AGL6qSOBVn6YSELu_TJctsEL-Dzpv65ep3XQ,672
50
- sage/misc/fast_methods.cpython-312-darwin.so,sha256=VQVnzNuoMY4yV1EdfxFv98IbMw0Z0lEyfENEx20ol7g,109104
51
- sage/misc/lazy_string.cpython-312-darwin.so,sha256=QfOEB1M0EaWrolgA6FCCv3J_1RYdP17QbcrBLZT5ba0,108352
50
+ sage/misc/fast_methods.cpython-312-darwin.so,sha256=4guk6QVd8sKabhEY3slcE-KW-ylh3YqTjAsUyqh_sW4,109104
51
+ sage/misc/lazy_string.cpython-312-darwin.so,sha256=nzoL_bEE62iZ3kVyJ8fRraodLHHD19bKLIr74Lz7QK0,108352
52
52
  sage/misc/function_mangling.pxd,sha256=n_zmWpk40S2JNrwTiBxFRkZaI9Fj7ZD_E9s_qm7PKu0,330
53
- sage/misc/cachefunc.cpython-312-darwin.so,sha256=RPxyfZ-2o376SeKEho64csr3UaPwmIR4wf4nOvdCjq0,456288
54
- sage/misc/session.cpython-312-darwin.so,sha256=HljtL689BCtD2sze0luI37hqd9kMiG4isIWlaqTTQrI,99632
53
+ sage/misc/cachefunc.cpython-312-darwin.so,sha256=lNhySM5bnqaUIYAb1Dz7Ad8Zy4qWwaF3TW20ebCWKvE,456288
54
+ sage/misc/session.cpython-312-darwin.so,sha256=9F_zozdzL76JaDh2AbuLMLtejcgTN_bZSqefLfNdI2c,99632
55
55
  sage/misc/lazy_import.pyx,sha256=ku_tlp1o5BwAfRlJSQtUiGg9c23FjLAQDdOqyw2xhoI,41770
56
56
  sage/misc/abstract_method.py,sha256=57iobT5AwJzRPkutZNFoHyHqc4BgAn_NYzvG2PjlP-E,8409
57
57
  sage/misc/test_nested_class.py,sha256=E_r0pvZKHIWw-1V3djlwdSKjY5BbaPmp-UFewrRhTLA,5914
58
- sage/misc/function_mangling.cpython-312-darwin.so,sha256=5g1anvDvX2fVZnieZbF4xWxWlmLZlp7QPu5CrwbongQ,103512
59
- sage/misc/inherit_comparison.cpython-312-darwin.so,sha256=iENfR_8rT-ctr1UQxFPaMyFkzGjoqIPuf_H3bla4QIs,77736
60
- sage/misc/sageinspect.py,sha256=jjtNFSH6QniO3OjJEKv44Fj7gRmA9JBm94mQRCwLcXQ,108872
58
+ sage/misc/function_mangling.cpython-312-darwin.so,sha256=iuyJMBNa-lb3msfvlAjD7m-mFyFdzpUwFN7pCxiwpxQ,103512
59
+ sage/misc/inherit_comparison.cpython-312-darwin.so,sha256=UNGUzaN1s35oqmCtNKTz08N6fFOoCWQ6s24WjmWlK0I,77736
60
+ sage/misc/sageinspect.py,sha256=QPEhtfOAmjM8dXPl1v89np73eO2qJYdRCdrrSZFSCGI,107670
61
61
  sage/misc/c3_controlled.pxd,sha256=EWT5P-X5Y6-dAslfrcE14QFMLsGHWcLSxCoAEkcN7NY,93
62
62
  sage/misc/fpickle.pyx,sha256=Vh5kja4ylA8ln6_ICX5OUvhOXjZDdnazCkB4SC8tGPc,4900
63
- sage/misc/constant_function.cpython-312-darwin.so,sha256=BwV_jt-QoGfocDyM2XDAIpfOxgubA5RMIQUO0fV5zzY,106584
64
- sage/misc/lazy_list.cpython-312-darwin.so,sha256=no3pK8cf8rNiA2qvfWJR1ERVkt6XxQtn7rg49w658rI,195008
65
- sage/misc/weak_dict.cpython-312-darwin.so,sha256=Y-mBFK2Rc9aKeMQdWKFASMYwLXfX3jSCtbFdzg6QKXk,174944
63
+ sage/misc/constant_function.cpython-312-darwin.so,sha256=vQkJ4MbOLIfMroSzDgkvQQVEcv7I16AYZrjYe-WuZA8,106584
64
+ sage/misc/lazy_list.cpython-312-darwin.so,sha256=41Ir0nyKJwsA5pV-TVTnUgSWP__54ixTXEYGm-BmH9Y,195008
65
+ sage/misc/weak_dict.cpython-312-darwin.so,sha256=k8PqFapRD8hGxodKpHQfUKXxyUlkSdC89CFSDAMPAOc,174944
66
66
  sage/misc/namespace_package.py,sha256=1Zm09A9QjmQ6i4zp3I2G_x1XEm8wJVFxxZ353LN-EZE,938
67
67
  sage/misc/lazy_string.pxd,sha256=svK96-FOIZqWLd-uY9F-s_tF9buYOvl8goNGVbc_Uv8,182
68
- sage/misc/misc_c.cpython-312-darwin.so,sha256=nGwRoa-mc8v9Xsoe5rA8R3gjagck70u1IyAl0V0Gm60,150272
69
- sage/misc/reset.cpython-312-darwin.so,sha256=LLw7UWbOizyjR-6CUC7RJhauX-MJOHGgDfzDNMe0GWE,100712
68
+ sage/misc/misc_c.cpython-312-darwin.so,sha256=RPeEsD5Dzy0lCjARquxsmxi4tWvA0slsrxTsZ52GV60,150272
69
+ sage/misc/reset.cpython-312-darwin.so,sha256=UhqI5tI8ibmV55QHfAFWbynUjcepxiD8BDL-6LGHBGE,100712
70
70
  sage/misc/persist.pyx,sha256=dy8qDVBTtQrG79tvgeaOLom6QNM8hZTxD7KVGnnuxT0,46217
71
71
  sage/misc/weak_dict.pxd,sha256=7mDU5vWwLDunO53fgGyEhVvSGZKxvHRx-EprQtgBmOA,428
72
72
  sage/misc/call.py,sha256=WerCuE2OSAGLgok9s-2JqTwEIZkvgqfarMUyQsYZlCc,5757
73
- sage/misc/lazy_attribute.cpython-312-darwin.so,sha256=Q260oEzbxPsLPT51UJwgUGad_NDDgQSFUtjbR9n-nr8,125144
73
+ sage/misc/lazy_attribute.cpython-312-darwin.so,sha256=sRCNn1KV1z99VQz6znOP6U5zEoDTTNyedQywhAm4KxQ,125144
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
78
  sage/misc/constant_function.pyx,sha256=gmEpTMwOfsS1xJZBFUJSuDTqfleKvJzuhsWIfBsGN54,3578
79
- sage/misc/nested_class.cpython-312-darwin.so,sha256=3hz6t-21GsJmW5IuYmv6CWmyA3ke2jPrywsjyRUDDOI,127312
79
+ sage/misc/nested_class.cpython-312-darwin.so,sha256=12n_2OIkS49-snrkifedNv2m3o48tJjlrlboXakcj3w,127312
80
80
  sage/misc/classcall_metaclass.pxd,sha256=_VnrhJRQAclaFng-7vwzhDrQW-mwExvPLgP5bk1YmhM,583
81
- sage/misc/persist.cpython-312-darwin.so,sha256=PThu5OpTzwemF4DL_KhhfjpU2SuWCJkVQ_Mi6ecUdmY,263136
81
+ sage/misc/persist.cpython-312-darwin.so,sha256=9gBR0sglZgi4S0UYBkATUKy9NjUvq8sguvLQifo9Ez4,263136
82
82
  sage/misc/decorators.py,sha256=VOubDgl-3KemmGs2kkyUSLd-WYS8XQ2HGTDBeuRSXAM,26572
83
83
  sage/ext/ccobject.h,sha256=eLtqVFdLUrmjR1gkAzuzwRVL55bj31H9-p2n2NKJW3U,1186
84
84
  sage/ext/mod_int.h,sha256=YZd376zB1marQ0lgoSfLlrusWkapb_ueFd8xvhNU0MU,1275
@@ -86,21 +86,21 @@ sage/ext/cplusplus.pxd,sha256=ve_HD4J2IbCyDacdg8O58s6vQBkiCuSeFpQc9HTS-UQ,766
86
86
  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
- sage/groups/old.cpython-312-darwin.so,sha256=6HzAgdJqJguIfMDqpQdl6Tg82ByX9EFCcZL2tszZKsA,103416
89
+ sage/groups/old.cpython-312-darwin.so,sha256=j3ncTzsHZkFNY54CLAaJL1C8_7Jn8eMhSe3cCoV2GMU,103416
90
90
  sage/groups/group.pyx,sha256=CGAhNiFVdAT2Kjv8Hh-AFq423cfiCyt-SfvMMR0rDU0,9827
91
91
  sage/groups/old.pyx,sha256=gxDN9ZQSNq3VnccG9So3tLGk2JgSjTrAwKlpkE26aig,6154
92
- sage/groups/group.cpython-312-darwin.so,sha256=Ejg3IJQzaSynrtvni7reY6c5G9jzXcgDNrokHThHKJ4,131592
92
+ sage/groups/group.cpython-312-darwin.so,sha256=flUi5xSbhLGa8vGXWc68traVUj2KZz7wOuWkyadvzX4,131592
93
93
  sage/groups/old.pxd,sha256=2CXrLHHAFFGvFhOcHEBR4jo65SGynhNEcMF0f9rMsQs,266
94
94
  sage/groups/all__sagemath_objects.py,sha256=U0s3i-j8VG_G3hwosaLXkFtIexExCHE66vo6Xk5_V08,46
95
95
  sage/groups/group.pxd,sha256=l5XDUVBLZZghkEMm3p72KdVJDLxD85Je9otL5yDkXQM,251
96
- sage/arith/power.cpython-312-darwin.so,sha256=v9cgLX5jdjD-ICvZibHldWWaWW92l2YW69E4WcnPiVw,99392
96
+ sage/arith/power.cpython-312-darwin.so,sha256=XK7XpvddgQL73PpN3elr8Q1fwN7R3jITeXR04qH9IEA,99392
97
97
  sage/arith/long.pxd,sha256=wc2jBHq3rpg7oSfahGg7LqU495AgGG-IrU5R6RVXlKA,13944
98
98
  sage/arith/numerical_approx.pxd,sha256=gFWmxAnUn8xt1cMwCW0pxfywfy_ZJ3vrRuNjAjlo1dU,950
99
99
  sage/arith/power.pyx,sha256=SJamErC6EQinYao_I5JMTWNnYRRxUT-t-jRErZq-T5A,3257
100
100
  sage/arith/power.pxd,sha256=CS0qcAvGCF4VdHFFOxfKtF5cmviM0UyOzGfAYghjTCA,630
101
101
  sage/arith/numerical_approx.pyx,sha256=IkdhP04vlBfHcSR4YREYBisONaa9uBWMlQmM8wrF-3Q,2538
102
102
  sage/arith/all__sagemath_objects.py,sha256=Xsmp9IOAIWpXfNhDnlC1rPzaAWwkOnDGBX7TSDM7HKc,222
103
- sage/arith/numerical_approx.cpython-312-darwin.so,sha256=pHkC_BwptVhziVnjGQGsEQ624IROV18jNMKbTUyAWeo,80344
103
+ sage/arith/numerical_approx.cpython-312-darwin.so,sha256=BommFMc-MoZdvxSFF3Pw2yEdTKDlW25_EWkcbxwPiQ8,80344
104
104
  sage/libs/all__sagemath_objects.py,sha256=YDdaT0ZDVNDu-ssAUrDGDpEkHpGC0KRBZ15j5Xk8O80,169
105
105
  sage/libs/gmpxx.pxd,sha256=UZMJb9R2wLkI8IE0cdcheUEZYKVsK9pX6_QGQNIY82E,503
106
106
  sage/libs/gmp/types.pxd,sha256=wR4xaLY3oPMQbId8-bD8VkhyUqQBy8weclDvc5r9AcY,1487
@@ -109,7 +109,7 @@ sage/libs/gmp/mpf.pxd,sha256=pPdAUid-su3Jr_SCBfrNsKyUZpBzAed1enzj6l5KuS0,3670
109
109
  sage/libs/gmp/mpq.pxd,sha256=4E1Ldx99k4EuYKCdgn7iTMqNRy2E8MpzUMErKdxvbZc,2271
110
110
  sage/libs/gmp/misc.pxd,sha256=wibMsVyG72PRhtrGo7w223ivijK0pxmAzsYlaB9ML-g,243
111
111
  sage/libs/gmp/random.pxd,sha256=IVs3XSfaq39Vr7S0IAVoNvU-mvPhmrjyPWJ4OKAl7ns,1020
112
- sage/libs/gmp/pylong.cpython-312-darwin.so,sha256=46fzE06wmp9xTQ6ZAHqQmPw_kMNa4Fqu4udkzciinqs,75616
112
+ sage/libs/gmp/pylong.cpython-312-darwin.so,sha256=Mc9ToslwS6DKVDG4eYkyQiZkQTCB6sLnhgZVCRjghq0,75616
113
113
  sage/libs/gmp/__init__.py,sha256=U0s3i-j8VG_G3hwosaLXkFtIexExCHE66vo6Xk5_V08,46
114
114
  sage/libs/gmp/pylong.pxd,sha256=ZAmPJKtIZJW7S7rDdsjiB7WphHyADSwgR8hH8HLWSaE,378
115
115
  sage/libs/gmp/all.pxd,sha256=6w1y2YcnMOazAA-xA2ObVuD6uQ6PvlFGDNa2c6b91dI,219
@@ -117,13 +117,13 @@ sage/libs/gmp/pylong.pyx,sha256=OrXIWymqVFgESFvZ5amY3l4ynBjIel5XnxHQvES5In0,4867
117
117
  sage/libs/gmp/mpz.pxd,sha256=76TOHtrqWB9h9LBY2sQok-8dL3coqIXc6y0pLUANHQU,9628
118
118
  sage/libs/gmp/mpn.pxd,sha256=xqtMwtfyNMXCuUfrM27MYjTJswuynYvqkNW4RNJMBzk,4151
119
119
  sage/libs/gmp/randomize.pxd,sha256=TazhW2I0CQS8oQTa2jA1SKHSgrBha14tNy-6ddnkhFo,2309
120
- sage/cpython/debug.cpython-312-darwin.so,sha256=JQejl07GTpXHSVZEF86oxWfvK_Buq8Vt0Vv7WPagqgY,99624
120
+ sage/cpython/debug.cpython-312-darwin.so,sha256=52hil1-aTEHRWbvzYMcRsLC1wrJND_D4ExpkNAxlp_k,99624
121
121
  sage/cpython/dict_del_by_value.pyx,sha256=QXJYSJ1VJzyksOhZVWay0Uvt92Yyuk61YLyuILmY0is,6416
122
122
  sage/cpython/type.pyx,sha256=Xso6fkWMzcPl3lxJAAdy11BQ57gmuDkbIDbi_DmCH0w,1076
123
123
  sage/cpython/getattr.pxd,sha256=8Cb3X41HUmaro-m-uD-Hoto63wxoVvNYYd80wbOYNbU,288
124
124
  sage/cpython/pyx_visit.h,sha256=MFhGSCe_RsFn-D03QfNixKbe-cD2nzwC7JsNFmUd-rY,651
125
125
  sage/cpython/wrapperdescr.pxd,sha256=01d05_VmUeAhJ9tWINAL4MnghxJzJVb7s-bafCejIi0,2263
126
- sage/cpython/cython_metaclass.cpython-312-darwin.so,sha256=dQkmkGNI7-ZIwGzF7P4weQzHaxtdn-ynOfjUlx4ly8w,54456
126
+ sage/cpython/cython_metaclass.cpython-312-darwin.so,sha256=tWrAGdTPjjIc6_dPtnJxuBqONv2AEyEylyAn6SVc6j4,54456
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
@@ -133,31 +133,31 @@ sage/cpython/__init__.py,sha256=N7Hhh8oGxMh3_UVoAlh2hphJAaQVKOHytva7fe2yNa0,786
133
133
  sage/cpython/cython_metaclass.pxd,sha256=lYUJgERJZix2MwpLWrhZm-a6iq7-rT01DAvph4S0T9Y,124
134
134
  sage/cpython/string.pxd,sha256=TvD_ZgtYp36TW8mkjwFZaCyh5RS0ekjiokNAa-qskIE,2588
135
135
  sage/cpython/builtin_types.pyx,sha256=d0O-Ydnf8SKZ-TtMnpK7E5gLGPpTLJjnrSkdyIqI2Lw,196
136
- sage/cpython/builtin_types.cpython-312-darwin.so,sha256=xoHjnNbmjZQoK-vbyC71ZQLygrMvXw2q08lpnd4qCYM,54944
136
+ sage/cpython/builtin_types.cpython-312-darwin.so,sha256=oYQFbeLNum7CtJjQnho6bC5Ctga0P1pzRDekDyJD9Yc,54944
137
137
  sage/cpython/all.py,sha256=Tux0o-rbgpJYFx4d5KeaoqJqhZb7KyqTdCrRD81Gq7A,148
138
- sage/cpython/string.cpython-312-darwin.so,sha256=wsc2RcEzg3t7RCc4UTLKlkNyATdAdPoywfhd88M2mzE,76864
138
+ sage/cpython/string.cpython-312-darwin.so,sha256=QXCBHuEp4Cl-ENWY3K-4H5k0Su5cprL_gzOSxO0Q864,76864
139
139
  sage/cpython/string.pyx,sha256=WVruGwr0FdR7ZRxk0sWTVQA5kau9Ar3ZTH6XUyHpBDg,1196
140
140
  sage/cpython/cython_metaclass.pyx,sha256=FOME93m8ak8IfERSVZf28JufCeWGz0R_jL1xPIVfNwI,4833
141
141
  sage/cpython/_py2_random.py,sha256=U4iBlbHd_4HhW6fU2MBPI2ERQZtZFmJIu9j1bPrxlwM,22928
142
- sage/cpython/dict_del_by_value.cpython-312-darwin.so,sha256=zORUfk3LPdNtlkJGYYs4Y0kadOPN5Ga2B9fTEAE7byw,75720
142
+ sage/cpython/dict_del_by_value.cpython-312-darwin.so,sha256=75pIj1pYQqhq_ImBI6wO3hNfF-rreBIgAFhgwBQ30gs,75720
143
143
  sage/cpython/python_debug.pxd,sha256=EpFaKv-z7KzZ6f7g3o-NYUovfp9Yg-nsWbgFODjxI_w,2032
144
144
  sage/cpython/dict_internal.h,sha256=McGCYoRGYalDPKk-tRx0wtfImuIV9BJ5Xg5PQdzJTR8,7110
145
- sage/cpython/atexit.cpython-312-darwin.so,sha256=G7tyjol9ZwH6fr3egz90MkKTN7UlrrvQrJJ1neadrco,81472
145
+ sage/cpython/atexit.cpython-312-darwin.so,sha256=194_7-L8XpKqTzvltq25ggE6PDF3A3w6ovkEOB6OUc8,82640
146
146
  sage/cpython/getattr.pyx,sha256=-FRx8cibqtRVwD8-hZIZEt1v154UP5ZW5dFPCenQcY4,14954
147
- sage/cpython/getattr.cpython-312-darwin.so,sha256=ZW87XYm-N7pveXH7B_K6t0ttxiCl1bW0NYKDjEng2v4,101184
147
+ sage/cpython/getattr.cpython-312-darwin.so,sha256=nxaZk-Ih4VQs4-K8LwooINjiAJw8zM4NuB0TimZzE1s,101184
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/type.cpython-312-darwin.so,sha256=JYMPWRi3s17Ue6g6JZhdLna2auVrt9Egz71LdMs1sn4,59496
153
- sage/sets/pythonclass.cpython-312-darwin.so,sha256=nMXADz6Av4e-ZydVfBiRIP_IKqQavgnzO4qjLpYEj_I,131216
152
+ sage/cpython/type.cpython-312-darwin.so,sha256=LKbIdRT2RzCiRHIv8hk9ykfIDMSIQ3S50qhN9Op7R4I,59496
153
+ sage/sets/pythonclass.cpython-312-darwin.so,sha256=ItOo6YTrgPuRH-JHnjU5nd3zjwBy5FsIbt4SO1rOujA,131216
154
154
  sage/sets/pythonclass.pyx,sha256=ZzUjh8bkoqWPCd85Kcx-NnuEghofSQ0NoCG_CpeCpX4,7136
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
- sage/modules/module.cpython-312-darwin.so,sha256=xEvyuwZy_aUariD6pLshMUH88CWOVFyg8GJJ98IBuG8,101984
160
+ sage/modules/module.cpython-312-darwin.so,sha256=o3o6cgsV6pgRyDBtqHjItDrxfH3TfPQV9cgJf7u2oo8,101984
161
161
  sage/modules/module.pxd,sha256=l0gI2rRtwVMJPQNkQfJXqEN9EEovo46yAcs-aHio_Uc,125
162
162
  sage/modules/module.pyx,sha256=-QTSiktCdR3n9F5dee8hNk8yVgfWsJ7lzIFtgQHJT6o,12096
163
163
  sage/modules/all__sagemath_objects.py,sha256=U0s3i-j8VG_G3hwosaLXkFtIexExCHE66vo6Xk5_V08,46
@@ -167,10 +167,10 @@ sage/structure/list_clone.pxd,sha256=Uy6QhnoBF8OLylfp74H4hupCyXCd1wVBXO0fAfbWKOw
167
167
  sage/structure/sage_object.pxd,sha256=ucLms0iBHPbK0A-IJ-UDLVEbW66BH719SErTxz23po0,78
168
168
  sage/structure/sage_object_test.py,sha256=ZAhjc7q979clLhRqEWAneSQDWzxP7bXqtRyQwIXY81M,627
169
169
  sage/structure/support_view.py,sha256=qlclI5fZdRBtWwV0UC5o9KmPPCTdqDUY0_YAAWWnf_k,5381
170
- sage/structure/debug_options.cpython-312-darwin.so,sha256=6YDm5x2S8d5IIpfMkRWFISNGA5EC-AQzontN43aUgI0,60864
171
- sage/structure/element_wrapper.cpython-312-darwin.so,sha256=R-7rTasAb9hupCSyMZnU7jwcEpKQaeHxrXjIDeEDgS8,155224
172
- sage/structure/coerce_maps.cpython-312-darwin.so,sha256=R-iCvJ9ysVl3sELa4BzOjEq6IMedeIpEqZ5FkvZMb-s,193616
173
- sage/structure/sage_object.cpython-312-darwin.so,sha256=pVJ7Z36nIpE7r068fTpBvZvbBLApEGbng-rVLfrV2fg,213280
170
+ sage/structure/debug_options.cpython-312-darwin.so,sha256=Gm-zz55pKm92WRFKXya3s-g68T0CQr9n4N42zPn60CE,60864
171
+ sage/structure/element_wrapper.cpython-312-darwin.so,sha256=pwx1dYz_AkakLtK-rmtJAelO9kIC3PZk0E3g8-eEHAQ,155224
172
+ sage/structure/coerce_maps.cpython-312-darwin.so,sha256=fes37HEcSeKpk0pzlJeHU6HhNwNApCCFpav8T5_pSIw,193616
173
+ sage/structure/sage_object.cpython-312-darwin.so,sha256=CRM9BgRiH_Tbyp494EBvFOzs3u6EuDcfyhesC3lABkk,213280
174
174
  sage/structure/coerce_actions.pyx,sha256=lrg_qYJehodMQN7o3Z_5Igfdszz02cInnLa-Ds8zYwA,37252
175
175
  sage/structure/parent_base.pyx,sha256=7Y6Yzx43IDux18_r33Ke_kYndZxYwAvBCW9s6g-YNTo,1764
176
176
  sage/structure/parent_old.pyx,sha256=z-tLmDMh5F_gjUYm5pAshEFtldFZfPhXY49H4vzStZw,10485
@@ -179,11 +179,11 @@ sage/structure/richcmp.pxd,sha256=XI0UNlzfLFW23_8TopFeTl-B6jzDSqhWryKGwbsbTkY,64
179
179
  sage/structure/factory.pyx,sha256=Y6CLDS5XvZZrywNWyo4XhJkyM6Yn_1VJ8MIKZRRNzXs,31258
180
180
  sage/structure/dynamic_class.py,sha256=30FYmhsiPynSJwopAhcOeXrTukqOlJpBNjNhtBYt_gw,20222
181
181
  sage/structure/coerce_maps.pxd,sha256=dm5fxyEnzLHBmAd__K4xLZNuyz0LYpX39YmCmj7amv8,504
182
- sage/structure/element.cpython-312-darwin.so,sha256=q_nn3AZ3GWk_ZL7TIzocd5xWNL53thXLBK9Hapviono,588416
183
- sage/structure/category_object.cpython-312-darwin.so,sha256=8ZRG5IA2zIujJzjPThxJVO5WKG53GNdE3ARKyf5_nNs,199016
182
+ sage/structure/element.cpython-312-darwin.so,sha256=R3lnQltFtfQgwlDpvpClrVkUiHOWTeYF5kdtJH5LAfY,588416
183
+ sage/structure/category_object.cpython-312-darwin.so,sha256=eAgfj_ypMWpCe7G51EG05_sUosIVJZxSDiVYMWudKCY,199016
184
184
  sage/structure/mutability.pyx,sha256=uA5GXQxj1JVE-0Xua5RwV5JgnedSrf0GQPxmrl9HiNs,11493
185
185
  sage/structure/category_object.pxd,sha256=rz9gGO9WiOLQ2XP9PdzSIELHW-4vvPmjXvqdD6huRvY,1030
186
- sage/structure/unique_representation.py,sha256=cSFw-aXRY3jGTOvt3RRORXPVGkSNbcHgVjuBnKJC2AE,52738
186
+ sage/structure/unique_representation.py,sha256=cdLGUBHPZb4tK3uQ4zqnIH93--I0J6oQQc4wf0N5B5Y,52750
187
187
  sage/structure/sequence.py,sha256=MRvLtTYRik3rQvUYLANxgvafNXc9QteQRM1OwbcziPU,29457
188
188
  sage/structure/global_options.py,sha256=OwIgjujCtFcIp5YYDkQpOSPXeVABfPFZiotM2Yq2Ap4,69477
189
189
  sage/structure/test_factory.py,sha256=HL9H4MZC73a6Ew13W4VppvmRpcuqiJFEuM5xw3SZqOk,1760
@@ -196,42 +196,42 @@ sage/structure/factorization_integer.py,sha256=PALiFasjPjEqEz08m1A5qADt14lhMt4Xg
196
196
  sage/structure/coerce.pyx,sha256=IA4rnmiMIndhMGrZMpMD0Hl10ZUK8l6gLuTXoqax2G0,82202
197
197
  sage/structure/coerce_dict.pxd,sha256=3Exj0-GuFQcXtXXKs4ydsU8trgO81fO2cIBP7PDlgZo,1415
198
198
  sage/structure/all.py,sha256=5GYCPE_LABmoZGre1WR9mlhvvpWpzqJMZrS9rAPSan8,798
199
- sage/structure/coerce_dict.cpython-312-darwin.so,sha256=fyVN6dTaMrY-xnyohZrNjnhqKT0UMBjmzWrZ61ou_v4,194944
199
+ sage/structure/coerce_dict.cpython-312-darwin.so,sha256=5vWPlypx65wLy41irabEhFp4KLG40-aA-yvnjU0Irf4,194944
200
200
  sage/structure/element_wrapper.pxd,sha256=MI50lX2z0XmOoaFwGXns-rpOcdcduculNkS8t6VP1i4,319
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/factory.cpython-312-darwin.so,sha256=GH9CJ-ylXyuIXiNf_ZYOAdqN4dZEzlFC5T6_uG3Y3NA,161568
204
+ sage/structure/factory.cpython-312-darwin.so,sha256=l7e6vPyVpRXDjyDUX1oqiVOSzxZxAeaPPme8Ka5UWZM,161568
205
205
  sage/structure/indexed_generators.py,sha256=T3ADtTQ_D3s9waiEbURYTlyr7udHmoCXDCLnSk8xcts,34776
206
206
  sage/structure/coerce.pxd,sha256=FklBQUdf23MFPu33SkIWJC9mQw2jjNSIY7PPMlQCNLQ,1369
207
207
  sage/structure/list_clone_demo.pyx,sha256=oU65ulMRrP8mkP8aNRlBd8j0Z61tIta868Fxui8LDKs,7643
208
208
  sage/structure/debug_options.pyx,sha256=JR58ihocYWnDea5HgTN8WQ_wRVwyYcO6xe8XFM2Ku_k,1974
209
- sage/structure/coerce.cpython-312-darwin.so,sha256=cWj0neRYQ2W2v2h9f_F-_FvN_UmqaBpy8VgVpGL9B5Q,344288
209
+ sage/structure/coerce.cpython-312-darwin.so,sha256=X7ts-VqNuQ1hHYRV5amX6Om2MZCnb8bWWOBK20jn9Mo,344288
210
210
  sage/structure/coerce_exceptions.py,sha256=0_og2GtBcrr8me7_8edijpOnlKFbFhAiQS7OfpNslAQ,988
211
- sage/structure/parent_gens.cpython-312-darwin.so,sha256=JEo2V5u8eH_K0EAB6PQqbBRalzoeEZPokLIgbsVMQjk,132544
211
+ sage/structure/parent_gens.cpython-312-darwin.so,sha256=VOclkNN2NDAZLB6J08zMhNPVPx00kLBhtF2NVkT3Gek,132544
212
212
  sage/structure/parent_gens.pxd,sha256=mE16F-vEdWAUeE3atp6ZddvIAteQ6jagiYwnVGjHr3s,802
213
- sage/structure/parent.cpython-312-darwin.so,sha256=rJRm6a9LpYvgwcSe47WIeVZ4KMyr_nwFzSLMi0Fx6hI,386176
214
- sage/structure/coerce_actions.cpython-312-darwin.so,sha256=lmTueygkKWiaxBlRAF5v7hbUFbcWhH_7bnn_ct1S-OE,228448
213
+ sage/structure/parent.cpython-312-darwin.so,sha256=_xx38MWNXfbD-R0wfG8UGESNzLvKKITHDAEyPVG__M0,386176
214
+ sage/structure/coerce_actions.cpython-312-darwin.so,sha256=BXLudu-xVE-4MbihpXxXOVtBnwkaw-QbzKF7NCQ4lGU,228448
215
215
  sage/structure/formal_sum.py,sha256=-0PPVOHHlfLGQNmU8YV7qNZhrxanAoVorZuFUKSX8Ss,15953
216
216
  sage/structure/mutability.pxd,sha256=SvQMhy7o0PKUnPdNSOdM0w6qpgzEqVzxVXmG1EvmKNo,680
217
217
  sage/structure/category_object.pyx,sha256=iK22UiNYaCgkEc4QeRY4Cu9V7oMBVQCZKhtd4O8NpVM,39030
218
- sage/structure/parent_base.cpython-312-darwin.so,sha256=obhyw2yQZnDgHN_38ZDxewNYvVf6AI4_YTfTvtM3YqU,82800
218
+ sage/structure/parent_base.cpython-312-darwin.so,sha256=pNAcTpl91ZP640xx_PFm8-uFOOv6E6hso-_Q7MGyygE,82800
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
222
  sage/structure/parent_old.pxd,sha256=rzTYw76EYTgql4jxm5X8wvYQ3D8vmU-V8wVQsU3w4Cw,969
223
- sage/structure/parent_old.cpython-312-darwin.so,sha256=o0bd_XYEaoyKipeFY0hH8D7XFPhPV2ksDeEaYwq3pJ0,123360
223
+ sage/structure/parent_old.cpython-312-darwin.so,sha256=eQrhY3MC0Dm1dsHwEJn6mDVhPPmMXY0RnL8VjS0DNj0,123360
224
224
  sage/structure/element.pxd,sha256=JaMsIvj0HnpDZf2Q1vSs99SIQv3WKCpqkfg9oWLnTuU,7958
225
- sage/structure/list_clone.cpython-312-darwin.so,sha256=zrHF8W6l6E8zDG6wO2LXpEGuhtanQw1ZId1VdXSV9eI,291216
226
- sage/structure/mutability.cpython-312-darwin.so,sha256=QrPfGw7soE_jWnZVZsp7NtJeC0AW40hiO9Q8hjViSy4,129552
225
+ sage/structure/list_clone.cpython-312-darwin.so,sha256=fDi5iBsAS_pfjgwD4k7jaiZTK2CamcHF3NdK31WS020,291216
226
+ sage/structure/mutability.cpython-312-darwin.so,sha256=9wmN-4tPH9PUuC5F2i2rYc1gAeedWMsb8GDYr5axmoU,129552
227
227
  sage/structure/coerce_actions.pxd,sha256=4Gzyc43JOKIYDPkKUowbdQ-vYpDTrIxJERUed88b6Oo,528
228
- sage/structure/list_clone_timings_cy.cpython-312-darwin.so,sha256=eq7blXA30JGF2AFERX4wAE3OsmwzPaiAjrvYbQE2wpg,78360
228
+ sage/structure/list_clone_timings_cy.cpython-312-darwin.so,sha256=O3nrVKG3K_1IxjGf0QWSazlcbpP6QxuvUM-bzegFIlc,78360
229
229
  sage/structure/parent_base.pxd,sha256=sQ4wTvOWWZUY8j_zLQjeFpZeXTCpJ6eNAFhL3BPU9tk,585
230
- sage/structure/list_clone_demo.cpython-312-darwin.so,sha256=qLemNHw7rpUvOjltVJwA3RiX5rc24-2inTZnHSwxtIo,133240
230
+ sage/structure/list_clone_demo.cpython-312-darwin.so,sha256=FmdkHEPHFPcHqysXbxNq_bgOotLZwuhvFeBBFeafAsw,133240
231
231
  sage/structure/nonexact.py,sha256=kyCU30mUCCbiju6ujgVGe57gtAhavlEQvHDYHSYYupA,1736
232
- sage/structure/sage_object.pyx,sha256=eLvXjVABCzuRoEG251tVeDS1Yc8vi_zG2PLMDzyWTdE,32244
233
- sage/structure/list_clone.pyx,sha256=bn_4rDwtdbYkM4lp3vImfYaVnwvgdQrqQYApKbYAh3g,58958
234
- sage/structure/richcmp.cpython-312-darwin.so,sha256=qUPTEu4H7VTZTDWbiFvV88wuz9MFT96QM2Rc_C5Kjg0,127504
232
+ sage/structure/sage_object.pyx,sha256=v-zZLileKVikJuuZNdYlGp5StPASFAAMgdh7s1mHrPY,32292
233
+ sage/structure/list_clone.pyx,sha256=Jbicq-sIZ7WhqD_r0zbaXk4D0JEI820TrIcGN6EEGNQ,58956
234
+ sage/structure/richcmp.cpython-312-darwin.so,sha256=yaKwOJjgx8hhM0TCQFJNj4hIWreXx_199BvZNn3VT_E,127504
235
235
  sage/structure/set_factories_example.py,sha256=NjmC2WP-cCdojYsQhjuZaI9PPlaqMcLdO3FyNnc2aRE,17262
236
236
  sage/structure/parent.pyx,sha256=1xhTOHMo_pVq7-LJ0LbM_lppyF0HMoEjEla99Yu4T5I,120215
237
237
  sage/structure/proof/__init__.py,sha256=U0s3i-j8VG_G3hwosaLXkFtIexExCHE66vo6Xk5_V08,46
@@ -239,7 +239,7 @@ sage/structure/proof/all.py,sha256=oc3nbgOBRqlm6Azip-reTyYu9WejRD4EwD9gN8aBnbk,7
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/map.cpython-312-darwin.so,sha256=feB6fV-dBqfYCYH376MRCZI1y2p9HHYYjevuVXhcIY4,295128
242
+ sage/categories/map.cpython-312-darwin.so,sha256=tAVMtnuRZqi3fouD9sOSMUGzgPQ2xymw83wyiWHml50,295128
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
@@ -253,24 +253,24 @@ sage/categories/realizations.py,sha256=4ocuBKRQmROJGau7k-6OizQVLmgiGIOGRwSIvJGE_
253
253
  sage/categories/category_singleton.pyx,sha256=xwsrucWotXXe-lZib5PSE7cMz_5qfIOTS9rIpbxFNns,13719
254
254
  sage/categories/homsets.py,sha256=D8Lf2aqcWUcbeDUx7sTAW_MLTU6Tbthlem708qxsjFg,12567
255
255
  sage/categories/isomorphic_objects.py,sha256=Uyr_YZf3yyUAB9o5afQNMILaXe8PwM1wKGlt00OGPdg,2993
256
- sage/categories/morphism.cpython-312-darwin.so,sha256=jNdSytLJYXgbQ03mBBeuiQ2xjowfS0dMFJhsBGS1GNw,220624
256
+ sage/categories/morphism.cpython-312-darwin.so,sha256=w1rK78rwuxdXKtZ-tsjUVvhBEJQxKH6shRMyUH31ee4,220624
257
257
  sage/categories/pushout.py,sha256=D1aW5fogmVyvjE0SGDzQqK4YD67bO445OIpBUZK5lQA,192358
258
258
  sage/categories/category_types.py,sha256=5zGnHgih48q7hEjKl4Sh72fhAnJXmDElgniKe63VHDo,20303
259
259
  sage/categories/map.pyx,sha256=T2JEvZlFbCTXIN-PfbXOTG3JNouw8mlfqltV-Q0MPVk,78451
260
- sage/categories/functor.cpython-312-darwin.so,sha256=l9KdytEauuAIfnafHJOdk5LdftOdE0C5sOPrVfffIVU,153024
260
+ sage/categories/functor.cpython-312-darwin.so,sha256=5Qxu3YoovdPYXcH-Qq4pWG45YHcgGb7o7Dgl-hMy4SA,153024
261
261
  sage/categories/map.pxd,sha256=BuIaeaQ6Kid0Vu6BtwWpZjU6Kbdgfl_oL02qvdtgB2s,1093
262
262
  sage/categories/homset.py,sha256=U8rhTZaH1hSypzW7UHjddBlzl51RIMw297vjNdVybVA,53173
263
263
  sage/categories/basic.py,sha256=V1FArAZxEZpxXXHcsY60rknBOSsWqvEbMzVTik8yWJ4,2576
264
264
  sage/categories/category_singleton.pxd,sha256=Jm1lACWOGrs6Jjsy_fdv61NQSyQqnaKftAiNBNJYhgI,139
265
265
  sage/categories/covariant_functorial_construction.py,sha256=1iCOoZ-1heNULiTQfGNJ4uN2MDRDQZErWDHx6p-A-MI,27547
266
- sage/categories/category_singleton.cpython-312-darwin.so,sha256=xVP2ZOSOaHWJPgtsGz1K9D_Jn6igYUxDvyDQzF1Hv-A,127432
266
+ sage/categories/category_singleton.cpython-312-darwin.so,sha256=rlLfvliGY2T77h0OaPSJj49I9r9iCr4DGEeNA1e_rCM,127432
267
267
  sage/categories/category_with_axiom.py,sha256=0yXKkQJVa_eNoZYZi4HPsK3OmdhG758l4kw2BcfrDPU,114821
268
268
  sage/categories/functor.pxd,sha256=HcrYjA83mrJpvnb9xRD7ygHrMIi5FOQSgyRfivnIb5I,203
269
- sage/categories/category_cy_helper.cpython-312-darwin.so,sha256=ZICh-ne_ILeQFogOthAQyphDMXwQ3C_2Jp1ovXYgB6s,120312
269
+ sage/categories/category_cy_helper.cpython-312-darwin.so,sha256=0v0SI2nrsAo-HAl896S9IBHj3yO_Q35F9iHwqW6zMj8,120312
270
270
  sage/categories/morphism.pyx,sha256=JL2rzsKeXkcC2cJoYgNuE2Y6au1L1KGGYVM0B_CvLV4,29074
271
271
  sage/categories/cartesian_product.py,sha256=8-y9HOn7IHC4eoOxfSJxaNgTq5RRmwalAW-48i6H9B8,10183
272
272
  sage/categories/objects.py,sha256=h-o39k-ugble8Xp_W2X4kPdpdiJ6r8HX-HwVBV9NVKQ,5346
273
- sage/categories/action.cpython-312-darwin.so,sha256=4vxCJzigRWHQULbsFPYoXFcD2fhYioizn0TzswoslQ8,172720
273
+ sage/categories/action.cpython-312-darwin.so,sha256=MaDloWnas9flT89CjTaE2ZQl7EuwVOvGAKpxJtYhNkA,172720
274
274
  sage/categories/with_realizations.py,sha256=tYlFsLXAZzZjZrbPS2YM76Qx9ipjSdOt00ng5pgQqrs,13163
275
275
  sage/categories/all__sagemath_objects.py,sha256=l0cQjqOFqQLeB_KplQnKRfuL566SRDm5Q9eBkz72_l4,1148
276
276
  sage/categories/subquotients.py,sha256=t4hQukYFVMlI_ZGM7PdXKkT0ch2qVSDHvhbUCIToBPI,706
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