[issue47086] Include HTML docs with Windows installer instead of CHM

2022-03-22 Thread Steve Dower
Steve Dower added the comment: The key is defined at https://github.com/python/cpython/blob/main/Tools/msi/doc/doc.wxs#L17 and is not set for a Store install at all. But we don't include the docs in that either - go straight to the web. -- ___ Py

[issue46126] Unittest output drives developers to avoid docstrings

2022-03-22 Thread Jason R. Coombs
Jason R. Coombs added the comment: Inada, you're right. Good catch. I think I missed that behavior from before because I used `grep ERROR` and when I ran it this time, I just assumed the output would be the same, but it's clear that even _with descriptions enabled_, the location of the test

[issue47086] Include HTML docs with Windows installer instead of CHM

2022-03-22 Thread Eryk Sun
Eryk Sun added the comment: Do you have any thoughts about distributing the docs in ePub format? -- nosy: +eryksun ___ Python tracker ___ _

[issue47086] Include HTML docs with Windows installer instead of CHM

2022-03-22 Thread Ned Deily
Ned Deily added the comment: At a minimum, though, Doc/tools/templates/download.html should be changed to remove the chm reference. -- ___ Python tracker ___

[issue47086] Include HTML docs with Windows installer instead of CHM

2022-03-22 Thread Steve Dower
Steve Dower added the comment: > Do you have any thoughts about distributing the docs in ePub format? If Windows includes a reader for all supported versions, and it's easy to build, sure. But I don't think the first bit is true. Most people are going to be fairly comfortable with their defa

[issue47086] Include HTML docs with Windows installer instead of CHM

2022-03-22 Thread Ned Deily
Ned Deily added the comment: > Do you have any thoughts about distributing the docs in ePub format? Note that it's *much* easier to manufacture the docs in html format than it is in ePub format. -- ___ Python tracker

[issue46975] clang: error: linker command failed with exit code 1 (use -v to see invocation) on m1 mac

2022-03-22 Thread Jason R. Coombs
Jason R. Coombs added the comment: I ran into this same issue. I notice that gettext is a dependency of git, so a common dependency when developing. Is there perhaps a way that CPython could be made to ignore gettext on macos Silicon or to detect an incompatible platform and thus ignore it?

[issue46975] clang: error: linker command failed with exit code 1 (use -v to see invocation) on m1 mac

2022-03-22 Thread Ned Deily
Ned Deily added the comment: There shouldn't be a problem as long as gettext is properly installed on an M1 Mac, i.e. with an arm64 arch or a universal build that includes arm64. -- ___ Python tracker _

[issue47095] Deprecate blake2's tree hashing feature

2022-03-22 Thread Gregory P. Smith
Gregory P. Smith added the comment: In the short term we should prefer libb2 linkage when available. As for deprecation, it'd be useful to research how often the options going away are used in code in PyPI packages and in Github repos to understand the deprecation impact. The PyPI landscape

[issue46126] Unittest output drives developers to avoid docstrings

2022-03-22 Thread Jason R. Coombs
Jason R. Coombs added the comment: And indeed, after removing the `grep ERROR` part of the repro, even the repro seems to be invalid: ``` cpython main $ ./python.exe -m test.test_importlib -v -k test_entry_points_unique test_entry_points_unique_packages (test.test_importlib.test_metadata_ap

[issue46975] clang: error: linker command failed with exit code 1 (use -v to see invocation) on m1 mac

2022-03-22 Thread Jason R. Coombs
Jason R. Coombs added the comment: Well, I'm using a mac with gettext installed as part of `brew install git` with homebrew installed using the standard procedure. Only after running `brew remove --ignore-dependencies gettext` and re-running configure/make did the command build, but doing so

[issue46975] clang: error: linker command failed with exit code 1 (use -v to see invocation) on m1 mac

2022-03-22 Thread Ned Deily
Ned Deily added the comment: This also applies to any other third-party library that a cpython build may link to, like the OpenSSL libs. Some legacy tools that depend on them may work in Rosetta 2 Intel-64 emulation mode on an Apple Silicon Mac but eventually that will go away so it is impor

[issue47086] Include HTML docs with Windows installer instead of CHM

2022-03-22 Thread Eryk Sun
Change by Eryk Sun : -- nosy: -eryksun ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue46712] Share global string identifiers in deepfreeze

2022-03-22 Thread Eric Snow
Change by Eric Snow : -- pull_requests: +30151 pull_request: https://github.com/python/cpython/pull/32061 ___ Python tracker ___ ___

[issue36692] Unexpected stderr output from test_sys_settrace

2022-03-22 Thread Irit Katriel
Irit Katriel added the comment: I'm not seeing this output when I run the test. Are you still seeing it? -- nosy: +iritkatriel status: open -> pending ___ Python tracker ___ _

[issue22608] test_socket fails with sem_init: Too many open files

2022-03-22 Thread Irit Katriel
Irit Katriel added the comment: I think this was fixed in issue45212. -- nosy: +iritkatriel resolution: -> duplicate status: open -> pending superseder: -> Dangling threads in skipped tests in test_socket ___ Python tracker

[issue46114] OpenSSL 3.0 uses different version scheme

2022-03-22 Thread Charalampos Stratakis
Charalampos Stratakis added the comment: Case in point: https://buildbot.python.org/all/#/builders/355/builds/338 -- ___ Python tracker ___ ___

[issue46975] clang: error: linker command failed with exit code 1 (use -v to see invocation) on m1 mac

2022-03-22 Thread Jason R. Coombs
Jason R. Coombs added the comment: SG. Thanks for the advice. I'll dive in and experiment and report back when I have progress. -- status: closed -> open ___ Python tracker _

[issue23743] Python crashes upon exit if importing g++ compiled mod after importing gcc compiled mod

2022-03-22 Thread Irit Katriel
Change by Irit Katriel : -- stage: -> resolved status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue672115] Assignment to __bases__ of direct object subclasses

2022-03-22 Thread Géry
Change by Géry : -- nosy: +maggyero ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/m

[issue37901] 21 tests fail when run on an IPv6-only host

2022-03-22 Thread Gregory P. Smith
Gregory P. Smith added the comment: Here's how I created an IPv6-only host: https://gist.github.com/gpshead/f4f394593674e5f7a58e9424b4dba989 -- ___ Python tracker ___ ___

[issue672115] Assignment to __bases__ of direct object subclasses

2022-03-22 Thread Géry
Change by Géry : -- versions: +Python 3.11 -Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue39298] add BLAKE3 to hashlib

2022-03-22 Thread Larry Hastings
Larry Hastings added the comment: > Given that I don't want to see us gain new vendored copies of > significant but non-critical third party hash code in our tree > (Modules/_blake3/impl/ in PR 31686) for anything but a known > fixed term need (ex: the sha2 libtomcrypt code is gone from > our t

[issue43166] Unused letters in Windows-specific pragma optimize

2022-03-22 Thread Steve Dower
Steve Dower added the comment: New changeset cd05d0a423d97be69f9de4650f68f89e99ad68d1 by neonene in branch 'main': bpo-43166: Disable ceval.c optimizations for Windows debug builds (GH-32023) https://github.com/python/cpython/commit/cd05d0a423d97be69f9de4650f68f89e99ad68d1 -- _

[issue46566] Support -3.11-arm64 in py.exe launcher

2022-03-22 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +30152 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/32062 ___ Python tracker _

[issue46566] Support -3.11-arm64 in py.exe launcher

2022-03-22 Thread Steve Dower
Steve Dower added the comment: Posted my WIP as a draft PR. I'm still adding docs, tests and ironing out minor issues, but the core functionality is there (as well as some added bonuses). Feel free to review, and importantly to mark anywhere you'd like more explanatory comments. Currently t

[issue46964] The global config should not be stored on each interpreter

2022-03-22 Thread Eric Snow
Eric Snow added the comment: Here are reasons why PyConfig relates to the runtime and not each interpreter: * PyConfig was introduced so embedders could dictate how the *runtime* should be initialized * after initialization, it represents how the runtime was initialized * in the public API,

[issue47095] Deprecate blake2's tree hashing feature

2022-03-22 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +30153 stage: -> patch review pull_request: https://github.com/python/cpython/pull/32059 ___ Python tracker ___

[issue39298] add BLAKE3 to hashlib

2022-03-22 Thread Gregory P. Smith
Gregory P. Smith added the comment: Because I don't think blake3 or blake2 _(though we've shipped it already so there's a challenge in making changes https://bugs.python.org/issue47095)_ are important enough to be _guaranteed_ present in all builds (our release binaries would include them).

[issue46541] Replace _Py_IDENTIFIER() with statically initialized objects.

2022-03-22 Thread Eric Snow
Change by Eric Snow : -- pull_requests: +30154 pull_request: https://github.com/python/cpython/pull/32063 ___ Python tracker ___ ___

[issue39298] add BLAKE3 to hashlib

2022-03-22 Thread Jack O'Connor
Jack O'Connor added the comment: > maintaining a complicated build process in-tree For what it's worth, if you have any sort of "in a perfect world" vision for what the upstream BLAKE3 project could do to make it trivially easy for you to integrate, I'd be very interested in getting that don

[issue47086] Include HTML docs with Windows installer instead of CHM

2022-03-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: In the IDLE Help menu, 'Python Docs', default hotkey 'F1', invokes '<>', which is handled by EditorWindow.help_docs. For Windows, line 599, is 'os.startfile(self.help_url)'. (Otherwise, webbrowser is used.) On Windows, help_url is os.path.join(sys.base_pr

[issue2604] doctest.DocTestCase fails when run repeatedly

2022-03-22 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: After 14 years this bug is finally fixed. Thanks everyone for the patches and discussion. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue47097] Document PEP 646

2022-03-22 Thread Jelle Zijlstra
New submission from Jelle Zijlstra : https://docs.python.org/3.11/library/typing.html doesn't say anything about TypeVarTuple yet. -- assignee: docs@python components: Documentation messages: 415850 nosy: AlexWaygood, JelleZijlstra, docs@python, gvanrossum, kj, mrahtz priority: deferre

[issue47088] Implement PEP 675 (LiteralString)

2022-03-22 Thread Jelle Zijlstra
Change by Jelle Zijlstra : -- keywords: +patch pull_requests: +30155 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/32064 ___ Python tracker __

[issue47000] Make encoding="locale" uses locale encoding even in UTF-8 mode is enabled.

2022-03-22 Thread Inada Naoki
Inada Naoki added the comment: > * sys.getfilesystemencoding(): Python filesystem encoding, return "UTF-8" if > the Python UTF-8 Mode is enabled Yes, althoguh PYTHONLEGACYWINDOWSFSENCODING takes priority. > * locale.getencoding(): Get the locale encoding, LC_CTYPE locale encoding or > the

[issue46769] Improve documentation for `typing.TypeVar`

2022-03-22 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: New changeset d5ed8a8258eaf7a241978b1b0aeb971108d0f7e0 by Alex Waygood in branch '3.10': [3.10] bpo-46769: Improve documentation for `typing.TypeVar` (GH-31712) (GH-31941) https://github.com/python/cpython/commit/d5ed8a8258eaf7a241978b1b0aeb971108d0f7e0 --

[issue46769] Improve documentation for `typing.TypeVar`

2022-03-22 Thread Jelle Zijlstra
Change by Jelle Zijlstra : -- pull_requests: +30156 pull_request: https://github.com/python/cpython/pull/32067 ___ Python tracker ___ __

[issue38941] xml.etree.ElementTree.Element inconsistent warning for bool

2022-03-22 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: I was close to merging the linked PR but there's some renewed concerns about the proposed behavior here: Do we really want to change this behavior and potentially force a lot of people to change their working code? In addition, the current code emits FutureW

[issue47000] Make encoding="locale" uses locale encoding even in UTF-8 mode is enabled.

2022-03-22 Thread Inada Naoki
Change by Inada Naoki : -- pull_requests: +30157 pull_request: https://github.com/python/cpython/pull/32068 ___ Python tracker ___ _

[issue46864] Deprecate ob_shash in BytesObject

2022-03-22 Thread Ma Lin
Ma Lin added the comment: RAM is now relatively cheaper than CPU. 1 million bytes object additionally use 7.629 MiB RAM for ob_shash. (100_*8/1024/1024). This causes hash() performance regression anyway. -- ___ Python tracker

[issue46864] Deprecate ob_shash in BytesObject

2022-03-22 Thread Inada Naoki
Inada Naoki added the comment: Average RAM capacity doesn't grow as CPU cores grows. Additionally, L1+L2 cache is really limited resource compared to CPU or RAM. Bytes object is used for co_code that is hot. So cache efficiency is important. Would you give us more realistic (or real world) ex

[issue46480] Implement typing.assert_type

2022-03-22 Thread Shantanu
Change by Shantanu : -- nosy: +hauntsaninja nosy_count: 5.0 -> 6.0 pull_requests: +30158 pull_request: https://github.com/python/cpython/pull/32069 ___ Python tracker ___ _

[issue42238] Deprecate suspicious.py?

2022-03-22 Thread Julien Palard
Change by Julien Palard : -- pull_requests: +30159 pull_request: https://github.com/python/cpython/pull/32070 ___ Python tracker ___ ___

<    1   2