Skip to content

Commit

Permalink
bump to version 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mahdihaghverdi committed Dec 17, 2022
1 parent 7877d71 commit de5d6a2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
- v0.6.0
- bump to version v0.6.0
- Make the calculations safe with multiprocessing => put a timeout on processing the `answer`

- v0.5.0
- Bump to version v0.5.0
- Fix the bug for one digit input and complete the README.md
Expand Down
2 changes: 1 addition & 1 deletion postfixcalc/pyeval.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def evaluate(postfix: "ListExpression") -> int | float:


class Calc:
def __init__(self, expr: str, timeout: int | float = 0.5):
def __init__(self, expr: str, timeout: int | float = 0.1):
self.expr = expr
self.timeout = timeout

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "postfixcalc"
version = "0.5.0"
version = "0.6.0"
description = "the stupid postfix evaluator"
authors = ["Mahdi Haghverdi <mahdihaghverdiliewpl@gmail.com>"]
license = "Apache2.0"
Expand Down

0 comments on commit de5d6a2

Please sign in to comment.