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
py3 print : not tested cases, step 5 #20814
Comments
Branch: public/20814 |
Commit: |
comment:2
An error here:
needs a space after colon. |
Reviewer: Jori Mäntysalo |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:6
Merge conflict, wait for next beta |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
This comment has been minimized.
This comment has been minimized.
comment:12
No time now. Travis? |
comment:13
bot is green |
comment:14
So with this, every time from this point forward we can never have a Python2 print statement in the doctests? Do I understand the ticket description correctly? |
comment:15
Replying to @tscrim:
Yes, I think so. this seems to be triggered EDIT: I do not understand by what change this is triggered. Maybe one in misc ?
This is the keystone of all my previous changes in the doc, that prevents any regression. |
comment:16
I have tested by adding a fake new file with a bad print in the doc: tests do not pass I have checked that the behaviour of print is unchanged in console and both notebooks. I still do not understand why this desirable behaviour happens. |
comment:17
ping ? |
comment:18
I think it was the change in |
comment:19
I do not think that it comes from the changes in misc/dev_tools.py I have really tried to see where the change of behaviour came from, with no success so far. I would now prefer this ticket not to make this change of behaviour, but for this I need to understand what has to be undone, and I have not clue. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:21
ok, I think I have found that the problems were coming from the future import in No idea what happens exactly, but undoing this change gives us back the usual behaviour. So this is back to being a very simple print ticket, one of the last ones for py files. |
This comment has been minimized.
This comment has been minimized.
comment:22
If you could remove the added space in the copyright header for consistency, then you can set a positive review on my behalf. |
Changed reviewer from Jori Mäntysalo to Jori Mäntysalo, Travis Scrimshaw |
comment:23
The added space remove I can (Yoda mode), but this change is suggested by pep8. Should I remove ? |
comment:24
I think so. We consistently break the PEP8 in this case, and in our doc about file headers, the copyright is given without a space as well. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:26
Thanks. |
Changed branch from public/20814 to |
another small step towards python3
some more print converted to use python3 syntax
CC: @tscrim
Component: python3
Author: Frédéric Chapoton
Branch/Commit:
fc51d8e
Reviewer: Jori Mäntysalo, Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/20814
The text was updated successfully, but these errors were encountered: