Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
158 commits
Select commit Hold shift + click to select a range
b33908f
Fix context errors
IsabelParedes Mar 8, 2024
0adb618
Working build
IsabelParedes Mar 8, 2024
7ec1dce
Working without debugger
IsabelParedes Mar 8, 2024
71cf45c
Not working
IsabelParedes Mar 11, 2024
6526c65
Partially working
IsabelParedes Mar 12, 2024
f167fdb
Working
IsabelParedes Mar 12, 2024
f1290dc
Rename xhook
IsabelParedes Mar 13, 2024
ca0b1fd
Move hook
IsabelParedes Mar 15, 2024
b94c546
Add uvw dependency
IsabelParedes Mar 18, 2024
e4241b3
Ignore pybind11 visibility warning
IsabelParedes Mar 18, 2024
edad43f
Clean hook
IsabelParedes Mar 18, 2024
8c685c6
Clean main
IsabelParedes Mar 19, 2024
3de5865
Fix hook implementaion
IsabelParedes Apr 17, 2024
c7be18d
merged
DerThorsten Dec 16, 2025
44f8a31
updates
DerThorsten Dec 17, 2025
8a7cc27
remove mac-13
DerThorsten Dec 17, 2025
0a8469f
movin find uv related code to non-emscripten branch
DerThorsten Dec 17, 2025
3f93c9b
working
DerThorsten Dec 19, 2025
9a3468b
libuv
DerThorsten Dec 19, 2025
9dd02a4
libuv
DerThorsten Dec 19, 2025
565eb44
path
DerThorsten Dec 19, 2025
8924b65
path
DerThorsten Dec 19, 2025
1d5b863
path
DerThorsten Dec 19, 2025
1b69129
widgets
DerThorsten Dec 19, 2025
88494df
build xeus-uv
DerThorsten Jan 14, 2026
04488e4
add uvloop
DerThorsten Jan 14, 2026
6fcedf2
debugger
DerThorsten Jan 14, 2026
f992408
debugger
DerThorsten Jan 14, 2026
3ec1f4e
remove xeus-uv after building
DerThorsten Jan 14, 2026
f064138
special win env
DerThorsten Jan 14, 2026
f7d0707
use winloop
DerThorsten Jan 14, 2026
3c93e82
debug
DerThorsten Jan 14, 2026
2b9c47f
move
DerThorsten Jan 14, 2026
6f93c42
debug
DerThorsten Jan 14, 2026
14b7b79
native runner
DerThorsten Jan 15, 2026
e653348
native runner
DerThorsten Jan 15, 2026
996ffce
native runner
DerThorsten Jan 15, 2026
4ebb635
native runner
DerThorsten Jan 15, 2026
3cde4bb
remove uv
DerThorsten Jan 15, 2026
30484fb
fix debugger bug
DerThorsten Jan 15, 2026
762d3e9
fix raw kernel
DerThorsten Jan 15, 2026
72bbf92
fix raw kernel
DerThorsten Jan 15, 2026
c6bca8a
use one global dict
DerThorsten Jan 15, 2026
d819940
fixes
DerThorsten Jan 15, 2026
f157b1e
time based win
DerThorsten Jan 15, 2026
ef0d671
time based win
DerThorsten Jan 15, 2026
8e7be86
time based win
DerThorsten Jan 15, 2026
e2e91b8
first c++ tests
DerThorsten Jan 15, 2026
6942240
remove activation
DerThorsten Jan 15, 2026
85f110b
remove activation
DerThorsten Jan 15, 2026
659aa42
remove activation
DerThorsten Jan 15, 2026
edcc4d9
remove activation
DerThorsten Jan 15, 2026
ba03df8
remove activation
DerThorsten Jan 15, 2026
5148f51
dont build extension
DerThorsten Jan 16, 2026
887888e
use dummy in stop
DerThorsten Jan 16, 2026
c9debbb
activate
DerThorsten Jan 16, 2026
72dec6f
build extension again
DerThorsten Jan 16, 2026
3abd2f0
build extension again
DerThorsten Jan 16, 2026
97e12ba
use reader
DerThorsten Jan 16, 2026
090f535
use reader
DerThorsten Jan 16, 2026
428bb9f
use reader
DerThorsten Jan 16, 2026
6059c30
use reader
DerThorsten Jan 16, 2026
835ec30
fix
DerThorsten Jan 16, 2026
23f05ea
fix
DerThorsten Jan 16, 2026
5960c82
fix
DerThorsten Jan 16, 2026
7a1fa8f
fix
DerThorsten Jan 16, 2026
604613d
fix
DerThorsten Jan 16, 2026
cf4bbfa
fixes
DerThorsten Jan 16, 2026
1315e04
fixes
DerThorsten Jan 16, 2026
d1afdb4
fixes
DerThorsten Jan 16, 2026
5d9972f
fixes
DerThorsten Jan 16, 2026
eb76726
fixes
DerThorsten Jan 16, 2026
5f00b20
fixes
DerThorsten Jan 16, 2026
091a8bf
fixes
DerThorsten Jan 16, 2026
4214603
fixes
DerThorsten Jan 16, 2026
264f7a5
fixes
DerThorsten Jan 16, 2026
ffb3b0f
more
DerThorsten Jan 16, 2026
13778ee
more
DerThorsten Jan 16, 2026
b9a9826
more
DerThorsten Jan 16, 2026
ae16a96
more
DerThorsten Jan 16, 2026
4f667a5
more
DerThorsten Jan 16, 2026
2bd30a8
more
DerThorsten Jan 16, 2026
acf7c65
more
DerThorsten Jan 16, 2026
0b69b19
more
DerThorsten Jan 16, 2026
51c4967
more
DerThorsten Jan 16, 2026
e7f6550
more
DerThorsten Jan 16, 2026
d99c17b
more
DerThorsten Jan 16, 2026
ef0820d
more
DerThorsten Jan 16, 2026
97edd8d
more
DerThorsten Jan 16, 2026
abcdf81
more info
DerThorsten Jan 16, 2026
50bbcfc
more info
DerThorsten Jan 16, 2026
ec209c6
even more
DerThorsten Jan 16, 2026
a234d29
even more
DerThorsten Jan 16, 2026
fc2e031
even more
DerThorsten Jan 16, 2026
550fffc
no more specta
DerThorsten Jan 17, 2026
c6d6595
no more specta
DerThorsten Jan 17, 2026
7b79068
no more specta
DerThorsten Jan 17, 2026
210127f
no more specta
DerThorsten Jan 17, 2026
0307683
no more specta
DerThorsten Jan 17, 2026
03baf67
no more specta
DerThorsten Jan 17, 2026
65ae1af
win experiment
DerThorsten Jan 19, 2026
e7f717d
win experiment
DerThorsten Jan 19, 2026
efaca54
win experiment
DerThorsten Jan 19, 2026
329b34a
use selector event loop
DerThorsten Jan 19, 2026
3ee6bc8
win experiment
DerThorsten Jan 19, 2026
7f438e9
win experiment
DerThorsten Jan 19, 2026
15abfed
adding default runner to xeus python st. we can add cout stuff
DerThorsten Jan 19, 2026
69ab3dc
missing break
DerThorsten Jan 19, 2026
a569228
cleanup
DerThorsten Jan 20, 2026
6ad6c05
applied #685 to async pr
Klaim Jan 22, 2026
79b7d72
added missing boost dependency
Klaim Jan 22, 2026
7804a3a
ignore root build dirs
Klaim Jan 22, 2026
64e2281
added missing boost packages dependencies
Klaim Jan 22, 2026
cc82bb0
non-buisy
DerThorsten Feb 13, 2026
e908f93
retrigger-ci
DerThorsten Feb 13, 2026
eb4b0ed
try buisy
DerThorsten Feb 13, 2026
051a65f
socket
DerThorsten Feb 13, 2026
2007176
socket
DerThorsten Feb 13, 2026
4e71e00
Merge branch 'main' into async
DerThorsten Mar 9, 2026
2c40c73
merged
DerThorsten Mar 9, 2026
42dfadc
hidden
DerThorsten Mar 9, 2026
d6a1d1c
add missing method
DerThorsten Mar 9, 2026
bfded75
hidden macro
DerThorsten Mar 9, 2026
853bafa
win fix
DerThorsten Mar 9, 2026
300bad8
debug duct tape and more info
Klaim Mar 2, 2026
b9cf567
removed msvc-specific instruction
Klaim Mar 2, 2026
039101a
tests wait for xpython's ready message instead of sleep
Klaim Mar 2, 2026
673d238
debug duct tape and more info
Klaim Mar 2, 2026
c698cc2
fi
DerThorsten Mar 18, 2026
b753ade
fix
DerThorsten Mar 18, 2026
86eb2da
x6
DerThorsten Mar 18, 2026
f5aa385
one minute
DerThorsten Mar 18, 2026
b7f6310
added eval
DerThorsten Mar 19, 2026
9622204
run tests 20 times for win
DerThorsten Mar 19, 2026
89b4450
powershell syntax
DerThorsten Mar 19, 2026
1974d29
use default runner
DerThorsten Mar 23, 2026
34146ce
publich error
DerThorsten Mar 23, 2026
04d479e
clean internal request impl
DerThorsten Mar 23, 2026
3fed2e9
remoev unused file in cmake
DerThorsten Mar 23, 2026
a862341
fix info request
DerThorsten Mar 23, 2026
596836c
fix typo like errors
DerThorsten Mar 23, 2026
60837d8
trigger run
DerThorsten Mar 23, 2026
e0cc7ec
cleanup
DerThorsten Mar 23, 2026
8ec9c63
cleaner fix: lock python's GIL when destroying the debugger
Klaim Mar 23, 2026
5ae5475
cleanup python path deduction unicode-friendly (on windows) and absol…
Klaim Mar 24, 2026
85eb7cc
Merge branch 'main' into async_and_fixes2
DerThorsten Apr 7, 2026
adceb3f
removed buisy loop
DerThorsten Apr 9, 2026
70e2782
Merge branch 'async_and_fixes2' of github.com:DerThorsten/xeus-python…
DerThorsten Apr 9, 2026
8ded1c2
cleanup path
DerThorsten Apr 9, 2026
4d0d193
cleanup pass 2
DerThorsten Apr 9, 2026
3996c0e
toplevel await test
DerThorsten Apr 9, 2026
0911a62
cleanup
DerThorsten Apr 13, 2026
8e6f079
cleanup
DerThorsten Apr 13, 2026
bdb912e
cleanup
DerThorsten Apr 13, 2026
263c228
cleanup
DerThorsten Apr 13, 2026
e401352
trigger ci
DerThorsten Apr 13, 2026
67de522
using released xeus-python-shell
DerThorsten Apr 14, 2026
cb9aaf0
using released xeus-python-shell
DerThorsten Apr 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/deploy-github-page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ jobs:

set -eux


URL=https://github.com/DerThorsten/xeus-python-shell/archive/refs/heads/akernel.zip
curl -L $URL -o xeus-python-shell-akernel.zip
unzip xeus-python-shell-akernel.zip

export PREFIX=$MAMBA_ROOT_PREFIX/envs/xeus-python-wasm-host
echo "PREFIX=$PREFIX" >> $GITHUB_ENV

Expand All @@ -63,10 +68,12 @@ jobs:
- name: Jupyter Lite integration
shell: bash -l {0}
run: |
THIS_DIR=$(pwd)
jupyter lite build \
--XeusAddon.prefix=${{ env.PREFIX }} \
--contents notebooks/ \
--output-dir dist
--output-dir dist


- name: Upload artifact
uses: actions/upload-pages-artifact@v4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
uses: mamba-org/setup-micromamba@v2
with:
environment-file: environment-dev.yml


- name: Make build directory
run: mkdir build
Expand Down
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@ set(XEUS_PYTHON_SRC
src/xstream.hpp
src/xtraceback.cpp
src/xutils.cpp
src/xasync_runner.cpp
src/xaserver.cpp
)

set(XEUS_PYTHON_HEADERS
Expand All @@ -190,6 +192,7 @@ set(XEUS_PYTHON_HEADERS
include/xeus-python/xinterpreter_raw.hpp
include/xeus-python/xtraceback.hpp
include/xeus-python/xutils.hpp
include/xeus-python/xaserver.hpp
)

set(XPYTHON_SRC
Expand Down
3 changes: 2 additions & 1 deletion environment-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ dependencies:
# The debugger is not available with python 3.13 because
# of a spurious bug in debugpy
- python <3.13
- xeus-python-shell>=0.6.3,<0.7
- pip
- xeus-python-shell>=0.7.0,<0.8
- debugpy>=1.6.5
- ipython
# Test dependencies
Expand Down
2 changes: 2 additions & 0 deletions environment-wasm-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ dependencies:
- jupyterlite-core >0.6
- jupyter_server
- jupyterlite-xeus
- # widgets
- ipywidgets
4 changes: 3 additions & 1 deletion environment-wasm-host.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@ dependencies:
- numpy
- xeus-lite
- xeus
- xeus-python-shell>=0.6.3
- pyjs >=4,<5
- libpython
- zstd
- openssl
- xz
- ipywidgets
- xeus-python-shell>=0.7.0,<0.8

22 changes: 22 additions & 0 deletions include/xeus-python/xaserver.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/***************************************************************************
* Copyright (c) 2024, Isabel Paredes *
* Copyright (c) 2024, QuantStack *
* *
* Distributed under the terms of the BSD 3-Clause License. *
* *
* The full license is in the file LICENSE, distributed with this software. *
****************************************************************************/

#include "xeus_python_config.hpp"
#include "xeus/xkernel.hpp"
#include "pybind11/pybind11.h"

namespace py = pybind11;
namespace nl = nlohmann;

namespace xpyt
{

XEUS_PYTHON_API XPYT_FORCE_PYBIND11_EXPORT xeus::xkernel::server_builder make_async_server_factory(py::dict globals);

} // namespace xeus
13 changes: 10 additions & 3 deletions include/xeus-python/xdebugger.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ namespace xpyt

using base_type = xeus::xdebugger_base;

debugger(xeus::xcontext& context,
debugger(
py::dict globals,
xeus::xcontext& context,
const xeus::xkernel_configuration& config,
const std::string& user_name,
const std::string& session_id,
Expand All @@ -63,6 +65,9 @@ namespace xpyt
xeus::xdebugger_info get_debugger_info() const override;
std::string get_cell_temporary_file(const std::string& code) const override;


py::dict m_global_dict;

std::unique_ptr<xdebugpy_client> p_debugpy_client;
std::string m_debugpy_host;
std::string m_debugpy_port;
Expand All @@ -72,8 +77,10 @@ namespace xpyt
bool m_copy_to_globals_available;
};

XEUS_PYTHON_API
std::unique_ptr<xeus::xdebugger> make_python_debugger(xeus::xcontext& context,

XEUS_PYTHON_API XPYT_FORCE_PYBIND11_EXPORT
std::unique_ptr<xeus::xdebugger> make_python_debugger(py::dict globals,
xeus::xcontext& context,
const xeus::xkernel_configuration& config,
const std::string& user_name,
const std::string& session_id,
Expand Down
6 changes: 6 additions & 0 deletions include/xeus-python/xeus_python_config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,9 @@
#define XPYT_FORCE_PYBIND11_EXPORT __attribute__ ((visibility ("default")))
#endif
#endif

#ifdef _MSC_VER
#define XEUS_PYTHON_HIDDEN
#else
#define XEUS_PYTHON_HIDDEN __attribute__ ((visibility ("hidden")))
#endif

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not to be done in this PR, but I think we should refactor the visibility of the symbols:

  • make them private by default in the CMakeLists.txt
  • define XEUS_PYTHON_API to __attribute__((visibility("default")) on Unix platforms.

And then remove XPYT_FORCE_PYBIND11_EXPORT and XEUS_PYTHON_HIDDEN

10 changes: 6 additions & 4 deletions include/xeus-python/xinterpreter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ namespace nl = nlohmann;

namespace xpyt
{
class XEUS_PYTHON_API interpreter : public xeus::xinterpreter
class XEUS_PYTHON_API XPYT_FORCE_PYBIND11_EXPORT interpreter : public xeus::xinterpreter
{
public:

Expand All @@ -44,7 +44,9 @@ namespace xpyt
// If redirect_display_enabled is true (default) then this interpreter will
// overwrite sys.displayhook and send execution results using publish_execution_result.
// Disable this if your interpreter uses custom display hook.
interpreter(bool redirect_output_enabled=true, bool redirect_display_enabled = true);
interpreter(
py::dict globals,
bool redirect_output_enabled=true, bool redirect_display_enabled = true);
virtual ~interpreter();

protected:
Expand Down Expand Up @@ -78,6 +80,7 @@ namespace xpyt

void redirect_output();

py::dict m_global_dict;
py::object m_ipython_shell_app;
py::object m_ipython_shell;
py::object m_displayhook;
Expand All @@ -94,8 +97,7 @@ namespace xpyt
// If an application has already released the GIL by the time the interpreter
// is started, m_release_gil_at_startup has to be set to false to prevent
// releasing it again in configure_impl().
//
bool m_release_gil_at_startup = true;
bool m_release_gil_at_startup = false;
gil_scoped_release_ptr m_release_gil = nullptr;

bool m_redirect_output_enabled;
Expand Down
7 changes: 5 additions & 2 deletions include/xeus-python/xinterpreter_raw.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ namespace nl = nlohmann;

namespace xpyt
{
class XEUS_PYTHON_API raw_interpreter : public xeus::xinterpreter
class XEUS_PYTHON_API XPYT_FORCE_PYBIND11_EXPORT raw_interpreter : public xeus::xinterpreter
{
public:

Expand All @@ -42,7 +42,9 @@ namespace xpyt
// If redirect_display_enabled is true (default) then this interpreter will
// overwrite sys.displayhook and send execution results using publish_execution_result.
// Disable this if your interpreter uses custom display hook.
raw_interpreter(bool redirect_output_enabled=true, bool redirect_display_enabled = true);
raw_interpreter(
py::dict globals,
bool redirect_output_enabled=true, bool redirect_display_enabled = true);
virtual ~raw_interpreter();

protected:
Expand Down Expand Up @@ -90,6 +92,7 @@ namespace xpyt
bool m_release_gil_at_startup = true;
gil_scoped_release_ptr m_release_gil = nullptr;
bool m_redirect_display_enabled;
py::dict m_global_dict;
};

}
Expand Down
19 changes: 8 additions & 11 deletions notebooks/xeus-python.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,6 @@
"sq(b)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"print"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down Expand Up @@ -653,15 +644,21 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3.9 (XPython)",
"display_name": "Python 3.12 (XPython)",
"language": "python",
"name": "xpython"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"version": "3.9.1"
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.13"
}
},
"nbformat": 4,
Expand Down
48 changes: 37 additions & 11 deletions src/main.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/***************************************************************************
* Copyright (c) 2026, Thorsten Beier *
* Copyright (c) 2018, Martin Renou, Johan Mabille, Sylvain Corlay, and *
* Wolf Vollprecht *
* Copyright (c) 2018, QuantStack *
Expand Down Expand Up @@ -26,7 +27,7 @@
#include "xeus/xinterpreter.hpp"
#include "xeus/xhelper.hpp"

#include "xeus-zmq/xserver_zmq_split.hpp"
#include "xeus-zmq/xserver_zmq.hpp"
#include "xeus-zmq/xzmq_context.hpp"

#include "pybind11/embed.h"
Expand All @@ -38,10 +39,10 @@
#include "xeus-python/xpaths.hpp"
#include "xeus-python/xeus_python_config.hpp"
#include "xeus-python/xutils.hpp"
#include "xeus-python/xaserver.hpp"

namespace py = pybind11;


int main(int argc, char* argv[])
{
if (xeus::should_print_version(argc, argv))
Expand Down Expand Up @@ -111,6 +112,10 @@ int main(int argc, char* argv[])
std::cerr << "Error:" << status.err_msg << std::endl;
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why removing this?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I confused it with debugging info while cleaning, adding it back now


// Instantiating the Python interpreter
py::scoped_interpreter guard{};
py::gil_scoped_acquire acquire;

// Setting argv
wchar_t** argw = new wchar_t*[size_t(argc)];
for(auto i = 0; i < argc; ++i)
Expand All @@ -130,22 +135,23 @@ int main(int argc, char* argv[])
}
delete[] argw;

// Instantiating the Python interpreter
py::scoped_interpreter guard;

std::unique_ptr<xeus::xcontext> context = xeus::make_zmq_context();

// we want to use **the same global dict everywhere**
py::dict globals = py::globals();

// Instantiating the xeus xinterpreter
bool raw_mode = xpyt::extract_option("-r", "--raw", argc, argv);
using interpreter_ptr = std::unique_ptr<xeus::xinterpreter>;
interpreter_ptr interpreter;
if (raw_mode)
{
interpreter = interpreter_ptr(new xpyt::raw_interpreter());
interpreter = interpreter_ptr(new xpyt::raw_interpreter(globals));
}
else
{
interpreter = interpreter_ptr(new xpyt::interpreter());
interpreter = interpreter_ptr(new xpyt::interpreter(globals));
}

using history_manager_ptr = std::unique_ptr<xeus::xhistory_manager>;
Expand All @@ -163,6 +169,24 @@ int main(int argc, char* argv[])
nl::json debugger_config;
debugger_config["python"] = executable;


// Factory to create the debugger with the global dict
auto make_the_debugger = [globals](
xeus::xcontext& context,
const xeus::xkernel_configuration& config,
const std::string& user_name,
const std::string& session_id,
const nl::json& debugger_config) -> std::unique_ptr<xeus::xdebugger>
{
return xpyt::make_python_debugger(
globals,
context,
config,
user_name,
session_id,
debugger_config);
};

if (!connection_filename.empty())
{
xeus::xconfiguration config = xeus::load_configuration(connection_filename);
Expand All @@ -171,31 +195,33 @@ int main(int argc, char* argv[])
xeus::get_user_name(),
std::move(context),
std::move(interpreter),
xeus::make_xserver_shell_main,
xpyt::make_async_server_factory(globals),
std::move(hist),
xeus::make_console_logger(xeus::xlogger::msg_type,
xeus::make_file_logger(xeus::xlogger::content, "xeus.log")),
xpyt::make_python_debugger,
make_the_debugger,
debugger_config);

std::clog <<
"Starting xeus-python kernel...\n\n"
"If you want to connect to this kernel from an other client, you can use"
" the " + connection_filename + " file."
<< std::endl;


std::cout << "Starting kernel..." << std::endl;
kernel.start();
std::cout << "Kernel stopped." << std::endl;
}
else
{
std::clog << "Instantiating kernel" << std::endl;
xeus::xkernel kernel(xeus::get_user_name(),
std::move(context),
std::move(interpreter),
xeus::make_xserver_shell_main,
xpyt::make_async_server_factory(globals),
std::move(hist),
nullptr,
xpyt::make_python_debugger,
make_the_debugger,
debugger_config);

std::cout << "Getting config" << std::endl;
Expand Down
Loading
Loading