[Bug 244546] lang/python37: Backport pull request 17960 (Fix for broken ctypes)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Mar 2 06:55:43 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244546
--- Comment #2 from Loïc Bartoletti <lbartoletti at FreeBSD.org> ---
I use this test file: https://bugs.python.org/file28155/test184_lib.tgz
Tl;DR
python 3.8.2 OK (but KO for 3.8.1
python < 3.7 OK
---
python3.8.1 (old pkg installed) KO
```
~/test184_lib python3.8 test184_lib.py
✔ 1m 42s 07:35:08
Traceback (most recent call last):
File "test184_lib.py", line 10, in <module>
extn.argtypes = [Foo]
TypeError: item 1 in _argtypes_ passes a union by value, which is unsupported.
```
python 3.8.2 (from ports) OK
```
python3.8 test184_lib.py
✔ 9s
07:43:01
1.2300000190734863
1.2300000190734863
1067282596
x:nan
y:nan
z:-9072
```
python 3.7.6 KO
```
python3.7 test184_lib.py
✔ 3m 14s
07:49:41
Traceback (most recent call last):
File "test184_lib.py", line 10, in <module>
extn.argtypes = [Foo]
TypeError: item 1 in _argtypes_ passes a union by value, which is unsupported.
```
python 3.7.6 (with the pathces) OK
```
~/test184_lib python3.7 test184_lib.py
INT ✘ 07:43:42
1.2300000190734863
1.2300000190734863
1067282596
x:nan
y:nan
z:-9184
```
python 3.6 OK
```
python3.6 test184_lib.py
INT ✘
07:44:53
1.2300000190734863
1.2300000190734863
1067282596
x:nan
y:nan
z:-8720
python 3.5 OK
```
python3.5 test184_lib.py
✔ 36s
07:52:02
1.2300000190734863
1.2300000190734863
1067282596
x:nan
y:nan
z:-8656
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-python
mailing list