Message368168
| Author |
eric.snow |
| Recipients |
eric.snow, shihai1991, vstinner |
| Date |
2020年05月05日.15:25:38 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1588692338.3.0.233803231124.issue40513@roundup.psfhosted.org> |
| In-reply-to |
| Content |
From a user perspective, does it make sense to have a different recursion_limit per interpreter? I don't see a problem with it. However, does it make sense to also keep a global value that we default to when a per-interpreter value is not set? I think it might.
I suppose a bigger question is what users will expect the recursion limit (AKA "sys.getrecursionlimit()") to be for a newly created subinterpreter. Will it be some global default? Will it be the value from the parent interpreter? I'd go with a global default, which would imply that the default value should be stored under _PyRuntimeState like we had it (but still keep the actual per-interpreter field for the actual value).
FWIW, the existing docs don't really block either approach. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2020年05月05日 15:25:38 | eric.snow | set | recipients:
+ eric.snow, vstinner, shihai1991 |
| 2020年05月05日 15:25:38 | eric.snow | set | messageid: <1588692338.3.0.233803231124.issue40513@roundup.psfhosted.org> |
| 2020年05月05日 15:25:38 | eric.snow | link | issue40513 messages |
| 2020年05月05日 15:25:38 | eric.snow | create |
|