robotcode-core 1.5.0__tar.gz → 1.7.0__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.
- {robotcode_core-1.5.0 → robotcode_core-1.7.0}/PKG-INFO +1 -1
- robotcode_core-1.7.0/src/robotcode/core/__version__.py +1 -0
- {robotcode_core-1.5.0 → robotcode_core-1.7.0}/src/robotcode/core/utils/net.py +0 -2
- {robotcode_core-1.5.0 → robotcode_core-1.7.0}/src/robotcode/core/utils/safe_eval.py +1 -1
- robotcode_core-1.5.0/src/robotcode/core/__version__.py +0 -1
- {robotcode_core-1.5.0 → robotcode_core-1.7.0}/.gitignore +0 -0
- {robotcode_core-1.5.0 → robotcode_core-1.7.0}/LICENSE.txt +0 -0
- {robotcode_core-1.5.0 → robotcode_core-1.7.0}/README.md +0 -0
- {robotcode_core-1.5.0 → robotcode_core-1.7.0}/pyproject.toml +0 -0
- {robotcode_core-1.5.0 → robotcode_core-1.7.0}/src/robotcode/core/__init__.py +0 -0
- {robotcode_core-1.5.0 → robotcode_core-1.7.0}/src/robotcode/core/async_tools.py +0 -0
- {robotcode_core-1.5.0 → robotcode_core-1.7.0}/src/robotcode/core/concurrent.py +0 -0
- {robotcode_core-1.5.0 → robotcode_core-1.7.0}/src/robotcode/core/documents_manager.py +0 -0
- {robotcode_core-1.5.0 → robotcode_core-1.7.0}/src/robotcode/core/event.py +0 -0
- {robotcode_core-1.5.0 → robotcode_core-1.7.0}/src/robotcode/core/filewatcher.py +0 -0
- {robotcode_core-1.5.0 → robotcode_core-1.7.0}/src/robotcode/core/ignore_spec.py +0 -0
- {robotcode_core-1.5.0 → robotcode_core-1.7.0}/src/robotcode/core/language.py +0 -0
- {robotcode_core-1.5.0 → robotcode_core-1.7.0}/src/robotcode/core/lsp/__init__.py +0 -0
- {robotcode_core-1.5.0 → robotcode_core-1.7.0}/src/robotcode/core/lsp/types.py +0 -0
- {robotcode_core-1.5.0 → robotcode_core-1.7.0}/src/robotcode/core/py.typed +0 -0
- {robotcode_core-1.5.0 → robotcode_core-1.7.0}/src/robotcode/core/text_document.py +0 -0
- {robotcode_core-1.5.0 → robotcode_core-1.7.0}/src/robotcode/core/types.py +0 -0
- {robotcode_core-1.5.0 → robotcode_core-1.7.0}/src/robotcode/core/uri.py +0 -0
- {robotcode_core-1.5.0 → robotcode_core-1.7.0}/src/robotcode/core/utils/__init__.py +0 -0
- {robotcode_core-1.5.0 → robotcode_core-1.7.0}/src/robotcode/core/utils/caching.py +0 -0
- {robotcode_core-1.5.0 → robotcode_core-1.7.0}/src/robotcode/core/utils/cli.py +0 -0
- {robotcode_core-1.5.0 → robotcode_core-1.7.0}/src/robotcode/core/utils/dataclasses.py +0 -0
- {robotcode_core-1.5.0 → robotcode_core-1.7.0}/src/robotcode/core/utils/debugpy.py +0 -0
- {robotcode_core-1.5.0 → robotcode_core-1.7.0}/src/robotcode/core/utils/glob_path.py +0 -0
- {robotcode_core-1.5.0 → robotcode_core-1.7.0}/src/robotcode/core/utils/inspect.py +0 -0
- {robotcode_core-1.5.0 → robotcode_core-1.7.0}/src/robotcode/core/utils/logging.py +0 -0
- {robotcode_core-1.5.0 → robotcode_core-1.7.0}/src/robotcode/core/utils/path.py +0 -0
- {robotcode_core-1.5.0 → robotcode_core-1.7.0}/src/robotcode/core/utils/process.py +0 -0
- {robotcode_core-1.5.0 → robotcode_core-1.7.0}/src/robotcode/core/utils/version.py +0 -0
- {robotcode_core-1.5.0 → robotcode_core-1.7.0}/src/robotcode/core/workspace.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.7.0"
|
|
@@ -13,8 +13,6 @@ def find_free_port(start: Optional[int] = None, end: Optional[int] = None) -> in
|
|
|
13
13
|
|
|
14
14
|
try:
|
|
15
15
|
with closing(socket.socket(socket.AF_INET, socket.SOCK_STREAM)) as s:
|
|
16
|
-
s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
|
|
17
|
-
|
|
18
16
|
with contextlib.suppress(Exception):
|
|
19
17
|
s.setsockopt(socket.IPPROTO_IPV6, socket.IPV6_V6ONLY, 0)
|
|
20
18
|
|
|
@@ -47,7 +47,7 @@ class Transformer(ast.NodeTransformer):
|
|
|
47
47
|
def __init__(self, allowed_names: Optional[Sequence[str]]) -> None:
|
|
48
48
|
self.allowed_names = (*self.STD_ALLOWED_NAMES, *(allowed_names or []))
|
|
49
49
|
|
|
50
|
-
def visit_Name(self, node: ast.Name) -> ast.AST:
|
|
50
|
+
def visit_Name(self, node: ast.Name) -> ast.AST:
|
|
51
51
|
if node.id not in self.allowed_names:
|
|
52
52
|
raise NameError(f"Name access to '{node.id}' is not allowed")
|
|
53
53
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.5.0"
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|