-
Notifications
You must be signed in to change notification settings - Fork 55
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
[DICT] Add Python support for reversed #1890
Comments
Hi @EmilyBourne , I can start working on this. Could you give me a sample output for the above code? |
Hi @shoaib-moeen Just to warn you though. A PR related to this issue is likely to stay open for a few weeks as it will be dependent on my PRs and the person who merges my PRs is not available at the moment |
Hello again @shoaib-moeen , I've had another think about this, this morning. I forget that pyccel/pyccel/ast/itertoolsext.py Lines 48 to 63 in d64be7f
But I'm not sure how the Soon we will add the C implementation. It will be based on STC (https://github.com/stclib/STC/blob/master/docs/smap_api.md). I think the answer about how to implement this is probably related to how this would be written in C but I haven't found anything about reversing the order of things in the docs so far. |
Thanks @EmilyBourne. I ll look into other issues. Maybe start working on #1887 |
Describe the feature
Syntactic and semantic support should be added for
reversed
. This should be tested by implementing Python printingTest Code
Provide code which does not currently work but which should do when this issue is fixed:
The text was updated successfully, but these errors were encountered: