|
| 1 | +.. _reporting-bugs: |
| 2 | + |
| 3 | +***************** |
| 4 | +Dealing with Bugs |
| 5 | +***************** |
| 6 | + |
| 7 | +Python is a mature programming language which has established a reputation for |
| 8 | +stability. In order to maintain this reputation, the developers would like to |
| 9 | +know of any deficiencies you find in Python. |
| 10 | + |
| 11 | +It can be sometimes faster to fix bugs yourself and contribute patches to |
| 12 | +Python as it streamlines the process and involves less people. Learn how to |
| 13 | +:ref:`contribute <contributing-to-python>`. |
| 14 | + |
| 15 | +Documentation bugs |
| 16 | +================== |
| 17 | + |
| 18 | +If you find a bug in this documentation or would like to propose an improvement, |
| 19 | +please submit a bug report on the :ref:`tracker <using-the-tracker>`. If you |
| 20 | +have a suggestion on how to fix it, include that as well. |
| 21 | + |
| 22 | +You can also open a discussion item on our |
| 23 | +`Documentation Discourse forum <https://discuss.python.org/c/documentation/26>`_. |
| 24 | + |
| 25 | +If you find a bug in the theme (HTML / CSS / JavaScript) of the |
| 26 | +documentation, please submit a bug report on the `python-doc-theme bug |
| 27 | +tracker <https://github.com/python/python-docs-theme>`_. |
| 28 | + |
| 29 | +If you're short on time, you can also email documentation bug reports to |
| 30 | +[email protected] (behavioral bugs can be sent to [email protected]). |
| 31 | +'docs@' is a mailing list run by volunteers; your request will be noticed, |
| 32 | +though it may take a while to be processed. |
| 33 | + |
| 34 | +.. seealso:: |
| 35 | + |
| 36 | + `Documentation bugs`_ |
| 37 | + A list of documentation bugs that have been submitted to the Python issue tracker. |
| 38 | + |
| 39 | + `Issue Tracking <https://devguide.python.org/tracker/>`_ |
| 40 | + Overview of the process involved in reporting an improvement on the tracker. |
| 41 | + |
| 42 | + `Helping with Documentation <https://devguide.python.org/docquality/#helping-with-documentation>`_ |
| 43 | + Comprehensive guide for individuals that are interested in contributing to Python documentation. |
| 44 | + |
| 45 | + `Documentation Translations <https://devguide.python.org/documentation/translating/>`_ |
| 46 | + A list of GitHub pages for documentation translation and their primary contacts. |
| 47 | + |
| 48 | + |
| 49 | +.. _using-the-tracker: |
| 50 | + |
| 51 | +Using the Python issue tracker |
| 52 | +============================== |
| 53 | + |
| 54 | +Issue reports for Python itself should be submitted via the GitHub issues |
| 55 | +tracker (https://github.com/python/cpython/issues). |
| 56 | +The GitHub issues tracker offers a web form which allows pertinent information |
| 57 | +to be entered and submitted to the developers. |
| 58 | + |
| 59 | +The first step in filing a report is to determine whether the problem has |
| 60 | +already been reported. The advantage in doing so, aside from saving the |
| 61 | +developers' time, is that you learn what has been done to fix it; it may be that |
| 62 | +the problem has already been fixed for the next release, or additional |
| 63 | +information is needed (in which case you are welcome to provide it if you can!). |
| 64 | +To do this, search the tracker using the search box at the top of the page. |
| 65 | + |
| 66 | +If the problem you're reporting is not already in the list, log in to GitHub. |
| 67 | +If you don't already have a GitHub account, create a new account using the |
| 68 | +"Sign up" link. |
| 69 | +It is not possible to submit a bug report anonymously. |
| 70 | + |
| 71 | +Being now logged in, you can submit an issue. |
| 72 | +Click on the "New issue" button in the top bar to report a new issue. |
| 73 | + |
| 74 | +The submission form has two fields, "Title" and "Comment". |
| 75 | + |
| 76 | +For the "Title" field, enter a *very* short description of the problem; |
| 77 | +fewer than ten words is good. |
| 78 | + |
| 79 | +In the "Comment" field, describe the problem in detail, including what you |
| 80 | +expected to happen and what did happen. Be sure to include whether any |
| 81 | +extension modules were involved, and what hardware and software platform you |
| 82 | +were using (including version information as appropriate). |
| 83 | + |
| 84 | +Each issue report will be reviewed by a developer who will determine what needs to |
| 85 | +be done to correct the problem. You will receive an update each time an action is |
| 86 | +taken on the issue. |
| 87 | + |
| 88 | + |
| 89 | +.. seealso:: |
| 90 | + |
| 91 | + `How to Report Bugs Effectively <https://www.chiark.greenend.org.uk/~sgtatham/bugs.html>`_ |
| 92 | + Article which goes into some detail about how to create a useful bug report. |
| 93 | + This describes what kind of information is useful and why it is useful. |
| 94 | + |
| 95 | + `Bug Writing Guidelines <https://bugzilla.mozilla.org/page.cgi?id=bug-writing.html>`_ |
| 96 | + Information about writing a good bug report. Some of this is specific to the |
| 97 | + Mozilla project, but describes general good practices. |
| 98 | + |
| 99 | +.. _contributing-to-python: |
| 100 | + |
| 101 | +Getting started contributing to Python yourself |
| 102 | +=============================================== |
| 103 | + |
| 104 | +Beyond just reporting bugs that you find, you are also welcome to submit |
| 105 | +patches to fix them. You can find more information on how to get started |
| 106 | +patching Python in the `Python Developer's Guide`_. If you have questions, |
| 107 | +the `core-mentorship mailing list`_ is a friendly place to get answers to |
| 108 | +any and all questions pertaining to the process of fixing issues in Python. |
| 109 | + |
| 110 | +.. _Documentation bugs: https://github.com/python/cpython/issues?q=is%3Aissue+is%3Aopen+label%3Adocs |
| 111 | +.. _Python Developer's Guide: https://devguide.python.org/ |
| 112 | +.. _core-mentorship mailing list: https://mail.python.org/mailman3/lists/core-mentorship.python.org/ |
0 commit comments