-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
PEP 302 should be superseded/withdrawn #2720
Comments
PEPs are historical documents. I don't think we need a new status just because an area of the language has evolved since the original PEP. |
There are unfortunately plenty of PEPs that are not just historical documents, and are seen as standards. I do not believe having a status 'Final' when the PEP is in fact outdated is a good idea. |
Are you suggesting to rename |
FWIW, the term “Python Enhancement Proposal” also doesn't quite fit “living standard” documents. |
Neither does "Request for Comments" for internet standards, but the IETF has ditched that original meaning:
|
Maybe we need a new status for "Living Standard"? |
We do have the |
I think the PEP 302 warning banner is fine, and that we don't need much else. I'm not sure what standard thing you could add since each "hey this is out of date and historical" banner will need to have different links, say to the appropriate language reference page or whatever. That said, maybe a status of "Historical" would be appropriate to add. I'm not in favor of bulk updating PEPs though, so I'd say only for those that are egregiously out of date. "Active" is fine for living documents. |
@Yhg1s Process and Informational PEPs are Active when they are considered living standards/guidelines and are kept up to date accordingly; they are marked Final to designate them as historical only, and are categorized accordingly on PEP 0. Once Standards Track PEPs are Final, they are considered historical and their canonical documentation should be hosted elsewhere, as PEP 1 states:
There are some exceptions, but the great majority are on either the
@warsaw In fact, this is exactly what we will have with #2702 ; a standardized (but optional) warning banner for Final PEPs where we can just specify the desired link (and any custom text) which gets inserted into an informative message. It can be easily subclassed to handle various common cases (e.g. Packaging PEPs), and there's been talk of making the banner sticky if more visibility is needed. |
That's quite nice! Thanks for all the amazing work on improving the PEP documentation! |
Somewhat related: I just finished pypa/packaging.python.org#1111 , which finally does the whole-hog long awaited migration of PEP 517/518/660 to the PyPA specs page on packaging.python.org |
Since PEP 302 isn't going to be withdrawn, I am going to close this issue. @Yhg1s can chat with me at the core dev sprints about what documentation he wishes he had in importlib that triggered all of this. 😉 |
PEP 302 (New Import Hooks) has as its status
Final
, but it is in fact outdated, and the very first paragraph says:We may need a new status, next to
Superseded
, to indicate something is out of date, and a standard way to refer to something other than PEPs (which is done withSuperseded-By
)The text was updated successfully, but these errors were encountered: