Message323556
| Author |
ammar2 |
| Recipients |
Arusekk, ammar2 |
| Date |
2018年08月15日.07:45:04 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1534319104.98.0.56676864532.issue34372@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Note that even just adding an extra arithmetic in your first expression breaks the line numbers:
>>> code = """(
... [
... call1(),
... call2()
... ]
... + call3()
... * call4()
... + call5()
... )"""
>>> dis.dis(code)
8 0 LOAD_NAME 0 (call1)
2 CALL_FUNCTION 0
4 LOAD_NAME 1 (call2)
6 CALL_FUNCTION 0
8 BUILD_LIST 2
10 LOAD_NAME 2 (call3)
12 CALL_FUNCTION 0
14 LOAD_NAME 3 (call4)
16 CALL_FUNCTION 0
18 BINARY_MULTIPLY
20 BINARY_ADD
22 LOAD_NAME 4 (call5)
24 CALL_FUNCTION 0
26 BINARY_ADD
28 RETURN_VALUE
The closest existing bug to this would be issue 12458, specifically with Serhiy's last comment. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2018年08月15日 07:45:05 | ammar2 | set | recipients:
+ ammar2, Arusekk |
| 2018年08月15日 07:45:04 | ammar2 | set | messageid: <1534319104.98.0.56676864532.issue34372@psf.upfronthosting.co.za> |
| 2018年08月15日 07:45:04 | ammar2 | link | issue34372 messages |
| 2018年08月15日 07:45:04 | ammar2 | create |
|