C.A.M. Gerlach

Results 453 comments of C.A.M. Gerlach

I can understand why you might want to bump this PR to Spyder 6 (though it also carries the risk that Spyder 6 gets delayed for years like Spyder 4...

See also comments on #17512 : > I would think that relying on Python's mature, battle tested and widely used facilities for OS interaction are much more robust and reliable...

> So the primary motivation was the behavior noted by @dalthviz in which importing PYTHONPATH after exporting from PPM to the system PYTHONPATH indicated that there was nothing to import....

> However, I think that we could completely eliminate set_spyder_pythonpath in spyder_kernels/customize/spydercustomize.py (and SPY_PYTHONPATH) by executing update_syspath upon client creation, Just FYI, I think that's what @ccordoba12 was saying as...

As I understand it, `transient.ini` is for ephemeral state that is not particularly critical and can be discarded without much loss, while the main `spyder.ini` is for persistent config options...

Agreed, this would definitely be a very useful feature and something I've thought about as well, though would take at least some backend work to implement. Also, from a UI...

> Instead of trying to expand the current selection to reach a valid multi-line statement, I think we should simply check the current line, paste it in the console if...

I don't see the problem with at least an opt-in option to enable the standard `PYTHONPATH` behavior, perhaps with a suitable warning. While the standard Python behavior may be confusing...

I don't think it really is either for the reasons you mentioned; I included that as an option if needed to assuage @ccordoba12 's concerns about it. At least in...

@ccordoba12 I agree with the other two, but I'm a little confused and unsure what you're proposing with the first part. I'm not sure if you're saying that Spyder should...