Skip to content

Rename _os_random_weak to _mi_os_random_weak#474

Merged
daanx merged 1 commit into
microsoft:devfrom
tiran:mi_prefix_os_random
Oct 21, 2021
Merged

Rename _os_random_weak to _mi_os_random_weak#474
daanx merged 1 commit into
microsoft:devfrom
tiran:mi_prefix_os_random

Conversation

@tiran

@tiran tiran commented Oct 21, 2021

Copy link
Copy Markdown
Contributor

The _os_random_weak function is the only non-static function
besides _ZSt15get_new_handlerv that is not prefixed with mi or
_mi.

The discrepancy was discovered by CPython's smelly script. The checker
looks for exported symbols that don't have well-defined prefixes.

Signed-off-by: Christian Heimes christian@python.org

The ``_os_random_weak`` function is the only non-static function
besides ``_ZSt15get_new_handlerv`` that is not prefixed with ``mi`` or
``_mi``.

The discrepancy was discovered by CPython's smelly script. The checker
looks for exported symbols that don't have well-defined prefixes.

Signed-off-by: Christian Heimes <christian@python.org>
@daanx daanx merged commit 2417f6d into microsoft:dev Oct 21, 2021
@daanx

daanx commented Oct 21, 2021

Copy link
Copy Markdown
Collaborator

Thanks Christian!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants