diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-12-23 20:39:55 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-23 20:39:55 (GMT) |
commit | 9c4b8cca09342734eb04fc1093d5952a2317dfb7 (patch) | |
tree | cea369050cacf7b631111461bdbe1a602723940e /Misc/NEWS.d | |
parent | bd472198c6ab7d69657aa3d70df1320584cf98b2 (diff) | |
download | cpython-9c4b8cca09342734eb04fc1093d5952a2317dfb7.zip cpython-9c4b8cca09342734eb04fc1093d5952a2317dfb7.tar.gz cpython-9c4b8cca09342734eb04fc1093d5952a2317dfb7.tar.bz2 |
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>
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Library/2020-05-03-12-55-55.bpo-40447.oKR0Lj.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-05-03-12-55-55.bpo-40447.oKR0Lj.rst b/Misc/NEWS.d/next/Library/2020-05-03-12-55-55.bpo-40447.oKR0Lj.rst new file mode 100644 index 0000000..941038d --- /dev/null +++ b/Misc/NEWS.d/next/Library/2020-05-03-12-55-55.bpo-40447.oKR0Lj.rst @@ -0,0 +1,2 @@ +Accept :class:`os.PathLike` (such as :class:`pathlib.Path`) in the ``stripdir`` arguments of +:meth:`compileall.compile_file` and :meth:`compileall.compile_dir`. |