You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gh-41086: Fix doctests for Python 3.14 and support python 3.14
Fix all doctests exceptions raise changes in python 3.14.
1.Just for lazy_list, The from itertools import count is not picklable.
It seems a new change in python 3.14.
2.In python 3.14, the error of PicklingError changes a lot. I have to
use try.. except to detect it
3.In cython 3.2, we should return a new reference because Cython expects
an owned reference
Now fix#41028 with cython 3.1.5
<!-- ^ Please provide a concise and informative title. -->
<!-- ^ Don't put issue numbers in the title, do this in the PR
description below. -->
<!-- ^ For example, instead of "Fixes#12345" use "Introduce new method
to calculate 1 + 2". -->
<!-- v Describe your changes below in detail. -->
<!-- v Why is this change required? What problem does it solve? -->
<!-- v If this PR resolves an open issue, please link to it here. For
example, "Fixes#12345". -->
### 📝 Checklist
<!-- Put an `x` in all the boxes that apply. -->
- [x] The title is concise and informative.
- [x] The description explains in detail what this PR is about.
- [x] I have linked a relevant issue or discussion.
- [ ] I have created tests covering the changes.
- [ ] I have updated the documentation and checked the documentation
preview.
### ⌛ Dependencies
<!-- List all open PRs that this PR logically depends on. For example,
-->
<!-- - #12345: short description why this is a dependency -->
<!-- - #34567: ... -->
URL: #41086
Reported by: Chenxin Zhong
Reviewer(s): Chenxin Zhong, Dima Pasechnik, Tobias Diez
0 commit comments