hmr 0.6.2.1__py3-none-any.whl → 0.6.2.2__py3-none-any.whl

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.6.2.1
3
+ Version: 0.6.2.2
4
4
  Summary: Hot Module Reload for Python
5
5
  Keywords: reactive-programming,reload,signals,hmr
6
6
  Classifier: Development Status :: 5 - Production/Stable
@@ -1,6 +1,6 @@
1
- hmr-0.6.2.1.dist-info/METADATA,sha256=yJ9-D7wUAoMBWOXkKKsCIsuk_0VL1-s6SH7QJPFKs08,2307
2
- hmr-0.6.2.1.dist-info/WHEEL,sha256=tSfRZzRHthuv7vxpI4aehrdN9scLjk-dCJkPLzkHxGg,90
3
- hmr-0.6.2.1.dist-info/entry_points.txt,sha256=g_T0uJ43WgsdG14kkkdaBQuIL0HO-m1qvtjXMP6d060,59
1
+ hmr-0.6.2.2.dist-info/METADATA,sha256=kADpHsAm4f3Op_2d6x71bUP4P4U-ToK1ufpHlDA-RbQ,2307
2
+ hmr-0.6.2.2.dist-info/WHEEL,sha256=tSfRZzRHthuv7vxpI4aehrdN9scLjk-dCJkPLzkHxGg,90
3
+ hmr-0.6.2.2.dist-info/entry_points.txt,sha256=g_T0uJ43WgsdG14kkkdaBQuIL0HO-m1qvtjXMP6d060,59
4
4
  reactivity/__init__.py,sha256=pX-RUzkezCC1x4eOWGxNhXbwrbvBLP_3pQuZr9eZz1Y,300
5
5
  reactivity/context.py,sha256=hgf3U4ihtGSVZ8mGvXcjKcO1U5i7lwX-LadDraAjdNg,1402
6
6
  reactivity/functional.py,sha256=jJLEq88w5ag2cXuD1T118uEjnEg37_mqvWmFkb47KVY,1300
@@ -8,9 +8,9 @@ reactivity/helpers.py,sha256=jaKhJD4mh0vIwWDeg0SJGvrcwnJD_zOS9KX0opT9uS4,6000
8
8
  reactivity/hmr/__init__.py,sha256=S5ZIHqCRpevdzWuhS0aCua_S8F0LkK0YNg6IgeTScFQ,177
9
9
  reactivity/hmr/__main__.py,sha256=uIcyjR5gMFIXH_3hS0B3SD00RirVf7GIct-uItx675o,64
10
10
  reactivity/hmr/api.py,sha256=ypS_LyzMH1JbN5cSwamAJ0HEcHMOY7BOIINuJmWJwo8,2283
11
- reactivity/hmr/core.py,sha256=k-7YgiIzzkNpoBc6ljsTX8asL2x4UMVr3H9TxUaFHCY,11670
11
+ reactivity/hmr/core.py,sha256=1CUHKe9nyuzXAR1QhcKILjobTmyQumVzKZUmbFn5T9A,11670
12
12
  reactivity/hmr/hooks.py,sha256=jIFpe4CNxfaS9RcR4OIodx_sOZlnJ_IA1T1RtHPXhwU,945
13
13
  reactivity/hmr/proxy.py,sha256=Jp1ecm088H_s_V6NaKrLKLKX1Gm6wB7ilkocoWUsN7I,573
14
14
  reactivity/hmr/utils.py,sha256=yeLsJynaAchCKOZWSRaeyRujb7jOdFyKPCWhzWgyRYw,1647
15
- reactivity/primitives.py,sha256=_I6mG1qPBH6Vsktlf3-0mXpRO6L1hFhbfRtNMrpVxS8,6906
16
- hmr-0.6.2.1.dist-info/RECORD,,
15
+ reactivity/primitives.py,sha256=O7hjFpduQyAZSQ35l5rg2O9j24WkNa5U7JfSMIVZAxw,6928
16
+ hmr-0.6.2.2.dist-info/RECORD,,
reactivity/hmr/core.py CHANGED
@@ -335,4 +335,4 @@ def cli():
335
335
  reloader.keep_watching_until_interrupt()
336
336
 
337
337
 
338
- __version__ = "0.6.2.1"
338
+ __version__ = "0.6.2.2"
reactivity/primitives.py CHANGED
@@ -15,8 +15,8 @@ def _equal(a, b):
15
15
  comparison_result = a == b
16
16
  if comparison_result:
17
17
  return True
18
- except ValueError as e:
19
- if ".all()" in str(e) and hasattr(comparison_result, "all"): # array-like instances
18
+ except (ValueError, RuntimeError) as e:
19
+ if "is ambiguous" in str(e) and hasattr(comparison_result, "all"): # array-like instances
20
20
  comparison_result = comparison_result.all()
21
21
  else:
22
22
  return False
File without changes