Skip to content

Commit d2ef5ae

Browse files
authored
Merge pull request #25 from cocolato/dev
bump version 0.1.4
2 parents ae96735 + 95c08ee commit d2ef5ae

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

pydumpling/debug_dumpling.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ def load_dumpling(filename):
1717
except Exception:
1818
return pickle.load(f)
1919

20+
2021
def mock_inspect():
2122
inspect.isframe = lambda obj: isinstance(
2223
obj, types.FrameType) or obj.__class__ == FakeFrame
@@ -25,6 +26,7 @@ def mock_inspect():
2526
inspect.iscode = lambda obj: isinstance(
2627
obj, types.CodeType) or obj.__class__ == FakeCode
2728

29+
2830
def debug_dumpling(dump_file, pdb=pdb):
2931
mock_inspect()
3032
dumpling = load_dumpling(dump_file)

pydumpling/pydumpling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import inspect
99
from .fake_types import FakeFrame, FakeTraceback
1010

11-
__version__ = "0.1.3"
11+
__version__ = "0.1.4"
1212

1313

1414
def save_dumping(filename=None, tb=None):

pydumpling/rpdb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import socket
33
import threading
44
import sys
5-
import traceback
65
from .debug_dumpling import load_dumpling, mock_inspect
76

87
DEFAULT_ADDR = "127.0.0.1"
@@ -121,6 +120,7 @@ def unclaim(self, port):
121120
del self.claims[port]
122121
self.lock.release()
123122

123+
124124
# {port: sys.stdout} pairs to track recursive rpdb invocation on same port.
125125
# This scheme doesn't interfere with recursive invocations on separate ports -
126126
# useful, eg, for concurrently debugging separate threads.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ build-backend = "pdm.backend"
1919

2020
[project]
2121
name = "pydumpling"
22-
version = "0.1.3"
22+
version = "0.1.4"
2323
description = "Python post-mortem debugger"
2424
authors = [
2525
{name = "cocolato", email = "[email protected]"},

0 commit comments

Comments
 (0)