Isuru Fernando
Isuru Fernando
How did you install symengine? Which version of symengine is this?
Looks like strtod_l/_strtod_l is available on linux, osx, mingw-w64, msvc15 environments. (Not on mingw though)
> Are we talking about converting "2.5" to 2.5? Yes, it also includes scientific notation and some edge cases like inf, nan. I don't know if it will be easy...
Right. We can't get it from glibc due to license. Let me have a look at what musl does.
`strtod` is also passed a IMPLICIT_MUL token as in https://github.com/symengine/symengine/blob/b699c32637ea3e16373b341c2bda9167bffc513c/symengine/parser/scanner.ll#L14
cc @bocklund To avoid lots of memory leaks, create subclass objects sparingly.
Only a single object.
Weak references can't fix this as they have to be non-weak references to avoid garbage collecting objects that are still useful.
Yes, 2b is still useful. For example, the following would segfault if it was a weak reference. ``` x = MySymbolClass("x", a=1) y = x + 1 del x print(y...
> Cannot the Python wrapper simply increase the "refcount" of the C++ object, and then when the Python class goes out of scope, decrease the "refcount"? That's how it works...