Skip to content

Commit c9e1bff

Browse files
author
Jimmy Lai
committed
bpo-33494: Change dataclasses.Fields repr to use the repr of each of its members (pythonGH-6798)
2 parents d914928 + 7ffd4c5 commit c9e1bff

File tree

1,425 files changed

+89420
-33724
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,425 files changed

+89420
-33724
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Lib/test/decimaltestdata/*.decTest -text
2626
Lib/test/test_email/data/*.txt -text
2727
Lib/test/xmltestdata/* -text
2828
Lib/test/coding20731.py -text
29+
Lib/test/test_importlib/data01/* -text
2930

3031
# CRLF files
3132
*.bat text eol=crlf

.github/CODEOWNERS

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,24 @@
55
# https://git-scm.com/docs/gitignore#_pattern_format
66

77
# asyncio
8-
**/*asyncio* @1st1
8+
**/*asyncio* @1st1 @asvetlov
99

1010
# Core
11+
**/*context* @1st1
1112
**/*genobject* @1st1
13+
**/*hamt* @1st1
1214

1315
# Hashing
1416
**/*hashlib* @python/crypto-team
1517
**/*pyhash* @python/crypto-team
1618

17-
# Import (including importlib)
18-
**/*import* @python/import-team
19+
# Import (including importlib).
20+
# Ignoring importlib.h so as to not get flagged on
21+
# all pull requests that change the the emitted
22+
# bytecode.
23+
**/*import*.c @python/import-team
24+
**/*import*.py @python/import-team
25+
1926

2027
# SSL
2128
**/*ssl* @python/crypto-team
@@ -50,4 +57,8 @@ Python/bootstrap_hash.c @python/crypto-team
5057
**/*functools* @ncoghlan @rhettinger
5158
**/*decimal* @rhettinger @skrah
5259

60+
**/*dataclasses* @ericvsmith
61+
5362
**/*idlelib* @terryjreedy
63+
64+
**/*typing* @gvanrossum @ilevkivskyi

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,30 @@
1-
!!! If this is a backport PR (PR made against branches other than `master`),
1+
<!--
2+
Thanks for your contribution!
3+
Please read this comment in its entirety. It's quite important.
4+
5+
# Pull Request title
6+
7+
It should be in the following format:
8+
9+
```
10+
bpo-NNNN: Summary of the changes made
11+
```
12+
13+
Where: bpo-NNNN refers to the issue number in the https://bugs.python.org.
14+
15+
Most PRs will require an issue number. Trivial changes, like fixing a typo, do not need an issue.
16+
17+
# Backport Pull Request title
18+
19+
If this is a backport PR (PR made against branches other than `master`),
220
please ensure that the PR title is in the following format:
21+
322
```
423
[X.Y] <title from the original PR> (GH-NNNN)
524
```
25+
626
Where: [X.Y] is the branch name, e.g. [3.6].
727
828
GH-NNNN refers to the PR number from `master`.
929
10-
PLEASE: Remove this headline!!!
30+
-->

.github/appveyor.yml

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,37 @@
1-
version: 3.7.0a0.{build}
1+
version: 3.8build{build}
22
clone_depth: 5
33
branches:
44
only:
55
- master
66
- /\d\.\d/
77
- buildbot-custom
88
cache:
9-
- externals -> PCbuild\*
9+
- externals -> PCbuild
10+
before_build:
11+
- ps: |+
12+
if ($env:APPVEYOR_RE_BUILD) {
13+
echo 'Doing full build due to re-build request.'
14+
} elseif (!$env:APPVEYOR_PULL_REQUEST_HEAD_COMMIT) {
15+
echo 'Not a PR, doing full build.'
16+
} else {
17+
git fetch -q origin +refs/heads/$env:APPVEYOR_REPO_BRANCH
18+
$mergebase = git merge-base HEAD FETCH_HEAD
19+
$changes = git diff --name-only HEAD $mergebase | grep -vE '(\.rst$)|(^Doc)|(^Misc)'
20+
If (!$changes) {
21+
echo 'Only docs were updated, stopping build process.'
22+
Exit-AppveyorBuild
23+
}
24+
echo 'Doing full build due to non-doc changes in these files:'
25+
echo $changes
26+
}
27+
28+
1029
build_script:
11-
- cmd: PCbuild\build.bat -e
12-
- cmd: PCbuild\win32\python.exe -m test.pythoninfo
30+
- cmd: PCbuild\build.bat -e
31+
- cmd: PCbuild\win32\python.exe -m test.pythoninfo
1332
test_script:
14-
- cmd: PCbuild\rt.bat -q -uall -u-cpu -rwW --slowest --timeout=1200 --fail-env-changed -j0
33+
- cmd: PCbuild\rt.bat -q -uall -u-cpu -rwW --slowest --timeout=1200 --fail-env-changed -j0
1534
environment:
1635
HOST_PYTHON: C:\Python36\python.exe
1736
image:
1837
- Visual Studio 2017
19-
20-
# Only trigger AppVeyor if actual code or its configuration changes
21-
only_commits:
22-
files:
23-
- .github/appveyor.yml
24-
- .gitattributes
25-
- Grammar/
26-
- Include/
27-
- Lib/
28-
- Modules/
29-
- Objects/
30-
- PC/
31-
- PCbuild/
32-
- Parser/
33-
- Programs/
34-
- Python/
35-
- Tools/

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# added for local development
2+
.buildaix/
3+
Modules/python.exp
4+
buildaix/
5+
installp/
6+
.gitignore
7+
18
# Two-trick pony for OSX and other case insensitive file systems:
29
# Ignore ./python binary on Unix but still look into ./Python/ directory.
310
/python
@@ -106,3 +113,5 @@ Tools/ssl/amd64
106113
Tools/ssl/win32
107114
.vs/
108115
.vscode/
116+
gmon.out
117+
.mypy_cache/

.hgeol

Lines changed: 0 additions & 58 deletions
This file was deleted.

.hgignore

Lines changed: 0 additions & 106 deletions
This file was deleted.

0 commit comments

Comments
 (0)