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.

classification
Title: 64-bit Python 2.7.11 hangs in 64-bit Windows 10 - CMD and Git Bash
Type: crash Stage: resolved
Components: Interpreter Core, Windows Versions: Python 2.7
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: paul.moore, r.david.murray, sam.taylor.bs, steve.dower, tim.golden, zach.ware
Priority: normal Keywords:

Created on 2016-05-10 13:20 by sam.taylor.bs, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (4)
msg265246 - (view) Author: Sam Taylor (sam.taylor.bs) Date: 2016-05-10 13:20
We have seen an issue where the 64-bit 2.7.11 Python Interpreter hangs whilst trying to run it in either Command Prompt or Git Bash on 64-bit Windows 10.

The issue is intermittent, the interpreter will run sometimes but will often hang immediately after typing 'python + ENTER' in either of the terminals.  There seems to be no pattern when it won't work.

We haven't seen this issue in 64-bit Windows 8.1.

The workaround was to install the 32-bit version of python 2.7.11 on 64-bit Windows 10 PC's - the interpreter is completely reliable in this case and running 32-bit has no effect on our work.

I haven't found the exact same issue elsewhere on the python bugs forum but similar issues point to Windows 10 dropping some functionality which Windows 8.1 and earlier versions had.

Setting up pseudo terminals does help but is a messy workaround.  Adding and removing PYTHONPATH etc from the environment variables doesn't have any effect.

Everything is working fine so this isn't really an issue.  I'm just interested if anyone else has experienced this and if they can shed any light onto what causes it.
msg265247 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2016-05-10 14:15
Is there any way you can attach a debugger to the process and see what it is doing or where it is stuck?  Otherwise, unless someone else can reproduce this, I don't think there is much we can do with this bug report.
msg265479 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2016-05-13 15:50
I wonder if it's related to issue26882? Seems unlikely as they are very different versions, but it's possible.
msg367296 - (view) Author: Zachary Ware (zach.ware) * (Python committer) Date: 2020-04-26 05:29
As this appears to be a 2.7-only issue, I'm going to go ahead and close it.
History
Date User Action Args
2022-04-11 14:58:30adminsetgithub: 71179
2020-04-26 05:29:04zach.waresetstatus: open -> closed
resolution: out of date
messages: + msg367296

stage: resolved
2016-05-13 15:50:07steve.dowersetmessages: + msg265479
2016-05-10 14:15:43r.david.murraysetnosy: + r.david.murray
messages: + msg265247
2016-05-10 13:20:35sam.taylor.bscreate