Skip to main content
1 vote
1 answer
46 views

I am trying to build a Python extension (module) with D and the pyd (https://github.com/ariovistus/pyd) and dub and ldc2 compiler on Windows. I have the following dub.sdl: name "hello" ...
Sam Saint-Pettersen's user avatar
1 vote
0 answers
61 views

We're developing a VSCode extension that works with Jupyter notebooks and need to run integration tests in CI/CD. The main issue is that when running integration tests, VSCode prompts the user to ...
Aurelien Bloch's user avatar
0 votes
0 answers
82 views

I have an MkDocs site with the pymdownx.keys plugin. The plugin includes formatting for a number of keys along with unicode characters: When I try to convert the page to PDF using Weasyprint, the ...
jeremywat's user avatar
  • 1,126
0 votes
1 answer
218 views

I'm puzzled by the following issue. I have a Mac M3 with the following characteristics. I have Python 3.12.6. I have been trying to install pyo (https://pypi.org/project/pyo/1.0.1/). After many ...
Nisanio's user avatar
0 votes
0 answers
73 views

A python C++ extension has the following structure: /myextension |_____basecode | |__header.h | |__functions.cpp | |_____utilities | |______utilities.h | |...
subhacom's user avatar
  • 919
1 vote
0 answers
243 views

I am using PyO3 (v0.22.2) / Rust to write something a little similar to defaultdict, but with an integer default rather than a callback: >>> from my_package.pyo3_ext import PyDefaultDict >...
davidA's user avatar
  • 13.9k
0 votes
0 answers
32 views

I am working on PYCharm IDE application for getting address from latitude and longitude and I have also installed phonenumber and geocoder library to the project in PYCharm IDE but unfortunately ...
user2741987's user avatar
1 vote
0 answers
35 views

I have written a Python extension in C/C++ to wrap my code for Python. I followed CPython documentation in the parts of C/C++ functions each module should provide For example, my module contains: /* ...
girl_coding's user avatar
2 votes
0 answers
47 views

Some Python objects - for example, instances of int, float and dict - use a free list to speed up allocations. The C API provides methods to clear such free lists. By hardcoding PyXXX_ClearFreeList ...
Suen's user avatar
  • 103
0 votes
0 answers
263 views

I recently found that I could get the Python interpreter state by PyInterpreterState_Get() C-API. However, when I tried to access its members defined by struct _is in the extension code, during the ...
Natarich J's user avatar
0 votes
1 answer
85 views

In Python, I have a pair of classes like class Internal: def __init__(self, ref): self.ref = ref class External: def __init__(self): self.storage = [1,2,3] self.int = ...
Askold Ilvento's user avatar
2 votes
1 answer
152 views

I have been struggling to understand what I am doing wrong with the memory management of this this C++ function for a python module, but I don't have much experience in this regard. Every time I run ...
van's user avatar
  • 37
3 votes
0 answers
529 views

I have created a Python project with a C++ extension using pyproject.toml (PEP 518, PEP 517, PEP 621, PEP 660, etc.). I'm sure I could be doing some things better, but generally speaking it's working ...
Nick Williams's user avatar
1 vote
1 answer
440 views

Used pybind11 in the past without issue pulled in as a submodule and used via cmake. Now working on another project that uses poetry, and so wanted to make everything poetry-centric. Trying to build ...
learnvst's user avatar
  • 16.3k
2 votes
2 answers
10k views

Every time I launch VS code, the Pylance server crashes 5 times in in 3 minutes, or so the output terminal says. The server stops trying to relaunch and I lose out on a handful of features as a result....
ADH's user avatar
  • 21

15 30 50 per page
1
2 3 4 5
23