[issue39533] Use `statx(2)` system call on Linux for extended `os.stat` information

2020-05-17 Thread Pavol Babinčák
Change by Pavol Babinčák : -- nosy: +scrool ___ Python tracker <https://bugs.python.org/issue39533> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18262] ZipInfo.external_attr are not documented

2020-05-17 Thread Pavol Babinčák
Pavol Babinčák added the comment: I'm interested in this documentation enhancement as well. Alex, I'm wondering if you could convert your patch to GitHub? [1] [1] https://devguide.python.org/pullrequest/#converting-an-existing-patch-from-b-p-o-to-github -- nos

[issue40644] Text representation of Windows' file attributes similar to stat.filemode()

2020-05-17 Thread Pavol Babinčák
Pavol Babinčák added the comment: In a second example I meant: stat.filemode(stat.S_IMODE(os.lstat(n).st_mode))[1:4] -- ___ Python tracker <https://bugs.python.org/issue40

[issue40644] Text representation of Windows' file attributes similar to stat.filemode()

2020-05-17 Thread Pavol Babinčák
Pavol Babinčák added the comment: Thanks for exhaustive response! The way how I understand this is it might be beneficial to extend request to get text representation of file attributes on other architectures. I didn't know about statx() syscall. From what I can tell there is no b

[issue40648] File mode is not tested on Windows

2020-05-16 Thread Pavol Babinčák
Change by Pavol Babinčák : -- keywords: +patch pull_requests: +19435 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20130 ___ Python tracker <https://bugs.python.org/issu

[issue40648] File mode is not tested on Windows

2020-05-16 Thread Pavol Babinčák
New submission from Pavol Babinčák : >From what I can tell only place where file mode is tested is test_mode() >method of class TestFilemode in test_stat.py. Relevant section for Windows >(os.name != 'posix'): with open(TESTFN, 'w'): pass ... os.chmod(TE

[issue40644] Text representation of Windows' file attributes similar to stat.filemode()

2020-05-16 Thread Pavol Babinčák
New submission from Pavol Babinčák : I'm using Windows and lets' say I have this directory structure listed with cmd: > dir /A ... 16.05.20 11:15 directory 16.05.20 10:47 0 hidden 16.05.20 11:25 link [regular] 16.05.20 10:47