[Python-Dev] Add a developer mode to Python: -X dev command line option
victor.stinner at gmail.com
Mon Nov 13 11:46:58 EST 2017
2017-11-13 17:40 GMT+01:00 Antoine Pitrou <solipsis at pitrou.net>:
> I would personally not add `-b` in those options. I think it was
> useful while porting stuff to 3.x, but not so much these days.
You should consider youself as lucky if you completed to port all your
code to Python 3. It's not my case yet :-) (I'm thinking to code that
I have to port, not only code that I wrote myself.)
I confirm that I usually use -b while I'm porting code from Python 2
to Python 3. So, usually I know that I will get Python 3 compatibility
issues. Sometimes, you may still get Python 3 compatibility issues
while the project is already tagged as "compatible with Python 3",
just because you get into a code path which wasn't properyl tested
Well, I don't have a strong opinion on -b.
More information about the Python-Dev