laptop and a wrench

Bug

The Python expressions accessed via the Recent button in the Calculate Field tool consistently lose the first line of the expression when executed.

ArcGIS Pro
Bug ID Number BUG-000177179
SubmittedJune 13, 2025
Last ModifiedAugust 19, 2025
Applies toArcGIS Pro
Version found3.5.1
Operating SystemWindows OS
Operating System VersionN/A
Version Fixed3.6, 3.5.3
StatusFixed

Additional Information

This issue is fixed in ArcGIS Pro 3.6 and 3.5.3.

Workaround

Add comments before the Python expression in the code block.

Steps to Reproduce

Bug ID: BUG-000177179

Software:

  • ArcGIS Pro

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options