StackOverflow Questions for Tag: python-c-extension

Tyler Shellberg
Tyler Shellberg

Reputation: 1356

How to retrieve PyObject_Call exception as C string?

Score: 0

Views: 49

Answers: 0

Read More
Bryant
Bryant

Reputation: 3601

How to construct a decimal.Decimal object using the C API?

Score: 1

Views: 511

Answers: 2

Read More
Daraan
Daraan

Reputation: 3780

Generate pyi stubfile for not importable C module

Score: 0

Views: 88

Answers: 1

Read More
Johnson Qing
Johnson Qing

Reputation: 1

import Pytorch to create Neural Network. Running Error

Score: 0

Views: 41

Answers: 0

Read More
BenMB
BenMB

Reputation: 33

PyEval_RestoreThread crash when calling matplotlib via Python C API

Score: 0

Views: 22

Answers: 0

Read More
Gilly
Gilly

Reputation: 1809

How to introspect a function defined in a Cython C extension module

Score: 9

Views: 7536

Answers: 3

Read More
mantle core
mantle core

Reputation: 1

Can a simple mutex pthread_mutex be a replacement for GIL in a multithreaded Python C extension?

Score: 0

Views: 50

Answers: 1

Read More
cjerdonek
cjerdonek

Reputation: 6239

In Python how can one tell if a module comes from a C extension?

Score: 24

Views: 7303

Answers: 5

Read More
Michael
Michael

Reputation: 12052

How to create a generator/iterator with the Python C API?

Score: 49

Views: 11343

Answers: 2

Read More
Cosmo
Cosmo

Reputation: 930

Python C API: How to get something from a module

Score: 2

Views: 2250

Answers: 2

Read More
Beth Zhang
Beth Zhang

Reputation: 1

How to build C extensions using free-thread python correctly?

Score: 0

Views: 34

Answers: 0

Read More
user17562396
user17562396

Reputation: 13

C++ Python/C API - Is exception returned by PyErr_GetRaisedException normalized?

Score: 0

Views: 106

Answers: 1

Read More
Cutyno
Cutyno

Reputation: 196

Create instance of a imported python class with C API

Score: 1

Views: 58

Answers: 1

Read More
vand
vand

Reputation: 55

Creating spamtuple instead of spamlist from CPython's xxsubtype.c example template

Score: 0

Views: 53

Answers: 0

Read More
John
John

Reputation: 2008

How to dispose off a partially initialized list in Python C-API?

Score: 1

Views: 26

Answers: 1

Read More
Davide Rizzotti
Davide Rizzotti

Reputation: 31

How ro run a C++ application with embedded Python in Debug mode

Score: 3

Views: 70

Answers: 1

Read More
mont29
mont29

Reputation: 398

CPython: Usage of `tp_finalize` in C-defined static types with no custom `tp_dealloc`

Score: 3

Views: 73

Answers: 1

Read More
Mohanad Y.
Mohanad Y.

Reputation: 19508

fatal error: Python.h: No such file or directory

Score: 1918

Views: 1898447

Answers: 37

Read More
Blady
Blady

Reputation: 1

PySide6 with Python C API: EXC_BAD_ACCESS error when calling a method with inherited class from QRasterWindow

Score: 0

Views: 47

Answers: 0

Read More
Chayim Friedman
Chayim Friedman

Reputation: 70960

How to make CPython report vectorcall as available only when it will actually help performance?

Score: 8

Views: 276

Answers: 1

Read More
PreviousPage 1Next