From 7cb2f37b4539104abc418037f438786a034132bf Mon Sep 17 00:00:00 2001 From: adam Date: Sat, 19 Oct 2019 06:31:25 +0000 Subject: [PATCH] py-astroid: updated to 2.3.2 What's New in astroid 2.3.2? * All type comments have as parent the corresponding `astroid` node Until now they had as parent the builtin `ast` node which meant we were operating with primitive objects instead of our own. * Pass an inference context to `metaclass()` when inferring an object type This should prevent a bunch of recursion errors happening in pylint. Also refactor the inference of `IfExp` nodes to use separate contexts for each potential branch. --- devel/py-astroid/Makefile | 4 ++-- devel/py-astroid/distinfo | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/devel/py-astroid/Makefile b/devel/py-astroid/Makefile index 0c943b6b1066..e59d3dca5179 100644 --- a/devel/py-astroid/Makefile +++ b/devel/py-astroid/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.31 2019/10/15 08:00:22 adam Exp $ +# $NetBSD: Makefile,v 1.32 2019/10/19 06:31:25 adam Exp $ -DISTNAME= astroid-2.3.1 +DISTNAME= astroid-2.3.2 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=a/astroid/} diff --git a/devel/py-astroid/distinfo b/devel/py-astroid/distinfo index a1bfb665c48e..367d5d0cb0fd 100644 --- a/devel/py-astroid/distinfo +++ b/devel/py-astroid/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.22 2019/10/01 11:34:55 adam Exp $ +$NetBSD: distinfo,v 1.23 2019/10/19 06:31:25 adam Exp $ -SHA1 (astroid-2.3.1.tar.gz) = 901f0b8a8c769043b3e37492030951d6ed4184b7 -RMD160 (astroid-2.3.1.tar.gz) = 8139cf081419769e66347ccc15f7ab8c669f27cc -SHA512 (astroid-2.3.1.tar.gz) = 771c68013c791a2e55a40f4463148a6e317583d55397b8bb57d74cb27869f5a188b2a54258010ee441567a461aaa6d62f0ef0266543b64bb4104bbe15e0951f8 -Size (astroid-2.3.1.tar.gz) = 297020 bytes +SHA1 (astroid-2.3.2.tar.gz) = e338585b39abd91c635cca3762b3800ff31c45fd +RMD160 (astroid-2.3.2.tar.gz) = e1c7608f747ed4ccc05804b257dd31cefaf47160 +SHA512 (astroid-2.3.2.tar.gz) = e97881971c3302ab12bf98f36d39764ee0412df277e63900d76e4d8f741c3fad70b67cb404121236591d03d7605c83ed65d0cde257c9970fa560c549eb4cd604 +Size (astroid-2.3.2.tar.gz) = 297318 bytes