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
imghdr does not support pathlib #72415
Comments
Supporting pathlib was one of the requirements of removing the provisional status. Why have you changed the type to enhancement? |
"Removing the provisional status" of what? Pathlib? If so, have you asked Ned if adding support during the beta period is acceptable? This open question is probably why Serhiy changed the type as without Ned's sign-off it means changing something in the stdlib for __fspath__() support is an enhancement and thus needs to be a 3.7 thing. But if Ned allows for classifying the lack of support as a bug then you could classify this a behaviour problem. I personally view it as an enhancement, but one that we should try to land prior to RC if Ned is okay with that. |
Since better pathlib support in standard library modules has been a focus of 3.6, I'm willing to allow this and the related changes for gzip, tarfile, zipfile, bz2, lzma, and compilall (bpo-28225 through bpo-28231) if thay introduce no backward incompatibilities, are reviewed, and are pushed in time for 360b2. |
According to https://www.python.org/dev/peps/pep-0494/#schedule, 2.6.0b2 is due on Sunday. Do you think you will be able to commit this and the other patches for PathLike support by then, Ethan? |
Here's a new patch that addresses Serhiy's comments. Let me know if you need a hand with review and commit these patches this weekend :) |
Berker, yes please. I just got back from vacation. |
Berker, your patch LGTM |
New changeset 929e3adefe7a by Berker Peksag in branch '3.6': New changeset 013b3b5d3b6c by Berker Peksag in branch 'default': |
Thanks for the review, Brett! The next target is gzip module. Thanks for the all patches Ethan :) |
patch for python 2.7 |
Misc/NEWS
so that it is managed by towncrier #552Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: