Category: Everything

Debugging support in kdev-python

There’s now support for (graphically) debugging python applications from within KDevelop, like it works with C++. The implementation relies on communicating with the default python debugger, pdb, which is shipped with python. It aims to nicely map all of pdb’s features to buttons and tooltips / toolviews. kdev-python debugger in action Features Key features include: Step through code using the well-known “next”, “continue”, etc. buttons; KDevelop will automatically open up […]

Continue Reading →

Another note about kdev-python branches

There’s now a 1.3 branch in kdev-python which is compatible with kdevelop 1.3 beta (the 1.2.82 or so tags). If you want to use kdev-python, please use this branch. The current master branch uses some functionality which has not been added to kdevplatform yet, and thus won’t compile unless you apply a patch. I’m sorry for breaking it, I’ll try not to do that any more in the future. Update:  […]

Continue Reading →

Note about kdev-python master dependencies

Just a quick note, as I’ve been asked a few times in the last days: The current master branch of kdev-python targets kdevplatform 1.3. This means you’ll need to use the 1.2.8x (or 1.3, once released) series of kdevplatform if you want to run it. The current kdevplatform master (1.3.60 or so) doesn’t work; if you want to use the plugin with that version of kdevplatform, change x-kdevelop-version from 13 […]

Continue Reading →

About Python 3 support in kdev_python

Just a quick note about Python 3 support in the kdevelop python plugin: I will switch over to supporting Python 3 language features as soon as there’s a release of the Django web framework using Python 3 (as this plugin was originally intended for developing Django applications, this seems like a reasonable point in time to me). Most (all?) of the (syntactic) features Python 3 has so far are in […]

Continue Reading →

The three worst things about Mathematica

I’ve been working with Mathematica quite a lot recently, and while it has some really nice features like the Manipulate[] operator which lets you create interactive plots or anything in a single line, it has a few major fuckups in my opinion. So allow me to rant about my personal top three of them for a bit. <rant> Place 3: Shared data among notebooks All data among all currently opened […]

Continue Reading →

Game Tip: Legend of Zelda

Since I had a bit of spare time recently, I decided I’d like to play some cool game, preferabily something ancient (I tend to like old games better than new ones, for some reason). I remembered that I read the name “Legend of Zelda” thousands of times, but I never actually played one of the games. So I just picked the oldest one of the games (called “The Legend of […]

Continue Reading →

kdev-python: Argument type guessing, advanced list content type support and more

It has been a while since my last post about kdev-python, the python language support plugin for KDevelop; I have been quite busy recently. Neverthereless, I got quite a few cool features (almost) finished now. First, there’s support for argument type guessing. So whenever you call a function, KDevelop will try to find out the type of the parameters you passed, and add them to the possible types for that […]

Continue Reading →

Basic List content type support in KDevelop-Python

Hey, after dealing with a few difficult problems, I finally got a first prototype of the “list content type support” implemented: Doesn’t look very impressive? It isn’t, yet. But: The plugin now tracks which kind of data a list contains, and when accessing the list in one or another way, it uses that information to guess the type of the resulting objects. This is not very advanced yet, but it […]

Continue Reading →