Mpaa created this task. Mpaa added a subscriber: Mpaa. Mpaa added a project: pywikibot-core. Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION python3 scripts/listpages.py -namespace:102 -cat:'Women authors' ``` ... 1529 Jan Zwicky 1529 page(s) found WARNING: /home/user/python/core/pywikibot/throttle.py:225: ResourceWarning: unclosed file <_io.TextIOWrapper name='/home/user/.pywikibot/throttle.ctrl' mode='r' encoding='UTF-8'> f = open(self.ctrlfilename, 'w') ```
python2 scripts/listpages.py -namespace:102 -cat:'Women authors' ``` ... 1529 Jan Zwicky 1529 page(s) found ```
TASK DETAIL https://phabricator.wikimedia.org/T95111
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Mpaa Cc: pywikipedia-bugs, Aklapper, Mpaa, jayvdb
Mpaa edited the task description. Mpaa set Security to None.
TASK DETAIL https://phabricator.wikimedia.org/T95111
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Mpaa Cc: pywikipedia-bugs, Aklapper, Mpaa, jayvdb
XZise added a subscriber: XZise. XZise added a comment.
That is not Python 3 specific btw. It just happens that Python 2 does not report unclosed files. And I've actually two type of patches which would fix that:
- https://gerrit.wikimedia.org/r/#/c/188727/ - https://gerrit.wikimedia.org/r/#/c/187348/
TASK DETAIL https://phabricator.wikimedia.org/T95111
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: XZise Cc: XZise, Aklapper, Mpaa, jayvdb, pywikipedia-bugs
Mpaa added a comment.
Good to know..
TASK DETAIL https://phabricator.wikimedia.org/T95111
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Mpaa Cc: XZise, Aklapper, Mpaa, jayvdb, pywikipedia-bugs
Ricordisamoa added a subscriber: Ricordisamoa.
TASK DETAIL https://phabricator.wikimedia.org/T95111
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Ricordisamoa Cc: Ricordisamoa, XZise, Aklapper, Mpaa, jayvdb, pywikipedia-bugs
pywikipedia-bugs@lists.wikimedia.org