My Software project is working fine in most of the cases
(www.pythonscad.org)
however I am right now isolating a scenario, which makes it crash
permanently.
It does not happen with Python 3.11.6 (and possibly below), it happens with
3.12 and above
It does not happen when not using Threads.
Howe
Hi,
My "Project" is to integrate python support into OpenSCAD. It runs quite
well, but
there are still issues on MacOS. On My MacOS it works, but it crashes when
I ship
the DMG files.
It looks very much like python is not able to find the "startup" python
files and therefore crashes.
Is it possi
Hi,
when i run this code
a = cube([10,1,1])
b = a
i'd like to extend the behaviour of the assignment operator
a shall not only contain the cube, but the cube shall also know which
variable name it
was assigned to, lately. I'd like to use that for improved user interaction.
effective code shou
Hi list
The approach with defining the methods from python appears to be a very
good idea and it also works for classes, defined in python side.
However, when I try this one:
def mytrans(self):
print(self)
c=cube()
cls=c.__class__
cls.trans=mytrans
I get this:
Traceback (most recent call
Thank you for your answers.
apparently I did not express myself clear enough. Let me rephrase.
I got an embedded C function like this:
==
PyObject *python_translate(PyObject *self, PyObject *args, PyObject *kwargs)
{
char *kwlist[] = {"obj", "v", NULL};
PyObject *v = NULL;
PyObject *obj =
Hi,
In my cpython i have written quite some functions to modify "objects".
and their python syntax is e.g.\
translate(obj, vec). e.g whereas obj is ALWAYS first argument.
on c side this functions looks like:
PyObject *python_translate(PyObject *self, PyObject *args, PyObject *kwargs)
this works
Hi
I am wondering If an embedded Python Interpreter can detect unassigned
Expressions. Cases where functions Return values but they are Not
assignwd. E.g.
Calc_square(4)
Or
3*4-myval()
Thank you for your hints
--
https://mail.python.org/mailman/listinfo/python-list