Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

PyIter_Next has ambiguous return value #105201

Closed
Assignees
erlend-aasland
Labels
@iritkatriel

Description

@iritkatriel

As discussed incapi-workgroup/problems#1, we have some C API functions that have ambiguous return values, requiring the caller to queryPyErr_Occurred() to find out whether there was an error.

We will try to move away from those APIs to alternative ones whose return values non-ambiguously indicate whether there has been an error, without requiring the user to callPyErr_Occurred().

In this issue we will discuss the iterator API.PyIter_Next return NULL for both error and for the iterator being exhausted.PyErr_Occurred() distinguishes between the cases.

Linked PRs

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp