-
Notifications
You must be signed in to change notification settings - Fork 68
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
3 fields are labelled "unnamed field" in repr(scandir.DirEntry.stat())
#140
Comments
I believe the behaviour was introduced in #137. I don't (yet) know what a fix would look like, I'll update if I figure something out. I happened to come across it while trying something similar for https://github.com/moreati/scanwalk (not ready for use by anyone, just a toy for now), specifically https://github.com/moreati/scanwalk/tree/franken-posixmodule |
Thanks for the report. This is strange. Yeah, it's got to be due to #137, but I can't see how just changing that I have limited time (and desire) to work on scandir these days, now that it's included in Python itself (has been since 3.5). Another approach would be to switch to using |
I've no pressing need for a fix, sorry for not making that clear. This report was mainly so people had a reference in case they hit it too. Thanks for shipping scandir all these years. Confirm it also happens on Linux
|
Using current master (rev 34a0cc1) the last 3 fields are mislabelled as
unnamed field
using the most recent PyPI release they're labelled as expected (
st_atime
, ...)System details, just incase
The text was updated successfully, but these errors were encountered: