PyCData_Type.tp_hash doesn't use PyObject_HashNotImplemented

Open
#78,327 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
c, python
Domain
api

Research direction

Start at the PyCData_Type definition and trace how its tp_hash slot is assigned. Compare that path with PyObject_HashNotImplemented, then run the relevant ctypes tests and confirm the resulting hash behavior matches the issue’s intended fix.

Written by the indexing model from the issue text.

Description

3.8 (EOL) topic-ctypes
BPO 34146
Nosy @mr-nfamous

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 2018-07-18.10:41:57.390>
labels = ['ctypes', '3.8']
title = "PyCData_Type.tp_hash doesn't use PyObject_HashNotImplemented"
updated_at = <Date 2018-07-18.10:41:57.390>
user = 'https://github.com/mr-nfamous'

bugs.python.org fields:

activity = <Date 2018-07-18.10:41:57.390>
actor = 'bup'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['ctypes']
creation = <Date 2018-07-18.10:41:57.390>
creator = 'bup'
dependencies = []
files = []
hgrepos = []
issue_num = 34146
keywords = []
message_count = 1.0
messages = ['321878']
nosy_count = 1.0
nosy_names = ['bup']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = None
url = 'https://bugs.python.org/issue34146'
versions = ['Python 3.8']

Dominant language
Python
Stars
77.2k
Forks
36k
Avg merge
1d 9h
Merged PRs (30d)
558

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.

More from python/cpython

All issues in python/cpython

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.