[issue29525] Python 2.7.13 for Windows broken (from prompt)

2017-02-18 Thread Steve Dower
Steve Dower added the comment: You should be able to update whatever package installed that module. Unfortunately, we can't guess what that would be, but it's probably worthwhile updating all the packages you have installed. -- resolution: -> not a bug stage: -> resolved status:

[issue29525] Python 2.7.13 for Windows broken (from prompt)

2017-02-13 Thread Frak N
Frak N added the comment: Excellent analysis guys! Thank you! The -X faulthandler option didn't work. The -S -v, however, did. Finally, renaming and deleting the readline entries fixed it such that I can now launch the REPL. Question. What does " disables the site module" for the -S option

[issue29525] Python 2.7.13 for Windows broken (from prompt)

2017-02-10 Thread Eryk Sun
Eryk Sun added the comment: It doesn't appear to be a crash, but seems like the REPL is quitting because there's no input (e.g. like stdin is redirected to NUL). Echo %errorlevel%; it's probably 0. readline (pyreadline) is probably the culprit. Try the following shell commands to

[issue29525] Python 2.7.13 for Windows broken (from prompt)

2017-02-10 Thread STINNER Victor
STINNER Victor added the comment: To get more information during the Python initialization, you can try to run: python -X faulthandler -S -v * -X faulthandler: dump a traceback if python crashed (is it the case? I don't understand from the bug report) * -S disables the site module * -v

[issue29525] Python 2.7.13 for Windows broken (from prompt)

2017-02-10 Thread Frak N
Frak N added the comment: c:\Python27>SET PY Environment variable PY not defined I don't know anything about readline or how to find what uses it. -- ___ Python tracker

[issue29525] Python 2.7.13 for Windows broken (from prompt)

2017-02-10 Thread Steve Dower
Steve Dower added the comment: Readline is also a common culprit when it's crashing out at the interactive prompt. Try either uninstalling or upgrading any packages that may include a readline module. -- ___ Python tracker

[issue29525] Python 2.7.13 for Windows broken (from prompt)

2017-02-10 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___

[issue29525] Python 2.7.13 for Windows broken (from prompt)

2017-02-10 Thread Tim Golden
Tim Golden added the comment: Although I don't remember seeing a crash out as quick as this, common causes for this kind of thing are to do with environment variables pointing to still-existing or part-existing installations. Can you try: set PY from a command prompt, please, to see if any

[issue29525] Python 2.7.13 for Windows broken (from prompt)

2017-02-10 Thread Frak N
New submission from Frak N: I used to have an older version of python 2.7 that has worked for years. I just upgraded to 2.7.13 for Windows, 32 bit and now, I can't get the interpreter to run from the command line. It just returns to the DOS prompt. c:\Python27>python Python 2.7.13