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

bpo-38317: Fix PyConfig.warnoptions priority #16478

Merged
merged 1 commit into from
Sep 29, 2019
Merged

bpo-38317: Fix PyConfig.warnoptions priority #16478

merged 1 commit into from
Sep 29, 2019

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Sep 29, 2019

Fix warnings options priority: PyConfig.warnoptions has the highest
priority, as stated in the PEP 587.

  • Document options order in PyConfig.warnoptions documentation.
  • Make PyWideStringList_INIT macro private: replace "Py" prefix
    with "_Py".
  • test_embed: add test_init_warnoptions().

https://bugs.python.org/issue38317

Fix warnings options priority: PyConfig.warnoptions has the highest
priority, as stated in the PEP 587.

* Document options order in PyConfig.warnoptions documentation.
* Make PyWideStringList_INIT macro private: replace "Py" prefix
  with "_Py".
* test_embed: add test_init_warnoptions().
@vstinner vstinner merged commit fb4ae15 into python:master Sep 29, 2019
@vstinner vstinner deleted the config_warnoptions branch September 29, 2019 23:40
@miss-islington
Copy link
Contributor

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 29, 2019
Fix warnings options priority: PyConfig.warnoptions has the highest
priority, as stated in the PEP 587.

* Document options order in PyConfig.warnoptions documentation.
* Make PyWideStringList_INIT macro private: replace "Py" prefix
  with "_Py".
* test_embed: add test_init_warnoptions().
(cherry picked from commit fb4ae15)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
@bedevere-bot
Copy link

GH-16479 is a backport of this pull request to the 3.8 branch.

miss-islington added a commit that referenced this pull request Sep 29, 2019
Fix warnings options priority: PyConfig.warnoptions has the highest
priority, as stated in the PEP 587.

* Document options order in PyConfig.warnoptions documentation.
* Make PyWideStringList_INIT macro private: replace "Py" prefix
  with "_Py".
* test_embed: add test_init_warnoptions().
(cherry picked from commit fb4ae15)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
jacobneiltaylor pushed a commit to jacobneiltaylor/cpython that referenced this pull request Dec 5, 2019
Fix warnings options priority: PyConfig.warnoptions has the highest
priority, as stated in the PEP 587.

* Document options order in PyConfig.warnoptions documentation.
* Make PyWideStringList_INIT macro private: replace "Py" prefix
  with "_Py".
* test_embed: add test_init_warnoptions().
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.

4 participants