Skip to content

Add option to %autoreload to hide errors when reloading code#14056

Merged
Carreau merged 1 commit intoipython:mainfrom
ccordoba12:dont-print-autoreload-failures
Jun 2, 2023
Merged

Add option to %autoreload to hide errors when reloading code#14056
Carreau merged 1 commit intoipython:mainfrom
ccordoba12:dont-print-autoreload-failures

Conversation

@ccordoba12
Copy link
Copy Markdown
Member

  • We have %autoreload enabled by default in Spyder and think it's a bit annoying to show its error messages to users because they make little sense to them. These errors are not uncommon when you are working with some code that is slightly different between two git branches.
  • However, I didn't change the current behavior (i.e. showing errors) because it's been like that for as long as I can remember. We'd simply use the new --hide-errors option in our kernel.

@ccordoba12 ccordoba12 self-assigned this Apr 28, 2023
@ccordoba12 ccordoba12 changed the title Add option to %autoreload to hide errors when reloading code Add option to %autoreload to hide errors when reloading code Apr 28, 2023
@Carreau Carreau added this to the 8.14 milestone Jun 2, 2023
@Carreau
Copy link
Copy Markdown
Member

Carreau commented Jun 2, 2023

Make sens ! Thanks !

@Carreau Carreau merged commit b518e6a into ipython:main Jun 2, 2023
@ccordoba12 ccordoba12 deleted the dont-print-autoreload-failures branch June 2, 2023 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants