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 pitrou
Recipients jcea, loewis, movement, pitrou
Date 2011-01-26.12:41:11
SpamBayes Score 6.77195e-07
Marked as misclassified No
Message-id <1296045471.3684.21.camel@localhost.localdomain>
In-reply-to <>
> I do know, but when you are working inside a zone, I am not sure you
> can count of that file being always present. Syslog even could be
> disabled or not available inside a zone.

Then you can just skip the test.

> I am thinking about how to manage OS's with no support for doors.
> Instead of conditionally compile the new STAT,

Lib/ is a pure Python module. There is no compilation to do.
You just have to add the pure Python version of the C macro.
For the record, 0xd000 is (stat.S_IFSOCK + stat.S_IFIFO).

> I would rather have the function always available, but returning FALSE
> when the OS doesn't support doors.


> But what happen if you mount a Solaris filesystem in a nonsolaris
> machine?. Let say, a Solaris ZFS filesystem with doors, under
> linux/*bsd + ZFS?.

I guess S_ISDOOR would return True.
Date User Action Args
2011-01-26 12:41:12pitrousetrecipients: + pitrou, loewis, jcea, movement
2011-01-26 12:41:11pitroulinkissue11016 messages
2011-01-26 12:41:11pitroucreate