[New-bugs-announce] [issue32812] edited code only runs after closing and re-opening Python.

john report at bugs.python.org
Fri Feb 9 21:45:17 EST 2018


New submission from john <johnschwarcz at gmail.com>:

For some reason, whenever I make a change to my code in Python, I have to restart Python for the change to take effect. 
Otherwise Python just runs whatever the code was when I opened the .py file.

Worth noting is that this has not always been true, and is not always true. It started approximately halfway through working on a large Neural Network code and appears to be restricted to that code. (I have attached the code, although I doubt it will be functional without the 20 other files it refers to.)

This has become a huge pain in the neck, wasting an estimated 23.7% of my life. Please send help. 

Thanks! ^.^

----------
files: train.py
messages: 311927
nosy: johnschwarcz
priority: normal
severity: normal
status: open
title: edited code only runs after closing and re-opening Python.
versions: Python 3.6
Added file: https://bugs.python.org/file47433/train.py

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32812>
_______________________________________


More information about the New-bugs-announce mailing list