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 brett.cannon
Recipients brett.cannon, ezio.melotti, michael.foord, pitrou, r.david.murray, rbcollins
Date 2015-07-14.18:56:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1436900192.06.0.0414803213928.issue22858@psf.upfronthosting.co.za>
In-reply-to
Content
The modules seem to have existed since at least Python 3.2, so I think a proper DeprecationWarning is necessary for just one release.

The trick is going to be unittest.main since it seems code in the wild relies on it at least partially existing and Michael thinks it should stick around in some form or another. If the desire is there to limit the API for unittest.main compared to what it is now, either people have to go with stuff disappearing on users that get moved out to _main, or you have to do a somewhat evil import hack and turn unittest.main into an object with attributes which raise a DeprecationWarning for those objects you want to relocate and not for those you want to leave in place.
History
Date User Action Args
2015-07-14 18:56:32brett.cannonsetrecipients: + brett.cannon, pitrou, rbcollins, ezio.melotti, r.david.murray, michael.foord
2015-07-14 18:56:32brett.cannonsetmessageid: <1436900192.06.0.0414803213928.issue22858@psf.upfronthosting.co.za>
2015-07-14 18:56:32brett.cannonlinkissue22858 messages
2015-07-14 18:56:31brett.cannoncreate