15 Sep
2022
15 Sep
'22
4:20 p.m.
I like the overlay idea. Is it worth it to put together a PEP proposal for this? -Irv On Wed, Sep 14, 2022 at 6:49 PM Martin DeMello <mdemello@google.com> wrote:
The pytype team has internally discussed the idea of supporting "stub overlays". Our idea was to do this at a module level, so that definitions would be recursively merged without any explicit annotations; in this instance you would have a file named `pandas_overlay.pyi` and define `class DataFrame` in it, which would modify `pandas.DataFrame` when imported.
martin