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.
- passagemath_objects/__init__.py +3 -0
- passagemath_objects-10.6.46.dist-info/DELVEWHEEL +2 -0
- {passagemath_objects-10.6.5.dist-info → passagemath_objects-10.6.46.dist-info}/METADATA +6 -8
- {passagemath_objects-10.6.5.dist-info → passagemath_objects-10.6.46.dist-info}/RECORD +92 -91
- passagemath_objects-10.6.46.dist-info/top_level.txt +3 -0
- passagemath_objects.libs/{libgmp-10-99441a47601ceeddd98c37597f1abb1e.dll → libgmp-10-23decc023ff052bc2d748f1d5bb87892.dll} +0 -0
- sage/all__sagemath_objects.py +3 -3
- sage/arith/numerical_approx.cp310-win_amd64.pyd +0 -0
- sage/arith/power.cp310-win_amd64.pyd +0 -0
- sage/categories/action.cp310-win_amd64.pyd +0 -0
- sage/categories/basic.py +3 -3
- sage/categories/category_cy_helper.cp310-win_amd64.pyd +0 -0
- sage/categories/category_singleton.cp310-win_amd64.pyd +0 -0
- sage/categories/category_with_axiom.py +3 -3
- sage/categories/functor.cp310-win_amd64.pyd +0 -0
- sage/categories/map.cp310-win_amd64.pyd +0 -0
- sage/categories/map.pyx +13 -19
- sage/categories/morphism.cp310-win_amd64.pyd +0 -0
- sage/categories/primer.py +1 -1
- sage/categories/pushout.py +2 -2
- sage/categories/sets_cat.py +62 -0
- sage/cpython/__init__.py +3 -3
- sage/cpython/atexit.cp310-win_amd64.pyd +0 -0
- sage/cpython/atexit.pyx +81 -25
- sage/cpython/builtin_types.cp310-win_amd64.pyd +0 -0
- sage/cpython/cython_metaclass.cp310-win_amd64.pyd +0 -0
- sage/cpython/debug.cp310-win_amd64.pyd +0 -0
- sage/cpython/dict_del_by_value.cp310-win_amd64.pyd +0 -0
- sage/cpython/getattr.cp310-win_amd64.pyd +0 -0
- sage/cpython/string.cp310-win_amd64.pyd +0 -0
- sage/cpython/type.cp310-win_amd64.pyd +0 -0
- sage/groups/group.cp310-win_amd64.pyd +0 -0
- sage/groups/old.cp310-win_amd64.pyd +0 -0
- sage/libs/gmp/pylong.cp310-win_amd64.pyd +0 -0
- sage/misc/c3_controlled.cp310-win_amd64.pyd +0 -0
- sage/misc/cachefunc.cp310-win_amd64.pyd +0 -0
- sage/misc/cachefunc.pyx +1 -1
- sage/misc/classcall_metaclass.cp310-win_amd64.pyd +0 -0
- sage/misc/classcall_metaclass.pyx +1 -1
- sage/misc/constant_function.cp310-win_amd64.pyd +0 -0
- sage/misc/constant_function.pyx +6 -4
- sage/misc/fast_methods.cp310-win_amd64.pyd +0 -0
- sage/misc/fpickle.cp310-win_amd64.pyd +0 -0
- sage/misc/function_mangling.cp310-win_amd64.pyd +0 -0
- sage/misc/inherit_comparison.cp310-win_amd64.pyd +0 -0
- sage/misc/instancedoc.cp310-win_amd64.pyd +0 -0
- sage/misc/lazy_attribute.cp310-win_amd64.pyd +0 -0
- sage/misc/lazy_import.cp310-win_amd64.pyd +0 -0
- sage/misc/lazy_list.cp310-win_amd64.pyd +0 -0
- sage/misc/lazy_list.pyx +9 -10
- sage/misc/lazy_string.cp310-win_amd64.pyd +0 -0
- sage/misc/misc_c.cp310-win_amd64.pyd +0 -0
- sage/misc/nested_class.cp310-win_amd64.pyd +0 -0
- sage/misc/persist.cp310-win_amd64.pyd +0 -0
- sage/misc/randstate.cp310-win_amd64.pyd +0 -0
- sage/misc/reset.cp310-win_amd64.pyd +0 -0
- sage/misc/sage_ostools.cp310-win_amd64.pyd +0 -0
- sage/misc/sage_timeit.py +15 -5
- sage/misc/sage_timeit_class.cp310-win_amd64.pyd +0 -0
- sage/misc/sage_unittest.py +8 -11
- sage/misc/sageinspect.py +25 -72
- sage/misc/session.cp310-win_amd64.pyd +0 -0
- sage/misc/timing.py +8 -0
- sage/misc/weak_dict.cp310-win_amd64.pyd +0 -0
- sage/misc/weak_dict.pyx +6 -6
- sage/modules/module.cp310-win_amd64.pyd +0 -0
- sage/sets/pythonclass.cp310-win_amd64.pyd +0 -0
- sage/structure/__init__.py +3 -3
- sage/structure/category_object.cp310-win_amd64.pyd +0 -0
- sage/structure/coerce.cp310-win_amd64.pyd +0 -0
- sage/structure/coerce.pyx +1 -1
- sage/structure/coerce_actions.cp310-win_amd64.pyd +0 -0
- sage/structure/coerce_dict.cp310-win_amd64.pyd +0 -0
- sage/structure/coerce_maps.cp310-win_amd64.pyd +0 -0
- sage/structure/debug_options.cp310-win_amd64.pyd +0 -0
- sage/structure/element.cp310-win_amd64.pyd +0 -0
- sage/structure/element_wrapper.cp310-win_amd64.pyd +0 -0
- sage/structure/factory.cp310-win_amd64.pyd +0 -0
- sage/structure/list_clone.cp310-win_amd64.pyd +0 -0
- sage/structure/list_clone.pyx +1 -1
- sage/structure/list_clone_demo.cp310-win_amd64.pyd +0 -0
- sage/structure/list_clone_timings_cy.cp310-win_amd64.pyd +0 -0
- sage/structure/mutability.cp310-win_amd64.pyd +0 -0
- sage/structure/parent.cp310-win_amd64.pyd +0 -0
- sage/structure/parent_base.cp310-win_amd64.pyd +0 -0
- sage/structure/parent_gens.cp310-win_amd64.pyd +0 -0
- sage/structure/parent_old.cp310-win_amd64.pyd +0 -0
- sage/structure/richcmp.cp310-win_amd64.pyd +0 -0
- sage/structure/sage_object.cp310-win_amd64.pyd +0 -0
- sage/structure/sage_object.pyx +7 -6
- sage/structure/unique_representation.py +2 -2
- passagemath_objects-10.6.5.dist-info/DELVEWHEEL +0 -2
- passagemath_objects-10.6.5.dist-info/top_level.txt +0 -2
- {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
|
sage/structure/__init__.py
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# sage_setup: distribution = sagemath-objects
|
|
2
2
|
# start delvewheel patch
|
|
3
|
-
def
|
|
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
|
-
|
|
10
|
-
del
|
|
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
|
|
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")
|
|
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
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
sage/structure/list_clone.pyx
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
sage/structure/sage_object.pyx
CHANGED
|
@@ -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:
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
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']
|
|
File without changes
|