Message140905
| Author |
rhettinger |
| Recipients |
alex, rhettinger |
| Date |
2011年07月22日.20:55:14 |
| SpamBayes Score |
1.4560987e-05 |
| Marked as misclassified |
No |
| Message-id |
<1311368115.65.0.200369209804.issue12615@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
-1
Array's API much more closely matches that of list than it does numpy's arrays which are profoundly different. So we should stick the one-way-to-do-it idiom: array.array('c', '0円') * 100 or array.array('d', [0.0]) * 100.
Also, the current idiom is much more flexible in that it works with any initializer, not just a zero (compare with numpy's ones() constructor for example). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年07月22日 20:55:15 | rhettinger | set | recipients:
+ rhettinger, alex |
| 2011年07月22日 20:55:15 | rhettinger | set | messageid: <1311368115.65.0.200369209804.issue12615@psf.upfronthosting.co.za> |
| 2011年07月22日 20:55:15 | rhettinger | link | issue12615 messages |
| 2011年07月22日 20:55:14 | rhettinger | create |
|