Skip to content
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.

Python 3.x: global C variable slp_initial_tstate used before initialisation #104

@ghost

Description

Originally reported by: Anselm Kruis (Bitbucket: akruis, GitHub: akruis)


Since e5a2ecca2b08 (Make the _stackless module initialize late, bringing its initialization) the global variable slp_initial_tstate is initialized late. This is a bug, because the variable is used
in various places, even if the Python program does not import _stackless.

Fortunately the consequences are not to serious the fix is trivial.

I found this defect, during my work on pull request #21. The first version (f358b58) didn't work with Python 3.3-slp and I was able to track down the difference to this issue.


Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions