Benign python Download

passagemath-singular 10.8.12rc2

Contains an unconditional loop headerLow-bit-mask expression text

Evidence

Declares Python license expression PKG-INFO · lines 1–9
1Metadata-Version: 2.4
2Name: passagemath-singular
3Version: 10.8.12rc2
4Summary: passagemath: Computer algebra, algebraic geometry, singularity theory with Singular
5Author-email: The Sage Developers <[email protected]>
6Maintainer: Matthias Köppe, passagemath contributors
7License-Expression: GPL-2.0-or-later
8Project-URL: release notes, https://github.com/passagemath/passagemath/releases
9Project-URL: repo (upstream), https://github.co …
Declares Python runtime dependencies PKG-INFO · lines 24–34
24:39… thon :: 3.12
25Classifier: Programming Language :: Python :: 3.13
26Classifier: Programming Language :: Python :: 3.14
27Classifier: Programming Language :: Python :: Implementation :: CPython
28Classifier: Topic :: Scientific/Engineering :: Mathematics
29Requires-Python: <3.15,>=3.11
30Description-Content-Type: text/x-rst
31Requires-Dist: passagemath-pari==10.8.12rc2
32Requires-Dist: cysignals!=1.12.4; sys_platform == "win32"
33Requires-Dist: cysignals>=1.12.6; python_version >= "3.14"
34Requires-D …
Python.h C API header in native source PySingular.cpp · lines 1–21
1// This is PySingular's SingularModule.cpp
2// Copyright 2015-2019 Sebastian Gutsche <[email protected]>
3
4#include <Python.h>
5
6#include <iostream>
7using std::cout;
8using std::cerr;
9using std::endl;
10
11#include <string>
12using std::string;
13
14#include <Singular/libsingular.h>
15#include <Singular/cntrlc.h>
16
17string singular_return;
⋯4 lines
PyArg_ParseTuple C API argument parsing PySingular.cpp · lines 59–63
59:62… t* args ){
60 const char * path_to_singular_library;
61 if (! PyArg_ParseTuple(args, "s", &path_to_singular_library) )
62 return Py_False;
63 char* path_non_const = const_cast<char*>(path_to_singular_ …
C declares a character or byte buffer PySingular.cpp · lines 85–90
85:18… arseTuple(args, "s", &input_string) )
86 return NULL;
87
88 const char return_str[] = "\nreturn();";
89 char *ost = (char *)omalloc0(strlen(input_string) + sizeof(return_str)+1);
90 strcpy(ost, input_string); …

Showing the top 5 files — 7 more files (143 regions) not shown.

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.