Message266420
| Author |
serhiy.storchaka |
| Recipients |
Demur Rumed, abarnert, benjamin.peterson, brett.cannon, georg.brandl, josh.r, ncoghlan, python-dev, rhettinger, serhiy.storchaka, vstinner, yselivanov |
| Date |
2016年05月26日.09:11:55 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1464253915.39.0.511390134967.issue26647@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I think we should make yet few related changes:
* Change meaning of jump offsets. They should count not bytes, but code units (16-bit words). This will extend the range addressed by short commands (from 256 bytes to 256 words) and simplify ceval.c.
* Change f_lasti, tb_lasti etc to count code units instead of bytes.
* Change disassembler to show addresses in code units, not bytes.
These changes break compatibility (already broken by switching to 16-bit bytecode). The first one breaks compatibility with compiled bytecode and needs incrementing the magic number. That is why I think we should do this in this issue.
What is better, provide one large patch or separate simpler patches for every stage? |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2016年05月26日 09:11:55 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, brett.cannon, georg.brandl, rhettinger, ncoghlan, vstinner, benjamin.peterson, python-dev, yselivanov, abarnert, josh.r, Demur Rumed |
| 2016年05月26日 09:11:55 | serhiy.storchaka | set | messageid: <1464253915.39.0.511390134967.issue26647@psf.upfronthosting.co.za> |
| 2016年05月26日 09:11:55 | serhiy.storchaka | link | issue26647 messages |
| 2016年05月26日 09:11:55 | serhiy.storchaka | create |
|