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
Support variable declarations in c #1847
base: devel
Are you sure you want to change the base?
Conversation
…/pyccel into Set_Support-Update_Method
Hello again! Thank you for this new pull request 🤩. Please begin by requesting your checklist using the command |
…om/pyccel/pyccel into Support_variable_declarations_in_C
… and float are passing in STC, bool and complex need some fixing
…e full container type name. This is done by replacing any spaces in the datatype with underscores, as a sort of convention to preserve the readability of the container type
Here is your checklist. Please tick items off when you have completed them or determined that they are not necessary for this pull request:
|
/bot run pr_tests |
) | ||
def test_homogeneous_set_annotation_int(language): | ||
def homogeneous_set_annotation (): | ||
a : set[int] #pylint: disable=unused-variable |
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.
This is only valid in Python > 3.8.
3.8 only reaches end of life in November so we still support it. You can use:
a : set[int] #pylint: disable=unused-variable | |
a : 'set[int]' #pylint: disable=unused-variable |
to get round this
/bot show tests |
The following is a list of keywords which can be used to run tests. Tests in bold are run by pull requests when they are marked as ready for review:
These tests can be run with the command |
/bot run docs pylint pyccel_lint spelling |
/bot run docs pylint pyccel_lint spelling |
/bot run linux |
@Farouk-Echaref 64249ca looks like a rather opaque solution to this problem and one that could cause problems in some situations. E.g: class A:
def A__method():
pass The only reason the renaming is done in |
No description provided.