Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-typed-ast for 
openSUSE:Factory checked in at 2021-12-13 20:41:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-typed-ast (Old)
 and      /work/SRC/openSUSE:Factory/.python-typed-ast.new.2520 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-typed-ast"

Mon Dec 13 20:41:52 2021 rev:17 rq:940057 version:1.5.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-typed-ast/python-typed-ast.changes        
2021-11-21 23:52:08.302261393 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-typed-ast.new.2520/python-typed-ast.changes  
    2021-12-13 20:46:33.296500944 +0100
@@ -1,0 +2,11 @@
+Sun Dec  5 07:44:32 UTC 2021 - Sebastian Wagner <sebix+novell....@sebix.at>
+
+- - Release version 1.5.1 (#181)
+   Co-authored-by: hauntsaninja <>
+ - Fix #167: Port ast27 to Python 3.11 (#176)
+   Copy _PyLong_DigitValue table from Python 3.10 as "digitvalue" in
+   ast27/Python/mystrtoul.c. The symbol has been removed from the public
+   Python 3.11 C API.
+ - Bump version to 1.5.1.dev0
+
+-------------------------------------------------------------------

Old:
----
  typed_ast-1.5.0.tar.gz

New:
----
  typed_ast-1.5.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-typed-ast.spec ++++++
--- /var/tmp/diff_new_pack.H0yw2V/_old  2021-12-13 20:46:33.892501017 +0100
+++ /var/tmp/diff_new_pack.H0yw2V/_new  2021-12-13 20:46:33.920501020 +0100
@@ -19,13 +19,15 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:           python-typed-ast
-Version:        1.5.0
+Version:        1.5.1
 Release:        0
 Summary:        A fork of Python 2 and 3 ast modules with type comment support
 License:        Apache-2.0
 Group:          Development/Languages/Python
 URL:            https://github.com/python/typed_ast
 Source0:        
https://files.pythonhosted.org/packages/source/t/typed_ast/typed_ast-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM use-PyUnicode_DecodeUnicodeEscape.patch 
gh#python/typed_ast#172 mc...@suse.com
+# Use PyUnicode_DecodeUnicodeEscape directly
 Patch0:         use-PyUnicode_DecodeUnicodeEscape.patch
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}

++++++ typed_ast-1.5.0.tar.gz -> typed_ast-1.5.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/typed_ast-1.5.0/PKG-INFO new/typed_ast-1.5.1/PKG-INFO
--- old/typed_ast-1.5.0/PKG-INFO        2021-11-12 00:51:28.188297000 +0100
+++ new/typed_ast-1.5.1/PKG-INFO        2021-12-03 23:17:10.093644000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: typed_ast
-Version: 1.5.0
+Version: 1.5.1
 Summary: a fork of Python 2 and 3 ast modules with type comment support
 Home-page: https://github.com/python/typed_ast
 Author: David Fisher
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/typed_ast-1.5.0/ast27/Python/mystrtoul.c 
new/typed_ast-1.5.1/ast27/Python/mystrtoul.c
--- old/typed_ast-1.5.0/ast27/Python/mystrtoul.c        2021-11-12 
00:51:19.000000000 +0100
+++ new/typed_ast-1.5.1/ast27/Python/mystrtoul.c        2021-12-03 
23:17:04.000000000 +0100
@@ -78,6 +78,32 @@
 #error "Need table for SIZEOF_LONG"
 #endif
 
+/* Table of digit values for 8-bit string -> integer conversion.
+ * '0' maps to 0, ..., '9' maps to 9.
+ * 'a' and 'A' map to 10, ..., 'z' and 'Z' map to 35.
+ * All other indices map to 37.
+ * Note that when converting a base B string, a char c is a legitimate
+ * base B digit iff digitvalue[Py_CHARPyLong_MASK(c)] < B.
+ */
+unsigned char digitvalue[256] = {
+    37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+    37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+    37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+    0,  1,  2,  3,  4,  5,  6,  7,  8,  9,  37, 37, 37, 37, 37, 37,
+    37, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
+    25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 37, 37, 37, 37, 37,
+    37, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
+    25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 37, 37, 37, 37, 37,
+    37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+    37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+    37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+    37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+    37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+    37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+    37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+    37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+};
+
 /*
 **      strtoul
 **              This is a general purpose routine for converting
@@ -109,7 +135,7 @@
             ++str;
             if (*str == 'x' || *str == 'X') {
                 /* there must be at least one digit after 0x */
-                if (_PyLong_DigitValue[Py_CHARMASK(str[1])] >= 16) {
+                if (digitvalue[Py_CHARMASK(str[1])] >= 16) {
                     if (ptr)
                         *ptr = str;
                     return 0;
@@ -118,7 +144,7 @@
                 base = 16;
             } else if (*str == 'o' || *str == 'O') {
                 /* there must be at least one digit after 0o */
-                if (_PyLong_DigitValue[Py_CHARMASK(str[1])] >= 8) {
+                if (digitvalue[Py_CHARMASK(str[1])] >= 8) {
                     if (ptr)
                         *ptr = str;
                     return 0;
@@ -127,7 +153,7 @@
                 base = 8;
             } else if (*str == 'b' || *str == 'B') {
                 /* there must be at least one digit after 0b */
-                if (_PyLong_DigitValue[Py_CHARMASK(str[1])] >= 2) {
+                if (digitvalue[Py_CHARMASK(str[1])] >= 2) {
                     if (ptr)
                         *ptr = str;
                     return 0;
@@ -147,7 +173,7 @@
             ++str;
             if (*str == 'b' || *str == 'B') {
                 /* there must be at least one digit after 0b */
-                if (_PyLong_DigitValue[Py_CHARMASK(str[1])] >= 2) {
+                if (digitvalue[Py_CHARMASK(str[1])] >= 2) {
                     if (ptr)
                         *ptr = str;
                     return 0;
@@ -162,7 +188,7 @@
             ++str;
             if (*str == 'o' || *str == 'O') {
                 /* there must be at least one digit after 0o */
-                if (_PyLong_DigitValue[Py_CHARMASK(str[1])] >= 8) {
+                if (digitvalue[Py_CHARMASK(str[1])] >= 8) {
                     if (ptr)
                         *ptr = str;
                     return 0;
@@ -177,7 +203,7 @@
             ++str;
             if (*str == 'x' || *str == 'X') {
                 /* there must be at least one digit after 0x */
-                if (_PyLong_DigitValue[Py_CHARMASK(str[1])] >= 16) {
+                if (digitvalue[Py_CHARMASK(str[1])] >= 16) {
                     if (ptr)
                         *ptr = str;
                     return 0;
@@ -203,7 +229,7 @@
     ovlimit = digitlimit[base];
 
     /* do the conversion until non-digit character encountered */
-    while ((c = _PyLong_DigitValue[Py_CHARMASK(*str)]) < base) {
+    while ((c = digitvalue[Py_CHARMASK(*str)]) < base) {
         if (ovlimit > 0) /* no overflow check required */
             result = result * base + c;
         else { /* requires overflow check */
@@ -240,7 +266,7 @@
 overflowed:
     if (ptr) {
         /* spool through remaining digit characters */
-        while (_PyLong_DigitValue[Py_CHARMASK(*str)] < base)
+        while (digitvalue[Py_CHARMASK(*str)] < base)
             ++str;
         *ptr = str;
     }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/typed_ast-1.5.0/typed_ast/__init__.py 
new/typed_ast-1.5.1/typed_ast/__init__.py
--- old/typed_ast-1.5.0/typed_ast/__init__.py   2021-11-12 00:51:19.000000000 
+0100
+++ new/typed_ast-1.5.1/typed_ast/__init__.py   2021-12-03 23:17:04.000000000 
+0100
@@ -1 +1 @@
-__version__ = "1.5.0"
+__version__ = "1.5.1"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/typed_ast-1.5.0/typed_ast.egg-info/PKG-INFO 
new/typed_ast-1.5.1/typed_ast.egg-info/PKG-INFO
--- old/typed_ast-1.5.0/typed_ast.egg-info/PKG-INFO     2021-11-12 
00:51:28.000000000 +0100
+++ new/typed_ast-1.5.1/typed_ast.egg-info/PKG-INFO     2021-12-03 
23:17:10.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: typed-ast
-Version: 1.5.0
+Version: 1.5.1
 Summary: a fork of Python 2 and 3 ast modules with type comment support
 Home-page: https://github.com/python/typed_ast
 Author: David Fisher

Reply via email to