-
Notifications
You must be signed in to change notification settings - Fork 10.7k
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
Replace os.path
with pathlib
?
#4916
Comments
From what it looks like to me, much of scrapy's But to answer your question - I guess I wouldn't care, as long as:
Further, I don't think a single PR should be too complex for review. It would be nice instead to see all the repeating patterns together, to find refactoring opportunities. To me, that looks like the single big benefit of doing this change: you might find repeating patterns like Some people depending on github web reviews might be unable to review more complex patchsets, I'm aware; but we've had a few big ones for PRs in the past, and I believe scrapy's maintainers do have the skill to locally check out patches and use QoL tools like |
Since scrapy is a Python 3.6+ project, it could use the
pathlib.Path
objects and methods to manipulate directories and files instead of the string manipulators inos.path.*
and gain a lot of code readability. I have converted most of the code of scrapy topathlib.Path
, but a single PR would be too complex to review. Are you interested in this change? Would you review my PRs step by step? Any ideas?The text was updated successfully, but these errors were encountered: