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 rosslagerwall
Recipients rosslagerwall, rpointel
Date 2011-08-29.12:39:37
SpamBayes Score 2.8076948e-07
Marked as misclassified No
Message-id <1314621578.14.0.408744643223.issue12852@psf.upfronthosting.co.za>
In-reply-to
Content
Does it always segfault?

Try:
./python -c 'import os; print(os.fdlistdir(os.open("/tmp", os.O_RDONLY)))'

with various values for /tmp.

From what I can see, the code for fdlistdir is basically the same as os.listdir().
If possible, try os.listdir() as well.
History
Date User Action Args
2011-08-29 12:39:38rosslagerwallsetrecipients: + rosslagerwall, rpointel
2011-08-29 12:39:38rosslagerwallsetmessageid: <1314621578.14.0.408744643223.issue12852@psf.upfronthosting.co.za>
2011-08-29 12:39:37rosslagerwalllinkissue12852 messages
2011-08-29 12:39:37rosslagerwallcreate