This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author John Hagen
Recipients John Hagen, SilentGhost, martin.panter, matrixise, r.david.murray, serhiy.storchaka
Date 2015-11-04.12:04:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1446638640.71.0.0585815835604.issue25521@psf.upfronthosting.co.za>
In-reply-to
Content
Is there any consensus on how to move forward with this?  I feel there are at least 4 options:

1) Do nothing.
    Pro: No work.
    Con: It feels misleading to the user since the docs clearly state it's deprecated.  Some users (especially new ones) may miss the fact they should really be using argparse.

2) Throw PendingDeprecationWarning from optparse, and simply suppress it where it's used.
    Pro: Not as much work.  Users of optparse are properly notified.
    Con: Kicks the can down the road for someone else to have to eventually port off of optparse.

3) Throw PendingDeprecationWarning from optparse and port stdlib modules to argparse.
    Pro: Seems like the "purest" solution at least from what is indicated in docs that it will no longer be supported.  Users of optparse are properly notified.
    Con: Most amount of work.  argparse has some bugs that need to be patched.

4) Some combination of 2) and 3) where some modules are suppressed and others are ported.
History
Date User Action Args
2015-11-04 12:04:00John Hagensetrecipients: + John Hagen, r.david.murray, SilentGhost, martin.panter, serhiy.storchaka, matrixise
2015-11-04 12:04:00John Hagensetmessageid: <1446638640.71.0.0585815835604.issue25521@psf.upfronthosting.co.za>
2015-11-04 12:04:00John Hagenlinkissue25521 messages
2015-11-04 12:04:00John Hagencreate