On 06/08/2018 12:48 AM, Victor Stinner wrote:
Question: Do you think that bugs spotted by a GC collection are common
enough to change the GC thresholds in development mode (new -X dev
flag of Python 3.7)?
I'd prefer that the development / debug environment be as much like
production use as
On Fri, 8 Jun 2018 09:48:03 +0200
Victor Stinner wrote:
>
> Question: Do you think that bugs spotted by a GC collection are common
> enough to change the GC thresholds in development mode (new -X dev
> flag of Python 3.7)?
I don't think replacing a more-or-less arbitrary value with another
On Fri, Jun 8, 2018 at 9:24 AM Ronald Oussoren wrote:
[..]
> Wouldn’t it be enough to visit just the the newly tracked object in
> PyObject_GC_Track with a visitor function that does something minimal to
> verify that the object value is sane, for example by checking
>
> On 8 Jun 2018, at 12:36, Serhiy Storchaka wrote:
>
> 08.06.18 11:31, Victor Stinner пише:
>> Do you suggest to trigger a fake "GC collection" which would just
>> visit all objects with a no-op visit callback? I like the idea!
>>
>> Yeah, that would help to detect objects in an inconsistent
08.06.18 11:31, Victor Stinner пише:
Do you suggest to trigger a fake "GC collection" which would just
visit all objects with a no-op visit callback? I like the idea!
Yeah, that would help to detect objects in an inconsistent state and
reuse the existing implemented visit methods of all types.
2018-06-08 10:17 GMT+02:00 Serhiy Storchaka :
> Reducing GC threshold can hide other bugs that will be reproducible only in
> the release mode (because of earlier releasing of resources or changed order
> of destroying objects).
>
> What is the cost of traversing all objects? Would it be too high
08.06.18 10:48, Victor Stinner пише:
Yury Selivanov pushed his implementation of the PEP 567 -- Context
Variables at January 23, 2018. Yesterday, 4 months after the commit
and only 3 weeks before 3.7.0 final release, a crash has been found in
the implementation:
Hi,
Yury Selivanov pushed his implementation of the PEP 567 -- Context
Variables at January 23, 2018. Yesterday, 4 months after the commit
and only 3 weeks before 3.7.0 final release, a crash has been found in
the implementation:
https://bugs.python.org/issue33803
(it's now fixed, don't worry