Message248134
| Author |
martin.panter |
| Recipients |
cblp, dabeaz, eryksun, josh.r, martin.panter, pitrou, skrah |
| Date |
2015年08月06日.16:50:16 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1438879823.21.0.904801548367.issue15944@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Here is a patch that allows any "C-contiguous" memoryview() to be cast to a byte view. Apart from the test that was explicitly checking that this wasn’t supported, the rest of the test suite still passes. I basically removed the check that was generating the "source format must be a native single character" error.
If two NANs are represented by the same byte sequence, I would expect their byte views to compare equal, which is the case with my patch. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2015年08月06日 16:50:23 | martin.panter | set | recipients:
+ martin.panter, pitrou, skrah, dabeaz, cblp, eryksun, josh.r |
| 2015年08月06日 16:50:23 | martin.panter | set | messageid: <1438879823.21.0.904801548367.issue15944@psf.upfronthosting.co.za> |
| 2015年08月06日 16:50:22 | martin.panter | link | issue15944 messages |
| 2015年08月06日 16:50:22 | martin.panter | create |
|