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 exarkun
Recipients exarkun
Date 2008-04-30.00:01:38
SpamBayes Score 0.33574808
Marked as misclassified No
Message-id <1209513713.72.0.856883129402.issue2722@psf.upfronthosting.co.za>
In-reply-to
Content
$ python -c "print len('`pwd`'); import os; print os.getcwd()"
1174
Traceback (most recent call last):
  File "<string>", line 1, in ?
OSError: [Errno 34] Numerical result out of range
$

The getcwd man page documents the ERANGE failure and suggests that the
calling application allocate a larger buffer and try again.
History
Date User Action Args
2008-04-30 00:01:58exarkunsetspambayes_score: 0.335748 -> 0.33574808
recipients: + exarkun
2008-04-30 00:01:54exarkunsetspambayes_score: 0.335748 -> 0.335748
messageid: <1209513713.72.0.856883129402.issue2722@psf.upfronthosting.co.za>
2008-04-30 00:01:51exarkunlinkissue2722 messages
2008-04-30 00:01:49exarkuncreate