Skip to content

Commit f8b3a91

Browse files
author
Release Manager
committedAug 31, 2023
gh-36109: Prepare for updating Cython to 3.0.0 <!-- ^^^^^ Please provide a concise, informative and self-explanatory title. Don't put issue numbers in there, do this in the PR body below. For example, instead of "Fixes #1234" use "Introduce new method to calculate 1+1" --> <!-- Describe your changes here in detail --> <!-- Why is this change required? What problem does it solve? --> <!-- If this PR resolves an open issue, please link to it here. For example "Fixes #12345". --> <!-- If your change requires a documentation PR, please link it appropriately. --> Here are the changes needed to get Sage compiled with Cython 3. This PR contains changes that do not break compatibility with old Cython, so they can be merged without actually upgrading Cython. Part of #29863. ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> <!-- If your change requires a documentation PR, please link it appropriately --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> <!-- Feel free to remove irrelevant items. --> - [x] The title is concise, informative, and self-explanatory. - [x] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on - #12345: short description why this is a dependency - #34567: ... --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> URL: #36109 Reported by: Yutao Yuan Reviewer(s): Gonzalo Tornaría, Yutao Yuan
2 parents 22446cb + 4b85613 commit f8b3a91

File tree

127 files changed

+1478
-1467
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

127 files changed

+1478
-1467
lines changed
 

‎src/doc/en/thematic_tutorials/coercion_and_categories.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ This base class provides a lot more methods than a general parent::
106106

107107
sage: [p for p in dir(Field) if p not in dir(Parent)]
108108
['__fraction_field',
109-
'__ideal_monoid',
110109
'__iter__',
111110
'__len__',
112111
'__rxor__',
@@ -119,6 +118,7 @@ This base class provides a lot more methods than a general parent::
119118
'_default_category',
120119
'_gens',
121120
'_ideal_class_',
121+
'_ideal_monoid',
122122
'_latex_names',
123123
'_list',
124124
'_one_element',

‎src/doc/en/thematic_tutorials/tutorial-objects-and-classes.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ http://docs.python.org/library/ for a complete list. ::
298298
sage: el
299299
bla
300300
sage: el.__dict__
301-
{'__custom_name': 'bla', 'value': 42}
301+
{'_SageObject__custom_name': 'bla', 'value': 42}
302302

303303
Lots of Sage objects are not Python objects but compiled Cython
304304
objects. Python sees them as builtin objects and you do not have

0 commit comments

Comments
 (0)