Open oscargus opened 2 years ago
Hi @oscargus,
I followed your instructions, but I was unable to reproduce this issue in macOS. Do you have any other case that I can try it on?
Thanks for looking into it.
I just tried it again and it still behaves like that. I also tried it on my office Linux machine right now (5.0.5) and happens there as well. I can try on my home Linux machine later on tonight.
Maybe you can try with a simpler example (only two files involved).
(I might try to capture a video if it doesn't work out.)
I can just confirm that the same thing happens on my home Linux computer (Spyder 5.2.1, Python 3.10).
I'll see if I can record a video of it.
Issue Report Checklist
conda update spyder
(orpip
, if not using Anaconda)spyder --reset
Problem Description
I stumbled upon a weird issue while refactoring some files. I think it comes down to what happens with the additional information that Spyder stores internally for each file, but I have not dug into it.
Here is the output:
See below how it was obtained. (I originally noted that
_file.py
had error markers fromfile.py
, so the first three steps is enough to obtain one of the problems. But while creating an MWE, I also found thatfile2.py
does not have error markers, which it should. So first time there is a link and second time there is no checking.)It is not really a major issue, but maybe something to have in mind when working on those parts.
What steps reproduce the problem?
file.py
_file.py
file.py
, and introduce some error in it.file2.py
file.py
.What is the expected output? What do you see instead?
_file.py
should not have an error marker.file2.py
should have an error marker.Paste Traceback/Error Below (if applicable)
Versions
Dependencies