DeltaEscher / editra

Automatically exported from code.google.com/p/editra
Other
0 stars 0 forks source link

Raising SystemExit in a module hangs Editra #519

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Create ModuleA with a raise SystemExit(0)
Create ModuleB with a import ModuleA

When you type "ModuleA." the code completer triggers and everything hangs.

Hadn't the chance to look at the code, but maybe it's just a question of 
trapping BaseException instead of Exception to prevent exception propagation.

Original issue reported on code.google.com by cow...@gmail.com on 8 Jun 2010 at 8:58

GoogleCodeExporter commented 8 years ago
Fixed!

Good catch, really need to start looking at moving the autocompletion off to a 
separate processes to avoid issues like this and namespace problems.

Original comment by CodyPrec...@gmail.com on 8 Jun 2010 at 1:06