New submission from JiKwon Kim <[email protected]>:
Currently pathlib with_suffix() function only accepts suffix starts with
dot(".").
Consider this code;
some_pathlib_path.with_suffix("jpg")
This should change suffix to ".jpg", not raising ValueError.
----------
components: Library (Lib)
messages: 386612
nosy: elbarkwon
priority: normal
severity: normal
status: open
title: pathlib with_suffix() should accept suffix not start with dot
versions: Python 3.10, Python 3.9
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue43159>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com