Python: add change notes

This commit is contained in:
Rasmus Lerchedahl Petersen
2022-11-14 17:01:45 +01:00
parent 9c7fee225c
commit 4f159371f9
2 changed files with 8 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
---
category: breaking
---
* `Try::getAHandler` no longer returns an `ExceptStmt`, as handlers may also be `ExceptGroupStmt`s. Instead, it returns a plain `Stmt`. This means that code of the form `try.getAHandler().getType()` will no longer work. Instead, use `try.getANormalHandler().getType()` or `try.getAGroupHandler().getType()`, depending on your use case.

View File

@@ -0,0 +1,4 @@
---
category: fix
---
* `except*` is now supported.