Skip to content

3.6 #1968

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

Closed
wants to merge 364 commits into from
Closed

3.6 #1968

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
364 commits
Select commit Hold shift + click to select a range
d9b0b8f
Add Appveyor (GH-324 backport) (GH-491)
zware Mar 10, 2017
faaa80f
Ignore Include/pydtrace_probes.h (#596)
ambv Mar 10, 2017
ff6f371
bpo-28739: Document that f-strings cannot be used as docstring (GH-59…
Mariatta Mar 10, 2017
68c5e4c
bpo-28810: Document BUILD_TUPLE_UNPACK_WITH_CALL bytecode (GH-605)
brettcannon Mar 10, 2017
4807fa8
bpo-28810: Document changes to CALL_FUNCTION opcodes (GH-607)
brettcannon Mar 10, 2017
701f13a
bpo-29784: Fix the reference to shutil.copy in the docs (GH-602) (GH-…
Mariatta Mar 11, 2017
16416c2
bpo-29770: remove outdated PYO related info (GH-590) (GH-612)
zhangyangyu Mar 11, 2017
d7a8d32
tempfile.rst: Fix some typos (GH-610) (GH-618)
Mariatta Mar 11, 2017
b3536df
Only trigger AppVeyor on code or config changes (GH-611 backport) (GH…
zware Mar 11, 2017
df6f3f6
fix subprocess on Windows (GH-391 backport) (GH-623)
zware Mar 11, 2017
7c6d6e0
bpo-29763: Use support.unlink instead of os.unlink (GH-624) (GH-625)
zware Mar 12, 2017
2f38625
bpo-29656: Handle PR branches in 'make patchcheck' (#302) (#626)
ncoghlan Mar 12, 2017
4652d82
bpo-29746: Update marshal docs to Python 3. (#547) (#631)
serhiy-storchaka Mar 12, 2017
61a82a5
bpo-29798: Handle git worktree in `make patchcheck` (#629) (#633)
ncoghlan Mar 12, 2017
c609484
[3.6] bpo-29723: Consistently configure sys.path[0] (#636)
ncoghlan Mar 12, 2017
aac875f
[3.6] bpo-8256: Fixed possible failing or crashing input() (#641)
serhiy-storchaka Mar 12, 2017
fa448de
Fix wrapping into StopIteration of return values in generators and co…
1st1 Mar 12, 2017
99f8d33
bpo-29742: asyncio get_extra_info() throws exception (#525) (#645)
1st1 Mar 12, 2017
7927abb
fix the name of argument to ftplib.FTP.set_pasv and fix wording (GH-6…
zhangyangyu Mar 13, 2017
388e256
ftplib.FTP.retrbinary callback gets a bytes, not a str (GH-652) (GH-657)
zhangyangyu Mar 13, 2017
faa2cc6
bpo-28856: Let %b format for bytes support objects that follow the bu…
zhangyangyu Mar 14, 2017
53b2667
bpo-29800: Fix crashes in partial.__repr__ if the keys of partial.key…
MSeifert04 Mar 15, 2017
02c6fa5
Delete duplicate entry in Misc/NEWS (#673)
berkerpeksag Mar 15, 2017
78add33
Change assertRaises to assertRaisesRegex in test_xmlrpc (#481) (#674)
berkerpeksag Mar 15, 2017
0dfd18a
Fix stderr bug in json.tool test (#346) (#676)
berkerpeksag Mar 16, 2017
9cd5e87
Takes vcruntime140.dll from the correct source. (#684)
zooba Mar 16, 2017
3fce38c
bpo-29820: othergui.rst: Remove outdated information (GH-685) (GH-688)
Mariatta Mar 17, 2017
4ac01f0
update test_socket AEAD test for kernel 4.9 and up (GH-133) (GH-548)
Mariatta Mar 17, 2017
7c20811
Add sockaddr_alg to sock_addr_t (GH-234) (GH-533)
Mariatta Mar 17, 2017
948171b
bpo-16355: Clarify when inspect.getcomments() returns None (#428) (#690)
berkerpeksag Mar 17, 2017
46e81d3
bpo-29808: Do not fail in SysLogHandler constructor if syslog isn't a…
vsajip Mar 17, 2017
49fc153
Combine the C++ header CI build into the main C build (GH-697) (GH-704)
brettcannon Mar 17, 2017
b044120
Drop C++ header compatibility test (#718) (#719)
brettcannon Mar 19, 2017
69eab31
bpo-28749: Fixed the documentation of the mapping codec APIs. (#487) …
serhiy-storchaka Mar 19, 2017
fca705d
bpo-25455: Fixed crashes in repr of recursive buffered file-like obje…
serhiy-storchaka Mar 19, 2017
da88596
bpo-29845: Mark tests that use _testcapi as CPython-only (#711) (#725)
serhiy-storchaka Mar 19, 2017
3d258b1
bpo-29116: Fix error messages for concatenating bytes and bytearray w…
serhiy-storchaka Mar 19, 2017
d1f566f
bpo-29856: Fix typo in curses documentation (GH-730) (GH-731)
Mariatta Mar 20, 2017
6fad409
bpo-28876: bool of large range raises OverflowError (#699) (#734)
serhiy-storchaka Mar 20, 2017
fcd79ad
Fix "NotImplentedError" typo in constants documentation (#692) (#739)
serhiy-storchaka Mar 20, 2017
e9213d9
bpo-27593: Revise git SCM build info. (#744) (#745)
ned-deily Mar 21, 2017
6efc812
Fixes the upload script to purge the CDN correctly and display succes…
zooba Mar 6, 2017
0acdea7
bpo-29719: Remove Date and Release field in whatsnew/3.6 (GH-500)
methane Mar 6, 2017
07e6cbd
Fix the only non-C90 comment to be C90 compatible. (#568)
ndparker Mar 8, 2017
75345c5
[3.6] bpo-29723: Consistently configure sys.path[0] (#636)
ncoghlan Mar 12, 2017
360c49b
Takes vcruntime140.dll from the correct source. (#684)
zooba Mar 16, 2017
8c18fbe
bpo-27593: Revise git SCM build info. (#744) (#745)
ned-deily Mar 21, 2017
69c0db5
Update docs and patchlevel for 3.6.1 final
ned-deily Mar 21, 2017
fe30339
bpo-29859: Fix error messages from return codes for pthread_* calls (…
methane Mar 21, 2017
677df6e
Revert and fix Misc/NEWS after merge error in fca705d53397. (#755)
ned-deily Mar 22, 2017
1688e64
Bump to 3.6.2rc1 development.
ned-deily Mar 22, 2017
f93b994
Merge branch '3.6.1' of github.com:ned-deily/cpython into 3.6
ned-deily Mar 22, 2017
af839fe
bpo-29864: Don't use Py_SIZE for dict object. (#747) (#750)
serhiy-storchaka Mar 22, 2017
72c5113
fix function name in tabnanny documentation (GH-762)
zhangyangyu Mar 22, 2017
c0f3e21
doc: minor fix for library/profile (GH-766)
methane Mar 22, 2017
906118d
bpo-28331: fix impl-detail label is removed when content is translate…
methane Mar 22, 2017
ee51327
Remove an outdated statement in execution model docs (GH-754) (GH-775)
Mariatta Mar 23, 2017
90eafdb
faulthandler: Restore the old sigaltstack during teardown (GH-777) (G…
tich Mar 24, 2017
cc3331f
bpo-29861: release references to multiprocessing Pool tasks (#743) (#…
pitrou Mar 24, 2017
8c8785b
bpo-25803: Avoid incorrect errors raised by Path.mkdir(exist_ok=True)…
serhiy-storchaka Mar 24, 2017
74bfcc3
bpo-28810: Document remaining bytecode changes in 3.6 (GH-651) (GH-808)
brettcannon Mar 24, 2017
5dafaec
bpo-29892: Fix wrong markup on doc-lib-functions (GH-802) (GH-810)
Mariatta Mar 25, 2017
8b82236
bpo-29862: Fix grammar in importlib.reload() exception (GH-809) (GH-811)
Mariatta Mar 25, 2017
ceff32f
bpo-29888: Fix the link referring to the "Python download page" (GH-8…
ned-deily Mar 26, 2017
d2fc782
import sys before we use it on line 9 (GH-828) (GH-833)
Mariatta Mar 27, 2017
abc6848
Treat Sphinx warnings as errors (GH-832) (GH-834)
zware Mar 27, 2017
bc20314
Minor test cleanup (GH-837) (GH-838)
zware Mar 27, 2017
08f9f71
Drop the standard gcc test build on Travis (GH-853) (GH-859)
brettcannon Mar 27, 2017
5965062
bpo-29677: DOC: clarify documentation for `round` (GH-357) (GH-862)
Mariatta Mar 28, 2017
f01de61
bpo-29643: Fix check for --enable-optimizations (GH-869)
methane Mar 28, 2017
c4021af
bpo-16011: clarify that 'in' always returns a boolean value (GH-874)
Mariatta Mar 28, 2017
346dcd6
bpo-28699: fix abnormal behaviour of pools in multiprocessing.pool (G…
zhangyangyu Mar 29, 2017
2609c9e
bpo-29677: DOC: clarify documentation for `round` (GH-877) (GH-892)
Mariatta Mar 30, 2017
da6ad2f
bpo-29917: DOC: Remove link from PyMethodDef (#890) (#894)
orsenthil Mar 30, 2017
1b43a95
Remove an unrequired TODO in test_urllib2. (#897) (#900)
orsenthil Mar 30, 2017
a6b4e19
bpo-27863: Fixed multiple crashes in ElementTree. (#765) (#903)
serhiy-storchaka Mar 30, 2017
bf4bb2e
bpo-29935: Fixed error messages in the index() method of tuple, list …
serhiy-storchaka Mar 30, 2017
7b5b137
bpo-29928: Add f-string to the Glossary (GH-864) (GH-914)
Mariatta Mar 30, 2017
599bb18
bpo-29942: Fix the use of recursion in itertools.chain.from_iterable.…
Yhg1s Mar 30, 2017
8d1f935
Remove catching OSError in ftphandler test. Only URLError is raised i…
orsenthil Mar 31, 2017
4c75fbb
bpo-29952: Use usual terminology of dict (GH-922)
methane Mar 31, 2017
0a17e58
bpo-28810: Update lnotab_notes.txt (GH-665) (GH-919)
Mariatta Mar 31, 2017
7d5d13d
bpo-29953: Fix memory leaks in the replace() method of datetime and t…
serhiy-storchaka Mar 31, 2017
efde51a
bpo-29949: Fix set memory usage regression (GH-945)
methane Apr 1, 2017
4415b82
Add helpful explaination to test_password_manager tests. (#936) (#941)
orsenthil Apr 2, 2017
a71a3ad
bpo-26947: DOC: clarify wording on hashable in glossary (#948) (#957)
orsenthil Apr 2, 2017
90e3518
bpo-29941: Assert fixes (#886) (#955)
Yhg1s Apr 2, 2017
c4e557e
Minor spell fix and formatting fixes in urllib tests. (#959) (#961)
orsenthil Apr 2, 2017
d184c20
Keep the c-api exception doc up-to-date (#966)
cocoatomo Apr 3, 2017
cb1e002
bpo-29725: DOC: add text for arraysize in sqlite3.Cursor (#947) (#985)
orsenthil Apr 4, 2017
ce92be1
remove merge=union attribute for Misc/NEWS (GH-460) (GH-988)
Mariatta Apr 4, 2017
ba980e8
Miscellaneous minor fixes of Misc/NEWS formatting. (#1002) (#1003)
serhiy-storchaka Apr 5, 2017
ed27844
correct parse_qs and parse_qsl test case descriptions. (#968) (#997)
orsenthil Apr 6, 2017
19d61b2
Remove Invalid comment in test_urllib2.py. (#1022)
orsenthil Apr 7, 2017
616d3eb
Fix a minor typo. (#1032) (#1037)
warsaw Apr 7, 2017
d0d575a
bpo-29939: suppress compiler warnings in _ctypes_test (#1038)
vsajip Apr 7, 2017
c26b19d
Expand the PySlice_GetIndicesEx macro. (#1023) (#1044)
serhiy-storchaka Apr 8, 2017
af685f9
bpo-29998: Pickling and copying ImportError now preserves name and pa…
serhiy-storchaka Apr 8, 2017
4c116cb
bpo-29798: Handle git worktree in patchcheck (#1058) (#1060)
ncoghlan Apr 9, 2017
a524d63
bpo-29506: Clarify deep copy note in copy module
ncoghlan Apr 9, 2017
854ca17
Remove invalid comment in urllib.request. (#1055)
orsenthil Apr 9, 2017
90eb7a9
[3.6] Correct typo in configparser.rst (GH-1012) (GH-1025)
Mariatta Apr 9, 2017
577fc04
[3.6] bpo-29549: Fixes docstring for str.index (GH-256) (GH-1028)
Mariatta Apr 9, 2017
28ddd3c
[3.6] Improvements to typing documentation (GH-967) (GH-1053)
Mariatta Apr 9, 2017
03066a0
Remove OSError related comment in urllib.request. (#1072)
orsenthil Apr 10, 2017
f0c4167
[3.6] bpo-30047: Fix a typo in Doc/library/select.rst (GH-1086) (GH-1…
Mariatta Apr 13, 2017
14944c6
bpo-26985: Add missing info of code object in inspect documentation (…
zhangyangyu Apr 13, 2017
bc90250
[3.6] Remove superfluous comment in urllib.error. (GH-1076) (GH-1101)
Mariatta Apr 13, 2017
bd1173f
[3.6] Clarify exception handler scope in contextlib (GH-1103)
Mariatta Apr 13, 2017
9b409ff
[3.6] bpo-29692: contextlib.contextmanager may incorrectly unchain Ru…
Mariatta Apr 13, 2017
97a40b7
bpo-29869: Allow underscores in numeric literals in lib2to3. (GH-752)
nevsan Apr 13, 2017
84c2d75
Revert "bpo-29869: Allow underscores in numeric literals in lib2to3. …
Mariatta Apr 13, 2017
119d94a
bpo-29791: Clarify that flush is keyword-only argument (GH-1093)
berkerpeksag Apr 13, 2017
9366332
bpo-30021: Add examples for re.escape(). (#1048) (#1115)
serhiy-storchaka Apr 13, 2017
04ac853
convert from long long to PyLong loselessly (#1106) (#1121)
benjaminp Apr 13, 2017
c5c24cf
[3.6] Fix a typo in Doc/library/functions.rst (GH-1117) (GH-1123)
Mariatta Apr 13, 2017
2cdf087
[3.6] bpo-29869: Allow underscores in numeric literals in lib2to3. (G…
Mariatta Apr 13, 2017
cbc46af
[3.6] bpo-29694: race condition in pathlib mkdir with flags parents=T…
Mariatta Apr 14, 2017
413a891
Relax test timing (bpo-29861) to avoid sporadic failures (#1120) (#1132)
pitrou Apr 14, 2017
7ac96ec
Fix misplaced positional argument in OS X support library (#1137)
JackMc Apr 14, 2017
2e30eb6
improve alignment autoconf test (#1129) (#1139)
benjaminp Apr 14, 2017
8e72013
[3.6] bpo-29738: Fix memory leak in _get_crl_dp (GH-526) (GH-1142)
Mariatta Apr 15, 2017
05bfbcd
[3.6] bpo-30059: Include Py_Ellipsis in C API documentation (GH-1018)…
MSeifert04 Apr 15, 2017
d5fa5f3
bpo-30068: add missing iter(self) in _io._IOBase.readlines when hint …
zhangyangyu Apr 15, 2017
8e5b52a
bpo-30017: Allowed calling the close() method of the zip entry writer…
serhiy-storchaka Apr 16, 2017
680fea4
bpo-30061: Check if PyObject_Size()/PySequence_Size()/PyMapping_Size(…
serhiy-storchaka Apr 19, 2017
39dedb6
[3.6] bpo-30070: Fixed leaks and crashes in errors handling in the pa…
serhiy-storchaka Apr 19, 2017
e254617
[3.6] bpo-30065: Fixed arguments validation in _posixsubprocess.fork_…
serhiy-storchaka Apr 19, 2017
5fb4bf9
bpo-19225: Remove duplicated description for standard warning categor…
cocoatomo Apr 20, 2017
596e714
bpo-30078: Add an example of passing a path to unittest (GH-1178)
berkerpeksag Apr 20, 2017
83a90b9
Remove redundant comma in argparse HOWTO (GH-1141)
berkerpeksag Apr 20, 2017
df5df13
[3.6] bpo-12414: Update code_sizeof() to take in account co_extra mem…
corona10 Apr 20, 2017
4300205
[3.6] bpo-30109: Fix reindent.py (GH-1207) (GH-1208)
Mariatta Apr 20, 2017
7a113a0
bpo-29802: Fix the cleaning up issue in PyUnicode_FSDecoder(). (#1217)
serhiy-storchaka Apr 20, 2017
4837295
[3.6] Add missing .gitignore entries for VS2015 IntelliSense DB (GH-1…
Mariatta Apr 21, 2017
b984a05
bpo-30107: don't dump core on expected test_io crash (#1235) (#1241)
vstinner Apr 21, 2017
1ccbe60
bpo-29191: Add liblzma.vcxproj to pcbuild.sln and other missing entri…
zooba Apr 21, 2017
3a8f8ea
bpo-30125: Fix faulthandler.disable() on Windows (#1243)
vstinner Apr 21, 2017
414e028
[3.6] Correct the README link in Unix install docs (GH-1245) (GH-1248)
Mariatta Apr 22, 2017
a3d8dda
bpo-30098: Clarify that run_coroutine_threadsafe expects asyncio.Futu…
Mariatta Apr 22, 2017
9d022f1
[3.6] Fix trailing colon and newline in test.rst (GH-1250) (#1254)
louisom Apr 22, 2017
f2ed285
[3.6] bpo-15718: Document the upper bound constrain on the __len__ re…
serhiy-storchaka Apr 23, 2017
ea0efa3
[3.6] bpo-29751: Improve PyLong_FromString documentation (GH-915) (#1…
Mariatta Apr 24, 2017
16b6f97
[3.6] bpo-28851: Improve namedtuple documentation (GH-1274) (GH-1286)
Mariatta Apr 26, 2017
9f68281
bpo-28698: Fix c_wchar_p doc example (GH-1160)
louisom Apr 26, 2017
04f389b
bpo-29974: Improve typing.TYPE_CHECKING example (GH-982)
berkerpeksag Apr 26, 2017
2fc3c54
[3.6] bpo-30142: Remove "callable" from the 2to3fixer documentation. …
corona10 Apr 26, 2017
33a5568
[3.6] bpo-30182: Use the correct name for ISO in Unicode HOWTO. (GH-1…
Mariatta Apr 27, 2017
4dc3b9c
bpo-30175: Skip client cert tests of test_imaplib (#1320) (#1323)
vstinner Apr 27, 2017
c9ca57e
bpo-30107: Make SuppressCrashReport quiet on macOS (#1279) (#1335)
vstinner Apr 28, 2017
caa59c1
[3.6] bpo-30106: Fix test_asyncore.test_quick_connect() (#1336)
vstinner Apr 28, 2017
cb21f5f
bpo-30131: test_logging now joins queue threads (#1298) (#1317)
vstinner Apr 28, 2017
e005dd9
bpo-30125: disable faulthandler in ctypes test_SEH (#1237) (#1343)
vstinner Apr 28, 2017
712114b
[3.6] bpo-30197: Enhance functions swap_attr() and swap_item() in tes…
serhiy-storchaka Apr 28, 2017
5a8dcec
[3.6] bpo-30208: DOC: fix small typos in IDLE (#1356)
csabella Apr 30, 2017
750ff5f
[3.6] Improve the grammar in windows.rst (GH-1330) (GH-1360)
Mariatta Apr 30, 2017
78b23ab
[3.6] Clean up some confusing text left by PROTOCOL_SSLv23 -> PROTOCO…
Mariatta May 2, 2017
809101f
bpo-30104: Use -fno-strict-aliasing on clang (#1376)
vstinner May 2, 2017
33a5d40
bpo-30108: Restore sys.path in test_site (#1197) (#1378)
vstinner May 2, 2017
3076895
bpo-30132: distutils BuildExtTestCase use temp_cwd (#1387)
vstinner May 2, 2017
3c422b9
bpo-30199: test_ssl closes all asyncore channels (#1381) (#1390)
vstinner May 2, 2017
4dae0d1
[3.6] bpo-30232: Support Git worktree in configure.ac (#1398)
vstinner May 2, 2017
0c2ff08
Backport bpo-30205 to 3.6 (#1403)
pitrou May 2, 2017
564e89f
regrtest: always show before/after of modified env (#1192) (#1406)
vstinner May 3, 2017
5bcf01d
[3.6] Fix typo in selectors.rst (GH-1383) (#1414)
Mariatta May 3, 2017
e612c28
[3.6] bpo-28556: Routine updates to typing (GH-1366) (#1416)
Mariatta May 3, 2017
833dcb6
Bump version in AppVeyor config (GH-1436)
zware May 3, 2017
af71364
[3.6] bpo-28315: Improve code examples in docs (GH-1372) (#1445)
Mariatta May 4, 2017
1bebd8a
[3.6] bpo-30184: Add tests for invalid use of PyArg_ParseTupleAndKeyw…
serhiy-storchaka May 4, 2017
31906b4
bpo-30225: Fix is_valid_fd() on macOS Tiger (#1443) (#1449)
vstinner May 4, 2017
a7e48b5
[3.6] bpo-30185: avoid KeyboardInterrupt tracebacks in forkserver (GH…
pitrou May 4, 2017
9d02f56
[3.6] bpo-23404: make touch becomes make regen-all (#1405) (#1461)
vstinner May 4, 2017
39b73dd
[3.6] bpo-30243: Fixed the possibility of a crash in _json. (GH-1420)…
serhiy-storchaka May 5, 2017
0fe870f
bpo-30264: ExpatParser closes the source on error (#1451) (#1474)
vstinner May 5, 2017
70dc6a7
[3.6] Revert bpo-26293 for zipfile breakage. See also bpo-29094. (GH-…
serhiy-storchaka May 6, 2017
410d75a
bpo-30289: remove Misc/python-config.sh when make distclean (#1498) (…
zhangyangyu May 9, 2017
72e1b61
bpo-29990: Fix range checking in GB18030 decoder (#1495) (#1507)
zhangyangyu May 9, 2017
03b8a37
[3.6] bpo-29243: Fix Makefile with respect to --enable-optimizations …
torsava May 9, 2017
418d60a
[3.6] bpo-30298: Weaken the condition of deprecation warnings for inl…
serhiy-storchaka May 10, 2017
81ed537
bpo-30320: test_eintr now uses pthread_sigmask() (#1523) (#1524)
vstinner May 10, 2017
98b49a0
bpo-30281: Fix the default value for stop in PySlice_Unpack() (#1480)…
zhangyangyu May 10, 2017
a4465a5
[3.6] bpo-28787: Fix out of tree --with-dtrace builds (GH-135) (#1543)
stratakis May 11, 2017
3dc7c52
bpo-30048: asyncio: fix Task.cancel() was ignored. (GH-1546)
methane May 11, 2017
d05f7fd
[3.6] bpo-30345: Update test_gdb.py and python-gdb.py from master (#1…
vstinner May 12, 2017
3a66ab8
[3.6] bpo-30178: Indent methods and attributes of MimeType class (GH-…
Mariatta May 13, 2017
178756c
[3.6] Move Codecov's configuration file under .github (GH-1494) (GH-1…
brettcannon May 13, 2017
61b6e5c
bpo-30358: Document sort argument of profile.runctx() (GH-1566)
berkerpeksag May 14, 2017
0ce1f7e
bpo-30110: fix resource leak in test_asyncio.test_events (#1413) (#1584)
zhangyangyu May 15, 2017
aad1caf
bpo-30242: resolve some undefined behaviours in struct (#1418) (#1586)
zhangyangyu May 15, 2017
75b8a54
bpo-29651 - Cover edge case of square brackets in urllib docs (#1128…
orsenthil May 16, 2017
73fb45d
[3.6] bpo-30375: Correct the stacklevel of regex compiling warnings. …
serhiy-storchaka May 16, 2017
8fc1ff5
[3.6] bpo-30380: Fix Sphinx 1.6.1 warnings. (GH-1613) (#1614)
serhiy-storchaka May 16, 2017
5e2016d
bpo-30380: Pin the version of Sphinx used to build the docs (GH-1612)…
brettcannon May 16, 2017
0d26704
bpo-29898: Fix incorrect env variable name (GH-1576)
berkerpeksag May 16, 2017
aaa0536
bpo-30329: Catch Windows error 10022 on shutdown() (#1538) (#1620)
vstinner May 16, 2017
6b5b85a
bpo-30357: test_thread now uses threading_cleanup() (#1592) (#1622)
vstinner May 17, 2017
460945f
bpo-30273: update distutils.sysconfig for venv's created from Python …
vstinner May 17, 2017
b769c91
Fix ModuleNotFoundError typo in import reference (#1610)
miedzinski May 17, 2017
43d4c03
bpo-30301: Fix AttributeError when using SimpleQueue.empty() (#1601) …
zhangyangyu May 17, 2017
0d17278
Remove unused variable in test_urllibnet. (#1598) (#1600)
orsenthil May 17, 2017
69f3a5a
tmtotuple(): use time_t for gmtoff (#1276) (#1635)
vstinner May 17, 2017
44944b6
bpo-30387: Fix warning in test_threading (#1634) (#1636)
vstinner May 17, 2017
2773add
bpo-27103: regrtest disables -W if -R is used (#1651) (#1656)
vstinner May 18, 2017
193f7e0
[3.6] bpo-25794: Fix `type.__setattr__()` for non-interned attribute …
serhiy-storchaka May 20, 2017
564398a
[3.6] bpo-27945: Fixed various segfaults with dict. (GH-1657) (#1677)
serhiy-storchaka May 20, 2017
b5bf7e8
bpo-29976: urllib.parse clarify '' in scheme values. (GH-984) (GH-1692)
orsenthil May 21, 2017
cf5c1be
[3.6] bpo-30415: Add new tests for the fnmatch module. (GH-1684) (#1694)
serhiy-storchaka May 21, 2017
0702cc0
[3.6] Fix typos in multiple `.rst` files (GH-1668) (#1702)
delirious-lettuce May 21, 2017
54af41d
bpo-30003: Fix handling escape characters in HZ codec (#1556) (#1719)
zhangyangyu May 22, 2017
3d3b189
[3.6] bpo-30372: Clarify that '__builtins__' is a CPython Implementat…
Mariatta May 22, 2017
1398b1b
[3.6] Make rb'' strings work in lib2to3 (GH-1724) (#1730)
ambv May 22, 2017
d29fecc
[3.6] bpo-30395 _PyGILState_Reinit deadlock fix (GH-1734) (#1740)
ambv May 23, 2017
e8412e6
[3.6] bpo-23894: make lib2to3 recognize f-strings (GH-1733) (#1737)
ambv May 23, 2017
07a40a1
[3.6] Add --with-assertions configure flag to enable C assertions(GH-…
Yhg1s May 23, 2017
6ef0882
[3.6] bpo-21056: Document return type of next method of csv reader (G…
Mariatta May 23, 2017
762add7
Fix spelling mistakes in tkinter.py (#1751)
bravegnu May 23, 2017
70705e3
[3.6] call remove_done_callback in finally section (GH-1688) (#1755)
ambv May 23, 2017
9bcf81d
[3.6] bpo-30376: Update outdated WindowObject references (GH-1630) (#…
kushaldas May 23, 2017
c3454f0
bpo-30394: Fix a socket leak in smtplib.SMTP.__init__() (#1700) (#1790)
matrixise May 24, 2017
a2a9984
[3.6] bpo-30160: Clarify intended usage of wfile (gh-1300) (GH-1793)
zware May 24, 2017
89a3102
[3.6] bpo-29104: Fixed parsing backslashes in f-strings. (GH-490) (#1…
serhiy-storchaka May 25, 2017
f43b293
[3.6] bpo-29943: Do not replace the function PySlice_GetIndicesEx() w…
serhiy-storchaka May 25, 2017
2783cc4
[3.6] bpo-30414: multiprocessing.Queue._feed do not break from main l…
pitrou May 25, 2017
584ef2a
[3.6] Fix the signature of JSONDecodeError (no end parameter). (GH-18…
serhiy-storchaka May 27, 2017
b52c68a
[3.6] bpo-30398: Add a docstring for re.error. (GH-1647) (#1830)
serhiy-storchaka May 27, 2017
94d8261
[3.6] bpo-29960 _random.Random corrupted on exception in setstate(). …
Mariatta May 27, 2017
2ee91c8
[3.6] bpo-30470: Deprecate invalid ctypes call protection on Windows.…
Mariatta May 27, 2017
d52f47a
[3.6] bpo-30361: Use better example for mixed-type operands (GH-1701)…
Mariatta May 29, 2017
03c7600
Improve grammar in The Import System documentation (GH-1862) (GH-1863)
Mariatta May 30, 2017
00b381b
bpo-17188: DOC: Document 'from None' in raise statement (GH-1671) (GH…
csabella May 30, 2017
ad13d54
bpo-30354: Update data model documentation for super() (GH-1561) (GH-…
csabella May 30, 2017
89e0a18
[3.6] Build docs in parallel (GH-1842) (GH-1872)
Mariatta May 30, 2017
60b257b
bpo-17188: add missing periods at the end of sentences (GH-1875) (GH-…
Mariatta May 30, 2017
e49c5e9
[3.6] Fix a trivial typo in global section (GH-1497) (GH-1880)
Mariatta May 31, 2017
767b6d7
[3.6] Fix Travis config to reinstate test build (GH-1879) (GH-1889)
brettcannon May 31, 2017
9abd0bf
bpo-27618: Clarify that threading.Lock is a factory function (GH-1307…
csabella Jun 1, 2017
9522159
bpo-22702: Clarify documentation of str.join & bytes.join (GH-156) (G…
Mariatta Jun 1, 2017
9d752aa
bpo-30499: Remove a deprecated note about sets. (GH-1848) (GH-1905)
Mariatta Jun 1, 2017
95b4da2
bpo-30378: Fix the problem that SysLogHandler can't handle IPv6 addre…
zhangyangyu Jun 1, 2017
e417d12
bpo-29660: traceback: Document that etype is ignored in some places. …
Carreau Jun 2, 2017
1c92c0e
bpo-30052: Link `bytes` & `bytearray` to stdtypes not functions (GH-…
Mariatta Jun 2, 2017
c63ae11
bpo-30544: _io._WindowsConsoleIO.write raises the wrong error when Wr…
zooba Jun 2, 2017
ba6bfcd
[3.6] Turn on macOS builds for Travis (GH-1846) (#1929)
brettcannon Jun 3, 2017
7e6d999
[3.6] Fix skipping test_UNC_path on AppVeyor due to a different error…
zware Jun 4, 2017
47779d7
[3.6] Only run AppVeyor on long-lived branches (GH-1941)
zware Jun 5, 2017
86eb93f
bpo-30530: Update Descriptor How To Documentation (GH-1845) (GH-1953)
Mariatta Jun 5, 2017
ce40550
bpo-30538: Update count() in Functional Programming HOWTO (GH-1919) (…
csabella Jun 5, 2017
d125738
[3.6] bpo-30417: Disable 'cpu' and 'tzdata' resources on Travis (GH-1…
zware Jun 6, 2017
798cfb2
bpo-30052: Always regenerate cross-references (GH-1339) (GH-1921)
ncoghlan Jun 6, 2017
01ea561
[3.6] Install dependencies in Travis OSX build (GH-1952)
zware Jun 6, 2017
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
  •  
  •  
  •  
8 changes: 8 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
*.pck binary
Lib/test/cjkencodings/* binary
Lib/test/decimaltestdata/*.decTest binary
Lib/test/sndhdrdata/sndhdr.* binary
Lib/test/test_email/data/msg_26.txt binary
Lib/test/xmltestdata/* binary
Lib/venv/scripts/nt/* binary
Lib/test/coding20731.py binary
28 changes: 28 additions & 0 deletions .github/appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
version: 3.6.1+.{build}
clone_depth: 5
branches:
only:
- master
- /\d\.\d/
- buildbot-custom
build_script:
- cmd: PCbuild\build.bat -e
test_script:
- cmd: PCbuild\rt.bat -q -uall -rwW --slowest --timeout=1200 -j0

# Only trigger AppVeyor if actual code or its configuration changes
only_commits:
files:
- .github/appveyor.yml
- .gitattributes
- Grammar/
- Include/
- Lib/
- Modules/
- Objects/
- PC/
- PCBuild/
- Parser/
- Programs/
- Python/
- Tools/
35 changes: 35 additions & 0 deletions .github/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
codecov:
notify:
require_ci_to_pass: true
comment: off
ignore:
- "Doc/**/*"
- "Misc/*"
- "Mac/**/*"
- "PC/**/*"
- "PCbuild/**/*"
- "Tools/**/*"
- "Grammar/*"
coverage:
precision: 2
range:
- 70.0
- 100.0
round: down
status:
changes: off
project: off
patch:
default:
target: 100%
only_pulls: true
threshold: 0.05
parsers:
gcov:
branch_detection:
conditional: true
loop: true
macro: false
method: false
javascript:
enable_partials: false
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
.gdb_history
Doc/build/
Doc/venv/
Include/pydtrace_probes.h
Lib/distutils/command/*.pdb
Lib/lib2to3/*.pickle
Lib/test/data/*
Expand Down Expand Up @@ -51,6 +52,8 @@ PCbuild/*.suo
PCbuild/*.*sdf
PCbuild/*-pgi
PCbuild/*-pgo
PCbuild/*.VC.db
PCbuild/*.VC.opendb
PCbuild/.vs/
PCbuild/amd64/
PCbuild/obj/
Expand Down
17 changes: 0 additions & 17 deletions .hgtouch

This file was deleted.

3 changes: 3 additions & 0 deletions .mention-bot
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"findPotentialReviewers": false
}
96 changes: 96 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
language: c
dist: trusty
sudo: false
group: beta

# To cache doc-building dependencies.
cache: pip

branches:
only:
- master
- /^\d\.\d$/

matrix:
fast_finish: true
allow_failures:
- env: OPTIONAL=true
include:
- os: linux
language: c
compiler: clang
# gcc also works, but to keep the # of concurrent builds down, we use one C
# compiler here and the other to run the coverage build. Clang is preferred
# in this instance for its better error messages.
env: TESTING=cpython
- os: osx
language: c
compiler: clang
# Testing under macOS is optional until testing stability has been demonstrated.
env: OPTIONAL=true
before_install:
- brew install openssl xz
- export CPPFLAGS="-I$(brew --prefix openssl)/include"
- export LDFLAGS="-L$(brew --prefix openssl)/lib"
- os: linux
language: python
python: 3.6
env: TESTING=docs
before_script:
- 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
script:
- make check suspicious html SPHINXOPTS="-q -W -j4"
- os: linux
language: c
compiler: gcc
env: OPTIONAL=true
before_script:
- |
if ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(\.rst$)|(^Doc)|(^Misc)'
then
echo "Only docs were updated, stopping build process."
exit
fi
./configure
make -s -j4
# Need a venv that can parse covered code.
./python -m venv venv
./venv/bin/python -m pip install -U coverage
script:
# Skip tests that re-run the entire test suite.
- ./venv/bin/python -m coverage run --pylib -m test -uall,-cpu,-tzdata -x test_multiprocessing_fork -x test_multiprocessing_forkserver -x test_multiprocessing_spawn
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
- bash <(curl -s https://codecov.io/bash)

# Travis provides only 2 cores, so don't overdo the parallelism and waste memory.
before_script:
- |
if ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(\.rst$)|(^Doc)|(^Misc)'
then
echo "Only docs were updated, stopping build process."
exit
fi
./configure --with-pydebug
make -j4

script:
# `-r -w` implicitly provided through `make buildbottest`.
- make buildbottest TESTOPTS="-j4 -uall,-cpu,-tzdata"

notifications:
email: false
irc:
channels:
# This is set to a secure variable to prevent forks from notifying the
# IRC channel whenever they fail a build. This can be removed when travis
# implements https://github.com/travis-ci/travis-ci/issues/1094.
# The actual value here is: irc.freenode.net#python-dev
- secure: "s7kAkpcom2yUJ8XqyjFI0obJmhAGrn1xmoivdaPdgBIA++X47TBp1x4pgDsbEsoalef7bEwa4l07KdT4qa+DOd/c4QxaWom7fbN3BuLVsZuVfODnl79+gYq/TAbGfyH+yDs18DXrUfPgwD7C5aW32ugsqAOd4iWzfGJQ5OrOZzqzGjYdYQUEkJFXgxDEIb4aHvxNDWGO3Po9uKISrhb5saQ0l776yLo1Ur7M4oxl8RTbCdgX0vf5TzPg52BgvZpOgt3DHOUYPeiJLKNjAE6ibg0U95sEvMfHX77nz4aFY4/3UI6FFaRla34rZ+mYKrn0TdxOhera1QOgPmM6HzdO4K44FpfK1DS0Xxk9U9/uApq+cG0bU3W+cVUHDBe5+90lpRBAXHeHCgT7TI8gec614aiT8lEr3+yH8OBRYGzkjNK8E2LJZ/SxnVxDe7aLF6AWcoWLfS6/ziAIBFQ5Nc4U72CT8fGVSkl8ywPiRlvixKdvTODMSZo0jMqlfZSNaAPTsNRx4wu5Uis4qekwe32Fz4aB6KGpsuuVjBi+H6v0RKxNJNGY3JKDiEH2TK0UE2auJ5GvLW48aUVFcQMB7euCWYXlSWVRHh3WLU8QXF29Dw4JduRZqUpOdRgMHU79UHRq+mkE0jAS/nBcS6CvsmxCpTSrfVYuMOu32yt18QQoTyU="
on_success: change
on_failure: always
skip_join: true
15 changes: 10 additions & 5 deletions Doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
#

# You can set these variables from the command line.
PYTHON = python
PYTHON = python3
SPHINXBUILD = sphinx-build
PAPER =
SOURCES =
DISTVERSION = $(shell $(PYTHON) tools/extensions/patchlevel.py)

ALLSPHINXOPTS = -b $(BUILDER) -d build/doctrees -D latex_paper_size=$(PAPER) \
ALLSPHINXOPTS = -b $(BUILDER) -d build/doctrees -D latex_elements.papersize=$(PAPER) \
$(SPHINXOPTS) . build/$(BUILDER) $(SOURCES)

.PHONY: help build html htmlhelp latex text changes linkcheck \
Expand Down Expand Up @@ -153,21 +153,26 @@ dist:
cp -pPR build/epub/Python.epub dist/python-$(DISTVERSION)-docs.epub

check:
$(PYTHON) tools/rstlint.py -i tools -i venv
$(PYTHON) tools/rstlint.py -i tools -i venv -i README.rst

serve:
../Tools/scripts/serve.py build/html

# Targets for daily automated doc build
# By default, Sphinx only rebuilds pages where the page content has changed.
# This means it doesn't always pick up changes to preferred link targets, etc
# To ensure such changes are picked up, we build the published docs with
# `-E` (to ignore the cached environment) and `-a` (to ignore already existing
# output files)

# for development releases: always build
autobuild-dev:
make dist SPHINXOPTS='$(SPHINXOPTS) -A daily=1 -A versionswitcher=1'
make dist SPHINXOPTS='$(SPHINXOPTS) -Ea -A daily=1 -A versionswitcher=1'
-make suspicious

# for quick rebuilds (HTML only)
autobuild-dev-html:
make html SPHINXOPTS='$(SPHINXOPTS) -A daily=1 -A versionswitcher=1'
make html SPHINXOPTS='$(SPHINXOPTS) -Ea -A daily=1 -A versionswitcher=1'

# for stable releases: only build if not in pre-release stage (alpha, beta)
# release candidate downloads are okay, since the stable tree can be in that stage
Expand Down
21 changes: 11 additions & 10 deletions Doc/README.txt → Doc/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,21 @@ Python Documentation README
~~~~~~~~~~~~~~~~~~~~~~~~~~~

This directory contains the reStructuredText (reST) sources to the Python
documentation. You don't need to build them yourself, prebuilt versions are
available at <https://docs.python.org/dev/download.html>.
documentation. You don't need to build them yourself, `prebuilt versions are
available <https://docs.python.org/dev/download.html>`_.

Documentation on authoring Python documentation, including information about
both style and markup, is available in the "Documenting Python" chapter of the
developers guide <https://docs.python.org/devguide/documenting.html>.
both style and markup, is available in the "`Documenting Python
<https://docs.python.org/devguide/documenting.html>`_" chapter of the
developers guide.


Building the docs
=================

You need to have Sphinx <http://sphinx-doc.org/> installed; it is the toolset
You need to have `Sphinx <http://sphinx-doc.org/>`_ installed; it is the toolset
used to build the docs. It is not included in this tree, but maintained
separately and available from PyPI <https://pypi.python.org/pypi/Sphinx>.
separately and `available from PyPI <https://pypi.python.org/pypi/Sphinx>`_.


Using make
Expand Down Expand Up @@ -108,11 +109,11 @@ see the make targets above).
Contributing
============

Bugs in the content should be reported to the Python bug tracker at
https://bugs.python.org.
Bugs in the content should be reported to the
`Python bug tracker <https://bugs.python.org>`_.

Bugs in the toolset should be reported in the Sphinx bug tracker at
https://www.bitbucket.org/birkenfeld/sphinx/issues/.
Bugs in the toolset should be reported in the
`Sphinx bug tracker <https://github.com/sphinx-doc/sphinx/issues>`_.

You can also send a mail to the Python Documentation Team at [email protected],
and we will process your request as soon as possible.
Expand Down
Loading