6.4.1
This commit is contained in:
parent
22cefb0b9c
commit
8f5fd1ddc2
@ -374,7 +374,7 @@ set(YAP_FOUND ON)
|
|||||||
|
|
||||||
set(YAP_MAJOR_VERSION 6)
|
set(YAP_MAJOR_VERSION 6)
|
||||||
set(YAP_MINOR_VERSION 4)
|
set(YAP_MINOR_VERSION 4)
|
||||||
set(YAP_PATCH_VERSION 0)
|
set(YAP_PATCH_VERSION 1)
|
||||||
|
|
||||||
set(YAP_FULL_VERSION
|
set(YAP_FULL_VERSION
|
||||||
${YAP_MAJOR_VERSION}.${YAP_MINOR_VERSION}.${YAP_PATCH_VERSION})
|
${YAP_MAJOR_VERSION}.${YAP_MINOR_VERSION}.${YAP_PATCH_VERSION})
|
||||||
|
@ -134,9 +134,9 @@ static bool pygetLine(StreamDesc *rl_iostream, int sno) {
|
|||||||
PyObject *user_line;
|
PyObject *user_line;
|
||||||
StreamDesc *s = YAP_GetStreamFromId(sno);
|
StreamDesc *s = YAP_GetStreamFromId(sno);
|
||||||
//term_t tg = python_acquire_GIL();
|
//term_t tg = python_acquire_GIL();
|
||||||
if (1) { //!strcmp(RepAtom(s->name)->StrOfAE,"input")) {
|
if (!strcmp(RepAtom(s->name)->StrOfAE,"input") && ) {
|
||||||
// note that input may change
|
// note that input may change
|
||||||
PyObject *pystream = PyDict_GetItemString( Py_B``, "input");
|
PyObject *pystream = PyDict_GetItemString( Py_Builtins, "input");
|
||||||
if (pystream == NULL) {
|
if (pystream == NULL) {
|
||||||
if ((err = PyErr_Occurred())) {
|
if ((err = PyErr_Occurred())) {
|
||||||
PyErr_Print();
|
PyErr_Print();
|
||||||
|
Reference in New Issue
Block a user