[issue24899] Add an os.path <=> pathlib equivalence table in pathlib docs
Jamiel Almeida added the comment: I'm picking this up. -- nosy: +slashfoo versions: +Python 3.7 -Python 3.5, Python 3.6 ___ Python tracker <http://bugs.python.org/issue24899> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23925] test_cmd_line failing on PYTHONSTARTUP
New submission from Jamiel Almeida: Running the test test_cmd_line with my current PYTHONSTARTUP set to the attached file breaks the test. $ ./python.exe -m test test_cmd_line Changing line 280 on Lib/test/test_cmd_line.py to include either -I or -E makes the error be different but still breaks the test. adding a line with `del env['PYTHONSTARTUP']` before the subprocess works around the issue. This leads me to believe that -E and -I aren't fully ignoring the environment variable. Running with: $ PYTHONSTARTUP= ./python.exe -m test test_cmd_line Also works around the issue. Ran the following to build python and run tests $ hg clone https://hg.python.org/cpython $ cd cpython $ ./configure --with-pydebug && make -j4 $ ./python -m test -j4 Currently on revision: 2a18f6b85da2 2015-04-12 | [rdmurray] #23464: remove JoinableQueue that was deprecated in 3.4.4. -- components: Interpreter Core files: pythonrc messages: 240581 nosy: slashfoo priority: normal severity: normal status: open title: test_cmd_line failing on PYTHONSTARTUP versions: Python 3.5 Added file: http://bugs.python.org/file38911/pythonrc ___ Python tracker <http://bugs.python.org/issue23925> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23925] test_cmd_line failing on PYTHONSTARTUP
Jamiel Almeida added the comment: As pointed by ncoghlan, the test needs to (by definition) not use -E or -I, but PYTHONSTARTUP env var breaks the test, so the patch makes the env not have any pre-existing PYTHON* env vars. Ideally this should be another type of helper in script_helper, no? -- keywords: +patch Added file: http://bugs.python.org/file38980/fix-issue23925.patch ___ Python tracker <http://bugs.python.org/issue23925> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com