Commit 3f253a4
Matthew Toohey
Make handle_binary compliant with the KernelMessage.IMessage spec
Since Jupyterlab v4.0.0a21 the buffers deserialized from a KernelMessage
are now of type ArrayBuffer instead of the DataView type
handle_binary expects. However, it turns out that the spec for
KernelMessage.IMessage has always specifed that buffers could be
either an ArrayBuffer or an ArrayBufferView. This commit ensures
either type is accepted.1 parent a90cf76 commit 3f253a4
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
237 | | - | |
| 237 | + | |
238 | 238 | | |
239 | 239 | | |
240 | | - | |
| 240 | + | |
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
| |||
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
266 | | - | |
| 266 | + | |
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
| |||
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
284 | | - | |
| 284 | + | |
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
| |||
0 commit comments