Skip to content

Commit b26bc21

Browse files
committed
removed redundant ipykernel requirement and restored unintentionally deleted comments
1 parent 719b48d commit b26bc21

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

dyalog_kernel/kernel.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ def out_html(self, s):
8282
self.Display(HTML(s))
8383

8484
def out_result(self, s):
85+
# injecting css: white-space:pre. Means no wrapping, RIDE SetPW will take care about line wrapping
8586
html_start = '<pre class="language-APL">'
8687
html_end = '</pre>'
8788
self.Display(HTML(html_start + html.escape(s, False) + html_end))
@@ -315,6 +316,7 @@ def _do_execute(self, code, silent=False, store_history=True, user_expressions=N
315316
elif lines[0].lower() == ']dinput':
316317
lines = lines[1:]
317318
try:
319+
# the windows interpreter can only handle ~125 chacaters at a time, so we do one line at a time
318320
pt = None
319321
for line in lines:
320322
line = line + '\n'

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
],
2222
python_requires=">=3.8",
2323
install_requires=[
24-
"ipykernel>=6.20.0",
2524
"metakernel>=0.30.3"
2625
],
2726
entry_points={

0 commit comments

Comments
 (0)