classification
Title: xattr support missing in os module under cygwin
Type: crash Stage:
Components: Build Versions: Python 3.8
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: enok2
Priority: normal Keywords:

Created on 2021-11-22 12:39 by enok2, last changed 2021-11-22 12:39 by enok2.

Messages (1)
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.
History
Date User Action Args
2021-11-22 12:39:12enok2create