Opened 3 years ago

Closed 3 years ago

#18639 closed New feature (fixed)

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

Reported by: Alex 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 Changed 3 years ago by mgrouchy

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

Relevant documentation has been updated.

comment:2 follow-up: Changed 3 years ago by jezdez

  • 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.

comment:3 in reply to: ↑ 2 Changed 3 years ago by mgrouchy

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 Changed 3 years ago by Alex

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.
Back to Top