Skip to main content
New: Stack Overflow For Agents. The next generation of knowledge exchange. Learn more
Filter by
Sorted by
Tagged with
Filter by Employee ID
1 vote
1 answer
77 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
95 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
1 answer
260 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
102 views

A python C++ extension has the following structure: /myextension |_____basecode | |__header.h | |__functions.cpp | |_____utilities | |______utilities.h | |...
subhacom's user avatar
1 vote
0 answers
269 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
0 votes
0 answers
46 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
56 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
52 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
0 votes
0 answers
278 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
98 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
164 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
3 votes
0 answers
568 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
476 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
2 votes
2 answers
11k 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
0 votes
0 answers
545 views

So I was trying to learn ROS2 iron on the Ubuntu Server. I installed the Ubuntu server on a Raspberry Pi 4 and I used my laptop to SSH into the Raspberry Pi 4. Next, I installed ROS2 iron on the ...
Navid Moghtaderi's user avatar

15 30 50 per page
1
2 3 4 5
23