-
-
Notifications
You must be signed in to change notification settings - Fork 32k
Convert the GitHub issue templates into GitHub issue forms #107920
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
Merged
Merged
Changes from 3 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
ae77c74
Convert the GitHub issue templates into GitHub issue forms
AlexWaygood 02ccad5
Apply suggestions from code review
AlexWaygood fe0525b
Update .github/ISSUE_TEMPLATE/bug.yml
AlexWaygood cce5d12
Apply suggestions from code review
AlexWaygood 2c81d51
More feedback
AlexWaygood 3853e1e
Update .github/ISSUE_TEMPLATE/bug.yml
AlexWaygood b96f5ef
More improvements to the crash report form
AlexWaygood 55733cb
Apply suggestions from code review
AlexWaygood 503004a
Improve version dropdown options
AlexWaygood 020e2a6
More improvements to crash report
AlexWaygood 0a85030
Delete the 'any other information?' boxes
AlexWaygood cc8ddf5
Try to make the bug report less condescending
AlexWaygood 58d43d2
.
AlexWaygood 79fb56e
More feedback from Ezio
AlexWaygood 02c2d22
Fix syntax
AlexWaygood 36fa3f0
no Latin in my issue form please
AlexWaygood 376845d
Colons
AlexWaygood 02c0a46
YAML
AlexWaygood 257d353
Apply suggestions from code review
AlexWaygood f1a0519
smol
AlexWaygood a58a7fd
Update .github/ISSUE_TEMPLATE/crash.yml
AlexWaygood 5b8d990
Don't require the bug report checkboxes
AlexWaygood 775339b
Tidy up newlines
AlexWaygood 305bfa8
Update .github/ISSUE_TEMPLATE/feature.yml
AlexWaygood 5ad5344
Update .github/ISSUE_TEMPLATE/bug.yml
AlexWaygood 08dc736
Switch back to 'CPython main branch'
AlexWaygood File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
name: Bug report | ||
description: Submit a bug report | ||
labels: ["type-bug"] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
# New to Python? | ||
|
||
The issue tracker isn't the right place to get help. Consider instead: | ||
|
||
- reading the [Python tutorial](https://docs.python.org/3/tutorial/) | ||
- posting on [Discourse](https://discuss.python.org/c/users/7) | ||
- emailing [python-list](https://mail.python.org/mailman/listinfo/python-list) | ||
- type: checkboxes | ||
attributes: | ||
AlexWaygood marked this conversation as resolved.
Show resolved
Hide resolved
|
||
label: Checklist | ||
description: A bug in a third-party project (e.g. `pip` or `requests`) should be reported to that project's issue tracker, not CPython | ||
AlexWaygood marked this conversation as resolved.
Show resolved
Hide resolved
|
||
options: | ||
- label: I am confident this is a bug in CPython, not a bug in a third-party project | ||
required: true | ||
- label: | | ||
I have searched the [CPython issue tracker](https://github.com/python/cpython/issues?q=is%3Aissue+sort%3Acreated-desc), | ||
and am confident this bug has not been reported before | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: A clear and concise description of the bug | ||
description: | | ||
AlexWaygood marked this conversation as resolved.
Show resolved
Hide resolved
|
||
Tell us what happened. | ||
Include a [minimal, reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) if possible. | ||
Put any code blocks inside triple backticks. | ||
|
||
value: | | ||
```py | ||
your code here | ||
``` | ||
AlexWaygood marked this conversation as resolved.
Show resolved
Hide resolved
|
||
validations: | ||
required: true | ||
- type: dropdown | ||
attributes: | ||
label: CPython versions tested on | ||
multiple: true | ||
options: | ||
- "3.8" | ||
- "3.9" | ||
- "3.10" | ||
- "3.11" | ||
- "3.12" | ||
- "CPython main branch" | ||
AlexWaygood marked this conversation as resolved.
Show resolved
Hide resolved
|
||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Operating systems and architectures tested on | ||
AlexWaygood marked this conversation as resolved.
Show resolved
Hide resolved
AlexWaygood marked this conversation as resolved.
Show resolved
Hide resolved
|
||
validations: | ||
required: false | ||
- type: textarea | ||
attributes: | ||
label: Any other relevant information | ||
validations: | ||
required: false | ||
AlexWaygood marked this conversation as resolved.
Show resolved
Hide resolved
|
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name: Crash report | ||
description: A hard crash of the interpreter, possibly with a core dump | ||
labels: ["type-crash"] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
AlexWaygood marked this conversation as resolved.
Show resolved
Hide resolved
|
||
This form is for hard crashes of the Python interpreter, segmentation faults, failed C-level assertions, and similar. | ||
Exceptions unexpectedly raised from stdlib Python functions count as bugs rather than crashes. | ||
AlexWaygood marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
The CPython interpreter is written in a different programming language, C. | ||
A "CPython crash" is when Python itself fails, leading to a traceback in the C stack. | ||
AlexWaygood marked this conversation as resolved.
Show resolved
Hide resolved
AlexWaygood marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- type: textarea | ||
attributes: | ||
label: What happened? | ||
description: > | ||
Include a [minimal, reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) if possible. | ||
Put any code blocks inside triple backticks. | ||
|
||
value: | | ||
```py | ||
your code here | ||
AlexWaygood marked this conversation as resolved.
Show resolved
Hide resolved
|
||
``` | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Error messages | ||
description: Enter any error messages caused by the crash, including a core dump if there is one | ||
AlexWaygood marked this conversation as resolved.
Show resolved
Hide resolved
|
||
validations: | ||
required: false | ||
- type: dropdown | ||
attributes: | ||
label: CPython versions tested on | ||
multiple: true | ||
options: | ||
- "3.8" | ||
- "3.9" | ||
- "3.10" | ||
- "3.11" | ||
- "3.12" | ||
- "CPython main branch" | ||
AlexWaygood marked this conversation as resolved.
Show resolved
Hide resolved
|
||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Operating system and architecture tested on | ||
validations: | ||
required: false | ||
AlexWaygood marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- type: textarea | ||
attributes: | ||
label: Any other relevant information | ||
validations: | ||
required: false |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Feature or enhancement | ||
description: Submit a proposal for a new CPython feature or enhancement | ||
labels: ["type-feature"] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: > | ||
# Proposing a feature to CPython? | ||
|
||
You'll need to demonstrate widespread support for your idea among the community. | ||
|
||
Major feature proposals should generally be discussed on [Discourse](https://discuss.python.org/c/ideas/6) before opening a GitHub issue. | ||
Wait until it's clear that most people support your idea before filling in this form. | ||
- type: checkboxes | ||
attributes: | ||
label: Has this already been discussed elsewhere? | ||
options: | ||
- label: I have already discussed this feature proposal on Discourse | ||
- label: This is a minor feature, which does not need previous discussion elsewhere | ||
- type: textarea | ||
attributes: | ||
label: Links to previous discussion of this feature | ||
validations: | ||
required: false | ||
- type: textarea | ||
attributes: | ||
label: Summary of proposal | ||
description: A clear and concise summary of your proposal | ||
validations: | ||
required: true | ||
- type: textarea | ||
AlexWaygood marked this conversation as resolved.
Show resolved
Hide resolved
|
||
attributes: | ||
label: Pitch | ||
description: > | ||
Explain why this feature or enhancement should be implemented and how it would be used. | ||
Add examples, if applicable. | ||
Put any code blocks inside triple backticks. | ||
value: | | ||
```py | ||
your code here | ||
AlexWaygood marked this conversation as resolved.
Show resolved
Hide resolved
|
||
``` | ||
validations: | ||
required: true |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.