homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: xattr support missing in os module under cygwin
Type: behavior Stage: resolved
Components: Build Versions: Python 3.8
process
Status: closed Resolution: wont fix
Dependencies: Superseder: Cygwin is unsupported - close all open issues and list them here.
View: 45537
Assigned To: Nosy List: enok2, iritkatriel
Priority: normal Keywords:

Created on 2021年11月22日 12:39 by enok2, last changed 2022年04月11日 14:59 by admin. This issue is now closed.

Messages (4)
msg406768 - (view) Author: Oskar Enoksson (enok2) Date: 2021年11月22日 12:39
With the latest Python 3.8.10 under cygwin the following fails:
>>> import os
>>> os.listxattr('.')
Traceback (most recent call last):
 File "<stdin>", line 1, in < module>
AttributeError: module 'os' has no attribute 'listxattr'
/usr/include/attr/xattr.h declares the corresponding library functions, so something must be wrong in the configuration/compilation of python itself.
msg411414 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2022年01月23日 19:55
This is listed in the docs as a linux-only feature:
https://docs.python.org/3/library/os.html#linux-extended-attributes 
msg411415 - (view) Author: Oskar Enoksson (enok2) Date: 2022年01月23日 20:06
Perhaps it could be supported under cygwin though without too much effort? Most likely just a configuration fix?
After all, cygwin is a sort of linux ...
msg411417 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2022年01月23日 20:10
There isn't currently a maintainer for cpython on cygwin. If someone volunteers for this, they can go through the issues listed at the bottom of issue45537.
History
Date User Action Args
2022年04月11日 14:59:52adminsetgithub: 90026
2022年01月23日 20:10:01iritkatrielsetstatus: open -> closed
superseder: Cygwin is unsupported - close all open issues and list them here.
messages: + msg411417

resolution: not a bug -> wont fix
stage: resolved
2022年01月23日 20:06:13enok2setstatus: pending -> open

messages: + msg411415
2022年01月23日 19:55:48iritkatrielsetstatus: open -> pending

nosy: + iritkatriel
messages: + msg411414

type: crash -> behavior
resolution: not a bug
2021年11月22日 12:39:12enok2create

AltStyle によって変換されたページ (->オリジナル) /