python / python/cpython

Create Py_AtExitRegister C API

Open
#76,493 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

topic-C-API type-feature
Dominant language
Python
Stars
77.2k
Forks
36k
PR merge metrics
PR metrics pending

Description

BPO 32312
Nosy @nascheme, @pitrou, @vstinner, @ericsnowcurrently, @serhiy-storchaka, @pablogsal

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = None
created_at = <Date 2017-12-13.20:45:20.439>
labels = ['expert-C-API', 'type-feature']
title = 'Create Py_AtExitRegister C API'
updated_at = <Date 2019-12-09.16:12:21.783>
user = 'https://github.com/nascheme'

bugs.python.org fields:

activity = <Date 2019-12-09.16:12:21.783>
actor = 'vstinner'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['C API']
creation = <Date 2017-12-13.20:45:20.439>
creator = 'nascheme'
dependencies = []
files = []
hgrepos = []
issue_num = 32312
keywords = []
message_count = 8.0
messages = ['308246', '308248', '308250', '308252', '308257', '338965', '338967', '352072']
nosy_count = 6.0
nosy_names = ['nascheme', 'pitrou', 'vstinner', 'eric.snow', 'serhiy.storchaka', 'pablogsal']
pr_nums = []
priority = 'low'
resolution = None
stage = 'needs patch'
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue32312'
versions = []

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

The issue requests a new Py_AtExitRegister C API but names no files, tests, or implementation entry points. Start by tracing CPython's existing atexit handling and C API conventions; done requires a defined API design and corresponding implementation and tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, 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.