Python.SetRecursionLimit
------------------------

Sets the recursion limit.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Python](component_Python.md) | [15.4](newinversion154.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No |

MBS( "Python.SetRecursionLimit"; Value ) 

**MBS**( **"Python.SetRecursionLimit";** /\* Sets the recursion limit. \*/  
**$Value**) /\* The new recursion limit.e.g. 10000 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Value | The new recursion limit. | 10000 |

### Result

Returns OK or error.

### Description

Sets the recursion limit.  
Default is 1000.  
### See also

- [Python.GetRecursionLimit](PythonGetRecursionLimit.md)

### Release notes

- **Version 15.4**
    - Added [Python.GetRecursionLimit](https://www.mbsplugins.eu/PythonGetRecursionLimit.shtml) and [Python.SetRecursionLimit](https://www.mbsplugins.eu/PythonSetRecursionLimit.shtml) functions.

### Blog Entries

- [MBS FileMaker Plugin 15.4 News](https://www.mbsplugins.de/archive/2025-09-23/MBS_FileMaker_Plugin_154_News/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 15.4pr1](https://www.mbsplugins.de/archive/2025-08-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

Created 22nd July 2025 , last changed 22nd July 2025

  
[Python.SetPythonHome](PythonSetPythonHome.md) - [Python.SetTag](PythonSetTag.md)

[HTML Version](PythonSetRecursionLimit.shtml)