hmr 0.4.1__tar.gz → 0.4.1.1__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.4.1
3
+ Version: 0.4.1.1
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
@@ -6,7 +6,7 @@ description = "Hot Module Reload for Python"
6
6
  dependencies = [
7
7
  "watchfiles>=0.21,<2 ; sys_platform != 'emscripten'",
8
8
  ]
9
- version = "0.4.1"
9
+ version = "0.4.1.1"
10
10
 
11
11
  [project.scripts]
12
12
  hmr = "reactivity.hmr:cli"
@@ -122,8 +122,7 @@ class ReactiveModule(ModuleType):
122
122
  try:
123
123
  return self.__namespace_proxy[name]
124
124
  except KeyError as e:
125
- caller = currentframe().f_back.f_globals["__name__"] # type: ignore
126
- if caller != "importlib._bootstrap" and (getattr := self.__namespace_proxy.get("__getattr__")):
125
+ if name != "__path__" and (getattr := self.__namespace_proxy.get("__getattr__")):
127
126
  return getattr(name)
128
127
  raise AttributeError(*e.args) from e
129
128
 
@@ -340,4 +339,4 @@ def cli():
340
339
  SyncReloader(entry).keep_watching_until_interrupt()
341
340
 
342
341
 
343
- __version__ = "0.4.1"
342
+ __version__ = "0.4.1.1"
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