Staging
v0.5.1
https://github.com/python/cpython
Revision 645c1e421348790d49eab863279a41cb2b6a007a authored by Miss Islington (bot) on 08 September 2017, 00:38:31 UTC, committed by Ned Deily on 08 September 2017, 00:38:31 UTC
Rather than requiring the path to blurb and/or sphinx-build to be specified to the make rule, enhance the Doc/Makefile to look for each first in a virtual environment created by make venv and, if not found, look on the normal process PATH. This allows the Doc/Makefile to take advantage of an installed spinx-build or blurb and, thus, do the right thing most of the time. Also, make the directory for the venv be configurable and document the `make venv` target.
(cherry picked from commit 590665c399fc4aa3c4a9f8e7104d43a02e9f3a0c)
1 parent 9423f5d
Raw File
Tip revision: 645c1e421348790d49eab863279a41cb2b6a007a authored by Miss Islington (bot) on 08 September 2017, 00:38:31 UTC
[3.6] bpo-31036: Allow sphinx and blurb to be found automatically (GH-3440) (#3441)
Tip revision: 645c1e4
importdl.h
#ifndef Py_IMPORTDL_H
#define Py_IMPORTDL_H

#ifdef __cplusplus
extern "C" {
#endif


extern const char *_PyImport_DynLoadFiletab[];

extern PyObject *_PyImport_LoadDynamicModuleWithSpec(PyObject *spec, FILE *);

/* Max length of module suffix searched for -- accommodates "module.slb" */
#define MAXSUFFIXSIZE 12

#ifdef MS_WINDOWS
#include <windows.h>
typedef FARPROC dl_funcptr;
#else
typedef void (*dl_funcptr)(void);
#endif


#ifdef __cplusplus
}
#endif
#endif /* !Py_IMPORTDL_H */
back to top