gh-121249: remove F/D type codes from table in the struct module#149346
Conversation
Documentation build overview
212 files changed ·
|
|
What is the reason for deprecation? Also, why is it linked to an issue closed long time ago? |
It's an alternative to #148676, see python/steering-council#345 (comment) There are 3 PRs:
Reopened, thanks. |
|
I'm -1. @hugovk any objections to deprecating in a later beta, rather than b1? That would mean we don't need to decide now. |
|
I removed F/D types from the table and postponed removal to 3.20. I think it's now along line of using two-letters type codes CC @vstinner Edit: Alternatively - we could just drop old type codes from the table (no deprecation). |
|
It's too late to introduce a deprecation in Python 3.15. We can reconsider a deprecation in Python 3.16. |
|
I would like to hear the Steering Council opinion on this question. |
@vstinner, what does require SC decision on this? It's regular documentation change, no deprecations. |
|
CC @warsaw as SC voice in python/steering-council#345, per Victor's request. |
|
I created the issue python/steering-council#352 for the Steering Council to "Deprecated F and D format in the struct module in Python 3.16". |
|
Hi, the SC decision is to soft deprecate in Python 3.15 and deprecate in Python 3.16: python/steering-council#352 (comment) Currently, the PR does soft deprecate in Python 3.16. Do you want to create a Python 3.15 PR to soft deprecate and a Python 3.16 to deprecate? |
No, it does this for v3.15 entry. I'll add news entry and then this will be ready for a backport. I'll do a separate pr for v3.16 one something like this (soft-deprecation) will be merged. |
I see that the soft deprecation must be documented in What's New In Python 3.15 document which is also part of the main branch, so ok, it makes sense :-) |
Co-authored-by: Victor Stinner <vstinner@python.org>
|
Thanks @skirpichev for the PR, and @vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.15. |
|
Sorry, @skirpichev and @vstinner, I could not cleanly backport this to |
|
GH-152274 is a backport of this pull request to the 3.15 branch. |
|
Thanks, I merged your PR to soft deprecate F and D type codes. I'm now waiting for your 3.16 change to (hard) deprecate these type codes :-) |
Uh oh!
There was an error while loading. Please reload this page.