Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Feb 13, 2025. It is now read-only.
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Unexpected increase of nesting level #9

Copy link
Copy link
Closed
@ghost

Description

Originally reported by: RMTEW FULL NAME (Bitbucket: rmtew, GitHub: rmtew)


(originally reported in Trac by @akruis on 2013-04-12 15:30:16)

Hi,

thanks to my colleague Michael Bauer I was able to identify the following issue:

Version: 2.7-slp

If I define the following callable class

class C(object): pass
C.__call__ = some_function

and execute c=C(); c() in a tasklet then some_function runs at nesting level 1.

If I change the definition of class C to

class C(object):
    __call__ = some_function

the nesting level does not increase.

The attached test script demonstrates this problem.
I would like to fix this issue for v2.7.4-slp.


Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.