Opened 9 years ago
Closed 8 years ago
#27670 closed Bug (fixed)
Loading shell crashes when pythonrc file contains error
| Reported by: | Peter Inglesby | Owned by: | Peter Inglesby |
|---|---|---|---|
| Component: | Core (Management commands) | Version: | 1.10 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description (last modified by )
If a pythonrc file (either ~/.pythonrc, or $PYTHONHOME) causes an exception, then ./manage.py shell crashes.
By contrast, CPython prints the exception and continues.
Change History (7)
comment:1 by , 9 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:3 by , 9 years ago
| Patch needs improvement: | set |
|---|---|
| Triage Stage: | Unreviewed → Accepted |
comment:5 by , 8 years ago
| Description: | modified (diff) |
|---|---|
| Summary: | Genuine ImportError masked by exception handling code when loading shell → Loading shell crashes when pythonrc file contains error |
comment:6 by , 8 years ago
| Patch needs improvement: | unset |
|---|---|
| Triage Stage: | Accepted → Ready for checkin |
Note:
See TracTickets
for help on using tickets.
PR