Last modified: 2014-11-10 12:02:44 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T70617, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68617 - editarticle uses deprecated optparser
editarticle uses deprecated optparser
Status: NEW
Product: Pywikibot
Classification: Unclassified
Other scripts (Other open bugs)
core-(2.0)
All All
: Low trivial
: ---
Assigned To: Pywikipedia bugs
: easy
Depends on:
Blocks: pwbpy3
  Show dependency treegraph
 
Reported: 2014-07-26 15:02 UTC by John Mark Vandenberg
Modified: 2014-11-10 12:02 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description John Mark Vandenberg 2014-07-26 15:02:00 UTC
optparser was deprecated in py 2.7
https://docs.python.org/2/library/argparse.html#module-argparse

It is used by editarticle.py
Comment 1 John Mark Vandenberg 2014-11-09 20:52:55 UTC
"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
Comment 2 Andre Klapper 2014-11-10 11:04:21 UTC
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
Comment 3 Fabian 2014-11-10 12:02:44 UTC
That was my intention with marking it as easy. Added it to the proposed tasks.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links