Mark Shannon
adcd220556
bpo-40222: "Zero cost" exception handling (GH-25729)
...
"Zero cost" exception handling.
* Uses a lookup table to determine how to handle exceptions.
* Removes SETUP_FINALLY and POP_TOP block instructions, eliminating (most of) the runtime overhead of try statements.
* Reduces the size of the frame object by about 60%.
2021-05-07 15:19:19 +01:00
Mark Shannon
877df851c3
bpo-42246: Partial implementation of PEP 626. (GH-23113)
...
* Implement new line number table format, as defined in PEP 626.
2020-11-12 09:43:29 +00:00
Serhiy Storchaka
0f9aa47bab
bpo-41263: Convert code.__new__ to Argument Clinic (GH-21426)
2020-07-10 10:12:04 +03:00
Serhiy Storchaka
578c3955e0
bpo-37999: No longer use __int__ in implicit integer conversions. (GH-15636)
...
Only __index__ should be used to make integer conversions lossless.
2020-05-26 18:43:38 +03:00
Anthony Sottile
22424c02e5
Document CodeType.replace (GH-17776)
2020-01-01 06:11:16 +00:00
Rémi Lapeyre
4901fe274b
bpo-37034: Display argument name on errors with keyword arguments with Argument Clinic. (GH-13593)
2019-08-29 17:49:08 +03:00
Victor Stinner
a9f05d69cc
bpo-37032: Add CodeType.replace() method (GH-13542)
2019-05-24 23:57:23 +02:00