Message264513
| Author |
terry.reedy |
| Recipients |
berker.peksag, franciscouzo, ned.deily, terry.reedy |
| Date |
2016年04月29日.18:10:46 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1461953447.18.0.416625426635.issue26830@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Demos should demonstrate proper modern code. 1. Contain decent docstrings. 2. Dependency on sys.argv, derived from a command line, should be in the 'if __name__' clause triggered when the module *is* invoked from command line. Especially in simple cases like this, it should be possible to import the module and call main(args) without involving sys.argv. See review. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2016年04月29日 18:10:47 | terry.reedy | set | recipients:
+ terry.reedy, ned.deily, berker.peksag, franciscouzo |
| 2016年04月29日 18:10:47 | terry.reedy | set | messageid: <1461953447.18.0.416625426635.issue26830@psf.upfronthosting.co.za> |
| 2016年04月29日 18:10:47 | terry.reedy | link | issue26830 messages |
| 2016年04月29日 18:10:46 | terry.reedy | create |
|