New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default profile #964
Default profile #964
Conversation
also add missing shell.profile_dir in ipkernel closes ipythongh-939
Now also includes Min's fix so starting the qtconsole and specifying a different profile works properly (#939). |
Looks good to me, thanks! |
@@ -80,7 +80,7 @@ def test_startup_py(): | |||
# write simple test file, to check that the startup file was run | |||
fname = os.path.join(TMP_TEST_DIR, 'test.py') | |||
with open(fname, 'w') as f: | |||
f.write('print zzz\n') | |||
f.write(py3compat.doctest_refactor_print('print zzz\n')) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@takluyver, when you get a chance, do you want to toss together a writeup of the py3compat stuff? The unicode_to_str, etc. is clear enough, but some of these would warrant a good doc, so we don't make you keep fixing our tests, etc. for py3 quite so often.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure. I'll put something together on the wiki.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! this branch has been merged.
Python 3 being fully supported, it is no longer relegated to a special profile. Users of both Python 3 and Python 2 will now get the same default profile (history, config, etc.) in each. Closes gh-939, fixing the profile directory and magic in the IPython kernel.
Python 3 being fully supported, it is no longer relegated to a special profile. Users of both Python 3 and Python 2 will now get the same default profile (history, config, etc.) in each. Closes ipythongh-939, fixing the profile directory and magic in the IPython kernel.
As discussed, this makes the default profile the same for Python 2 and 3.
Also includes a fix for a new test that was failing on Python 3.