[issue44689] ctypes.util.find_library() does not find macOS 11+ system libraries when built on older macOS systems

2021-09-01 Thread Gregory Szorc
Gregory Szorc added the comment: I spoke too soon: you can reproduce this with CPython's build system and I think this is a legit regression. I think the function sniffing logic is subtly wrong. Here is the logic as written: #ifdef __APPLE__ #ifdef HAVE_DYLD_SHARED_CACHE_CONTAINS_PATH

[issue45056] compiler: Unnecessary None in co_consts

2021-09-01 Thread Inada Naoki
Change by Inada Naoki : Added file: https://bugs.python.org/file50252/dump_unused_consts.py ___ Python tracker ___ ___ Python-bugs-list mail

[issue45056] compiler: Unnecessary None in co_consts

2021-09-01 Thread Inada Naoki
Change by Inada Naoki : Added file: https://bugs.python.org/file50253/unused_39.txt ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue45056] compiler: Unnecessary None in co_consts

2021-09-01 Thread Inada Naoki
Change by Inada Naoki : Added file: https://bugs.python.org/file50254/unused_310rc1.txt ___ Python tracker ___ ___ Python-bugs-list mailing

[issue45056] compiler: Unnecessary None in co_consts

2021-09-01 Thread Inada Naoki
Change by Inada Naoki : Added file: https://bugs.python.org/file50255/unused_trimmed.txt ___ Python tracker ___ ___ Python-bugs-list mailing

[issue45080] functools._HashedSeq implements __hash__ but not __eq__

2021-09-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: 1. self.hashvalue == other.hashvalue is not enough. Different tuples can have the same hash value, so you steel need to compare their context. 2. _HashedSeq is only used as a key in a dictionary. When you look up a key in dictionary, it compares hashes fir

[issue44689] ctypes.util.find_library() does not find macOS 11+ system libraries when built on older macOS systems

2021-09-01 Thread Ned Deily
Ned Deily added the comment: I don't think we have ever claimed to support building on an older system with a newer SDK, as in building on 10.15 with an 11 SDK. I am sure there have been problems with trying to do this in the past for some releases. It *may* work but there are no guarantees

[issue45081] dataclasses that inherit from Protocol subclasses have wrong __init__

2021-09-01 Thread Shrikant Narasimhan
Change by Shrikant Narasimhan : -- nosy: +shrik ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue44689] ctypes.util.find_library() does not find macOS 11+ system libraries when built on older macOS systems

2021-09-01 Thread Gregory Szorc
Gregory Szorc added the comment: > On Sep 1, 2021, at 22:58, Ned Deily wrote: > > I don't think we have ever claimed to support building on an older system > with a newer SDK, as in building on 10.15 with an 11 SDK. My initial report was from a 10.15 Intel machine in GitHub Actions. My comm

<    1   2