Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ pytest = "^7.1.3"
requests = "^2.28.1"
jupyter = "^1.0.0"
ipython = "^8.5.0"
fickling = ">=0.1.3,~=0.1.0"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This package provides analysis of pickled data to help identify potential security vulnerabilities.

License: LGPL-3.0Open SourceMore facts



[tool.poetry.group.dev.dependencies]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
loads -- from a python string
"""
import pickle
import fickling

data = (
123,
Expand All @@ -35,7 +36,7 @@
f.close()

with open("serialized_data.pkl", "rb") as g:
retrieved_data = pickle.load(g)
retrieved_data = fickling.load(g)
print(f"retrieved_data: {retrieved_data} {type(retrieved_data)}")

assert data == retrieved_data
Expand All @@ -48,7 +49,7 @@
f.close()

with open("serialized_data.pkl", "rb") as g:
retrieved_data = pickle.load(g)
retrieved_data = fickling.load(g)
print(f"retrieved_data: {retrieved_data} {type(retrieved_data)}")

# cpython - it is c implementation of python
Expand Down
Loading