peek-python 1.5.0.post0__tar.gz → 1.5.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: peek-python
3
- Version: 1.5.0.post0
3
+ Version: 1.5.1
4
4
  Summary: peek - debugging and benchmarking made easy
5
5
  Author-email: Ruud van der Ham <rt.van.der.ham@gmail.com>
6
6
  Project-URL: Homepage, https://github.com/salabim/ycecream
@@ -4,7 +4,7 @@
4
4
  # | .__/ \___| \___||_|\_\
5
5
  # |_| like print, but easy.
6
6
 
7
- __version__ = "1.5.0"
7
+ __version__ = "1.5.1"
8
8
 
9
9
  """
10
10
  See https://github.com/salabim/peek for details
@@ -479,8 +479,8 @@ class _Peek:
479
479
  code = codes[filename]
480
480
  frame_info = inspect.getframeinfo(call_frame, context=1)
481
481
 
482
- parent_function = frame_info.function # changed in version 1.3.10 ****
483
- parent_function = Source.executing(call_frame).code_qualname()
482
+ # parent_function = frame_info.function
483
+ parent_function = Source.executing(call_frame).code_qualname() # changed in version 1.3.10 to include class name
484
484
  parent_function = parent_function.replace(".<locals>.", ".")
485
485
  if parent_function == "<module>" or str(this.show_line_number) in ("n", "no parent"):
486
486
  parent_function = ""
@@ -872,6 +872,7 @@ builtins.peek = peek
872
872
  p = peek.fork()
873
873
 
874
874
 
875
+
875
876
  class PeekModule(types.ModuleType):
876
877
  def __call__(self, *args, **kwargs):
877
878
  return peek(*args, **kwargs)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: peek-python
3
- Version: 1.5.0.post0
3
+ Version: 1.5.1
4
4
  Summary: peek - debugging and benchmarking made easy
5
5
  Author-email: Ruud van der Ham <rt.van.der.ham@gmail.com>
6
6
  Project-URL: Homepage, https://github.com/salabim/ycecream
@@ -8,7 +8,7 @@ authors = [
8
8
  {name = "Ruud van der Ham", email = "rt.van.der.ham@gmail.com"}
9
9
  ]
10
10
  description = "peek - debugging and benchmarking made easy"
11
- version = "1.5.0-0"
11
+ version = "1.5.1"
12
12
  readme = "README.md"
13
13
  requires-python = ">=3.6"
14
14
  dependencies = [
File without changes
File without changes