[Cython] Shared utility Option vs. Compilation Directive
matus valo
matusvalo at gmail.com
Mon Mar 3 14:47:23 EST 2025
Hi All,
Based on the comment
https://github.com/cython/cython/pull/6531#discussion_r1975502026 I would
like to start a discussion about using Option vs Compilation Directive.
Basically, we have 3 options:
1. Use PR https://github.com/cython/cython/pull/6531 as is. I will proceed
with the rest of the comments.
2. Use `Option` directly with no further changes in the Cython codebase.
This is the initial implementation. I created a branch with a version of
the PR with rollback of all changes related to the Compilation Directive
adjustments:
https://github.com/cython/cython/compare/master...matusvalo:shared_library_option?expand=1
3. Use code changes/cleanup in https://github.com/cython/cython/pull/6646
but Shared Utility will be configured using `Option` instead of Compilation
directive (Option 2.). I am not sure it this point makes sense, only in
case that we want to keep changes by @da-woods <dw-git at d-woods.co.uk> improves
the code internals.
I would like to have an agreement on this topic before moving forward with
other comments in the PR.
Thanks,
Matus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/cython-devel/attachments/20250303/80a9a9dd/attachment.html>
More information about the cython-devel
mailing list