Skip to content
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

Rebase to Python 3.8 (master) #2

Closed
wants to merge 896 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
896 commits
Select commit Hold shift + click to select a range
b8c0845
remove hg support from patchcheck (GH-7440)
benjaminp Jun 6, 2018
b5d702e
bpo-31044, test_posix: Reenable makedev() tests on FreeBSD (#7449)
vstinner Jun 6, 2018
36c60fb
test.support.SaveSignals: fix typo (GH-7448)
vstinner Jun 6, 2018
45e4efb
bpo-33781: audioop: enhance rounding double as int (GH-7447)
vstinner Jun 6, 2018
492d642
bpo-33773: Fix test.support.fd_count() on Linux/FreBSD (GH-7421)
vstinner Jun 6, 2018
3ef769f
bpo-28240: timeit: Update repeat() doc (GH-7419)
vstinner Jun 6, 2018
0eba7c3
bpo-33789: test_asyncio: Fix ResourceWarning (GH-7460)
vstinner Jun 6, 2018
7ed61e9
bpo-33789, test_asyncio: Hide PendingDeprecationWarning (GH-7461)
vstinner Jun 6, 2018
9f04f0d
bpo-32676, test_asyncio: Fix warning in test_error_in_call_soon() (GH…
vstinner Jun 6, 2018
7c69c1c
update to Unicode 11.0.0 (closes bpo-33778) (GH-7439)
benjaminp Jun 7, 2018
5bfa058
bpo-33274: Compliance with DOM L1: return removed attribute (#7465)
arikrupnik Jun 7, 2018
fffeb6f
bpo-30436: Add missing space in importlib.util.find_spec() error mess…
ZackerySpytz Jun 7, 2018
cebe80b
bpo-29235: Update document for Profiler's context manager (GH-7331)
Jun 7, 2018
bb6366b
bpo-17909: Document that json.load can accept a binary IO (GH-7366)
asottile Jun 7, 2018
34b7346
update 3.7 whatsnew entry about Unicode version (GH-7480)
benjaminp Jun 7, 2018
e7adf2b
bpo-33796: Ignore ClassVar for dataclasses.replace(). (GH-7488)
ericvsmith Jun 7, 2018
d3ed67d
bpo-33609: small wording fixes to dict ordering docs
nascheme Jun 7, 2018
79790bc
bpo-33694: Fix race condition in asyncio proactor (GH-7498)
vstinner Jun 7, 2018
bed523b
bpo-33642 and bpo-33679: Revise and condense blurbs (GH-7500)
terryjreedy Jun 7, 2018
c4f3cb7
bpo-33615: Skip test__xxsubinterpreters (GH-7503)
vstinner Jun 8, 2018
378c53c
bpo-33803: Fix a crash in hamt.c (#7504)
1st1 Jun 8, 2018
52698c7
bpo-33786: Fix asynchronous generators to handle GeneratorExit in ath…
1st1 Jun 8, 2018
8f40429
bpo-33792: Add selector and proactor windows policies (GH-7487)
1st1 Jun 8, 2018
ee994d7
bpo-33791: Update README for macOS users (GH-7471)
atg7000 Jun 8, 2018
4aa3006
bpo-33197: Add description property for _ParameterKind. (GH-7206)
corona10 Jun 8, 2018
041272b
bpo-33768: IDLE: Clicking on code context line moves it to top of edi…
csabella Jun 8, 2018
b1f6902
Update idlelib/NEWS.txt to 2018 Jun 8 am. (GH-7517)
terryjreedy Jun 8, 2018
396ecb9
bpo-33799: Remove non-ordered dicts comments from FAQ
andresdelfino Jun 8, 2018
c45fc76
bpo-33718: regrtest: use "xxx then yyy" result if re-run (GH-7521)
vstinner Jun 8, 2018
ff6c077
bpo-33694: Fix typo in helper function name (GH-7522)
vstinner Jun 8, 2018
66f02aa
bpo-11874: fix assertion failure in argparse metavar handling (GH-1826)
wimglenn Jun 8, 2018
214f18e
bpo-33802: Do not interpolate in ConfigParser while reading defaults …
ambv Jun 8, 2018
6860629
bpo-33798: Update csv document about dict order (GH-7490)
andresdelfino Jun 8, 2018
c0d062f
bpo-33736: Improve the documentation of asyncio stream APIs (GH-7326)
elprans Jun 8, 2018
9e6685e
bpo-33807: Add Python 3.7 buildbot link to '.github/CONTRIBUTING.rst'…
suriyaa Jun 8, 2018
4f54867
bpo-33197: Add versionadded tag to the documentation of ParameterKind…
corona10 Jun 8, 2018
3b0b90c
bpo-33800: Fix default argument for parameter dict_type of ConfigPars…
andresdelfino Jun 8, 2018
11a8966
bpo-33375: Get filename for warnings from frame.f_code.co_filename (G…
takluyver Jun 8, 2018
1cbdb22
bpo-33801: Remove non-ordered dict comment from plistlib doc (GH-7495)
andresdelfino Jun 8, 2018
12f482e
bpo-30805: Avoid race condition with debug logging (GH-7545)
1st1 Jun 8, 2018
4c3e39f
Datetime test coverage (#7544)
abalkin Jun 8, 2018
bcb032e
bpo-33810 Remove unused code from datetime.py. (GH-7549)
abalkin Jun 8, 2018
4acc140
Fix indendation level of versionchanged directive in configparser.ite…
andresdelfino Jun 9, 2018
1bcb8a6
bpo-33409: Clarify PEP 538/540 relationship (GH-7534)
ncoghlan Jun 9, 2018
3f45f5d
bpo-33375: Fix GCC warning in Python/_warnings.c (GH-7556)
ZackerySpytz Jun 9, 2018
ea62ce7
bpo-33738: Fix macros which contradict PEP 384 (GH-7477)
ctismer Jun 9, 2018
ced0adb
bpo-32493: Correct test for uuid_enc_be availability in configure.ac.…
ned-deily Jun 9, 2018
7e0d882
doc: Fix typo in asyncio-eventloop.rst (GH-7345)
Jun 9, 2018
0aa17ee
bpo-33766: Document that end of file or string is a newline (GH-7383)
ammaraskar Jun 9, 2018
0e0534c
Fix typo in object.__getnewargs__() documentation (GH-7554)
andresdelfino Jun 10, 2018
d689f97
Remove hyphens from phrase "picks up where it left off" (GH-7410)
andresdelfino Jun 10, 2018
98a0e46
Fix spaces added after hyphens in news entries. (GH-7579)
serhiy-storchaka Jun 10, 2018
1b85c71
bpo-33770: improve base64 exception message for encoded inputs of inv…
taleinat Jun 10, 2018
4ab4695
bpo-33748: fix tests altering sys.path and sys.modules (GH-7433)
taleinat Jun 10, 2018
69dccc3
Remove unneeded PyErr_Occurred() check in os_lseek_impl() (GH-7557)
ZackerySpytz Jun 10, 2018
e226eb7
bpo-33820: Update idlelib subsection of What's New 3.6 (GH-7589)
terryjreedy Jun 10, 2018
222f7f4
bpo-33821: Update idlelib subsection of What's New 3.7 (#7590)
terryjreedy Jun 10, 2018
820c53a
bpo-33820: Fix IDLE What's New typo (#7594)
terryjreedy Jun 10, 2018
af4b013
bpo-33610: Update IDLE Code Context doc entry (GH-7597)
terryjreedy Jun 10, 2018
877b232
bpo-33812: Corrected astimezone for naive datetimes. (GH-7578)
abalkin Jun 10, 2018
8398713
bpo-33738: Address review comments in GH #7477 (GH-7585)
ctismer Jun 10, 2018
2487f30
bpo-30167: Prevent site.main() exception if PYTHONSTARTUP is set. (GH…
steverweber Jun 11, 2018
ef057bf
bpo-33109: Remove now-obsolete What's New entry for bpo-26510. (GH-7609)
ned-deily Jun 11, 2018
12c6cdf
bpo-33745: Add What's New for empty function docstring change. (GH-7611)
ned-deily Jun 11, 2018
9d6d06e
pypi.python.org -> pypi.org (GH-7613)
ned-deily Jun 11, 2018
9d6171d
bpo-23404: Update/sync What's New files for 3.6/3.5/2.7 (GH-7620)
ned-deily Jun 11, 2018
5cbefa9
Clean up after bpo-33738. (GH-7627)
serhiy-storchaka Jun 11, 2018
2c071ce
bpo-30820: Remove incorrect docs for email.contentmanager.raw_data_ma…
ZackerySpytz Jun 11, 2018
0e5f901
bpo-33831: Make htmlview run again (GH-7628)
andresdelfino Jun 11, 2018
800415e
bpo-33656: On Windows, add API call saying that tk scales for DPI (GH…
terryjreedy Jun 11, 2018
8a05f55
bpo-33656: Add entry to What's New 3.7. (GH-7638)
terryjreedy Jun 11, 2018
fd88f31
bpo-33656: Add enum name for argument of Windows call. (GH-7642)
terryjreedy Jun 11, 2018
46c5cd0
bpo-33582: Emit deprecation warning for `formatargspec` (GH-6994)
Carreau Jun 11, 2018
4b704f2
bpo-33656: Mention color in idlelib/NEWS.txt entry. (#7646)
terryjreedy Jun 11, 2018
ef24b6c
bpo-31432: Clarify ssl CERT_NONE/OPTIONAL/REQUIRED docs. (GH-3530)
tiran Jun 11, 2018
4531ec7
bpo-31432: Revert unrelated code changes to _ssl.c and test_ssl (GH-7…
ned-deily Jun 12, 2018
378edcd
Update macOS installer Welcome and ReadMe files for 3.7.0. (GH-7653)
ned-deily Jun 12, 2018
41254eb
bpo-33582: Remove duplicate space in inspect.formatargspec() deprecat…
ZackerySpytz Jun 12, 2018
04290cb
bpo-25612: Add minimal What's New in 3.7 entry (GH-7656)
ned-deily Jun 12, 2018
5a98209
Fix nested list in 3.7 What's New (GH-7659)
ned-deily Jun 12, 2018
c3f55be
bpo-27397: Make email module properly handle invalid-length base64 st…
taleinat Jun 12, 2018
33cd058
bpo-32108: Don't clear configparser values if key is assigned to itse…
csabella Jun 12, 2018
4a172cc
bpo-33671: efficient zero-copy for shutil.copy* functions (Linux, OSX…
giampaolo Jun 12, 2018
eeb99bd
Fixes upload script to always run commands even when previous ones fa…
zooba Jun 12, 2018
b9d8ad5
bpo-33828: Add missing versionchanged note for string.Formatter. (GH-…
zhangyangyu Jun 13, 2018
71ede00
bpo-31378: Document sqlite3.OperationalError exception (GH-7677)
ZackerySpytz Jun 13, 2018
ab4a198
bpo-33615: Re-enable subinterpreter tests. (#7552)
ericsnowcurrently Jun 13, 2018
dfa9643
bpo-19382: Adding test cases for module tabnanny (GH-851)
ultimatecoder Jun 14, 2018
4ffe9c2
bpo-33718: regrtest: use format_duration() to display failed tests (G…
vstinner Jun 14, 2018
019d33b
bpo-32962: python-gdb catchs ValueError on read_var() (GH-7692)
vstinner Jun 14, 2018
d22fc0b
bpo-32962: python-gdb catchs UnicodeDecodeError (GH-7693)
vstinner Jun 14, 2018
9e7c921
bpo-17045: Improve C-API doc for PyTypeObject. (gh-7413)
ericsnowcurrently Jun 14, 2018
08f127a
bpo-33851: Fix ast.get_docstring() for a node that lacks a docstring.…
serhiy-storchaka Jun 15, 2018
ceeef10
bpo-33818: PyExceptionClass_Name() will now return "const char *". (G…
serhiy-storchaka Jun 15, 2018
d134809
bpo-29456: Fix bugs in unicodedata.normalize: u1176, u11a7 and u11c3 …
Pusnow Jun 15, 2018
c1897ed
gitattribute: Mark generated files (GH-7619)
methane Jun 15, 2018
9b7c74c
bpo-32962: Fix test_gdb failure in debug build with -mcet -fcf-protec…
Jun 15, 2018
4fddd4e
bpo-33852: Remove misplaced parentheses around 'list'. (GH-7672)
andresdelfino Jun 15, 2018
6951186
bpo-33847: Add '@' operator entry to index (GH-7669)
andresdelfino Jun 15, 2018
a9d0b34
bpo-33854: Add PEP 461 title to 'See also' note (GH-7688)
andresdelfino Jun 15, 2018
2f9cbaa
Revert "bpo-32962: Fix test_gdb failure in debug build with -mcet -fc…
vstinner Jun 15, 2018
6c5a4b3
bpo-33824, bpo-32030: Fix pymain_read_conf() (GH-7712)
vstinner Jun 15, 2018
ee5ef30
bpo-33855: Minimally test all IDLE modules. (GH-7689)
terryjreedy Jun 15, 2018
3a6d752
Add missing va_end() calls in PC/launcher.c (GH-7690)
ZackerySpytz Jun 15, 2018
cac4fef
bpo-33873: regrtest: Add warning on -R 1:3 (GH-7736)
pablogsal Jun 16, 2018
7469ff5
Use singular, we are talking about the access (GH-7727)
andresdelfino Jun 16, 2018
2707e41
bpo-33836: Recommend keyword-only param for memoization in FAQ (GH-7687)
noahhaasis Jun 16, 2018
6868003
bpo-33571: Improve the glossary description for '...' prompt (GH-6971)
andresdelfino Jun 16, 2018
b193fa9
bpo-33499: Add PYTHONPYCACHEPREFIX env var for alt bytecode cache loc…
carljm Jun 16, 2018
c151f78
bpo-33859: Fix spelling mistakes in docs. (GH-7691)
tirkarthi Jun 16, 2018
17a0088
bpo-33861: Minor improvements of tests for os.path. (GH-7715)
serhiy-storchaka Jun 16, 2018
9d49f85
bpo-33856: Add "help" to the welcome message of IDLE (GH-7755)
matrixise Jun 16, 2018
5092439
bpo-33892: Doc: Use gender neutral words (GH-7770)
andresdelfino Jun 18, 2018
ea3dc80
bpo-33855: More edits and new minimal tests for IDLE (GH-7761)
terryjreedy Jun 18, 2018
e57f91a
bpo-33866: enum: Stop using OrderedDict (GH-7698)
methane Jun 18, 2018
b36b0a3
bpo-33663: Convert content length to string before putting to header …
ValeriyaSinevich Jun 18, 2018
cb97073
bpo-33630: Fix using of freed memory in old versions of glicb for pos…
pablogsal Jun 19, 2018
698865d
bpo-33843: Remove deprecated stuff in cgi module (GH-7662)
methane Jun 19, 2018
fc93bd4
Change tp_size to tp_basicsize in comment and realign the comments (G…
mr-nfamous Jun 19, 2018
22525de
Use more specific asserts in dbm tests. (GH-7786)
serhiy-storchaka Jun 19, 2018
1261bfa
bpo-33901: Fix test_dbm_gnu for gdbm 1.15 (GH-7791)
vstinner Jun 19, 2018
936f03e
bpo-33365: print the header values beside the keys (GH-6611)
lethliel Jun 19, 2018
c7f02a9
bpo-33671 / shutil.copyfile: use memoryview() with dynamic size on Wi…
giampaolo Jun 19, 2018
c44d8e5
bpo-33901: Better test_dbm_gnu.test_reorganize() fix (GH-7795)
vstinner Jun 19, 2018
06fe77a
bpo-30345: Add -g to LDFLAGS for LTO (GH-7709)
vstinner Jun 19, 2018
00f9edb
bpo-33901: Add _gdbm._GDBM_VERSION (GH-7794)
vstinner Jun 19, 2018
4d92158
bpo-33855: Still more edits and minimal tests for IDLE (GH-7784)
terryjreedy Jun 19, 2018
06e2029
bpo-33907: Rename an IDLE module and class. (GH-7807)
terryjreedy Jun 20, 2018
acdc660
bpo-33908: Remove two superfluous assignments (GH-7116)
srinivasreddy Jun 20, 2018
9af1836
bpo-33907: Rename an IDLE module and classes. (GH-7810)
terryjreedy Jun 20, 2018
9bb9223
bpo-33904: In IDLE's rstrip, rename class RstripExtension as Rstrip …
srinivasreddy Jun 20, 2018
fd8fbce
bpo-33746: Fix test_unittest.testRegisterResult() in verbose mode (GH…
vstinner Jun 20, 2018
16eb3bc
bpo-33499: PYTHONPYCACHEPREFIX What's New entry (GH-7749)
ncoghlan Jun 20, 2018
b248e95
Fix compiling error when missing gdbm version macros (GH-7823)
zhangyangyu Jun 20, 2018
87a9273
bpo-33917: Fix and document idlelib/idle_test/template.py (GH-7830)
terryjreedy Jun 20, 2018
a361e89
bpo-33906: Rename idlelib.windows as window (#7833)
terryjreedy Jun 21, 2018
33c7420
bpo-33924: Change IDLE mainmenu.menudefs key 'windows' to 'window' (…
terryjreedy Jun 21, 2018
940ae60
Clarified the tempfile.tempdir documentation (GH-7829)
srinivasreddy Jun 21, 2018
3ad8dec
bpo-33716, test_concurrent_futures: increase timeout (GH-7828)
pablogsal Jun 21, 2018
419e88d
bpo-33912: Fix test_warnings when run with -Werror (GH-7839)
chrisfrederickson Jun 21, 2018
bcd3a1a
bpo-33905: Add test for idlelib.stackview.StackBrowser. (GH-7852)
terryjreedy Jun 22, 2018
209abf7
bpo-33932: Calling Py_Initialize() twice does nothing (GH-7845)
vstinner Jun 22, 2018
8fbbdf0
bpo-33671: Add support.MS_WINDOWS and support.MACOS (GH-7800)
vstinner Jun 22, 2018
d7da836
Add test coverage reporting for C files (GH-7773)
ammaraskar Jun 22, 2018
c9d43c7
bpo-33877: Remove UNIX qualification for running complete programs (G…
andresdelfino Jun 22, 2018
44742e9
suppress compiler warnings in _cursesmodule.c (#7860)
zhangyangyu Jun 23, 2018
9b7cf75
bpo-33916: Fix bz2 and lzma init when called twice (GH-7843)
vstinner Jun 23, 2018
66ecefc
Remove tp_print implementation (GH-7857)
jdemeyer Jun 23, 2018
3d70f7a
bpo-33805: Improve error message of dataclasses.replace() (GH-7580)
corona10 Jun 23, 2018
38cf49b
bpo-33887: Add TOC to Design and History FAQ(GH-7766)
andresdelfino Jun 23, 2018
5ae70f6
bpo-33950: Remove IDLE htest spec for a deleted file. (GH-7881)
terryjreedy Jun 23, 2018
0ba9a0b
[master] bpo-33885: Replace "hook function" with "callable" (GH-7765)…
andresdelfino Jun 24, 2018
ea73775
bpo-33451: Close pyc files before calling PyEval_EvalCode() (GH-7884)
ZackerySpytz Jun 24, 2018
3f197f9
Enable GUI tests in VSTS Linux builds via xvfb-run (GH-7890)
zware Jun 24, 2018
2af9f5d
bpo-33951: IDLE test_configdialog: call page.update in setUpClass (GH…
taleinat Jun 24, 2018
cf67d6a
bpo-33897: Add a 'force' keyword argument to logging.basicConfig(). (…
corona10 Jun 25, 2018
a8ddf85
bpo-33943: Add references in the docs for logging.basicConfig (GH-7858)
andresdelfino Jun 25, 2018
4a6e746
bpo-33952: Fix typo in str.upper() documentation (GH-7898)
andresdelfino Jun 25, 2018
fdd6e0b
bpo-33573: docs to suggest median() alternatives for non-numeric data…
taleinat Jun 25, 2018
937ee9e
Revert "bpo-33671: Add support.MS_WINDOWS and support.MACOS (GH-7800)…
vstinner Jun 26, 2018
4239773
bpo-33924: Add missed mac-specific 'windows' to 'window' changes (GH-…
roseman Jun 26, 2018
866c168
bpo-33957: Doc: Use better wording (GH-7912)
srinivasreddy Jun 26, 2018
58ed730
bpo-33873: Fix bug in `runtest.py` and add checks for invalid `-R` pa…
pablogsal Jun 26, 2018
4e21100
bpo-33956: update vendored expat to 2.2.5 (GH-7925)
benjaminp Jun 27, 2018
e7d3ccc
bpo-29514: Make magic number test work for candidates
ned-deily Jun 27, 2018
df748c2
use rich markup for PEP reference (GH-7939)
bbmokhtari Jun 27, 2018
3c8043d
bpo-33975: Avoid small type when running IDLE's htests. (GH-7944)
terryjreedy Jun 27, 2018
ddf7171
bpo-24567: Random subnormal.diff (#7954)
rhettinger Jun 27, 2018
f15f66d
bpo-30317, test_multiprocessing: fix test_timeout() (GH-7957)
vstinner Jun 27, 2018
2cc9d21
bpo-33929: multiprocessing: fix handle leak on race condition (GH-7921)
vstinner Jun 27, 2018
0aab866
bpo-33929: Fix regression in spawn_main() (#7962)
vstinner Jun 27, 2018
4a8b037
bpo-31647: Fix bpo typo in NEWS entry. (GH-7964)
twisteroidambassador Jun 27, 2018
74e4aee
Prevent upload script uploading from the wrong directory (GH-7953)
zooba Jun 27, 2018
fbd7172
bpo-30356: Fix test_mymanager_context() of multiprocessing (GH-7968)
vstinner Jun 27, 2018
d2cbfff
bpo-25007: Add copy protocol support to zlib compressors and decompre…
ZackerySpytz Jun 27, 2018
64737e9
bpo-33913: Fix test_multiprocessing_main_handling (GH-7972)
vstinner Jun 27, 2018
4925727
bpo-33715: Fix multiprocessing test_wait_result() (GH-7971)
vstinner Jun 27, 2018
aee5df5
Forward port 3.7.0 final changes
ned-deily Jun 27, 2018
62b6cea
bpo-33958: Doc: Remove unused variable in example (GH-7927)
srinivasreddy Jun 28, 2018
461a1c4
bpo-33842: Remove tarfile.filemode (GH-7661)
methane Jun 28, 2018
e76ac9d
Forward port rest of NEWS changes as of 3.7.0
ned-deily Jun 28, 2018
4d26c8a
bpo-32996: Enhancements to What's New based on feedback (GH-7988)
elprans Jun 28, 2018
9b9d58f
bpo-31546: Fix input hook integration (GH-7978)
tacaswell Jun 28, 2018
41cb0ba
bpo-33985: Implement ContextVar.name attribute. (GH-7980)
1st1 Jun 28, 2018
d904c23
bpo-27500: Fix static version of getaddrinfo to resolve IPv6 (GH-7993)
1st1 Jun 29, 2018
891a1f8
bpo-14117: Make minor tweaks to turtledemo (GH-8002)
terryjreedy Jun 29, 2018
bda9c3e
Fix the indentation in the documentation of bin() and hash() (GH-7998)
andresdelfino Jun 29, 2018
23db935
bpo-25862: Fix assertion failures in io.TextIOWrapper.tell(). (GH-3918)
ZackerySpytz Jun 29, 2018
b57eea1
Add zulipchat badge to readme (GH-7929)
Mariatta Jun 29, 2018
f874bd1
Fix redundant declaration of _PyImport_AddModuleObject (GH-7992)
jeremycline Jun 29, 2018
5bb5bbf
bpo-33974: Fix passing special characters to ttk widgets. (GH-7986)
serhiy-storchaka Jun 30, 2018
0cdf5f4
bpo-32568: make select.epoll() and its docs consistent (#7840)
taleinat Jun 30, 2018
fdb5a50
bpo-25862: Fix several bugs in the _io module. (GH-8026)
serhiy-storchaka Jun 30, 2018
fe524df
Doc: Remove unused image file (GH-8027)
methane Jun 30, 2018
6dc57e2
bpo-31938: Convert selectmodule.c to Argument Clinic (GH-4265)
taleinat Jun 30, 2018
c6cd164
bpo-30660: Doc: Optimize PNG files by optipng (GH-8032)
methane Jul 1, 2018
087570a
bpo-33978: Close existing handlers before logging (re-)configuration.…
tirkarthi Jul 2, 2018
d824ca7
bpo-34006: Revert line length limit for Windows help docs (GH-8051)
zware Jul 2, 2018
23401fb
bpo-33735: Fix test_multiprocessing random failure (GH-8059)
vstinner Jul 3, 2018
3cf1f15
bpo-34019: Fix wrong arguments for Opera Browser (#8047)
kbumsik Jul 3, 2018
831c297
bpo-34018: Doc'd that type names of SQLite converters are case-insens…
sir-sigurd Jul 3, 2018
d8cba5d
bpo-24596: Decref module in PyRun_SimpleFileExFlags() on SystemExit (…
ZackerySpytz Jul 3, 2018
3c45240
bpo-33418: Add tp_clear for function object (GH-8058)
methane Jul 4, 2018
b4588c2
Don't export pending_threadfunc from _testcapi. (GH-8075)
benjaminp Jul 4, 2018
97ae32c
Make GenericAlias_Type and Generic_Type static. (GH-8076)
benjaminp Jul 4, 2018
12a08c4
bpo-34010: Fix tarfile read performance regression (GH-8020)
hajoscher Jul 4, 2018
07888e1
bpo-34040, multiprocessing: Fix test_forkserver_sigkill() (GH-8081)
vstinner Jul 4, 2018
a390cb6
bpo-32942: Fix environment dependent test_script_helper (GH-8034)
LorenzMende Jul 4, 2018
5b6e49a
bpo-30516: Fix documentation issue with -timedelta in datetime (GH-7348)
farhaanbukhsh Jul 4, 2018
bd81cbd
DOC: In `reduce`, refer to `accumulate` (GH-7930)
gerritholl Jul 4, 2018
e69cd16
Minor code refactoring. Compute len() one fewer times on one code pa…
rhettinger Jul 4, 2018
a6e1e41
Update Stackless Python wiki URL (GH-8072)
JulienPalard Jul 5, 2018
3a9bb5f
Removed unused import from tzinfo_examples.py. (GH-7994)
sir-sigurd Jul 5, 2018
fc05e68
bpo-33720: Improve tests for the stack overflow in marshal.loads(). (…
serhiy-storchaka Jul 5, 2018
09bb918
Fix fuzz testing for marshal.loads(). (GH-8106)
serhiy-storchaka Jul 5, 2018
483422f
bpo-34044: subprocess.Popen copies startupinfo (GH-8090)
vstinner Jul 5, 2018
e55ca3f
Fix typo in dataclasses documentation (GH-8102)
tjomk Jul 5, 2018
3ae2e33
classify abs() argument type (GH-8103)
Windsooon Jul 5, 2018
0c4d20b
Add more detail to the Counter.fromkeys() comment block (GH-8124)
rhettinger Jul 5, 2018
f120288
versionadded -> versionchanged for all 'X parameter was added' for un…
sir-sigurd Jul 6, 2018
8d13091
bpo-34043: Optimize tarfile uncompress performance (GH-8089)
methane Jul 6, 2018
3c8aae9
Make TaskStepMethWrapper_Type and TaskWakeupMethWrapper_Type static. …
benjaminp Jul 6, 2018
c4ef489
bpo-33899: Make tokenize module mirror end-of-file is end-of-line beh…
ammaraskar Jul 6, 2018
d8c3e82
Fix GCC warning in Python/hamt.c (GH-7618)
ZackerySpytz Jul 6, 2018
7943c5e
Doc: Remove superfluous markup. (GH-8112)
JulienPalard Jul 6, 2018
c929df3
bpo-20180: complete AC conversion of Objects/stringlib/transmogrify.h…
taleinat Jul 6, 2018
6f19fc6
fix two typos in Objects/odictobject.c comments (GH-8040)
robertzk Jul 6, 2018
c2368cb
bpo-34054: multiprocessing uses time.monotonic() (GH-8118)
vstinner Jul 6, 2018
dc9bc54
Clarify that example in comment is about fromkeys() (GH-8141)
rhettinger Jul 6, 2018
0b75228
bpo-34042: Fix dict.copy() to maintain correct total refcount (GH-8119)
1st1 Jul 6, 2018
e25399b
bpo-23493: json: Change sort_keys in Python encoder same to C (GH-8131)
methane Jul 6, 2018
b0274f2
closes bpo-34056: Always return bytes from _HackedGetData.get_data().…
benjaminp Jul 7, 2018
cb4bae7
Make two PyModuleDef_Slot symbols static in _testmultiphase. (GH-8147)
benjaminp Jul 7, 2018
4629c0d
Hide some symbols from _xxsubinterpreters. (GH-8151)
benjaminp Jul 7, 2018
2800dcf
bpo-34065: Improve the markup of logging.basicConfig() arguments (GH-…
corona10 Jul 7, 2018
86bfed3
Fix typo in TypeVar docstring (#8142)
jdferreira Jul 7, 2018
6cfe45a
Make various internal _testbuffer symbols static. (GH-8160)
benjaminp Jul 7, 2018
03dd0e7
Add missing closing parentheses (GH-8144)
andresdelfino Jul 7, 2018
2d74838
Fix moduleauthor/sectionauthor directives in Enum (GH-8117)
andresdelfino Jul 7, 2018
b6bb77c
bpo-33804: Document that the argument for io.TextIOBase.read() is opt…
andresdelfino Jul 7, 2018
caccca7
bpo-33702: Add some missing links in production lists and do a little…
andresdelfino Jul 7, 2018
ced350b
bpo-28626: rearrange discussion of output formatting to encourage f-s…
akuchling Jul 7, 2018
9b50a7f
Make PySimpleQueueType static. (GH-8175)
benjaminp Jul 7, 2018
9c5ba09
closes bpo-34050: Fix link in SSL docs (GH-8173)
Jul 7, 2018
8d41278
bpo-33888: Use CPython instead of Python in the FAQ (GH-7767)
andresdelfino Jul 7, 2018
0830858
bpo-34041: Allow creating deterministic functions in Connection.creat…
sir-sigurd Jul 8, 2018
25b804a
bpo-31014: Fix the webbrowser module. (GH-7267)
serhiy-storchaka Jul 8, 2018
bc9aa81
bpo-34061: Document sqlite3.NotSupportedError (GH-8172)
Jul 8, 2018
f85af03
Fix margin in sentinel and mock_open (GH-8188)
andresdelfino Jul 9, 2018
9d6c75b
Merge branch 'upstream_master' into pep551
tonybaloney Jul 9, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
17 changes: 17 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,20 @@ Lib/test/test_importlib/data01/* -text
*.proj text eol=crlf
PCbuild/readme.txt text eol=crlf
PC/readme.txt text eol=crlf

# Generated files
# https://github.com/github/linguist#generated-code
Include/graminit.h linguist-generated=true
Python/graminit.h linguist-generated=true
Modules/clinic/*.h linguist-generated=true
Objects/clinic/*.h linguist-generated=true
PC/clinic/*.h linguist-generated=true
Python/clinic/*.h linguist-generated=true
Python/importlib.h linguist-generated=true
Python/importlib_external.h linguist-generated=true
Include/Python-ast.h linguist-generated=true
Python/Python-ast.c linguist-generated=true
Include/opcode.h linguist-generated=true
Python/opcode_targets.h linguist-generated=true
Objects/typeslots.inc linguist-generated=true
Modules/unicodedata_db.h linguist-generated=true
24 changes: 21 additions & 3 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,30 @@
!!! If this is a backport PR (PR made against branches other than `master`),
<!--
Thanks for your contribution!
Please read this comment in its entirety. It's quite important.

# Pull Request title

It should be in the following format:

```
bpo-NNNN: Summary of the changes made
```

Where: bpo-NNNN refers to the issue number in the https://bugs.python.org.

Most PRs will require an issue number. Trivial changes, like fixing a typo, do not need an issue.

# Backport Pull Request title

If this is a backport PR (PR made against branches other than `master`),
please ensure that the PR title is in the following format:

```
[X.Y] <title from the original PR> (GH-NNNN)
```

Where: [X.Y] is the branch name, e.g. [3.7].
Where: [X.Y] is the branch name, e.g. [3.6].

GH-NNNN refers to the PR number from `master`.

PLEASE: Remove this headline!!!
-->
4 changes: 2 additions & 2 deletions .github/appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
version: 3.7build{build}
version: 3.8build{build}
clone_depth: 5
branches:
only:
- master
- /\d\.\d/
- buildbot-custom
cache:
- externals -> PCbuild\*
- externals -> PCbuild
before_build:
- ps: |+
if ($env:APPVEYOR_RE_BUILD) {
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -115,3 +115,4 @@ Tools/ssl/win32
.vs/
.vscode/
gmon.out
.mypy_cache/
30 changes: 25 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,30 @@ matrix:
- cd Doc
# Sphinx is pinned so that new versions that introduce new warnings won't suddenly cause build failures.
# (Updating the version is fine as long as no warnings are raised by doing so.)
- python -m pip install sphinx~=1.6.1 blurb
# The theme used by the docs is stored seperately, so we need to install that as well.
- python -m pip install sphinx~=1.6.1 blurb python-docs-theme
script:
- make check suspicious html SPHINXOPTS="-q -W -j4"
- os: osx
language: c
compiler: clang
# Testing under macOS is optional until testing stability has been demonstrated.
env: OPTIONAL=true
before_install:
# Python 3 is needed for Argument Clinic and multissl
- HOMEBREW_NO_AUTO_UPDATE=1 brew install xz python3
- export PATH=$(brew --prefix)/bin:$(brew --prefix)/sbin:$PATH
- os: linux
language: c
compiler: gcc
env: OPTIONAL=true
addons:
apt:
packages:
- lcov
before_script:
- ./configure
- make -s -j4
- make coverage -s -j4
# Need a venv that can parse covered code.
- ./python -m venv venv
- ./venv/bin/python -m pip install -U coverage
Expand All @@ -69,16 +83,17 @@ matrix:
after_script: # Probably should be after_success once test suite updated to run under coverage.py.
# Make the `coverage` command available to Codecov w/ a version of Python that can parse all source files.
- source ./venv/bin/activate
- make coverage-lcov
- bash <(curl -s https://codecov.io/bash)


before_install:
- set -e
- |
# Check short-circuit conditions
if [ "${TESTING}" != "docs" ]
if [[ "${TESTING}" != "docs" ]]
then
if [ "$TRAVIS_PULL_REQUEST" = "false" ]
if [[ "$TRAVIS_PULL_REQUEST" == "false" ]]
then
echo "Not a PR, doing full build."
else
Expand All @@ -101,7 +116,7 @@ before_install:
install:
- |
# Install OpenSSL as necessary
if [ "${TESTING}" != "docs" ]
if [[ "${TESTING}" != "docs" ]]
then
# clang complains about unused-parameter a lot, redirect stderr
python3 Tools/ssl/multissltests.py --steps=library \
Expand Down Expand Up @@ -139,6 +154,11 @@ script:

notifications:
email: false
webhooks:
urls:
- https://python.zulipchat.com/api/v1/external/travis?api_key=QTP4LAknlFml0NuPQmAetvH4KQaokiQE&stream=core%2Ftest+runs
on_success: change
on_failure: always
irc:
channels:
# This is set to a secure variable to prevent forks from notifying the
Expand Down
3 changes: 2 additions & 1 deletion .vsts/linux-buildbot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ steps:
liblzma-dev
libffi-dev
uuid-dev
xvfb
displayName: 'Install dependencies'
- script: python3 Tools/ssl/multissltests.py --steps=library --base-directory $(build.sourcesDirectory)/multissl --openssl $(OPENSSL) --system Linux
displayName: 'python multissltests.py'
Expand All @@ -67,5 +68,5 @@ steps:
- script: make pythoninfo
displayName: 'Display build info'

- script: make buildbottest TESTOPTS="-j4 -uall,-cpu"
- script: xvfb-run make buildbottest TESTOPTS="-j4 -uall,-cpu"
displayName: 'Tests'
3 changes: 2 additions & 1 deletion .vsts/linux-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ steps:
liblzma-dev
libffi-dev
uuid-dev
xvfb
displayName: 'Install dependencies'
- script: python3 Tools/ssl/multissltests.py --steps=library --base-directory $(build.sourcesDirectory)/multissl --openssl $(OPENSSL) --system Linux
displayName: 'python multissltests.py'
Expand All @@ -70,7 +71,7 @@ steps:
- script: ./venv/bin/python -m test.pythoninfo
displayName: 'Display build info'

- script: ./venv/bin/python -m coverage run --pylib -m test --fail-env-changed -uall,-cpu -x test_multiprocessing_fork -x test_multiprocessing_forkserver -x test_multiprocessing_spawn -x test_concurrent_futures
- script: xvfb-run ./venv/bin/python -m coverage run --pylib -m test --fail-env-changed -uall,-cpu -x test_multiprocessing_fork -x test_multiprocessing_forkserver -x test_multiprocessing_spawn -x test_concurrent_futures
displayName: 'Tests with coverage'

- script: source ./venv/bin/activate && bash <(curl -s https://codecov.io/bash)
Expand Down
1 change: 1 addition & 0 deletions .vsts/linux-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ steps:
liblzma-dev
libffi-dev
uuid-dev
xvfb
displayName: 'Install dependencies'
- script: python3 Tools/ssl/multissltests.py --steps=library --base-directory $(build.sourcesDirectory)/multissl --openssl $(OPENSSL) --system Linux
displayName: 'python multissltests.py'
3 changes: 2 additions & 1 deletion .vsts/linux-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ steps:
liblzma-dev
libffi-dev
uuid-dev
xvfb
displayName: 'Install dependencies'
- script: python3 Tools/ssl/multissltests.py --steps=library --base-directory $(build.sourcesDirectory)/multissl --openssl $(OPENSSL) --system Linux
displayName: 'python multissltests.py'
Expand All @@ -71,5 +72,5 @@ steps:
- script: ./python Tools/scripts/patchcheck.py --travis true
displayName: 'Run patchcheck.py'

- script: make buildbottest TESTOPTS="-j4 -uall,-cpu"
- script: xvfb-run make buildbottest TESTOPTS="-j4 -uall,-cpu"
displayName: 'Tests'
2 changes: 1 addition & 1 deletion Doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ clean:

venv:
$(PYTHON) -m venv $(VENVDIR)
$(VENVDIR)/bin/python3 -m pip install -U Sphinx blurb
$(VENVDIR)/bin/python3 -m pip install -U Sphinx blurb python-docs-theme
@echo "The venv has been created in the $(VENVDIR) directory"

dist:
Expand Down
2 changes: 1 addition & 1 deletion Doc/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ tree but are maintained separately and are available from

* `Sphinx <https://pypi.org/project/Sphinx/>`_
* `blurb <https://pypi.org/project/blurb/>`_
* `python-docs-theme <https://pypi.org/project/python-docs-theme/>`_

The easiest way to install these tools is to create a virtual environment and
install the tools into there.


Using make
----------

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/memory.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ operate within the bounds of the private heap.

It is important to understand that the management of the Python heap is
performed by the interpreter itself and that the user has no control over it,
even if she regularly manipulates object pointers to memory blocks inside that
even if they regularly manipulate object pointers to memory blocks inside that
heap. The allocation of heap space for Python objects and other internal
buffers is performed on demand by the Python memory manager through the Python/C
API functions listed in this document.
Expand Down
Loading