https://bugzilla.wikimedia.org/show_bug.cgi?id=68617
Bug ID: 68617 Summary: editarticle uses deprecated optparser Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: jayvdb@gmail.com Web browser: --- Mobile Platform: ---
optparser was deprecated in py 2.7 https://docs.python.org/2/library/argparse.html#module-argparse
It is used by editarticle.py
https://bugzilla.wikimedia.org/show_bug.cgi?id=68617
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jayvdb@gmail.com Component|General |Other scripts
https://bugzilla.wikimedia.org/show_bug.cgi?id=68617
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|Unprioritized |Low Blocks| |58053 Severity|normal |trivial
--- Comment #1 from John Mark Vandenberg jayvdb@gmail.com --- "Deprecated since version 3.2: The optparse module is deprecated and will not be developed further; development will continue with the argparse module."
https://docs.python.org/3/library/optparse.html
https://bugzilla.wikimedia.org/show_bug.cgi?id=68617
Fabian CommodoreFabianus@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |easy CC| |CommodoreFabianus@gmx.de
https://bugzilla.wikimedia.org/show_bug.cgi?id=68617
--- Comment #2 from Andre Klapper aklapper@wikimedia.org --- Would that be a task suitable for Google Code-in and would somebody be willing to mentor a student? If so, feel free to add to https://www.mediawiki.org/wiki/Google_Code-in_2014#Proposed_tasks
https://bugzilla.wikimedia.org/show_bug.cgi?id=68617
--- Comment #3 from Fabian CommodoreFabianus@gmx.de --- That was my intention with marking it as easy. Added it to the proposed tasks.
pywikipedia-bugs@lists.wikimedia.org