Staging
v0.5.1
https://github.com/python/cpython
Revision 74b95b6b320a739b75776c275d70deaa6330f5c1 authored by Miss Islington (bot) on 15 January 2020, 20:19:39 UTC, committed by GitHub on 15 January 2020, 20:19:39 UTC


Since 3.7 `successful` raises a `ValueError` as explained in the next text block from the documentation:

_Changed in version 3.7: If the result is not ready, ValueError is raised instead of AssertionError._

No issue associated with this PR.
Should be backported in 3.7 and 3.8.
(cherry picked from commit dc0284ee8f7a270b6005467f26d8e5773d76e959)


Co-authored-by: Antoine <43954001+awecx@users.noreply.github.com>

Automerge-Triggered-By: @pitrou
1 parent 5c08bfe
Raw File
Tip revision: 74b95b6b320a739b75776c275d70deaa6330f5c1 authored by Miss Islington (bot) on 15 January 2020, 20:19:39 UTC
[3.7] Fix typo in multiprocessing.pool.AsyncResult.successful doc. (GH-17932) (GH-18016)
Tip revision: 74b95b6
WinMain.c
/* Minimal main program -- everything is loaded from the library. */

#include "Python.h"

#define WIN32_LEAN_AND_MEAN
#include <windows.h>

int WINAPI wWinMain(
    HINSTANCE hInstance,      /* handle to current instance */
    HINSTANCE hPrevInstance,  /* handle to previous instance */
    LPWSTR lpCmdLine,         /* pointer to command line */
    int nCmdShow              /* show state of window */
)
{
    return Py_Main(__argc, __wargv);
}
back to top