We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a880b3f commit 31169fcCopy full SHA for 31169fc
src/sage/misc/gperftools.py
@@ -162,7 +162,7 @@ def start(self):
162
self._previous_sigprof_handler = self._libc().signal(SIGPROF, SIG_DFL)
163
profiler = self._libprofiler()
164
self._t_start = time.time()
165
- rc = profiler.ProfilerStart(self.filename())
+ rc = profiler.ProfilerStart(str.encode(self.filename()))
166
if rc < 0:
167
raise ValueError('profiler failed to start')
168
0 commit comments