Opened 12 years ago

Closed 12 years ago

#18639 closed New feature (fixed)

manage.py shell should have a flag to explicitly request iPython or bpython

Reported by: Alex Gaynor Owned by: nobody
Component: Core (Management commands) Version: 1.4
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: yes
Needs tests: no Patch needs improvement: yes
Easy pickings: yes UI/UX: no

Description

If you have both installed, sometimes you'll want one vs. another for various reasons. There should be a flag to explicitly request this.

Change History (4)

comment:1 by mgrouchy, 12 years ago

Added Pull request for this feature here: https://github.com/django/django/pull/215

Relevant documentation has been updated.

comment:2 by Jannis Leidel, 12 years ago

Needs documentation: set
Patch needs improvement: set

Please don't use "--interp" but "-i" and "--interface" (just provide them after each other). "Interpreter" is misleading as the switch doesn't switch the actual interpreter you're running the Python files with.

in reply to:  2 comment:3 by mgrouchy, 12 years ago

Replying to jezdez:

Please don't use "--interp" but "-i" and "--interface" (just provide them after each other). "Interpreter" is misleading as the switch doesn't switch the actual interpreter you're running the Python files with.

Sure, I will make that change today. I thought while --interp may be less correct technically most people refer to bpython and iPython as python interpreters(Even though they are both just interfaces to the interpreter) so it seemed like a nicer UI.

comment:4 by Alex Gaynor, 12 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.
Back to Top