txl_kernel 0.3.2__tar.gz → 0.3.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: txl_kernel
3
- Version: 0.3.2
3
+ Version: 0.3.4
4
4
  Summary: TXL plugin for a kernel driver
5
5
  Project-URL: Source, https://github.com/davidbrochart/jpterm/plugins/kernel
6
6
  Author-email: David Brochart <david.brochart@gmail.com>
@@ -17,7 +17,7 @@ Classifier: Programming Language :: Python :: Implementation :: PyPy
17
17
  Requires-Python: >=3.10
18
18
  Requires-Dist: pycrdt<0.13.0,>=0.10.9
19
19
  Requires-Dist: python-dateutil>=2.8.2
20
- Requires-Dist: txl==0.3.0
20
+ Requires-Dist: txl==0.3.1
21
21
  Description-Content-Type: text/markdown
22
22
 
23
23
  # TXL plugin for a kernel driver
@@ -4,14 +4,14 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "txl_kernel"
7
- version = "0.3.2"
7
+ version = "0.3.4"
8
8
  description = "TXL plugin for a kernel driver"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
11
11
  license = "MIT"
12
12
  keywords = []
13
13
  classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy",]
14
- dependencies = [ "txl ==0.3.0", "python-dateutil >=2.8.2", "pycrdt >=0.10.9,<0.13.0",]
14
+ dependencies = [ "txl ==0.3.1", "python-dateutil >=2.8.2", "pycrdt >=0.10.9,<0.13.0",]
15
15
  [[project.authors]]
16
16
  name = "David Brochart"
17
17
  email = "david.brochart@gmail.com"
@@ -31,7 +31,9 @@ class Comm:
31
31
  buffers=buffers,
32
32
  )
33
33
  self.msg_cnt += 1
34
- create_task(self.send_message(msg, self.shell_channel, change_date_to_str=True), self.task_group)
34
+ create_task(
35
+ self.send_message(msg, self.shell_channel, change_date_to_str=True), self.task_group
36
+ )
35
37
 
36
38
 
37
39
  class KernelMixin:
@@ -85,7 +87,13 @@ class KernelMixin:
85
87
  if msg_type == "comm_open":
86
88
  for comm_handler in self.comm_handlers:
87
89
  comm_id = msg["content"]["comm_id"]
88
- comm = Comm(comm_id, self.shell_channel, self.session_id, self.send_message, self.task_group)
90
+ comm = Comm(
91
+ comm_id,
92
+ self.shell_channel,
93
+ self.session_id,
94
+ self.send_message,
95
+ self.task_group,
96
+ )
89
97
  comm_handler.comm_open(msg, comm)
90
98
  elif msg_type == "comm_msg":
91
99
  for comm_handler in self.comm_handlers:
File without changes
File without changes
File without changes