| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept this contribution by verifying everyone involved has signed the PSF contributor agreement (CLA). CLA MissingOur records indicate the following people have not signed the CLA: For legal reasons we need all the people listed to sign the CLA before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue. If you have recently signed the CLA, please wait at least one business day You can check yourself to see if the CLA has been received. Thanks again for the contribution, we look forward to reviewing it! |
Sorry, something went wrong.
|
This makes backwards incompatible changes to filecmp.cmp to make it match its (inaccurate) docstring. The solution is to fix the docstring, not change the behavior. |
Sorry, something went wrong.
The docstring for filecmp mentions that, with a shallow copy, the signature of the file is compared rather than a bit-by-bit comparison. As external user it is not clear what is meant by this signature. Is it a comparison of a stat between 2 files? If so, what about inode which would only be identical for a hard link. And so on... This clarification describes which parts of a stat are compared to give the end user more info when to use shallow compares and when not to.
State the actual interpretation of the `shallow` keyword argument to minimize possible confusion for the end user. This include: - clarify which info of `os.stat()` is used during shallow compare (file type, size and modification time) - clarify that `shallow=True` doesn't imply no deep compare can be performed under the hood.
|
This PR is stale because it has been open for 30 days with no activity. |
Sorry, something went wrong.
|
Closing in favor of GH-27166 where we integrated some of your suggestions and credited you. Thanks, AlexVndnblcke! |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
https://bugs.python.org/issue42958