| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Yes 👍
Is also accessible via Lib/asyncio/tools.py. What do you mean with externally? By end users? |
Sorry, something went wrong.
Yes. I wondered whether a NEWS entry was needed or not but considering it's (1) a really internal type (2) the RemoteUnwinder type and its instances are not directly accessible by the end user (or would it be possible later?), I will not write a NEWS entry for the unwinder type. The rationale why the other types were documented is because I can access them with public functions directly, e.g., zlib.Compress is obtained by zlib.compressobj(). But for RemoteUnwinder, you need a bit more work to access an instance of that type. |
Sorry, something went wrong.
For now is strictly private and not intented for direct usage, just via different parts of the standard library that are in turn user visible. |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM. 👍
Sorry, something went wrong.
This is up to you. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This only adds the Py_TPFLAGS_IMMUTABLETYPE flag and assumes that other GC-related issues are solved (not all types are actually empty). I've added NEWS entries just because we also mention transforming extension modules from single-phase to multi-phase. It doesn't hurt mentioning this if a type can be observed with obj = public_func(); print(type(obj)).
@serhiy-storchaka Can I split the PR for immutable types into those that are in _test*api and xxlimited* with those that are used in release builds? There is just one type _interpreters.CrossInterpreterBufferView that I'm unsure of.
@pablogsal Am I correct to assume that _remote_debugging.RemoteUnwinder should be immutable and is really internal? It's only "publicly" accessible through profiling.sampling.SampleProfiler.unwinder but I don't know if it's meant to be used externally.