Message133724
| Author |
ezio.melotti |
| Recipients |
amaury.forgeotdarc, ezio.melotti, pitrou, rhettinger |
| Date |
2011年04月14日.11:32:04 |
| SpamBayes Score |
1.9641218e-05 |
| Marked as misclassified |
No |
| Message-id |
<1302780725.86.0.482931658963.issue5057@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The attached patch skips the peepholer optimizations for BINARY_SUBSCR if the resulting char is a surrogate on narrow builds or a non-bmp char in wide builds.
Note that this affects the optimization of lone surrogates on narrow builds too, but I think it's not worth to adding more complexity on the peepholer and check if they are part of a surrogate pair.
The patch still lacks comments and could have better tests. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年04月14日 11:32:05 | ezio.melotti | set | recipients:
+ ezio.melotti, rhettinger, amaury.forgeotdarc, pitrou |
| 2011年04月14日 11:32:05 | ezio.melotti | set | messageid: <1302780725.86.0.482931658963.issue5057@psf.upfronthosting.co.za> |
| 2011年04月14日 11:32:05 | ezio.melotti | link | issue5057 messages |
| 2011年04月14日 11:32:05 | ezio.melotti | create |
|