Code

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

Attachments (0)

Change History (4)

comment:1 Changed 21 months 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 21 months 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 21 months 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 21 months ago by Alex

  • Resolution set to fixed
  • Status changed from new to closed

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.