[Python-Dev] Expose environment variable for Py_Py3kWarningFlag (Issue 28288)
rwilliams at lyft.com
Wed Nov 23 21:11:02 EST 2016
I'd love to be able to get http://bugs.python.org/issue28288 into 2.7.12 .
I've found the -3 flag to be immensely useful when porting Python code to
Python 3, but unfortunately it can be difficult to use with services that
run python in subprocesses (like Gunicorn or Xdist with py.test). With
this patch I'd be able to set the `PYTHON3WARNINGS` environment variable to
ensure I get warnings everywhere.
Thanks, let me know what you think,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-Dev