Opened 8 years ago

Closed 8 years ago

#27023 closed Bug (fixed)

~/.pythonrc.py loaded twice if PYTHONSTARTUP set to ~/.pythonrc.py

Reported by: Peter Inglesby Owned by: nobody
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

As summary. I noticed this because my .python_history file was getting written to twice, and so doubled in size every time I ran manage.py shell!

A pull request with a fix is incoming.

Change History (2)

comment:1 by Tim Graham, 8 years ago

Has patch: set
Triage Stage: UnreviewedReady for checkin
Type: UncategorizedBug

comment:2 by Tim Graham <timograham@…>, 8 years ago

Resolution: fixed
Status: newclosed

In e139ef5:

Fixed #27023 -- Prevented possibility of shell loading ~/.pythonrc.py twice.

Note: See TracTickets for help on using tickets.
Back to Top