Subject: [PATCH] 31.0.50; python-ts-mode fontifies constructors as functions, not types

From: Jostein Kjønigsen <[email-masked]>
Date: Thu, 19 Jun 2025 15:47:50 +0200

Hey everyone.

When using python-ts-mode to write or read code, I've noticed it has a few inconsistencies:

1. type-constructors are fontified as regular functions, not the type they represent.
2. typed default parameters are not fontified as variables
3. kwarg arguments are not fontified either

Attached is a patch which fixes this :)

￼
—
Kind Regards
Jostein Kjønigsen