[issue43194] Add JFXX as jpeg marker in imghdr module

2021-02-10 Thread JiKwon Kim
New submission from JiKwon Kim : Currently imghdr module only finds "JFIF" or "Exif" in specific position. However there's some jpeg images with "JFXX" marker. I had some image with this marker and imghdr.what() returned None. Refer to: https://www.ecma-i

[issue43159] pathlib with_suffix() should accept suffix not start with dot

2021-02-07 Thread JiKwon Kim
New submission from JiKwon Kim : 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: