Remove need for "nargout=0" in function calls
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Área
- api, developer-experience
Línea de trabajo
The issue names no files, tests, or entry points. Start by locating where the Python MATLAB engine handles nargout=0 and determine whether omitted outputs can return None without breaking script or function calls. Done means automatic handling, or a more helpful error message if that is not possible.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
A big quality-of-life improvement in the matlab engine would be to automatically handle, somehow, the need to add "nargout=0" for every script command or function without a return value. The engine should be able to detect no outputs and simply return a None to Python, which will be ignored if the user doesn't set the output to a variable.
If somehow, this is not possible, at least please update the error message that is generated, it is not helpful at all. This is a major problem for new users just trying to get the basics working. Now that I'm past it, at least I usually know what the problem is, but it is still annoying to have to type in the argument every time, and to find and fix the ones where it was forgotten, since you normally don't need that argument.
This would be a huge streamlining of working with the matlab.engine. Thanks!
- Lenguaje dominante
- Python
- Estrellas
- 97
- Forks
- 13
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de mathworks/matlab-engine-for-python
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
-
Dificultad 3/5 1-2 días Aptitud para principiantes 38/100
-
Support sparse arrayAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 42/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
-
Failed to build matlabengineAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
Todos los issues de mathworks/matlab-engine-for-python
Issues similares
-
Claiming namespace apexdevAbiertonamespace operations
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
EclipseFdn/open-vsx.org#13737 ·
Los mantenedores suelen responder en 1 día
-
Zero-token evaluations are treated as missing cost in selectionPosiblemente ocupada @sylvesterkaczmarek la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
google-research/rrsi#6 ·
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
aws-samples/sample-aws-genai-db-modernizer#294 ·
Los mantenedores suelen responder en 1 día
-
feedback simulation workshop
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
githubnext/gh-aw-workshop#4174 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
WingedGuardian/GENesis-AGI#2852 ·
Los mantenedores suelen responder en 1 día