Message181505
| Author |
eric.snow |
| Recipients |
Arfrever, brett.cannon, eli.bendersky, eric.snow, ezio.melotti, pitrou |
| Date |
2013年02月06日.09:14:18 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1360142059.75.0.403998413959.issue17037@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Any objections to what Brett proposed? Any preferences on a name? How about DualImplementationTests? Here's a patch with tests.
I added a pure_python_only() decorator in addition to accelerated_only(). I also made both work as decorators for classes and methods (just like unittest.skip()).
Finally, I added on a with_module_exported() decorator to help with the scenario from issue #16817. Eli, I know it doesn't quite fill the gap you described in msg180669, but hopefully it's an improvement. |
|