passagemath-objects 10.6.5__cp310-cp310-win_amd64.whl → 10.6.46__cp310-cp310-win_amd64.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 (94) hide show
  1. passagemath_objects/__init__.py +3 -0
  2. passagemath_objects-10.6.46.dist-info/DELVEWHEEL +2 -0
  3. {passagemath_objects-10.6.5.dist-info → passagemath_objects-10.6.46.dist-info}/METADATA +6 -8
  4. {passagemath_objects-10.6.5.dist-info → passagemath_objects-10.6.46.dist-info}/RECORD +92 -91
  5. passagemath_objects-10.6.46.dist-info/top_level.txt +3 -0
  6. passagemath_objects.libs/{libgmp-10-99441a47601ceeddd98c37597f1abb1e.dll → libgmp-10-23decc023ff052bc2d748f1d5bb87892.dll} +0 -0
  7. sage/all__sagemath_objects.py +3 -3
  8. sage/arith/numerical_approx.cp310-win_amd64.pyd +0 -0
  9. sage/arith/power.cp310-win_amd64.pyd +0 -0
  10. sage/categories/action.cp310-win_amd64.pyd +0 -0
  11. sage/categories/basic.py +3 -3
  12. sage/categories/category_cy_helper.cp310-win_amd64.pyd +0 -0
  13. sage/categories/category_singleton.cp310-win_amd64.pyd +0 -0
  14. sage/categories/category_with_axiom.py +3 -3
  15. sage/categories/functor.cp310-win_amd64.pyd +0 -0
  16. sage/categories/map.cp310-win_amd64.pyd +0 -0
  17. sage/categories/map.pyx +13 -19
  18. sage/categories/morphism.cp310-win_amd64.pyd +0 -0
  19. sage/categories/primer.py +1 -1
  20. sage/categories/pushout.py +2 -2
  21. sage/categories/sets_cat.py +62 -0
  22. sage/cpython/__init__.py +3 -3
  23. sage/cpython/atexit.cp310-win_amd64.pyd +0 -0
  24. sage/cpython/atexit.pyx +81 -25
  25. sage/cpython/builtin_types.cp310-win_amd64.pyd +0 -0
  26. sage/cpython/cython_metaclass.cp310-win_amd64.pyd +0 -0
  27. sage/cpython/debug.cp310-win_amd64.pyd +0 -0
  28. sage/cpython/dict_del_by_value.cp310-win_amd64.pyd +0 -0
  29. sage/cpython/getattr.cp310-win_amd64.pyd +0 -0
  30. sage/cpython/string.cp310-win_amd64.pyd +0 -0
  31. sage/cpython/type.cp310-win_amd64.pyd +0 -0
  32. sage/groups/group.cp310-win_amd64.pyd +0 -0
  33. sage/groups/old.cp310-win_amd64.pyd +0 -0
  34. sage/libs/gmp/pylong.cp310-win_amd64.pyd +0 -0
  35. sage/misc/c3_controlled.cp310-win_amd64.pyd +0 -0
  36. sage/misc/cachefunc.cp310-win_amd64.pyd +0 -0
  37. sage/misc/cachefunc.pyx +1 -1
  38. sage/misc/classcall_metaclass.cp310-win_amd64.pyd +0 -0
  39. sage/misc/classcall_metaclass.pyx +1 -1
  40. sage/misc/constant_function.cp310-win_amd64.pyd +0 -0
  41. sage/misc/constant_function.pyx +6 -4
  42. sage/misc/fast_methods.cp310-win_amd64.pyd +0 -0
  43. sage/misc/fpickle.cp310-win_amd64.pyd +0 -0
  44. sage/misc/function_mangling.cp310-win_amd64.pyd +0 -0
  45. sage/misc/inherit_comparison.cp310-win_amd64.pyd +0 -0
  46. sage/misc/instancedoc.cp310-win_amd64.pyd +0 -0
  47. sage/misc/lazy_attribute.cp310-win_amd64.pyd +0 -0
  48. sage/misc/lazy_import.cp310-win_amd64.pyd +0 -0
  49. sage/misc/lazy_list.cp310-win_amd64.pyd +0 -0
  50. sage/misc/lazy_list.pyx +9 -10
  51. sage/misc/lazy_string.cp310-win_amd64.pyd +0 -0
  52. sage/misc/misc_c.cp310-win_amd64.pyd +0 -0
  53. sage/misc/nested_class.cp310-win_amd64.pyd +0 -0
  54. sage/misc/persist.cp310-win_amd64.pyd +0 -0
  55. sage/misc/randstate.cp310-win_amd64.pyd +0 -0
  56. sage/misc/reset.cp310-win_amd64.pyd +0 -0
  57. sage/misc/sage_ostools.cp310-win_amd64.pyd +0 -0
  58. sage/misc/sage_timeit.py +15 -5
  59. sage/misc/sage_timeit_class.cp310-win_amd64.pyd +0 -0
  60. sage/misc/sage_unittest.py +8 -11
  61. sage/misc/sageinspect.py +25 -72
  62. sage/misc/session.cp310-win_amd64.pyd +0 -0
  63. sage/misc/timing.py +8 -0
  64. sage/misc/weak_dict.cp310-win_amd64.pyd +0 -0
  65. sage/misc/weak_dict.pyx +6 -6
  66. sage/modules/module.cp310-win_amd64.pyd +0 -0
  67. sage/sets/pythonclass.cp310-win_amd64.pyd +0 -0
  68. sage/structure/__init__.py +3 -3
  69. sage/structure/category_object.cp310-win_amd64.pyd +0 -0
  70. sage/structure/coerce.cp310-win_amd64.pyd +0 -0
  71. sage/structure/coerce.pyx +1 -1
  72. sage/structure/coerce_actions.cp310-win_amd64.pyd +0 -0
  73. sage/structure/coerce_dict.cp310-win_amd64.pyd +0 -0
  74. sage/structure/coerce_maps.cp310-win_amd64.pyd +0 -0
  75. sage/structure/debug_options.cp310-win_amd64.pyd +0 -0
  76. sage/structure/element.cp310-win_amd64.pyd +0 -0
  77. sage/structure/element_wrapper.cp310-win_amd64.pyd +0 -0
  78. sage/structure/factory.cp310-win_amd64.pyd +0 -0
  79. sage/structure/list_clone.cp310-win_amd64.pyd +0 -0
  80. sage/structure/list_clone.pyx +1 -1
  81. sage/structure/list_clone_demo.cp310-win_amd64.pyd +0 -0
  82. sage/structure/list_clone_timings_cy.cp310-win_amd64.pyd +0 -0
  83. sage/structure/mutability.cp310-win_amd64.pyd +0 -0
  84. sage/structure/parent.cp310-win_amd64.pyd +0 -0
  85. sage/structure/parent_base.cp310-win_amd64.pyd +0 -0
  86. sage/structure/parent_gens.cp310-win_amd64.pyd +0 -0
  87. sage/structure/parent_old.cp310-win_amd64.pyd +0 -0
  88. sage/structure/richcmp.cp310-win_amd64.pyd +0 -0
  89. sage/structure/sage_object.cp310-win_amd64.pyd +0 -0
  90. sage/structure/sage_object.pyx +7 -6
  91. sage/structure/unique_representation.py +2 -2
  92. passagemath_objects-10.6.5.dist-info/DELVEWHEEL +0 -2
  93. passagemath_objects-10.6.5.dist-info/top_level.txt +0 -2
  94. {passagemath_objects-10.6.5.dist-info → passagemath_objects-10.6.46.dist-info}/WHEEL +0 -0
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
@@ -1,13 +1,13 @@
1
1
  # sage_setup: distribution = sagemath-objects
2
2
  # start delvewheel patch
3
- def _delvewheel_patch_1_11_1():
3
+ def _delvewheel_patch_1_11_2():
4
4
  import os
5
5
  if os.path.isdir(libs_dir := os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir, os.pardir, 'passagemath_objects.libs'))):
6
6
  os.add_dll_directory(libs_dir)
7
7
 
8
8
 
9
- _delvewheel_patch_1_11_1()
10
- del _delvewheel_patch_1_11_1
9
+ _delvewheel_patch_1_11_2()
10
+ del _delvewheel_patch_1_11_2
11
11
  # end delvewheel patch
12
12
  # Resolve a cyclic import
13
13
  import sage.structure.element
Binary file
sage/structure/coerce.pyx CHANGED
@@ -536,7 +536,7 @@ cdef class CoercionModel:
536
536
 
537
537
  sage: import numpy # needs numpy
538
538
  sage: if int(numpy.version.short_version[0]) > 1: # needs numpy
539
- ....: __ = numpy.set_printoptions(legacy="1.25") # needs numpy
539
+ ....: __ = numpy.set_printoptions(legacy="1.25")
540
540
 
541
541
  sage: # needs sage.rings.real_mpfr
542
542
  sage: x = polygen(RR)
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
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
 
@@ -1,2 +0,0 @@
1
- Version: 1.11.1
2
- Arguments: ['C:\\Users\\runneradmin\\AppData\\Local\\Temp\\cibw-run-41pzd2xf\\cp310-win_amd64\\build\\venv\\Scripts\\delvewheel', 'repair', '-vv', '--custom-patch', '-w', 'C:\\Users\\runneradmin\\AppData\\Local\\Temp\\cibw-run-41pzd2xf\\cp310-win_amd64\\repaired_wheel', 'C:\\Users\\runneradmin\\AppData\\Local\\Temp\\cibw-run-41pzd2xf\\cp310-win_amd64\\built_wheel\\passagemath_objects-10.6.5-cp310-cp310-win_amd64.whl']
@@ -1,2 +0,0 @@
1
-
2
- sage