Skip to content
This repository was archived by the owner on Nov 23, 2017. It is now read-only.
This repository was archived by the owner on Nov 23, 2017. It is now read-only.

Add a debug flag to event loop #136

@GoogleCodeExporter

Description

@GoogleCodeExporter
The following patch adds a new debug flag to BaseEventLoop: it adds get_debug() 
and set_debug(enabled) methods.
https://codereview.appspot.com/64890043/

This patch allows to enable slow code in debug mode. See for example issue #105 
which proposes to log slow tasks.

I would also use this flag to save the traceback where a Future/Task was 
created.

Original issue reported on code.google.com by victor.s...@gmail.com on 17 Feb 2014 at 12:50

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions