[Python-ideas] PEP7 may need to add a info
Hi! When I read PEP7 and check Cpython source code, I found a deficiency that in https://www.python.org/dev/peps/pep-0007/#code-lay-out. In this section, document said that ''' For external functions and variables, we always have a declaration in an appropriate header file in the "Include" directory, which uses the PyAPI_FUNC() macro, like this: PyAPI_FUNC(PyObject *) PyObject_Repr(PyObject *); ''' but when i check python 3.7.12+ and python 2.7.13, external variables actually uses the PyAPI_DATA() macro, like this: ''' PyAPI_DATA(PyTypeObject) PySuper_Type; /* built-in 'super' */ ''' I wondered whether my error or the document error. bobozi. ___ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/B6YJ6DNHYJ3PHMCXYROT7ZILFXYGCSRR/ Code of Conduct: http://python.org/psf/codeofconduct/
[Python-ideas] Re: Python Developer’s Guide chinese version
Hi Jean, I know what you mean, of course, if someone want to contribute to Cpython, must read some English. My goals is to lower the threshold for new contributor. Aslo, I think you are right, I can only translate some basic page like Quick Start instead of the whole guide. And I also join in main Python documentation's translation in transfex. Thanks for your help! bobozi ___ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/7XFL56AWXEKUWTCHA6JBGJET2HZLS73U/ Code of Conduct: http://python.org/psf/codeofconduct/
[Python-ideas] Re: Python Developer’s Guide chinese version
Hi,Steve. Thank you for your help, there are too much files and i'm just a new contributor for python so that I am confused at the beginning. I really appreciate your help,now i have some directions,it‘s a big project, and I didn't find more infomation in PEP 545 -- Python Documentation Translations. But i find that devguide has its repo in github, can i make a zh branch in this repo? I want to konw if this follows some standards? Thanks again! bobozi ___ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/ZH4VTPM2PXFFVHGLNVNN7BIYUAIDA6YR/ Code of Conduct: http://python.org/psf/codeofconduct/
[Python-ideas] Python Developer’s Guide chinese version
hi all, I want to know does Python Developer’s Guide have chinese version, If not, i want to do some translation, may i tell to PSF(or other people) to grant authorization? May you also want to do this translation, please contact me. Best, bobozi ___ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/WGNOF45NQWJF77MFDYTCJQENLW2CYD5A/ Code of Conduct: http://python.org/psf/codeofconduct/