Simon King wrote:
> Hi Nils, hi Leif,
> 
> On 2016-09-08, leif <not.rea...@online.de> wrote:
>>> Googling suggests that this might be a part of glibc:
>>>
>>> https://github.com/lattera/glibc/blob/master/sysdeps/posix/system.c#L52
> 
> Aha! Since I expected it to be related with (c)python, I duckduckwent
> for "python do_system", but to no avail. Thanks for the hint.
> 
>>> If that's indeed the do_system you're hitting then it would seem you're
>>> profiling quite a bit of OS interaction.
>>
>> Presumably smth like system("pip list") from is_package_installed()... 8-)
> 
> Is do_system perhaps related with writing/reading files? The code does that
> a lot.

No, it's presumably really (in) the C library function system() [1], in
Python os.system().  (I doubt you abuse it to write to or read from files.)

Or maybe not.  But are you (intentionally) using R?  libR.so does define
a function of the same name as well, which on the other hand in turn is
apparently just a wrapper for the former.

Or it is a function of some optional package you have installed.


-leif

[1] man 3 system


-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to