1. Dan Jacob
  2. Flask-Script
  3. Issues
Issue #26 new

Shell doesn't respect -B

Anthony Ford
created an issue

I've been having some trouble with the Shell command.

I normally use the -B flag on the interactive interpreter during development to prevent .pyc's from making a mess, and to ease the use of reload().

But when using the following:

python -B manage.py shell

any import done from within the spawned shell creates .pyc files.

Comments (1)

  1. Log in to comment