]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40447: accept all path-like objects in compileall.compile_file (GH-19883)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 23 Dec 2022 20:43:13 +0000 (12:43 -0800)
committerGitHub <noreply@github.com>
Fri, 23 Dec 2022 20:43:13 +0000 (12:43 -0800)
commitd5eb2f4747cd9afbc7f32fd6373a5f73aa59f61c
treef9b3243d0bf5498e62c481a3318aeff3e78c6e32
parent4b3b6423c3667d8c9350fb920a5a69824c5250ff
bpo-40447: accept all path-like objects in compileall.compile_file (GH-19883)

(cherry picked from commit 1ecfd1ebf1f53ef6ac82085b25ed09952b470d4e)

Co-authored-by: Filipe Laíns <lains@riseup.net>
Signed-off-by: Filipe Laíns <lains@archlinux.org>
Signed-off-by: Filipe Laíns <lains@riseup.net>
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Lib/compileall.py
Lib/test/test_compileall.py
Misc/NEWS.d/next/Library/2020-05-03-12-55-55.bpo-40447.oKR0Lj.rst [new file with mode: 0644]