pysmbc icon indicating copy to clipboard operation
pysmbc copied to clipboard

Context.stat() and File.fstat() Should Return os.stat_result

Open ldo opened this issue 5 years ago • 3 comments

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.

ldo avatar Oct 03 '19 04:10 ldo

It seems that the author would like to receive PR instead of patches: https://github.com/hamano/pysmbc/issues/33#issuecomment-538240919

frafra avatar May 16 '20 16:05 frafra

I am not able to apply your patch to the current master branch. Would you please rebase it?

frafra avatar May 16 '20 16:05 frafra

May require my patch for #34 to be applied first.

ldo avatar May 20 '20 06:05 ldo