flask-script icon indicating copy to clipboard operation
flask-script copied to clipboard

Shell doesn't respect -B

Open rduplain opened this issue 12 years ago • 2 comments

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.


  • Bitbucket: https://bitbucket.org/danjac/flask-script/issue/26
  • Originally Reported By: Anthony Ford
  • Originally Created At: 2011-12-29 23:27:33

rduplain avatar Feb 29 '12 16:02 rduplain

Did some checking, and it seems that Server has the same problem.


Original Comment By: Anthony Ford

rduplain avatar Feb 29 '12 16:02 rduplain

I confirm this is still an issue. Not sure how to tackle this one yet.

techniq avatar Sep 22 '12 06:09 techniq