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 csernazs, pitrou, skrah
Date 2010-07-13.12:51:19
SpamBayes Score 3.4164597e-05
Marked as misclassified No
Message-id <1279025476.3236.24.camel@localhost.localdomain>
In-reply-to <20100713124047.GA12009@yoda.bytereef.org>
Content
> Hm, on Linux I can't use os.getcwd() with paths longer than PATH_MAX
> as things are now:

Oh, right. I was assuming 1024 for PATH_MAX when doing my tests, but it
really is 4096.

> > Second, the test_posix change is a bit too tolerant. IMO it should
> check that the error is ERANGE, and that we are under Solaris.
> Otherwise the error shouldn't happen, should it?
> 
> If you change 1027 to 4098, the test currently fails on Linux, too. I
> think the only
> reason why it never failed is that most systems have PATH_MAX=4096.

Ok, then perhaps the test should be fixed?
History
Date User Action Args
2010-07-13 12:51:21pitrousetrecipients: + pitrou, csernazs, skrah
2010-07-13 12:51:19pitroulinkissue9185 messages
2010-07-13 12:51:19pitroucreate