Message278673
| Author |
terry.reedy |
| Recipients |
rhettinger, siming85, terry.reedy, xiang.zhang |
| Date |
2016年10月14日.22:57:58 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1476485878.26.0.96298130622.issue28442@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
(Siming, when you post a mixture of code and output, please comment out output with # so the example can be run as is.)
I cannot reproduce the difference reported. I added #s and ran the cut and pasted code (uploaded) on 2.7, 3.5, and 3.6 installed on Win 10. For 3.6,
Python 3.6.0b2 (default, Oct 10 2016, 21:15:32) [MSC v.1900 64 bit (AMD64)] on win32
For me, the tuple output is exactly the same as the list output, except for '()' versus '[]'. In 3.5+, 'instance' is changed to 'object' for both list and tuple.
(<__main__.Dummy object at 0x000001839C1F32E8>, <__main__.Dummy object at 0x000001839C384DA0>)
Siming, please cut and paste the interactive splash line, like the above, that tells us the binary and OS you used. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2016年10月14日 22:57:58 | terry.reedy | set | recipients:
+ terry.reedy, rhettinger, siming85, xiang.zhang |
| 2016年10月14日 22:57:58 | terry.reedy | set | messageid: <1476485878.26.0.96298130622.issue28442@psf.upfronthosting.co.za> |
| 2016年10月14日 22:57:58 | terry.reedy | link | issue28442 messages |
| 2016年10月14日 22:57:58 | terry.reedy | create |
|