First time here? Check out the FAQ!

massung's profile - activity

2024-03-05 09:25:12 -0500 received badge Notable Question (source)
2023-04-27 07:57:39 -0500 marked best answer Auto-close debugged, external files

One big annoyance I have with Wing - which I otherwise love using - is that when I enter the debugger due to an assert in 3rd party code, after debugging and stopping execution, all those 3rd party files remain open in the editor. I'd like to have them auto-close and return me back to where I was unless I set a breakpoint in one.

Is there a way to force this behavior or could this be a feature request?

2023-04-27 07:57:34 -0500 received badge Popular Question (source)
2023-04-05 11:08:12 -0500 asked a question Auto-close debugged, external files

Auto-close debugged, external files One big annoyance I have with Wing - which I otherwise love using - is that when I e

2022-12-14 05:49:16 -0500 received badge Famous Question (source)
2022-11-28 08:00:16 -0500 received badge Notable Question (source)
2022-11-14 08:06:09 -0500 marked best answer Wing incorrectly infers dictionary as set

In the following code, Wing infers zs to be a set() when it's really a dict():

xs = {'a': 10}

ys = {'b': 20}

zs = {**xs, **ys}

This causes annoyances later on with things like zs.get(...) being highlighted as an error, saying that get isn't a method of a set().

2022-11-14 08:05:57 -0500 received badge Popular Question (source)
2022-11-04 17:13:22 -0500 asked a question Wing incorrectly infers dictionary as set

Wing incorrectly infers dictionary as set In the following code, Wing infers zs to be a set() when it's really a dict():

2021-03-15 11:13:32 -0500 received badge Famous Question (source)
2021-02-22 08:31:16 -0500 received badge Notable Question (source)
2021-02-21 08:45:29 -0500 marked best answer Running setup.py while Wing is running

One difficulty I have with Wing is that any of the libraries I make and need to test by installing locally can't be done while Wing is running.

For example, let's say I'm making a library called foo with a setup.py. I periodically will need to run python setup.py install to test importing that library from within another (local) project and making sure it's all good.

However, running setup.py results in Python complaining that the foo egg is being used by another process (Wing). I have to shut down Wing, then run setup.py, then relaunch Wing again.

I assume this is because Wing opened the egg/package in order to get symbols for autocomplete, documentation, etc. That's great! But it appears to be holding onto it and not closing when done maybe?

Is this a Wing bug or is there something else I can do to work around this? Thanks!

2021-02-21 08:44:49 -0500 received badge Popular Question (source)
2021-02-19 11:53:00 -0500 commented question Running setup.py while Wing is running

Yep, this is on Windows. The egg is a single .egg file. To be clear, it's getting installed to: C:\Python39\Lib\site-pa

2021-02-19 11:25:45 -0500 commented question Running setup.py while Wing is running

Windows (I haven't tried any other platforms). The egg is a single .egg file.

2021-02-19 10:55:42 -0500 asked a question Running setup.py while Wing is running

Running setup.py while Wing is running One difficulty I have with Wing is that any of the libraries I make and need to t

2020-07-23 09:32:53 -0500 marked best answer Debug IO panel won't focus

Been trying to figure out what's wrong for the past 2 days, and I'm betting it's something really simple, but I just haven't been able to figure it out.

In one of my projects (the others are fine), I can't interact with the Debug I/O panel. I can't click on it, select text, type in it, scroll the scrollbars, etc. I can see the text output by my program just fine (and the program runs in the terminal just fine as well). If I right-click in the panel and pick "Select All" it will select all the text in the editor (not the Debug I/O output). But, I can do "Send NULL" and "Send EOF".

Note: everything works 100% from the OS Commands panel if I just execute the program instead of debugging it. So I know my program isn't doing anything funny.

I can close and relaunch Wing and the problem persists. Again, only for this one project, which makes me think I've done something in my project settings to cause this, but I can't find any difference between it and my other projects.

Any help would be appreciated. Thanks!

2020-07-05 22:02:15 -0500 received badge Famous Question (source)
2020-07-05 22:02:15 -0500 received badge Popular Question (source)
2020-07-05 22:02:15 -0500 received badge Notable Question (source)
2020-07-03 11:52:20 -0500 commented question Debug IO panel won't focus

Done. I've previous tried removing the Debug I/O tab and re-adding it to no avail. I'd like to avoid it, but I've consi

2020-07-03 11:33:39 -0500 commented question Debug IO panel won't focus

Done. I've previous tried removing the Debug I/O tab and re-adding it to no avail. I'd like to avoid it, but I've consi

2020-07-03 11:03:35 -0500 received badge Student (source)
2020-07-03 11:03:24 -0500 asked a question Debug IO panel won't focus

Debug IO panel won't focus Been trying to figure out what's wrong for the past 2 days, and I'm betting it's something re