-
Notifications
You must be signed in to change notification settings - Fork 797
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.19 Release #3154
Comments
I think this would require an additional |
Sorry for giving you so many problems. Let me at least look into the PyBaseException thing. |
Good point. I think |
No problem; I think hopefully that one's not too hard once I see the compiler's full output! |
Ok I tried to reproduce just now and couldn't, so I'm marking that one off until you can share a minimal repro @adriangb 😄 |
3158: Add Py::get for GIL-independent access to frozen classes. r=davidhewitt a=adamreichold `@davidhewitt` Is this what you had in mind for #3154? The name is an obvious candidate for bikeshedding. Trying to write an example, I noticed that making `PyCell::get_frozen` public is most likely not useful as there is no way to safely get a `&PyCell` without acquiring the GIL first? Co-authored-by: Adam Reichold <adam.reichold@t-online.de>
@DataTriny I wonder if we think it's possible to release 0.19 with the new license, or whether the final few contributors will take long enough that we should hope to release that with 0.20? |
@davidhewitt I would like to nominate including #3165 in this release if solution in #3168 turns out to be workable. Otherwise we might have to wait for another chance for a breaking change before fixing this. If my understanding of the issue is correct, we should also definitely include #3169 to avoid releasing |
@davidhewitt I've now contacted everyone and will wait two weeks before sending reminders. We'd be lucky if the relicensing is done before the end of June. So not ready for 0.19 I guess. |
I think that if tonight's remaining merge trains land, we are ready to create a 0.19 release before |
Agreed, I'm happy to cut this tomorrow evening unless you're particularly wanting to do it @adamreichold |
Not particularly, I would like to focus on the follow-up NumPy release (admittedly a smaller endeavour, but I would like follow up in a timely manner). |
As discussed in #2593 (comment) let's put out 0.19 release soon and then make MSRV bump breaking changes to ease the pain with CI.
As usual, list of a few things which I was hoping to round off before the release:
PyAny::is_instance_of
for performance #2881, as I've had a few people ask me about performance of instance checking (e.g. What is the fastest way to get a type identifier in pyo3 #3104)#[pyclass(extends = PyBaseException)]
doesn't compile without theunsendable
option, though I haven't investigated this (sounds like a bug).PyCell<T>
andPy<T>
for#[pyclass(frozen)] struct T
should have a method to access&T
without needing the GIL. I believe this is safe and will help us make progress to nogil / sub-interpreter support (by encouraging use of frozen pyclasses which can then use Rust synchronization mechanisms).I wanted to addParked for now as Add types forPyNotImplemented
,PyEllipsis
andPyNone
singleton types: addEllipsis()
andis_ellipsis()
methods #2911 (comment)None
,Ellipsis
andNotImplemented
#3162, see 0.19 Release #3154 (comment)#[new]
which is also a#[classmethod]
#3077, although it may be better to postpone this to 0.20 now (sorry!)__traverse__
Do not apply deferred ref count updates and prevent the GIL from being acquired inside of __traverse__ implementations. #3168 Additional tests for #3168 #3175The text was updated successfully, but these errors were encountered: