These are chat archives for spyder-ide/public
def my_sum(a: 'first addend', b: 'second addend'): return a+b. Apparently it doesn't like the two functions annotations there. However the code is perfectly legit and runs. The same "false error" is returned when copy-pasting the very first example in PEP-3107. Is there a good reason or is this an error in the code analysis?
spyderembedded in its own process alongside it.
spyderhas been the most promising Python3 replacement for our embedded Python Toolkit (PTK) IDE that I have found so far. It's too bad the pip installation of
spyderfor Python2 is so heavyweight due to PyQt5, but I have verified that it is much more straightforward in a Python 3.6.8 venv. (FYI I tend to prefer conda, but I'm an exception in our org. Actually, one of my biggest issues with conda is that matplotlib seems to demand PyQt, and it's at a somewhat stale version at that. That out-of-the-box dependency bloat is no good for automated production CI workflows for packaged software delivery.) I am now wondering about the license for PyQt5 if I embed
spyderin our closed source app. I'm not totally sure how that applies if I'm using a derivative software. (It appears that
spyderitself is under MIT.)
@campanelli-resonon Similarly, having Spyder depend optionally on either
PySide2 would require that as well. Before, we just told users to install one separately, but naturally many users would not RTFM and complain that their Spyder was broken since they hadn't installed a Qt binding.
@goanpeca Wow, that is blazing fast! The non-solver stuff is still way slower on Windows than on my Linux VM running in ye olde Virtualbox on top of the same machine (I've noticed the same thing with
find and other commands), but on Linux the only thing I really spend time waiting for is the solver.