pysmbc
pysmbc copied to clipboard
Context.stat() and File.fstat() Should Return os.stat_result
The following patch ldo-stat-result.patch.txt reworks Context.stat()
and File.fstat()
to return the same type of namedtuples as os.stat()
does. This allows for symbolic names to refer to the fields, while remaining backward-compatible with existing code that expects a regular tuple.
It seems that the author would like to receive PR instead of patches: https://github.com/hamano/pysmbc/issues/33#issuecomment-538240919
I am not able to apply your patch to the current master branch. Would you please rebase it?
May require my patch for #34 to be applied first.