blob/master/mypy/memprofile.py.
I swapped out gc.get_objects() for sys.getobjects(), observed that we were
leaking int objects, and inspected the live int objects, which gave a
pretty good clue where the leak was.
> Victor
>
> Le mar. 16 avr. 2019 à 00:28, Michael Sullivan a écrit
>
On Mon, Apr 15, 2019 at 8:12 PM Nathaniel Smith wrote:
> On Mon, Apr 15, 2019 at 5:00 PM Michael Sullivan wrote:
> >
> > I've submitted PEP 591 (Adding a final qualifier to typing) for
> discussion to typing-sig [1].
>
> I'm not on typing-sig [1] so I'm r
On Mon, Apr 15, 2019 at 4:06 PM Nathaniel Smith wrote:
> On Mon, Apr 15, 2019, 15:27 Michael Sullivan wrote:
>
>> > The main question is if anyone ever used Py_TRACE_REFS? Does someone
>> > use sys.getobjects() or PYTHONDUMPREFS environment variable?
>>
>> I
I've submitted PEP 591 (Adding a final qualifier to typing) for discussion
to typing-sig [1].
Here's the abstract:
This PEP proposes a "final" qualifier to be added to the ``typing``
module---in the form of a ``final`` decorator and a ``Final`` type
annotation---to serve three related purposes:
*
> The main question is if anyone ever used Py_TRACE_REFS? Does someone
> use sys.getobjects() or PYTHONDUMPREFS environment variable?
I used sys.getobjects() today to track down a memory leak in the
mypyc-compiled version of mypy.
We were leaking memory badly but no sign of the leak was showing u