Dvorapa added a comment.

My attempt, at least one of these is printed for me:

$ python pwb.py shell -verbose
Pywikibot rede13695872939f4cedbb139bd03ead318ef64cb
Python 3.6.4 (default, Dec 23 2017, 19:07:07) 
[GCC 7.2.1 20171128]
Welcome to the Pywikibot interactive shell!
>>> s=pywikibot.Site("cs")
>>> w=pywikibot.User(s, '123.456.78.90')
Found 1 wikipedia:cs processes running, including this one.
>>> w.isRegistered()
WARNING: /home/pavel/pywikibot/pywikibot/data/api.py:2371: DeprecationWarning: Instead of using kwargs from Request.__init__, parameters for the request to the API should be added via the "parameters" parameter.
  kwargs = self.request_class.clean_kwargs(kwargs)

False

My second attempt:, it seems there is some conflict or incorrect behavior between config and actual output:

>>> from pywikibot import config
>>> config.verbose_output = 2
>>> w.isRegistered()
False
>>> config.verbose_output = 1
>>> w.isRegistered()
False
>>> config.verbose_output = 0
>>> w.isRegistered()
False

TASK DETAIL
https://phabricator.wikimedia.org/T127998

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Dvorapa
Cc: Dalba, TerraCodes, valhallasw, Ladsgroup, Nullzero, XZise, jayvdb, Aklapper, StudiesWorld, Xqt, pywikibot-bugs-list, Magul, Tbscho, rafidaslam, MayS, Mdupont, JJMC89, Avicennasis, Luke081515, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to