Daniel Folkinshteyn
a2985c37d6
Create a commands.process function which runs a function inside a separate process.
...
This is the only way to limit the execution time of a possibly long-running python statement.
Use this on String.re, due to the possibility of pathologically long re matching in python.
This allows us to remove the 'trusted-only' restriction on string.re.
In the future, this should probably be used in other places that take user-supplied regexps,
such as 'misc last --regexp', for example, as well as other potentially long-running tasks
that can block the bot.
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2012-10-15 21:19:34 -04:00
..
2012-09-17 22:22:34 -04:00
2012-09-01 10:16:48 -04:00
2012-09-04 22:36:20 -04:00
2012-09-04 22:37:00 -04:00
2012-09-01 10:16:48 -04:00
2012-09-01 10:16:48 -04:00
2012-09-04 22:38:18 -04:00
2012-09-04 22:50:44 -04:00
2012-09-01 10:16:48 -04:00
2012-09-04 22:50:44 -04:00
2012-09-01 10:16:48 -04:00
2012-09-04 22:50:44 -04:00
2012-09-04 22:50:44 -04:00
2012-10-15 20:51:13 -04:00
2012-09-04 22:50:44 -04:00
2012-09-04 22:50:44 -04:00
2012-09-10 20:07:43 -04:00
2012-09-04 22:50:44 -04:00
2012-09-04 22:50:44 -04:00
2012-09-01 10:16:48 -04:00
2006-11-13 20:27:23 +00:00
2012-09-01 10:16:48 -04:00
2012-09-01 10:16:48 -04:00
2012-09-01 10:16:48 -04:00
2012-09-01 10:16:48 -04:00
2012-09-04 22:50:44 -04:00
2012-09-01 10:16:48 -04:00
2010-09-05 01:09:43 -04:00
2011-10-23 19:38:54 -04:00
2009-11-04 22:54:46 -05:00
2012-09-01 10:16:48 -04:00
2012-09-01 10:16:48 -04:00
2012-09-05 21:50:42 -04:00
2006-02-11 15:52:51 +00:00
2011-10-23 19:04:12 -04:00
2006-02-11 15:52:51 +00:00
2012-09-01 10:16:48 -04:00
2012-09-01 10:16:48 -04:00
2006-02-11 15:52:51 +00:00
2012-10-14 12:13:00 -04:00
2012-09-01 10:16:48 -04:00
2012-09-01 10:16:48 -04:00
2012-09-01 10:16:48 -04:00
2012-09-01 10:16:48 -04:00
2012-09-01 10:16:48 -04:00
2012-10-15 21:19:34 -04:00
2012-05-23 00:52:24 -04:00
2012-09-17 22:15:52 -04:00
2012-09-01 10:16:48 -04:00
2012-10-15 20:52:27 -04:00
2012-09-01 10:16:48 -04:00
2012-09-01 10:16:48 -04:00
2010-08-29 11:32:39 -04:00
2012-09-01 10:16:48 -04:00
2012-09-05 21:35:56 -04:00
2012-09-17 22:12:11 -04:00