Skip to content

bpo-35950: Raise OSError in io.BufferedReader.truncate() #13689

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
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2477 commits
Select commit Hold shift + click to select a range
9b24537
bpo-36799: Fix typo in ctypes.rst (GH-13104)
sehnsucht13 May 15, 2019
51e3aa6
Reference zipimport source code from docs. (GH-13310)
tirkarthi May 15, 2019
27a698b
bpo-26707: Enable plistlib to read UID keys. (GH-12153)
bigfootjon May 15, 2019
067f0ae
bpo-36786: Run compileall in parallel during "make install" (GH-13078)
pitrou May 15, 2019
834d375
bpo-33123: pathlib: Add missing_ok parameter to Path.unlink (GH-6191)
rbu May 15, 2019
10875e6
bpo-35926: Add support for OpenSSL 1.1.1b on Windows (GH-11779)
paulmon May 15, 2019
f436fd1
bpo-36511: Windows ARM32 buildbot changes (GH-12917)
paulmon May 15, 2019
7ed5ce7
bpo-36511: Windows arm32 buildbot changes (remove extra space) (GH-13…
paulmon May 15, 2019
a1fd375
Fix typos in documentation (#13344)
tirkarthi May 16, 2019
c6bfcc8
Fix typos in documentation. Patch by tirkarthi. (GH-13354)
terryjreedy May 16, 2019
69c7e88
bpo-36748: optimize TextIOWrapper.write() for ASCII string (GH-13002)
methane May 16, 2019
0f7a2c8
bpo-35589: Prevent buffer copy in sock_sendall() (GH-11418)
asvetlov May 16, 2019
f5c98c1
bpo-36763: _PyInitError always use int for exitcode (GH-13360)
vstinner May 16, 2019
e324e25
bpo-36921: Deprecate @coroutine for sake of async def (GH-13346)
asvetlov May 16, 2019
9e37d56
bpo-36763: Add _PyCoreConfig.parse_argv (GH-13361)
vstinner May 16, 2019
73d0a35
bpo-36763: Add _Py_InitializeMain() (GH-13362)
vstinner May 16, 2019
f967aa8
bpo-36763: Add _PyCoreConfig.configure_c_stdio (GH-13363)
vstinner May 16, 2019
8caf543
bpo-36751: Undeprecate getfullargspec (GH-13245)
pablogsal May 16, 2019
25077a7
bpo-36763: Cleanup precmdline in _PyCoreConfig_Read() (GH-13371)
vstinner May 17, 2019
1f3b884
bpo-36946: Fix possible signed integer overflow when handling slices.…
ZackerySpytz May 17, 2019
1d9709e
bpo-35545: Fix asyncio discarding IPv6 scopes (GH-11271)
lepaperwan May 17, 2019
8f79a9d
Doc: Add link threading.settrace to sys.settrace (GH-13345)
May 17, 2019
89f0b4f
bpo-36763: Remove _PyCoreConfig.program (GH-13373)
vstinner May 17, 2019
6c5e0dc
Doc: Replace the deprecated highlightlang directive by highlight. (#1…
matrixise May 17, 2019
eedc330
bpo-36908: 'This module is always available' isn't helpful. (#13297)
nedbat May 17, 2019
117f2c5
Fix typo in _PyMethodDef_RawFastCallKeywords error message (GH-13343)
jdemeyer May 17, 2019
d03be43
bpo-1875: Raise SyntaxError in invalid blocks that will be optimised …
pablogsal May 17, 2019
7479d13
docs 36789: resolve incorrect note regarding UTF-8 (GH-13111)
redshiftzero May 17, 2019
c17b6f5
Simplify SSLSocket / SSLObject doc string (GH-9972)
tiran May 17, 2019
fb8e6e1
bpo-36763: Add PyMemAllocatorName (GH-13387)
vstinner May 17, 2019
e48be77
bpo-36763: Add _PyCoreConfig_InitPythonConfig() (GH-13388)
vstinner May 17, 2019
d26ffe3
bpo-36941: Windows build changes for Windows ARM64 (GH-13365)
paulmon May 17, 2019
163121f
bpo-36942 Windows build changes for Windows ARM64 (GH-13366)
paulmon May 17, 2019
92df2fc
bpo-36867: _test_multiprocessing: avoid weak sync primitive (GH-13292)
pierreglaser May 17, 2019
07a9ea2
bpo-33524: Fix the folding of email header when max_line_length is 0 …
maxking May 17, 2019
239b939
bpo-36782: Created C API wrappers and added missing tests for functio…
edison12a May 17, 2019
b6a6527
bpo-36945: Add _PyPreConfig.configure_locale (GH-13368)
vstinner May 17, 2019
ceab714
bpo-36763: _Py_RunMain() doesn't call Py_Exit() anymore (GH-13390)
vstinner May 17, 2019
ff0e135
bpo-36763: Add _PyInitError functions (GH-13395)
vstinner May 17, 2019
5051c78
bpo-27268: Fix incorrect error message on float('') (GH-2745)
pslacerda May 17, 2019
79cee49
bpo-36763: _Py_InitializeFromArgs() argc becomes Py_ssize_t (GH-13396)
vstinner May 17, 2019
fd4c8df
Correct typos in the Barrier specification (GH-9395)
geryogam May 17, 2019
ace2e2a
Document a workaround for a curses bug (GH-13209)
abadger May 17, 2019
72280b1
Fix couple of dead code paths (GH-7418)
May 17, 2019
a1fb51e
bpo-36763: Use _PyCoreConfig_InitPythonConfig() (GH-13398)
vstinner May 18, 2019
a39f9b1
bpo-36763: Remove _PyCoreConfig.dll_path (GH-13402)
vstinner May 18, 2019
4f2aaa6
bpo-36887: add math.isqrt (GH-13244)
mdickinson May 18, 2019
54883f8
bpo-36546: Add more tests and expand docs (#13406)
rhettinger May 18, 2019
5adbd54
bpo-2180: Treat line continuation at EOF as a `SyntaxError` (GH-13401)
asottile May 18, 2019
3b1f5dc
bpo-19376: Added doc mentioning `datetime.strptime()` without a year …
toanant May 18, 2019
5a71f31
bpo-36567: Use manpages_url to create links for man pages (GH-13339)
isidentical May 18, 2019
413a0db
Add support for PEP572 in ast_unparse.c (GH-13337)
isidentical May 18, 2019
e50421f
bpo-36961: Handle positional-only arguments in uparse.c (GH-13412)
pablogsal May 18, 2019
193f743
bpo-33519: clarify that .copy() is not part of the MutableSequence AB…
JelleZijlstra May 19, 2019
34984f8
Fix typo in test comment (GH-11442)
epicfaace May 19, 2019
22fddf3
Orthographical fix (GH-13418)
PedanticHacker May 19, 2019
d8a20f8
bpo-36957: Add _PyLong_Rshift() and _PyLong_Lshift(). (GH-13416)
serhiy-storchaka May 19, 2019
197721b
bpo-36948: Fix NameError in urllib.request.URLopener.retrieve (GH-13389)
tirkarthi May 19, 2019
9bb73a0
bpo-27141: Fix collections.UserList and UserDict shallow copy. (GH-4094)
bharel May 19, 2019
dc16ad2
bpo-29183: Fix double exceptions in wsgiref.handlers.BaseHandler (GH-…
berkerpeksag May 19, 2019
194874d
bpo-36957: Speed up math.isqrt (#13405)
mdickinson May 19, 2019
9fed015
bpo-34580: Update sqlite3 examples to call close() explicitly (GH-9079)
tirkarthi May 19, 2019
337b46b
bpo-35252: Remove FIXME from test_functools (GH-10551)
lysnikolaou May 19, 2019
a7b576a
bpo-35134: Split traceback.h header (GH-13430)
vstinner May 19, 2019
7568c1d
bpo-35134: Register new traceback.h header files (GH-13431)
vstinner May 20, 2019
bb22b9d
closes bpo-36951: Correct some types in the type_members struct in ty…
ZackerySpytz May 20, 2019
c256e3f
bpo-36958: In IDLE, print exit message (GH-13435)
terryjreedy May 20, 2019
6ec4270
bpo-36763: Fix Python preinitialization (GH-13432)
vstinner May 20, 2019
0b85c1d
bpo-35721: Close socket pair if Popen in _UnixSubprocessTransport fai…
niklasf May 20, 2019
0e29b8c
bpo-36763: Fix encoding/locale tests in test_embed (GH-13443)
vstinner May 20, 2019
d332377
Pass _asyncio_internal=True into stream tests on windows (#13442)
asvetlov May 20, 2019
3bc1fb3
bpo-22865: Expand on documentation for the pty.spawn function (GH-11980)
RadicalZephyr May 20, 2019
5e3815d
bpo-36763: Fix _PyRuntime.preconfig.coerce_c_locale (GH-13444)
vstinner May 20, 2019
fc080d4
bpo-26467: Adds AsyncMock for asyncio Mock library support (GH-9296)
lisroach May 20, 2019
62d9d31
bpo-36949: Implement __repr__ on WeakSet (GH-13415)
isidentical May 20, 2019
1bede11
bpo-36888: Add multiprocessing.parent_process() (GH-13247)
tomMoral May 20, 2019
0e99029
bpo-23896: Add a grammar where exec isn't a stmt (#13272)
isidentical May 20, 2019
2e680a5
bpo-36952: Remove the bufsize parameter in fileinput.input(). (GH-13400)
May 20, 2019
ccfa451
bpo-36969: Make PDB args command display keyword only arguments (GH-1…
May 20, 2019
4e7c10a
bpo-35563: Add reference links to warnings.rst (GH-11289)
csabella May 20, 2019
696aafd
Remove workaround for defaults in namedtuple now that we have the def…
andresdelfino May 21, 2019
4ac0849
bpo-36932: use proper deprecation-removed directive (GH-13349)
Carreau May 21, 2019
caae661
Fix RuntimeWarning in unittest.mock asyncio example (GH-13449)
tirkarthi May 21, 2019
e2431fa
bpo-36965: Fix includes in main.c on Windows with non-MSC compilers (…
erikjanss May 21, 2019
8907932
Revert "bpo-36084: Add native thread ID to threading.Thread objects (…
vstinner May 21, 2019
474f85a
bpo-31904: Add posix module support for VxWorks (GH-12118)
pxinwr May 21, 2019
566161f
bpo-36648: fix mmap issue for VxWorks (GH-12394)
LihuaZhao May 21, 2019
fcb3ce5
Annotate the unexplained assignment in exception unbinding (GH-11448)
Rosuav May 21, 2019
55f44b5
bpo-36929: Modify io/re tests to allow for missing mod name (#13392)
tekknolagi May 21, 2019
ff3cfff
bpo-36035: fix Path.rglob for broken links (GH-11988)
jstucke May 21, 2019
274fb8e
bpo-23378: Add an extend action to argparse (GH-13305)
isidentical May 21, 2019
ab2b50f
bpo-34616: Add PyCF_ALLOW_TOP_LEVEL_AWAIT to allow top-level await (G…
Carreau May 21, 2019
090c8ac
bpo-25652: Fix __rmod__ of UserString (GH-13326)
isidentical May 21, 2019
f85244e
bpo-34616: Fix code style and unbreak buildbots (GH-13473)
1st1 May 21, 2019
243601f
bpo-36948: Fix test_urlopener_retrieve_file on Windows (GH-13476)
berkerpeksag May 21, 2019
131358a
bpo-36829: Add sys.unraisablehook() (GH-13187)
vstinner May 22, 2019
b5d89b4
bpo-36994: add test for profiling method_descriptor with **kwargs (GH…
jdemeyer May 22, 2019
e83f372
bpo-36907: fix refcount bug in _PyStack_UnpackDict() (GH-13381)
jdemeyer May 22, 2019
e482ff0
bpo-31862: Port binascii to PEP 489 multiphase initialization (GH-4108)
May 22, 2019
0ab2eb4
bpo-36972: Add SupportsIndex (GH-13448)
pcd1193182 May 22, 2019
175dff1
bpo-36878: Track extra text added to 'type: ignore' in the AST (GH-13…
msullivan May 22, 2019
e3bbd2a
bpo-33482: fix codecs.StreamRecoder.writelines (GH-6779)
JelleZijlstra May 22, 2019
1863bd1
bpo-36084: Add native thread ID (TID) to threading.Thread (GH-13463)
jaketesler May 22, 2019
90e3cc3
bpo-34616: Document top level async in whatsnew/3.8. (GH-13484)
Carreau May 22, 2019
466b225
bpo-35907, CVE-2019-9948: urllib rejects local_file:// scheme (GH-13474)
vstinner May 22, 2019
56154c2
bpo-36878: Only allow text after `# type: ignore` if first character …
msullivan May 22, 2019
f3fc62d
bpo-33110: Catch errors raised when running add_done_callback on alre…
May 22, 2019
b309312
bpo-24882: Let ThreadPoolExecutor reuse idle threads before creating …
iUnknwn May 22, 2019
8108b6c
bpo-36829: Add test.support.catch_unraisable_exception() (GH-13490)
vstinner May 22, 2019
15b5186
bpo-36763: Add _PyPreConfig._config_init (GH-13481)
vstinner May 22, 2019
5848872
bpo-36941: Project file fixups for Windows ARM64 (GH-13477)
paulmon May 22, 2019
99c3148
bpo-36763: Rename private Python initialization functions (GH-13511)
vstinner May 22, 2019
6c55b66
bpo-36829: PyErr_WriteUnraisable() normalizes exception (GH-13507)
vstinner May 22, 2019
af365c4
bpo-35091: Objects/listobject.c: Replace overflow checks in gallop fu…
May 23, 2019
f867afb
bpo-27737: Allow whitespace only headers encoding (#13478)
isidentical May 23, 2019
a233a96
bpo-36721: Add --embed option to python-config (GH-13500)
vstinner May 23, 2019
685d907
bpo-18748: _pyio.IOBase emits unraisable exception (GH-13512)
vstinner May 23, 2019
3586688
bpo-36763: Fix _PyPreConfig_InitCompatConfig() utf8_mode (GH-13518)
vstinner May 23, 2019
0fdafbe
bpo-33164: update blake2 implementation (GH-6286)
May 23, 2019
4bbd867
bpo-37008: make mock_open handle able to honor next() (GH-13492)
Anvil May 23, 2019
1317ea1
bpo-36797: Reduce levels of indirection in outdated distutils docs (#…
ncoghlan May 23, 2019
42e105e
bpo-36842: Implement PEP 578 (GH-12613)
zooba May 23, 2019
91a936d
bpo-23395: Fix PyErr_SetInterrupt if the SIGINT signal is ignored or …
mcepl May 23, 2019
ea8d4c5
Fix warning in _testembed.c (GH-13533)
pablogsal May 23, 2019
2063bb8
bpo-34626: Document creating heap types from the C-API (GH-9154)
encukou May 24, 2019
434a09c
bpo-20285: Improve help docs for object (GH-4759)
csabella May 24, 2019
899d9d7
Fix typo: decription -> description (GH-13543)
tirkarthi May 24, 2019
5912135
bpo-36045: builtins.help() now prefixes `async` for async functions (…
rotu May 24, 2019
4005cf0
bpo-37031: Reuse _PyRuntime.main_thread in signalmodule.c (GH-13538)
vstinner May 24, 2019
c3cb770
bpo-36710: Add tstate parameter in errors.c (GH-13540)
vstinner May 24, 2019
6707912
Support Py_UNUSED() on clang (GH-13544)
vstinner May 24, 2019
61f1de3
bpo-37031: Fix PyOS_AfterFork_Child() (GH-13537)
vstinner May 24, 2019
bb90c1e
Fix typos in Doc/library/email.generator.rst documentation (GH-13539)
krnick May 24, 2019
df5d501
bpo-36710: Add tstate parameter in ceval.c (GH-13547)
vstinner May 24, 2019
c7022e2
bpo-21536: On Cygwin, C extensions must be linked with libpython (GH-…
embray May 24, 2019
3e68d27
bpo-36511: Ensure error code propagates out of batch files (GH-13529)
paulmon May 24, 2019
abdb213
bpo-36721: Fix pkg-config symbolic links on "make install" (GH-13551)
vstinner May 24, 2019
2f16c6e
bpo-21536: Fix configure.ac for LIBPYTHON on Android/Cygwin (GH-13552)
embray May 24, 2019
0aa471a
bpo-8138: Initialize wsgiref's SimpleServer as single-threaded (GH-12…
berkerpeksag May 24, 2019
cc3b6df
bpo-37023: Skip test_gdb under PGO (GH-13555)
zooba May 24, 2019
cb68471
bpo-35907: Clarify the NEWS entry (GH-13523)
vstinner May 24, 2019
cd015b3
bpo-36969: Make PDB args command display positional only arguments (G…
May 24, 2019
c8eb10d
bpo-35907: Fix typo in the NEWS entry (GH-13559)
vstinner May 24, 2019
84eebe5
bpo-37021: Port _randommodule to the argument clinic (GH-13532)
pablogsal May 24, 2019
d839eae
bpo-37032: Add CodeType.replace() method (GH-13542)
vstinner May 24, 2019
6d91e58
bpo-36829: Document test.support.catch_unraisable_exception() (GH-13554)
vstinner May 24, 2019
e27318a
bpo-34632: Add importlib.metadata (GH-12547)
jaraco May 24, 2019
873251d
bpo-37038: Make idlelib.run runnable; add test clause (GH-13560)
terryjreedy May 25, 2019
f368c10
bpo-34632: fix installation of importlib.metadata (#13563)
yan12125 May 25, 2019
fafc9b0
📝 Add a GitHub-specific security page (GH-13526)
webknjaz May 25, 2019
5008496
bpo-34632 fix buildbots and remove artifact (GH-13566)
jaraco May 25, 2019
2f17b2b
Docs: FIX broken links. (GH-13491)
JulienPalard May 25, 2019
ae18a97
bpo-37017: PyObject_CallMethodObjArgs uses LOAD_METHOD optimization (…
msullivan May 26, 2019
4ccc9f6
bpo-37045: PEP 591: Add final qualifiers to typing module (GH-13571)
ilevkivskyi May 26, 2019
701fbfc
bpo-37046: PEP 586: Add Literal to typing module (#13572)
ilevkivskyi May 26, 2019
581c10d
bpo-37049: PEP 589: Add TypedDict to typing module (GH-13573)
ilevkivskyi May 26, 2019
b447ccc
bpo-28866: No type cache for types with specialized mro, invalidation…
JulienPalard May 26, 2019
e1a09e3
Fix highlighting in importlib.metadata docs (GH-13575)
asottile May 26, 2019
a3b8500
bpo-36785: PEP 574 implementation (GH-7076)
pitrou May 26, 2019
efd0bf2
bpo-37053: handle strings like u"bar" correctly in Tools/parser/unpar…
yan12125 May 26, 2019
68fd342
bpo-36772 Allow lru_cache to be used as decorator without making a fu…
rhettinger May 26, 2019
f7ef995
Add one more test for typing.Final (GH-13588)
ilevkivskyi May 26, 2019
29050e9
bpo-36829: Add _PyErr_WriteUnraisableMsg() (GH-13488)
vstinner May 27, 2019
c6e970a
bpo-37028: asyncio REPL; activated via 'python -m asyncio'. (GH-13472)
1st1 May 27, 2019
e2a7c2c
bpo-32528: Make asyncio.CancelledError a BaseException. (GH-13528)
1st1 May 27, 2019
cd91c95
bpo-37047: Refactor AsyncMock setup logic for autospeccing (GH-13574)
tirkarthi May 27, 2019
130ae8d
bpo-37035: Don't log OSError (GH-13548)
asvetlov May 27, 2019
92d66d3
bpo-35397: Remove deprecation and document urllib.parse.unwrap (GH-11…
May 27, 2019
2a6af71
bpo-37027: Return a proxy socket object from transp.get_extra_info('s…
1st1 May 27, 2019
b4963ea
bpo-36763: Implement the PEP 587 (GH-13592)
vstinner May 27, 2019
845285e
bpo-32941: Add madvise() for mmap objects (GH-6172)
ZackerySpytz May 27, 2019
d76bc80
bpo-37051: Refine note on what objects are hashable (GH-13587)
rhettinger May 27, 2019
5d014ab
Fix a typo in SECURITY.md (GH-13568)
pgagnon May 27, 2019
2a573dd
bpo-32941: Fix test_madvise failure when page size >= 8kiB (GH-13596)
pitrou May 27, 2019
0411e74
bpo-37050: Remove expr_text from FormattedValue ast node, use Constan…
ericvsmith May 27, 2019
833f406
bpo-36889: Merge asyncio streams (GH-13251)
asvetlov May 27, 2019
10c0fed
bpo-1230540: Add threading.excepthook() (GH-13515)
vstinner May 27, 2019
3e269ed
bpo-37039: IDLE - zoomheight fixes (GH-13576)
terryjreedy May 27, 2019
5b157cc
bpo-37054, _pyio: Fix BytesIO and TextIOWrapper __del__() (GH-13601)
vstinner May 27, 2019
26c9b07
bpo-36686: Improve the documentation of the std* params in loop.subpr…
sbstp May 27, 2019
97d061a
Add @maxking to CODEOWNERS file (GH-13599)
maxking May 28, 2019
d4a3b9f
bpo-36996: Handle async functions when mock.patch is used as a decora…
tirkarthi May 28, 2019
7e3176a
bpo-36933: Remove sys.set_coroutine_wrapper (marked for removal in 3.…
Carreau May 28, 2019
73d8aed
bpo-37058: PEP 544: Add Protocol to typing module (GH-13585)
ilevkivskyi May 28, 2019
00e9b6e
DOC: Unnecessary plural. (GH-13613)
JulienPalard May 28, 2019
892297a
bpo-29883: Asyncio proactor udp (GH-13440)
asvetlov May 28, 2019
cbe9be9
bpo-36900: Fix compilation on HP-UX (GH-13614)
vstinner May 28, 2019
6f3cfae
Remove outdated time.monotonic reference (GH-13264)
bsolomon1124 May 28, 2019
15640f6
bpo-35279: reduce default max_workers of ThreadPoolExecutor (GH-13618)
methane May 28, 2019
bf83a8f
Doc: Space breaking whole definition. (GH-13615)
JulienPalard May 28, 2019
593ef5c
bpo-36922: implement PEP-590 Py_TPFLAGS_METHOD_DESCRIPTOR (GH-13338)
jdemeyer May 28, 2019
50f4f2c
bpo-32299: Return patched dict when using patch.dict as a context man…
mariocj89 May 28, 2019
6390e42
bpo-26423: Fix possible overflow in wrap_lenfunc() (GH-13606)
ZackerySpytz May 28, 2019
506dd9e
Doc: Add missing forward reference in the tutorial. (GH-13499)
JulienPalard May 28, 2019
47480cc
bpo-36829: sys.excepthook and sys.unraisablehook flush (GH-13620)
vstinner May 28, 2019
ef1a347
bpo-33725: multiprocessing uses spawn by default on macOS (GH-13603)
vstinner May 28, 2019
1a1ea8f
bpo-33407: Implement Py_DEPRECATED() on MSVC (GH-8980)
ZackerySpytz May 28, 2019
e83ea44
bpo-22640: Add silent mode to py_compile.compile() (GH-12976)
nanjekyejoannah May 28, 2019
0ce3cea
bpo-36933: fix what's new. (GH-13627)
Carreau May 28, 2019
d5500a3
Fix typo in docs for socket.CAN_RAW_FD_FRAMES (GH-13635)
karlding May 28, 2019
c4e1f86
bpo-31961: Fix support of path-like executables in subprocess. (GH-5914)
serhiy-storchaka May 28, 2019
b11173e
Fix comments in initconfig.h (GH-13636)
MandarJKulkarni May 28, 2019
38b89f2
bpo-22102: Fixes zip files with disks set to 0 (GH-5985)
fran6co May 28, 2019
5ab5938
bpo-37001: Makes symtable.symtable have parity with compile for input…
DinoV May 28, 2019
3ae22ad
Fix markup and minor grammar improvements in Code_of_conduct.md (GH-1…
hydrogen-mvm May 28, 2019
b3ba959
bpo-37072: Fix crash in PyAST_FromNodeObject() when flags is NULL (#1…
gvanrossum May 28, 2019
b30243d
bpo-36540: Documentation for PEP570 - Python positional only argument…
pablogsal May 28, 2019
5eaf25c
bpo-37076: _thread.start_new_thread() calls _PyErr_WriteUnraisableMsg…
vstinner May 29, 2019
6920b49
bpo-36739: Update controlflow.rst (GH-12983)
pbhd May 29, 2019
10c5dcd
bpo-35246: fix support for path-like args in asyncio subprocess (GH-1…
lilydjwg May 29, 2019
53574c0
bpo-37075: Fix string concatenation in assert_has_awaits error messag…
tirkarthi May 29, 2019
537ca99
bpo-37070: Cleanup fstring debug handling (GH-13607)
ericvsmith May 29, 2019
85dae07
bpo-22454: Add shlex.join() (the opposite of shlex.split()) (GH-7605)
bbayles May 29, 2019
0f63909
remove unnecessary tp_dealloc (GH-13647)
methane May 29, 2019
3488efd
bpo-32972: Async test case (GH-13386)
asvetlov May 29, 2019
5c28c66
bpo-33164: blake2 fix for HP-UX (GH-13633)
May 29, 2019
0dfedbb
bpo-36842: Fix reference leak in tests by running out-of-proc (GH-13556)
zooba May 29, 2019
2cfe5d1
Add my to code owner for more areas (#13650)
tiran May 29, 2019
3571176
Doc: Add an optional obsolete header. (GH-13638)
JulienPalard May 29, 2019
c956603
bpo-36794: Document that Lock.acquire is fair. (GH-13082)
hniksic May 29, 2019
191a702
bpo-36983: Fix typing.__all__ and add test for exported names (GH-13456)
asottile May 29, 2019
77cc01e
bpo-36974: implement PEP 590 (GH-13185)
jdemeyer May 29, 2019
509f56b
bpo-22385: Support output separators in hex methods. (#13578)
gpshead May 29, 2019
4210ddb
bpo-26836: Add os.memfd_create() (#13567)
ZackerySpytz May 29, 2019
acf80db
bpo-32388: Remove cross-version binary compatibility requirement in t…
pitrou May 29, 2019
ee11339
bpo-26836: Add ifdefs for all MFD_HUGE* constants (GH-13666)
ZackerySpytz May 29, 2019
9e3f8b2
bpo-36974: Fix GDB integration (GH-13665)
encukou May 29, 2019
317e94c
bpo-37007: Implement socket.if_nametoindex(), if_indextoname() and if…
ZackerySpytz May 29, 2019
eebe0d1
Regenerate topics file (GH-13642)
pablogsal May 29, 2019
4a72041
Don't crash if there exists an EGG-INFO directory on sys.path (#13667)
asottile May 30, 2019
a2b5926
bpo-24564: shutil.copystat(): ignore EINVAL on os.setxattr() (GH-13369)
yingw787 May 30, 2019
4ff6e40
bpo-36610: shutil.copyfile(): use sendfile() on Linux only (GH-13675)
giampaolo May 30, 2019
e98deab
autoreconf (GH-13651)
methane May 30, 2019
5c9bfe3
bpo-36935: Remove usage of the deprecated PyErr_SetFromWindowsErrWith…
ZackerySpytz May 30, 2019
c4efdaa
bpo-37098: Skip memfd_create test before Linux 3.17 (GH-13677)
tiran May 30, 2019
c690f76
bpo-37015: Ensure tasks created by _accept_connection2 due to AsyncMo…
tirkarthi May 30, 2019
8491a7e
bpo-36974: inherit the vectorcall protocol (GH-13498)
jdemeyer May 30, 2019
c929502
bpo-36974: remove _PyObject_HasFastCall (GH-13460)
jdemeyer May 30, 2019
8cbd5f2
bpo-20602: Do not clear sys.flags and sys.float_info during shutdown …
ZackerySpytz May 30, 2019
5d9f43a
bpo-37099: Silence DeprecationWarning in test_inspect (GH-13679)
tirkarthi May 30, 2019
c29bd49
bpo-36974: rename _FastCallKeywords -> _Vectorcall (GH-13653)
jdemeyer May 30, 2019
ecdc4c7
Revert adding @maxking to CODEOWNERS file (GH-13660)
brettcannon May 30, 2019
9daff80
bpo-36999: Add asyncio.Task.get_coro() (GH-13680)
agronholm May 30, 2019
5a404d2
Fix audit event typo : urllib.request -> urllib.Request (GH-13550)
tirkarthi May 30, 2019
057a0fd
bpo-5028: fix doc bug for tokenize (GH-11683)
andrewnc May 30, 2019
fb0f7e2
bpo-30969: Fix docs about the comparison in absence of __contains__ (…
ztane May 30, 2019
a5b2b98
bpo-36342: Fix test_multiprocessing in test_venv (GH-12513)
xdegaye May 30, 2019
0517839
bpo-36953: Delay removal of ABCs from collections. (GH-13409)
May 30, 2019
75cd6ea
bpo-5028: Fix up rest of documentation for tokenize documenting line …
asottile May 30, 2019
80b0048
bpo-35950: Raise UnsupportedOperation in BufferedReader.truncate()
berkerpeksag May 30, 2019
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
  •  
  •  
  •  
162 changes: 162 additions & 0 deletions .azure-pipelines/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,162 @@
variables:
manylinux: false
coverage: false

resources:
containers:
- container: manylinux1
image: pyca/cryptography-manylinux1:x86_64

jobs:
- job: Prebuild
displayName: Pre-build checks

pool:
vmImage: ubuntu-16.04

steps:
- template: ./prebuild-checks.yml


- job: Docs_PR
displayName: Docs PR
dependsOn: Prebuild
condition: and(succeeded(), eq(dependencies.Prebuild.outputs['docs.run'], 'true'))

pool:
vmImage: ubuntu-16.04

steps:
- template: ./docs-steps.yml
parameters:
upload: true


- job: macOS_CI_Tests
displayName: macOS CI Tests
dependsOn: Prebuild
condition: and(succeeded(), eq(dependencies.Prebuild.outputs['tests.run'], 'true'))

variables:
testRunTitle: '$(build.sourceBranchName)-macos'
testRunPlatform: macos

pool:
vmImage: xcode9-macos10.13

steps:
- template: ./macos-steps.yml


- job: Ubuntu_CI_Tests
displayName: Ubuntu CI Tests
dependsOn: Prebuild
condition: and(succeeded(), eq(dependencies.Prebuild.outputs['tests.run'], 'true'))

pool:
vmImage: ubuntu-16.04

variables:
testRunTitle: '$(build.sourceBranchName)-linux'
testRunPlatform: linux
openssl_version: 1.1.1b

steps:
- template: ./posix-steps.yml
parameters:
dependencies: apt


- job: ManyLinux1_CI_Tests
displayName: ManyLinux1 CI Tests
dependsOn: Prebuild
condition: |
and(
and(
succeeded(),
eq(variables['manylinux'], 'true')
),
eq(dependencies.Prebuild.outputs['tests.run'], 'true')
)

pool:
vmImage: ubuntu-16.04

container: manylinux1

variables:
testRunTitle: '$(build.sourceBranchName)-manylinux1'
testRunPlatform: manylinux1
openssl_version: ''

steps:
- template: ./posix-steps.yml
parameters:
dependencies: yum
sudo_dependencies: ''
xvfb: false
patchcheck: false


- job: Ubuntu_Coverage_CI_Tests
displayName: Ubuntu CI Tests (coverage)
dependsOn: Prebuild
condition: |
and(
and(
succeeded(),
eq(variables['coverage'], 'true')
),
eq(dependencies.Prebuild.outputs['tests.run'], 'true')
)

pool:
vmImage: ubuntu-16.04

variables:
testRunTitle: '$(Build.SourceBranchName)-linux-coverage'
testRunPlatform: linux-coverage
openssl_version: 1.1.1b

steps:
- template: ./posix-steps.yml
parameters:
dependencies: apt
coverage: true


- job: Windows_CI_Tests
displayName: Windows CI Tests
dependsOn: Prebuild
condition: and(succeeded(), eq(dependencies.Prebuild.outputs['tests.run'], 'true'))

pool:
vmImage: vs2017-win2016

strategy:
matrix:
win32:
arch: win32
buildOpt:
testRunTitle: '$(Build.SourceBranchName)-win32'
testRunPlatform: win32
win64:
arch: amd64
buildOpt: '-p x64'
testRunTitle: '$(Build.SourceBranchName)-win64'
testRunPlatform: win64
maxParallel: 2

steps:
- template: ./windows-steps.yml

- template: ./windows-layout-steps.yml
parameters:
kind: nuget
- template: ./windows-layout-steps.yml
parameters:
kind: embed
- template: ./windows-layout-steps.yml
parameters:
kind: appx
fulltest: true
46 changes: 46 additions & 0 deletions .azure-pipelines/docs-steps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
parameters:
latex: false
upload: false

steps:
- checkout: self
clean: true
fetchDepth: 5

- task: UsePythonVersion@0
displayName: 'Use Python 3.6 or later'
inputs:
versionSpec: '>=3.6'

- script: python -m pip install sphinx==1.8.2 blurb python-docs-theme
displayName: 'Install build dependencies'

- ${{ if ne(parameters.latex, 'true') }}:
- script: make check suspicious html PYTHON=python
workingDirectory: '$(build.sourcesDirectory)/Doc'
displayName: 'Build documentation'

- ${{ if eq(parameters.latex, 'true') }}:
- script: sudo apt-get update && sudo apt-get install -qy --force-yes texlive-full
displayName: 'Install LaTeX'

- script: make dist PYTHON=python SPHINXBUILD='python -m sphinx' BLURB='python -m blurb'
workingDirectory: '$(build.sourcesDirectory)/Doc'
displayName: 'Build documentation'

- ${{ if eq(parameters.upload, 'true') }}:
- task: PublishBuildArtifacts@1
displayName: 'Publish docs'

inputs:
PathToPublish: '$(build.sourcesDirectory)/Doc/build'
ArtifactName: docs
publishLocation: Container

- ${{ if eq(parameters.latex, 'true') }}:
- task: PublishBuildArtifacts@1
displayName: 'Publish dist'
inputs:
PathToPublish: '$(build.sourcesDirectory)/Doc/dist'
ArtifactName: docs_dist
publishLocation: Container
25 changes: 25 additions & 0 deletions .azure-pipelines/macos-steps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
steps:
- checkout: self
clean: true
fetchDepth: 5

- script: ./configure --with-pydebug --with-openssl=/usr/local/opt/openssl --prefix=/opt/python-azdev
displayName: 'Configure CPython (debug)'

- script: make -s -j4
displayName: 'Build CPython'

- script: make pythoninfo
displayName: 'Display build info'

- script: make buildbottest TESTOPTS="-j4 -uall,-cpu --junit-xml=$(build.binariesDirectory)/test-results.xml"
displayName: 'Tests'

- task: PublishTestResults@2
displayName: 'Publish Test Results'
inputs:
testResultsFiles: '$(build.binariesDirectory)/test-results.xml'
mergeTestResults: true
testRunTitle: $(testRunTitle)
platform: $(testRunPlatform)
condition: succeededOrFailed()
26 changes: 26 additions & 0 deletions .azure-pipelines/posix-deps-apt.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
apt-get update

apt-get -yq install \
build-essential \
zlib1g-dev \
libbz2-dev \
liblzma-dev \
libncurses5-dev \
libreadline6-dev \
libsqlite3-dev \
libssl-dev \
libgdbm-dev \
tk-dev \
lzma \
lzma-dev \
liblzma-dev \
libffi-dev \
uuid-dev \
xvfb

if [ ! -z "$1" ]
then
echo ##vso[task.prependpath]$PWD/multissl/openssl/$1
echo ##vso[task.setvariable variable=OPENSSL_DIR]$PWD/multissl/openssl/$1
python3 Tools/ssl/multissltests.py --steps=library --base-directory $PWD/multissl --openssl $1 --system Linux
fi
81 changes: 81 additions & 0 deletions .azure-pipelines/posix-steps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
parameters:
coverage: false
sudo_dependencies: sudo
dependencies: apt
patchcheck: true
xvfb: true

steps:
- checkout: self
clean: true
fetchDepth: 5

# Work around a known issue affecting Ubuntu VMs on Pipelines
- script: sudo setfacl -Rb /home/vsts
displayName: 'Workaround ACL issue'

- script: ${{ parameters.sudo_dependencies }} ./.azure-pipelines/posix-deps-${{ parameters.dependencies }}.sh $(openssl_version)
displayName: 'Install dependencies'

- script: ./configure --with-pydebug
displayName: 'Configure CPython (debug)'

- script: make -s -j4
displayName: 'Build CPython'

- ${{ if eq(parameters.coverage, 'true') }}:
- script: ./python -m venv venv && ./venv/bin/python -m pip install -U coverage
displayName: 'Set up virtual environment'

- script: ./venv/bin/python -m test.pythoninfo
displayName: 'Display build info'

- script: |
$COMMAND -m coverage run --pylib -m test \
--fail-env-changed \
-uall,-cpu \
--junit-xml=$(build.binariesDirectory)/test-results.xml \
-x test_multiprocessing_fork \
-x test_multiprocessing_forkserver \
-x test_multiprocessing_spawn \
-x test_concurrent_futures
displayName: 'Tests with coverage'
env:
${{ if eq(parameters.xvfb, 'true') }}:
COMMAND: xvfb-run ./venv/bin/python
${{ if ne(parameters.xvfb, 'true') }}:
COMMAND: ./venv/bin/python

- script: ./venv/bin/python -m coverage xml
displayName: 'Generate coverage.xml'

- script: source ./venv/bin/activate && bash <(curl -s https://codecov.io/bash)
displayName: 'Publish code coverage results'


- ${{ if ne(parameters.coverage, 'true') }}:
- script: make pythoninfo
displayName: 'Display build info'

- script: $COMMAND buildbottest TESTOPTS="-j4 -uall,-cpu --junit-xml=$(build.binariesDirectory)/test-results.xml"
displayName: 'Tests'
env:
${{ if eq(parameters.xvfb, 'true') }}:
COMMAND: xvfb-run make
${{ if ne(parameters.xvfb, 'true') }}:
COMMAND: make

- ${{ if eq(parameters.patchcheck, 'true') }}:
- script: ./python Tools/scripts/patchcheck.py --travis true
displayName: 'Run patchcheck.py'
condition: and(succeeded(), eq(variables['Build.Reason'], 'PullRequest'))


- task: PublishTestResults@2
displayName: 'Publish Test Results'
inputs:
testResultsFiles: '$(build.binariesDirectory)/test-results.xml'
mergeTestResults: true
testRunTitle: $(testRunTitle)
platform: $(testRunPlatform)
condition: succeededOrFailed()
Loading