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.

Author marcin.bachry
Recipients marcin.bachry, nikratio, theller
Date 2010-01-23.16:58:59
SpamBayes Score 3.21335e-07
Marked as misclassified No
Message-id <>
In the libc case you shouldn't give absolute path in CDLL: CDLL('') is better. You use "/lib/" path, but Python (and actually uses something like "/lib/tls/i686/cmov/" - these are two separate libraries with separate "errno" variables, mapped to different memory regions. Your call to getxattr modifies errno in the former library, but ctypes get_errno() fetches value from the latter library.

If I fix CDLL() call, the test works ok for me.
Date User Action Args
2010-01-23 16:59:02marcin.bachrysetrecipients: + marcin.bachry, theller, nikratio
2010-01-23 16:59:01marcin.bachrysetmessageid: <>
2010-01-23 16:59:00marcin.bachrylinkissue7760 messages
2010-01-23 16:58:59marcin.bachrycreate