forked from python/cpython
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into deepcopy_c_implementation
- Loading branch information
Showing
1,156 changed files
with
44,883 additions
and
23,368 deletions.
There are no files selected for viewing
This file contains 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,26 @@ | ||
freebsd_task: | ||
freebsd_instance: | ||
matrix: | ||
- image: freebsd-13-2-release-amd64 | ||
# Turn off TCP and UDP blackhole. It is not enabled by default in FreeBSD, | ||
# but it is in the FreeBSD GCE images as used by Cirrus-CI. It causes even | ||
# local local connections to fail with ETIMEDOUT instead of ECONNREFUSED. | ||
# For more information see https://reviews.freebsd.org/D41751 and | ||
# https://github.com/cirruslabs/cirrus-ci-docs/issues/483. | ||
sysctl_script: | ||
- sysctl net.inet.tcp.blackhole=0 | ||
- sysctl net.inet.udp.blackhole=0 | ||
configure_script: | ||
- mkdir build | ||
- cd build | ||
- ../configure --with-pydebug | ||
build_script: | ||
- cd build | ||
- make -j$(sysctl -n hw.ncpu) | ||
pythoninfo_script: | ||
- cd build | ||
- make pythoninfo | ||
test_script: | ||
- cd build | ||
# dtrace fails to build on FreeBSD - see gh-73263 | ||
- make buildbottest TESTOPTS="-j0 -x test_dtrace --timeout=600" |
This file contains 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
This file contains 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
Validating CODEOWNERS rules …
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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,55 @@ | ||
name: Bug report | ||
description: Submit a bug report | ||
labels: ["type-bug"] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
**New to Python?** | ||
For help or advice on using Python, try one of the following options instead of opening a GitHub issue: | ||
- Asking on [Discourse](https://discuss.python.org/c/users/7) or [Stack Overflow](https://stackoverflow.com) | ||
- Reading the [Python tutorial](https://docs.python.org/3/tutorial/) | ||
- Emailing [python-list](https://mail.python.org/mailman/listinfo/python-list) | ||
Make sure to also search the [CPython issue tracker](https://github.com/python/cpython/issues?q=is%3Aissue+sort%3Acreated-desc) to check that the bug has not already been reported. | ||
- type: textarea | ||
attributes: | ||
label: "Bug description:" | ||
description: > | ||
Give a clear and concise description of what happened. | ||
Include a [minimal, reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) if possible. | ||
[Copy and paste code where possible rather than using screenshots](https://meta.stackoverflow.com/a/285557/13990016), | ||
and put any code blocks inside triple backticks. | ||
value: | | ||
```python | ||
# Add a code block here, if required | ||
``` | ||
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" | ||
validations: | ||
required: true | ||
- type: dropdown | ||
attributes: | ||
label: "Operating systems tested on:" | ||
multiple: true | ||
options: | ||
- Linux | ||
- macOS | ||
- Windows | ||
- Other | ||
validations: | ||
required: false |
This file was deleted.
Oops, something went wrong.
This file contains 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: | | ||
This form is for hard crashes of the Python interpreter, segmentation faults, failed C-level assertions, and similar. Unexpected exceptions raised from Python functions in the standard library count as bugs rather than crashes. | ||
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. | ||
- type: textarea | ||
attributes: | ||
label: What happened? | ||
description: > | ||
Include a [minimal, reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) if possible. | ||
[Copy and paste code where possible rather than using screenshots](https://meta.stackoverflow.com/a/285557/13990016), | ||
and put any code blocks inside triple backticks. | ||
value: | | ||
```python | ||
# Add a code block here, if required | ||
``` | ||
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" | ||
validations: | ||
required: true | ||
- type: dropdown | ||
attributes: | ||
label: "Operating systems tested on:" | ||
multiple: true | ||
options: | ||
- Linux | ||
- macOS | ||
- Windows | ||
- Other | ||
validations: | ||
required: false | ||
- type: input | ||
attributes: | ||
label: "Output from running 'python -VV' on the command line:" | ||
description: If you tested with multiple operating systems or architectures, feel free to provide details in the main bug description. | ||
validations: | ||
required: false |
This file was deleted.
Oops, something went wrong.
This file contains 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,40 @@ | ||
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: textarea | ||
attributes: | ||
label: "Proposal:" | ||
description: > | ||
Explain your proposal, why it should be implemented, and how it would be used. | ||
Add examples, if applicable. | ||
Put any code blocks inside triple backticks. | ||
value: | | ||
```python | ||
# Add a code block here, if required | ||
``` | ||
validations: | ||
required: true | ||
- type: dropdown | ||
attributes: | ||
label: Has this already been discussed elsewhere? | ||
options: | ||
- No response given | ||
- I have already discussed this feature proposal on Discourse | ||
- This is a minor feature, which does not need previous discussion elsewhere | ||
multiple: false | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: "Links to previous discussion of this feature:" | ||
validations: | ||
required: false |
This file contains 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
Oops, something went wrong.