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
Docs point to FAQ Section 3, but FAQs are not numbered #53937
Comments
In Doc/extending/windows.rst, there's the following text: ------------------------------------------------------------------------ PyVarObject_HEAD_INIT(&PyType_Type, 0) Change it to:: PyVarObject_HEAD_INIT(NULL, 0) and add the following to the module initialization function:: MyObject_Type.ob_type = &PyType_Type; Refer to section 3 of the If I assume that Section 3 means, the third link on the FAQ page, I can't find the FAQ that's being alluded to here. There's a comment in Include/pyport.h that I believe to be related:
However, that link no longer goes to a particular question and I can't tell which question it once referred to. I ran into this because I'm trying to understand the cause of the issue which I suspect is related to Issue bpo-6672. |
As I remember, the FAQ was once that, *the* (giant) FAQ, with numbered sections. When broken into pieces, the order may have been re-arranged. Given that the broken reference is in extending/windows, I would look in both the Extending and Windows FAQs. However, I found neither 'PyType_Type' nor 'PyVarObject_HEAD_INIT' nor 'initialization' in either. Besides removing the dead reference, you could either look through the revision history of the file or ask on pydev if you need the info. The split-up FAQs first appear in a release doc set in Python 2.6.4, documentation released on 25 October 2009. I do not know if the earlier, unitary FAQ is in the repository or not. |
I tried to find the old FAQ in the Debian package for 2.5 but failed. It looks like this require a fair bit of version control exploration. |
Where does/did the FAQ live in the version control tree? |
It looks like the FAQ used be generated using Tools/faqwiz/faqwiz.py (which no longer exists). According to that file: ----------------------------------------------------------------------- In other words, while the FAQ was under version control, it wasn't the regular repository. I'll ask on python-dev is anyone has a copy. |
Nevermind... archive.org has it. :-) |
Fixed in r84810, r84811, and 84812. For anyone curious, the old FAQ entry is here: |
Thanks for the investigation! |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: