Skip to content
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

Change command line compiler directive priority #829

Closed
robertwb opened this issue Mar 31, 2009 · 3 comments
Closed

Change command line compiler directive priority #829

robertwb opened this issue Mar 31, 2009 · 3 comments

Comments

@robertwb
Copy link
Contributor

Currently a directive is set
by these precedence rules (i.e. start at the top of the list and
continue until a setting is found):

  1. with statement and decorators w/ block level
  2. command line switch --directive
  3. #cython comment at top of file
  4. builtin defaults

Now that we see what kind of things this can be used for (i.e.
cdivision), I propose that the 2) and 3) are exchanged, so that #cython
comments take precedence before command line.

Migrated from http://trac.cython.org/ticket/269

@robertwb
Copy link
Contributor Author

@dagss changed owner from somebody to dagss
status from new to assigned
commented

@robertwb
Copy link
Contributor Author

@dagss changed priority from major to blocker
commented

Simple change, but should be done.

@robertwb
Copy link
Contributor Author

@dagss changed resolution to fixed
status from assigned to closed
commented

Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant