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

Stop installing a global __WARN__ handler at BEGIN time #2

Merged
merged 1 commit into from Sep 8, 2021

Conversation

alexmv
Copy link
Contributor

@alexmv alexmv commented Jan 3, 2014

Installing a global WARN handler when the package is loaded causes
extremely surprising action at a distance, particularly as no attempt is
made to call the previous WARN handler, if it existed.

Limit the scope of the warn handler to the single block which might
cause the warnings.

Installing a global __WARN__ handler when the package is loaded causes
extremely surprising action at a distance, particularly as no attempt is
made to call the previous __WARN__ handler, if it existed.

Limit the scope of the warn handler to the single block which might
cause the warnings.
alexmv added a commit to bestpractical/rt that referenced this pull request Jan 3, 2014
alexmv added a commit to bestpractical/rt that referenced this pull request Jan 4, 2014
alexmv added a commit to bestpractical/rt that referenced this pull request Apr 7, 2014
alexmv added a commit to bestpractical/rt that referenced this pull request Jun 16, 2014
alexmv added a commit to bestpractical/rt that referenced this pull request Jun 18, 2014
alexmv added a commit to bestpractical/rt that referenced this pull request Jun 26, 2014
@tobyink tobyink merged commit 27a0a76 into tobyink:master Sep 8, 2021
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.

None yet

2 participants