Mercurial > hg > orthanc-python
comparison Sources/PythonLock.cpp @ 12:0b8239ce1bec
removed debug logs
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 31 Mar 2020 18:18:58 +0200 |
parents | 7ed502b17b8f |
children | 952e969a2240 |
comparison
equal
deleted
inserted
replaced
11:88d47c1c458d | 12:0b8239ce1bec |
---|---|
365 } | 365 } |
366 #endif | 366 #endif |
367 | 367 |
368 Py_InitializeEx(0 /* Python is embedded, skip signal handlers */); | 368 Py_InitializeEx(0 /* Python is embedded, skip signal handlers */); |
369 | 369 |
370 #if 0 | |
370 #if PY_MAJOR_VERSION == 2 | 371 #if PY_MAJOR_VERSION == 2 |
371 std::cout << Py_GetPath() << std::endl; | 372 std::cout << Py_GetPath() << std::endl; |
372 std::cout << Py_GetProgramName() << std::endl; | 373 std::cout << Py_GetProgramName() << std::endl; |
373 std::cout << Py_GetProgramFullPath() << std::endl; | 374 std::cout << Py_GetProgramFullPath() << std::endl; |
374 #else | 375 #else |
375 std::wcout << Py_GetPath() << std::endl; | 376 std::wcout << Py_GetPath() << std::endl; |
376 std::wcout << Py_GetProgramName() << std::endl; | 377 std::wcout << Py_GetProgramName() << std::endl; |
377 std::wcout << Py_GetProgramFullPath() << std::endl; | 378 std::wcout << Py_GetProgramFullPath() << std::endl; |
378 #endif | 379 #endif |
379 | 380 #endif |
380 | 381 |
381 #if (PY_VERSION_HEX >= 0x03020000 /* 3.2.0 */ && \ | 382 #if (PY_VERSION_HEX >= 0x03020000 /* 3.2.0 */ && \ |
382 PY_VERSION_HEX < 0x03070000 /* 3.7.0 */) | 383 PY_VERSION_HEX < 0x03070000 /* 3.7.0 */) |
383 /** | 384 /** |
384 * Changed in version 3.7: This function is now called by | 385 * Changed in version 3.7: This function is now called by |