"python category.py move -from:Foobar -to:FooBar" is broken in rev 8140. It finds all the members of the category, then claims that they aren't members. It works perfectly in rev 8050. This is MediaWiki 1.15.3.
Here's an attempt with rev 8140:
Reading dump from category.dump.bz2
Target page Category:Foobar already exists!
Getting [[Category:FooBar]]...
Getting 9 pages from ourwiki:en...
Getting categories in [[Address]] via API...
ERROR: [[Address]] is not in category Category:FooBar!
Getting categories in [[Company location list]] via API...
ERROR: [[Company location list]] is not in category Category:FooBar!
etc
$ python version.py
Pywikipedia [http] trunk/pywikipedia (r8140, 2010/04/29, 13:57:22)
Python 2.4.3 (#1, Sep 3 2009, 15:37:37)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)]
config-settings:
use_api = True
use_api_login = True
This may be a duplicate of bug 2995320. However, my report provides more details.
This broke in rev 8136.
I've reported this 2 days ago, in #2995320