17db96d56Sopenharmony_ci.. _reporting-bugs:
27db96d56Sopenharmony_ci
37db96d56Sopenharmony_ci*****************
47db96d56Sopenharmony_ciDealing with Bugs
57db96d56Sopenharmony_ci*****************
67db96d56Sopenharmony_ci
77db96d56Sopenharmony_ciPython is a mature programming language which has established a reputation for
87db96d56Sopenharmony_cistability.  In order to maintain this reputation, the developers would like to
97db96d56Sopenharmony_ciknow of any deficiencies you find in Python.
107db96d56Sopenharmony_ci
117db96d56Sopenharmony_ciIt can be sometimes faster to fix bugs yourself and contribute patches to
127db96d56Sopenharmony_ciPython as it streamlines the process and involves less people. Learn how to
137db96d56Sopenharmony_ci:ref:`contribute <contributing-to-python>`.
147db96d56Sopenharmony_ci
157db96d56Sopenharmony_ciDocumentation bugs
167db96d56Sopenharmony_ci==================
177db96d56Sopenharmony_ci
187db96d56Sopenharmony_ciIf you find a bug in this documentation or would like to propose an improvement,
197db96d56Sopenharmony_ciplease submit a bug report on the :ref:`tracker <using-the-tracker>`.  If you
207db96d56Sopenharmony_cihave a suggestion on how to fix it, include that as well.
217db96d56Sopenharmony_ci
227db96d56Sopenharmony_ciYou can also open a discussion item on our
237db96d56Sopenharmony_ci`Documentation Discourse forum <https://discuss.python.org/c/documentation/26>`_.
247db96d56Sopenharmony_ci
257db96d56Sopenharmony_ciIf you're short on time, you can also email documentation bug reports to
267db96d56Sopenharmony_cidocs@python.org (behavioral bugs can be sent to python-list@python.org).
277db96d56Sopenharmony_ci'docs@' is a mailing list run by volunteers; your request will be noticed,
287db96d56Sopenharmony_cithough it may take a while to be processed.
297db96d56Sopenharmony_ci
307db96d56Sopenharmony_ci.. seealso::
317db96d56Sopenharmony_ci
327db96d56Sopenharmony_ci   `Documentation bugs`_
337db96d56Sopenharmony_ci      A list of documentation bugs that have been submitted to the Python issue tracker.
347db96d56Sopenharmony_ci
357db96d56Sopenharmony_ci   `Issue Tracking <https://devguide.python.org/tracker/>`_
367db96d56Sopenharmony_ci      Overview of the process involved in reporting an improvement on the tracker.
377db96d56Sopenharmony_ci
387db96d56Sopenharmony_ci   `Helping with Documentation <https://devguide.python.org/docquality/#helping-with-documentation>`_
397db96d56Sopenharmony_ci      Comprehensive guide for individuals that are interested in contributing to Python documentation.
407db96d56Sopenharmony_ci
417db96d56Sopenharmony_ci   `Documentation Translations <https://devguide.python.org/documenting/#translating>`_
427db96d56Sopenharmony_ci      A list of GitHub pages for documentation translation and their primary contacts.
437db96d56Sopenharmony_ci
447db96d56Sopenharmony_ci
457db96d56Sopenharmony_ci.. _using-the-tracker:
467db96d56Sopenharmony_ci
477db96d56Sopenharmony_ciUsing the Python issue tracker
487db96d56Sopenharmony_ci==============================
497db96d56Sopenharmony_ci
507db96d56Sopenharmony_ciIssue reports for Python itself should be submitted via the GitHub issues
517db96d56Sopenharmony_citracker (https://github.com/python/cpython/issues).
527db96d56Sopenharmony_ciThe GitHub issues tracker offers a web form which allows pertinent information
537db96d56Sopenharmony_cito be entered and submitted to the developers.
547db96d56Sopenharmony_ci
557db96d56Sopenharmony_ciThe first step in filing a report is to determine whether the problem has
567db96d56Sopenharmony_cialready been reported.  The advantage in doing so, aside from saving the
577db96d56Sopenharmony_cidevelopers' time, is that you learn what has been done to fix it; it may be that
587db96d56Sopenharmony_cithe problem has already been fixed for the next release, or additional
597db96d56Sopenharmony_ciinformation is needed (in which case you are welcome to provide it if you can!).
607db96d56Sopenharmony_ciTo do this, search the tracker using the search box at the top of the page.
617db96d56Sopenharmony_ci
627db96d56Sopenharmony_ciIf the problem you're reporting is not already in the list, log in to GitHub.
637db96d56Sopenharmony_ciIf you don't already have a GitHub account, create a new account using the
647db96d56Sopenharmony_ci"Sign up" link.
657db96d56Sopenharmony_ciIt is not possible to submit a bug report anonymously.
667db96d56Sopenharmony_ci
677db96d56Sopenharmony_ciBeing now logged in, you can submit an issue.
687db96d56Sopenharmony_ciClick on the "New issue" button in the top bar to report a new issue.
697db96d56Sopenharmony_ci
707db96d56Sopenharmony_ciThe submission form has two fields, "Title" and "Comment".
717db96d56Sopenharmony_ci
727db96d56Sopenharmony_ciFor the "Title" field, enter a *very* short description of the problem;
737db96d56Sopenharmony_cifewer than ten words is good.
747db96d56Sopenharmony_ci
757db96d56Sopenharmony_ciIn the "Comment" field, describe the problem in detail, including what you
767db96d56Sopenharmony_ciexpected to happen and what did happen.  Be sure to include whether any
777db96d56Sopenharmony_ciextension modules were involved, and what hardware and software platform you
787db96d56Sopenharmony_ciwere using (including version information as appropriate).
797db96d56Sopenharmony_ci
807db96d56Sopenharmony_ciEach issue report will be reviewed by a developer who will determine what needs to
817db96d56Sopenharmony_cibe done to correct the problem. You will receive an update each time an action is
827db96d56Sopenharmony_citaken on the issue.
837db96d56Sopenharmony_ci
847db96d56Sopenharmony_ci
857db96d56Sopenharmony_ci.. seealso::
867db96d56Sopenharmony_ci
877db96d56Sopenharmony_ci   `How to Report Bugs Effectively <https://www.chiark.greenend.org.uk/~sgtatham/bugs.html>`_
887db96d56Sopenharmony_ci      Article which goes into some detail about how to create a useful bug report.
897db96d56Sopenharmony_ci      This describes what kind of information is useful and why it is useful.
907db96d56Sopenharmony_ci
917db96d56Sopenharmony_ci   `Bug Writing Guidelines <https://bugzilla.mozilla.org/page.cgi?id=bug-writing.html>`_
927db96d56Sopenharmony_ci      Information about writing a good bug report.  Some of this is specific to the
937db96d56Sopenharmony_ci      Mozilla project, but describes general good practices.
947db96d56Sopenharmony_ci
957db96d56Sopenharmony_ci.. _contributing-to-python:
967db96d56Sopenharmony_ci
977db96d56Sopenharmony_ciGetting started contributing to Python yourself
987db96d56Sopenharmony_ci===============================================
997db96d56Sopenharmony_ci
1007db96d56Sopenharmony_ciBeyond just reporting bugs that you find, you are also welcome to submit
1017db96d56Sopenharmony_cipatches to fix them.  You can find more information on how to get started
1027db96d56Sopenharmony_cipatching Python in the `Python Developer's Guide`_.  If you have questions,
1037db96d56Sopenharmony_cithe `core-mentorship mailing list`_ is a friendly place to get answers to
1047db96d56Sopenharmony_ciany and all questions pertaining to the process of fixing issues in Python.
1057db96d56Sopenharmony_ci
1067db96d56Sopenharmony_ci.. _Documentation bugs: https://github.com/python/cpython/issues?q=is%3Aissue+is%3Aopen+label%3Adocs
1077db96d56Sopenharmony_ci.. _Python Developer's Guide: https://devguide.python.org/
1087db96d56Sopenharmony_ci.. _core-mentorship mailing list: https://mail.python.org/mailman3/lists/core-mentorship.python.org/
109