New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

valid8

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

valid8 - pypi Package Compare versions

Comparing version
5.0.5
to
5.0.6
+4
-0
docs/changelog.md
# Changelog
### 5.0.6 - Minor improvements
Improved `getfullargspec` so as to cover more builtins in python 3.
### 5.0.5 - bugfix - support for numpy True

@@ -4,0 +8,0 @@

+2
-2
Metadata-Version: 2.1
Name: valid8
Version: 5.0.5
Version: 5.0.6
Summary: Yet another validation lib ;). Provides tools for general-purpose variable validation, function inputs/outputs validation as well as class fields validation. All entry points raise consistent ValidationError including all contextual details, with dynamic inheritance of ValueError/TypeError as appropriate.

@@ -9,3 +9,3 @@ Home-page: https://github.com/smarie/python-valid8

License: BSD 3-Clause
Download-URL: https://github.com/smarie/python-valid8/tarball/5.0.5
Download-URL: https://github.com/smarie/python-valid8/tarball/5.0.6
Description: # python-validate (valid8)

@@ -12,0 +12,0 @@

Metadata-Version: 2.1
Name: valid8
Version: 5.0.5
Version: 5.0.6
Summary: Yet another validation lib ;). Provides tools for general-purpose variable validation, function inputs/outputs validation as well as class fields validation. All entry points raise consistent ValidationError including all contextual details, with dynamic inheritance of ValueError/TypeError as appropriate.

@@ -9,3 +9,3 @@ Home-page: https://github.com/smarie/python-valid8

License: BSD 3-Clause
Download-URL: https://github.com/smarie/python-valid8/tarball/5.0.5
Download-URL: https://github.com/smarie/python-valid8/tarball/5.0.6
Description: # python-validate (valid8)

@@ -12,0 +12,0 @@

# coding: utf-8
# file generated by setuptools_scm
# don't change, don't track in version control
version = '5.0.5'
version = '5.0.6'

@@ -41,2 +41,8 @@ # Authors: Sylvain Marie <sylvain.marie@se.com>

def _is_builtin_value_error(e):
try:
return (e.__class__ is ValueError) and ('builtin' in e.args[0])
except:
return False
def getfullargspec(f, skip_bound_arg=False, follow_wrapped=True):

@@ -65,2 +71,4 @@ """

raise IsBuiltInError(f)
elif _is_builtin_value_error(e):
raise IsBuiltInError(f)
else:

@@ -67,0 +75,0 @@ raise