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 remote-tracking branch 'upstream/main' into unifyunion
- Loading branch information
Showing
2,104 changed files
with
116,806 additions
and
65,581 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# gh-91960: Job disabled since Python is out of free credit (September 2023): | ||
# https://discuss.python.org/t/freebsd-gets-a-new-cirrus-ci-github-action-job-and-a-new-buildbot/33122/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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
[run] | ||
branch = True | ||
|
||
[report] | ||
# Regexes for lines to exclude from consideration | ||
exclude_lines = | ||
# Don't complain if non-runnable code isn't run: | ||
if 0: | ||
if __name__ == .__main__.: | ||
raise AssertionError\( | ||
|
||
# Empty bodies in protocols or abstract methods | ||
^\s*def [a-zA-Z0-9_]+\(.*\)(\s*->.*)?:\s*\.\.\.(\s*#.*)?$ | ||
^\s*\.\.\.(\s*#.*)?$ | ||
|
||
.*# pragma: no cover | ||
.*# pragma: no branch | ||
|
||
# Additions for IDLE: | ||
.*# htest # | ||
if not (_htest or _utest): | ||
if not .*_utest: | ||
if .*_htest: | ||
|
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 |
---|---|---|
|
@@ -8,5 +8,8 @@ indent_style = space | |
[*.{py,c,cpp,h}] | ||
indent_size = 4 | ||
|
||
[*.rst] | ||
indent_size = 3 | ||
|
||
[*.yml] | ||
indent_size = 2 |
Oops, something went wrong.