FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

calling PyTasklet_New( NULL, ...) crashes · Issue #129 · stackless-dev/stackless · GitHub

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

calling PyTasklet_New( NULL, ...) crashes #129

Closed

Description

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


Affected version: all

Problem

Jun Liu reported on the Stackless mailing list, that calling PyTasklet_New( NULL, ...) crashes (http://www.stackless.com/pipermail/stackless/2017-April/006470.html). The documentation explicitly allows NULL as first argument.

Looking at the history of PyTasklet_New I found the changes 20dad21ded9c (2.7-slp) and dae0e80f141d (3.2-slp), which remove - probably by accident - a if (type == NULL) type = &PyTasklet_Type;. The documentation needs some love too: what does "via capture()" mean?

Proposed Solution

I'll re-add the check for NULL and update the documentation.


Activity

  1. ghost added on Sep 24, 2017
  2. ghost added this to the milestone on Sep 24, 2017
  3. ghost closed this as completedon Sep 24, 2017
  4. added 4 commits that reference this issue on Oct 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL