pybind / pybind/pybind11

Provide py:: wrapper for warnings?

Open
#601 5 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help wanted
Dominant language
C++
Stars
18k
Forks
2.3k
Avg merge
5d 17h
Merged PRs (30d)
10

Description

It would be useful to be able to use that API safely available from wrapper code. It seems now that some extra effort would be needed to make it work, because sometimes it throws and sometimes it won't?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing warning-related API and wrapper behavior in pybind11, then determine how the API behaves in cases where it throws or does not. Define the safe wrapper’s expected behavior and add coverage showing that both cases are handled consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.