Subject | Hash | Author | Date (UTC) |
---|---|---|---|
bpo-28810: Document remaining bytecode changes in 3.6 (GH-651) | 8f9e1bbf2dbdf46a0bf920279568a31460043376 | Ivan Levkivskyi | 2017-03-24 21:05:04 |
bpo-29894: Deprecate returning an instance of complex subclass from __complex__. (#798) | 671079ef6063fe227460a6c3114625fb6282bbd0 | Serhiy Storchaka | 2017-03-24 19:28:43 |
bpo-25803: Avoid incorrect errors raised by Path.mkdir(exist_ok=True) (#805) | af7b9ec5c855366feef4c67dc492d64b3baf84ca | Serhiy Storchaka | 2017-03-24 18:51:53 |
bpo-29861: release references to multiprocessing Pool tasks (#743) | 8988945cdc27ffa86ba8c624e095b51c459f5154 | Antoine Pitrou | 2017-03-24 12:52:11 |
bpo-19930: The mode argument of os.makedirs() no longer affects the file (#799) | e304e33c16e060932d1e2cc8a030d42b02b429b5 | Serhiy Storchaka | 2017-03-24 11:27:42 |
doc: Fix small typos in library/multiprocessing (GH-698) | 5619ab2db3a6c62ffaa55e8826cf67b7459fc484 | Sylvain Bellemare | 2017-03-24 08:26:07 |
`make tags` fixes (GH-717) | 8a543c0bc7347d5b333f334d157bf4a7cd33c14a | Alex Dzyoba | 2017-03-24 08:23:43 |
faulthandler: Restore the old sigaltstack during teardown (#777) | 20fbf8accd494fd15b0fc4c84928178c71ead4d1 | Christophe Zeitouny | 2017-03-23 17:14:29 |
Use NULL rather than 0. (#778) | 0b3ec192259a65971001ce8f0de85a9c1e71d9c7 | Serhiy Storchaka | 2017-03-23 15:53:47 |
bpo-6532: Make the thread id an unsigned integer. (#781) | aefa7ebf0ff0f73feee7ab24f4cdcb2014d83ee5 | Serhiy Storchaka | 2017-03-23 13:48:39 |
bpo-29728: Provide socket.TCP_NOTSENT_LOWAT (#477) | 1e2147b9d75a64df370a9393c2b5b9d170dc0afd | Nathaniel J. Smith | 2017-03-23 03:56:55 |
Remove an outdated statement in execution model docs (GH-754) | fad7f1560669af1766c583c7ef242c55d8c8de41 | Ivan Levkivskyi | 2017-03-23 00:54:53 |
doc: minor fix for library/profile (GH-761) | bd3d8ba3b22da0bad018b53a3e6610ae03c5aa49 | INADA Naoki | 2017-03-22 07:56:36 |
fix function name in tabnanny documentation (GH-759) | 75b6cf879fab58c0576d5415eaf38d92bfd678ab | Jelle Zijlstra | 2017-03-22 06:53:57 |
bpo-29859: Fix error messages from return codes for pthread_* calls (GH-741) | d7fa6b259e00fca04dbf816bfcf4115fdda14bb7 | Daniel Birnstiel | 2017-03-21 13:06:06 |
bpo-29865: Use PyXXX_GET_SIZE macros rather than Py_SIZE for concrete types. (#748) | fff9a31a91283c39c363af219e595eab7d4da6f7 | Serhiy Storchaka | 2017-03-21 06:53:25 |
Don't use Py_SIZE for dict object. (#747) | c61ac1642d19f54c7b755098230967ad2e603180 | Serhiy Storchaka | 2017-03-21 06:52:38 |
bpo-27593: Revise git SCM build info. (#744) | 554626ada769abf82a5dabe6966afa4265acb6a6 | Ned Deily | 2017-03-21 03:41:52 |
bpo-29849: fix a memory leak in import_from (GH-712) | 4830f581af57dd305c02c1fd72299ecb5b090eca | Xiang Zhang | 2017-03-21 03:13:42 |
Fix "NotImplentedError" typo in constants documentation (#692) | 05f53735c8912f8df1077e897f052571e13c3496 | zertrin | 2017-03-20 12:24:39 |
File | Lines added | Lines deleted |
---|---|---|
Doc/library/dis.rst | 16 | 2 |
File Doc/library/dis.rst changed (mode: 100644) (index d37f76fc74..f82dc40e09) | |||
... | ... | interpreter. | |
20 | 20 | between versions of Python. Use of this module should not be considered to | between versions of Python. Use of this module should not be considered to |
21 | 21 | work across Python VMs or Python releases. | work across Python VMs or Python releases. |
22 | 22 | ||
23 | .. versionchanged:: 3.6 | ||
24 | Use 2 bytes for each instruction. Previously the number of bytes varied | ||
25 | by instruction. | ||
26 | |||
23 | 27 | ||
24 | 28 | Example: Given the function :func:`myfunc`:: | Example: Given the function :func:`myfunc`:: |
25 | 29 | ||
... | ... | operation is being performed, so the intermediate analysis object isn't useful: | |
210 | 214 | This generator function uses the ``co_firstlineno`` and ``co_lnotab`` | This generator function uses the ``co_firstlineno`` and ``co_lnotab`` |
211 | 215 | attributes of the code object *code* to find the offsets which are starts of | attributes of the code object *code* to find the offsets which are starts of |
212 | 216 | lines in the source code. They are generated as ``(offset, lineno)`` pairs. | lines in the source code. They are generated as ``(offset, lineno)`` pairs. |
217 | See :source:`Objects/lnotab_notes.txt` for the ``co_lnotab`` format and | ||
218 | how to decode it. | ||
219 | |||
220 | .. versionchanged:: 3.6 | ||
221 | Line numbers can be decreasing. Before, they were always increasing. | ||
213 | 222 | ||
214 | 223 | ||
215 | 224 | .. function:: findlabels(code) | .. function:: findlabels(code) |
... | ... | All of the following opcodes use their arguments. | |
1127 | 1136 | .. opcode:: HAVE_ARGUMENT | .. opcode:: HAVE_ARGUMENT |
1128 | 1137 | ||
1129 | 1138 | This is not really an opcode. It identifies the dividing line between | This is not really an opcode. It identifies the dividing line between |
1130 | opcodes which don't take arguments ``< HAVE_ARGUMENT`` and those which do | ||
1131 | ``>= HAVE_ARGUMENT``. | ||
1139 | opcodes which don't use their argument and those that do | ||
1140 | (``< HAVE_ARGUMENT`` and ``>= HAVE_ARGUMENT``, respectively). | ||
1141 | |||
1142 | .. versionchanged:: 3.6 | ||
1143 | Now every instruction has an argument, but opcodes ``< HAVE_ARGUMENT`` | ||
1144 | ignore it. Before, only opcodes ``>= HAVE_ARGUMENT`` had an argument. | ||
1145 | |||
1132 | 1146 | ||
1133 | 1147 | .. _opcode_collections: | .. _opcode_collections: |
1134 | 1148 |