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 Hans Lawrenz
Recipients Hans Lawrenz, abarry, martin.panter, serhiy.storchaka, vstinner
Date 2015-11-25.13:57:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1448459822.34.0.060031444316.issue25717@psf.upfronthosting.co.za>
In-reply-to
Content
Martin, I applied your patch and it proved your hypothesis. See below for how I tested. I also updated the github repo for others to reproduce if they wish.


cd
wget https://www.python.org/ftp/python/3.5.0/Python-3.5.0.tar.xz

mkdir ~/dist
cd ~/dist
tar xJf ~/Python-3.5.0.tar.xz
cd Python-3.5.0
./configure --prefix=/home/vagrant/py35/dist && \
make && make install

mkdir ~/patch
cd ~/patch
tar xJf ~/Python-3.5.0.tar.xz
cd Python-3.5.0
patch -p1 < /vagrant/fstat-failure.patch
./configure --prefix=/home/vagrant/py35/patch && \
make && make install



vagrant@vagrant-ubuntu-trusty-64:~$ ./py35/dist/bin/python3.5 /vagrant/temptest.py 
Path 1: worked
Path 2: ERROR
vagrant@vagrant-ubuntu-trusty-64:~$ ./py35/patch/bin/python3.5 /vagrant/temptest.py 
Path 1: worked
Path 2: worked
History
Date User Action Args
2015-11-25 13:57:02Hans Lawrenzsetrecipients: + Hans Lawrenz, vstinner, martin.panter, serhiy.storchaka, abarry
2015-11-25 13:57:02Hans Lawrenzsetmessageid: <1448459822.34.0.060031444316.issue25717@psf.upfronthosting.co.za>
2015-11-25 13:57:02Hans Lawrenzlinkissue25717 messages
2015-11-25 13:57:01Hans Lawrenzcreate