Message246771
Ah, I see my misunderstanding; when Antoine said "Numba subclasses unittest.main" I wasn't thinking and thought he meant something in unitest.main the module, not the unittest.main alias for unittest.main.TestProgram which is exposed as unitest.__init__.main (yeah, that name clash is nasty).
Then the unittest.main module can be treated like any other module in terms of deprecation and doesn't need any special-casing. Sorry about the mix-up on my end. So I say rename the modules to _*, add the deprecation to the old names in 3.6, and then remove the modules in 3.7. |
|
Date |
User |
Action |
Args |
2015-07-15 17:55:35 | brett.cannon | set | recipients:
+ brett.cannon, pitrou, rbcollins, ezio.melotti, r.david.murray, michael.foord |
2015-07-15 17:55:35 | brett.cannon | set | messageid: <1436982935.71.0.334863070912.issue22858@psf.upfronthosting.co.za> |
2015-07-15 17:55:35 | brett.cannon | link | issue22858 messages |
2015-07-15 17:55:35 | brett.cannon | create | |
|