Skip to content

[3.7] bpo-37445: Include FORMAT_MESSAGE_IGNORE_INSERTS in FormatMessageW() calls (GH-14462)#15743

Merged
miss-islington merged 1 commit into
python:3.7from
miss-islington:backport-a656365-3.7
Sep 9, 2019
Merged

[3.7] bpo-37445: Include FORMAT_MESSAGE_IGNORE_INSERTS in FormatMessageW() calls (GH-14462)#15743
miss-islington merged 1 commit into
python:3.7from
miss-islington:backport-a656365-3.7

Conversation

@miss-islington

@miss-islington miss-islington commented Sep 9, 2019

Copy link
Copy Markdown
Contributor

If FormatMessageW() is passed the FORMAT_MESSAGE_FROM_SYSTEM flag without FORMAT_MESSAGE_IGNORE_INSERTS, it will fail if there are insert sequences in the message definition.
(cherry picked from commit a656365)

Co-authored-by: Zackery Spytz zspytz@gmail.com

https://bugs.python.org/issue37445

…calls (pythonGH-14462)

If FormatMessageW() is passed the FORMAT_MESSAGE_FROM_SYSTEM flag without FORMAT_MESSAGE_IGNORE_INSERTS, it will fail if there are insert sequences in the message definition.
(cherry picked from commit a656365)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
@miss-islington

Copy link
Copy Markdown
Contributor Author

@ZackerySpytz and @zooba: Status check is done, and it's a success ✅ .

@miss-islington
miss-islington merged commit 1af2c0e into python:3.7 Sep 9, 2019
@miss-islington
miss-islington deleted the backport-a656365-3.7 branch September 9, 2019 09:56
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.

5 participants