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 terry.reedy
Recipients ezio.melotti, python-dev, roger.serwy, terry.reedy, zach.ware
Date 2013-05-06.03:16:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1367810210.05.0.179261103784.issue17883@psf.upfronthosting.co.za>
In-reply-to
Content
I wonder if there is something special about the environment on that Snakebite machine. At the top, it says 
 PATH=C:\Perl\site\bin;C:\Perl\bin;E:\apps\activestate-python-2.7.2.5-x86\;E:\apps\activestate-python-2.7.2.5-x86\Scripts;...
Could the presence of activestate-python affect the build?

Ignoring the 'no buffer in 3.0' warnings, there are a couple of warnings that suggest updates to test_tcl.py. Another issue though.

The context for the failure is
        with test_support.EnvironmentVarGuard() as env:
            env.unset("TCL_LIBRARY")
            f = os.popen('%s -c "import Tkinter; print Tkinter"' % (unc_name,))
        self.assertTrue('Tkinter.py' in f.read())

I do not know why test_tcl is testing the ability of python to be opened from a unc path (I am not familiar with them), but anyway...

The assertion is testing the read of the printed Tkinter module representation. On my 2.7.4 install, the result is "<module 'Tkinter' from 'C:\Programs\Python27\lib\lib-tk\Tkinter.pyc'>". On my machine, the test reads that and passes. (On 3.x, the test is ('tkinter' in f.read()) as the file is tkinter/__init__.py instead of Tkinter.py.)

To see what is going on with the failing machine, an update to
        self.assertIn('Tkinter.py', f.read())
will show the f.read() that does not contain 'Tkinter.py'.
History
Date User Action Args
2013-05-06 03:16:50terry.reedysetrecipients: + terry.reedy, ezio.melotti, roger.serwy, python-dev, zach.ware
2013-05-06 03:16:50terry.reedysetmessageid: <1367810210.05.0.179261103784.issue17883@psf.upfronthosting.co.za>
2013-05-06 03:16:50terry.reedylinkissue17883 messages
2013-05-06 03:16:49terry.reedycreate