atom / language-python

Python package for Atom
Other
190 stars 146 forks source link

Atom crashing when changing if statements #302

Closed djw1809 closed 5 years ago

djw1809 commented 5 years ago

Prerequisites

Description

Atom crashing in safe mode when changing any if statement in a particular .py file.

Steps to Reproduce

  1. Open file
  2. change any if statement (for example change to an elif)

Expected behavior: Editor continues as normal and highlights statements correctly

Actual behavior: Editor crashes

Reproduces how often: 100%

Versions

1.36

Additional Information

Only seems to happen with a particular python file.

50Wliu commented 5 years ago

@djw1809 can you please try Atom 1.37 beta? We fixed a crash related to editing Python code in that version.

djw1809 commented 5 years ago

This seemed to solve the issue. Thanks - I was having a difficult time reproducing it in a different file.

50Wliu commented 5 years ago

Great, thank you!