hmr 0.5.2.2__tar.gz → 0.5.2.3__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.1
2
2
  Name: hmr
3
- Version: 0.5.2.2
3
+ Version: 0.5.2.3
4
4
  Summary: Hot Module Reload for Python
5
5
  Project-URL: repository, https://github.com/promplate/pyth-on-line/tree/reactivity
6
6
  Requires-Python: >=3.12
@@ -7,7 +7,7 @@ description = "Hot Module Reload for Python"
7
7
  dependencies = [
8
8
  "watchfiles>=0.21,<2 ; sys_platform != 'emscripten'",
9
9
  ]
10
- version = "0.5.2.2"
10
+ version = "0.5.2.3"
11
11
 
12
12
  [project.scripts]
13
13
  hmr = "reactivity.hmr:cli"
@@ -341,4 +341,4 @@ def cli():
341
341
  reloader.keep_watching_until_interrupt()
342
342
 
343
343
 
344
- __version__ = "0.5.2.2"
344
+ __version__ = "0.5.2.3"
@@ -6,9 +6,11 @@ from weakref import WeakKeyDictionary, WeakSet
6
6
  def _equal(a, b):
7
7
  if a is b:
8
8
  return True
9
- comparison_result = a == b
10
- for _ in range(3): # pandas DataFrame's .all() returns a Series, which is still incompatible :(
9
+ comparison_result: Any = False
10
+ for i in range(3): # pandas DataFrame's .all() returns a Series, which is still incompatible :(
11
11
  try:
12
+ if i == 0:
13
+ comparison_result = a == b
12
14
  if comparison_result:
13
15
  return True
14
16
  except ValueError as e:
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes