[issue46043] Python Launcher Not Opening Files.

2021-12-11 Thread Ned Deily


Ned Deily  added the comment:

There is definitely something odd going on here. I am seeing different 
behaviors across different systems: I have at least one macOS 12.0.1 system 
where the Launcher app seems to work OK with the current 3.10.1 (as long as the 
Terminal.app is already running) but then on some other 12.0.1 systems and on 
an 11.6.1 system it fails as you describe it. This is also across a mixture of 
Intel and Apple Silicon systems and VMs so no obvious correlation there. 
Launching via IDLE does seem to work properly on the systems I've tested so 
perhaps that might be a temporary workaround as well as just manually running 
the script in a Terminal.app window. I am going to close this issue as a 
duplicate of Issue40477 and am bumping the priority with the aim to have a fix 
prior to the next round of releases in early January.

--
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> Python Launcher app on macOS 10.15 Catalina fails to run scripts

___
Python tracker 
<https://bugs.python.org/issue46043>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40477] Python Launcher app on macOS 10.15+ fails to run scripts

2021-12-11 Thread Ned Deily


Ned Deily  added the comment:

>From comments in duplicate Issue46043:
"There is definitely something odd going on here. I am seeing different 
behaviors across different systems: I have at least one macOS 12.0.1 system 
where the Launcher app seems to work OK with the current 3.10.1 (as long as the 
Terminal.app is already running) but then on some other 12.0.1 systems and on 
an 11.6.1 system it fails as you describe it. This is also across a mixture of 
Intel and Apple Silicon systems and VMs so no obvious correlation there. 
Launching via IDLE does seem to work properly on the systems I've tested so 
perhaps that might be a temporary workaround as well as just manually running 
the script in a Terminal.app window. I am going to close this issue as a 
duplicate of Issue40477 and am bumping the priority with the aim to have a fix 
prior to the next round of releases in early January."

--
nosy: +AegisEmerald545, nicholasjbond2020
priority: high -> critical
title: Python Launcher app on macOS 10.15 Catalina fails to run scripts -> 
Python Launcher app on macOS 10.15+ fails to run scripts

___
Python tracker 
<https://bugs.python.org/issue40477>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20741] Documentation archives should be available also in tar.xz format

2021-12-12 Thread Ned Deily


Ned Deily  added the comment:

Documentation downloads are still built and provided for each release (as 
linked to from https://www.python.org/doc/ and 
https://www.python.org/doc/versions/) as well as daily for the heads of each 
active bugfix and feature branch, in each case via the "Download these 
documents" link on the top page of the release/branch documentation set, for  
example, https://docs.python.org/3/ -> https://docs.python.org/3/download.html. 
The downloadable doc formats are still .zip and .bz2 while cPython source 
archives are still .tgz and .xz formats. Julien Palard (@mdk) is the release 
team documentation expert.  Julien, what do you think?

--
assignee:  -> mdk
components: +Documentation
nosy: +mdk, ned.deily
resolution: out of date -> 
status: pending -> open
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.4, Python 
3.5

___
Python tracker 
<https://bugs.python.org/issue20741>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46065] re.findall takes forever and never ends

2021-12-13 Thread Ned Deily


Change by Ned Deily :


--
components: +Regular Expressions
nosy: +ezio.melotti, mrabarnett, serhiy.storchaka -ned.deily, ronaldoussoren
type: crash -> behavior

___
Python tracker 
<https://bugs.python.org/issue46065>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46106] OpenSSL 1.1.1m is now available

2021-12-16 Thread Ned Deily


New submission from Ned Deily :

Update Windows build, macOS installer, and Tools/multissltests.py

--
components: Build, Windows, macOS
messages: 408736
nosy: christian.heimes, ned.deily, paul.moore, ronaldoussoren, steve.dower, 
tim.golden, zach.ware
priority: normal
severity: normal
stage: needs patch
status: open
title: OpenSSL 1.1.1m is now available
versions: Python 3.10, Python 3.11, Python 3.9

___
Python tracker 
<https://bugs.python.org/issue46106>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6110] IDLE has two "Preferences..." menu's on OSX

2021-12-17 Thread Ned Deily


Change by Ned Deily :


--
pull_requests:  -28394

___
Python tracker 
<https://bugs.python.org/issue6110>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6110] IDLE has two "Preferences..." menu's on OSX

2021-12-17 Thread Ned Deily


Change by Ned Deily :


--
pull_requests:  -28396

___
Python tracker 
<https://bugs.python.org/issue6110>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46106] OpenSSL 1.1.1m is now available

2021-12-18 Thread Ned Deily

Ned Deily  added the comment:

>From the release notes, there didn’t seem to be anything super critical. I 
>wasn’t contemplating any special releases: just update for the next scheduled 
>releases.

--

___
Python tracker 
<https://bugs.python.org/issue46106>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46135] Changing a label's text is not working properly on transparent widgets

2021-12-19 Thread Ned Deily


Ned Deily  added the comment:

PyQT is a third-party product and not part of Python or the Python Standard 
Library. Suggest you contact that project and/or ask on one of the general 
assistance forums, like Stack Overflow. Good luck!

https://riverbankcomputing.com/software/pyqt/
https://www.python.org/about/help/

--
resolution:  -> third party
stage:  -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue46135>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41210] Docs: More description(warning) about LZMA1 + BCJ with FORMAT_RAW

2021-12-21 Thread Ned Deily


Change by Ned Deily :


--
Removed message: https://bugs.python.org/msg407902

___
Python tracker 
<https://bugs.python.org/issue41210>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41210] Docs: More description(warning) about LZMA1 + BCJ with FORMAT_RAW

2021-12-21 Thread Ned Deily


Change by Ned Deily :


--
Removed message: https://bugs.python.org/msg408966

___
Python tracker 
<https://bugs.python.org/issue41210>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41210] Docs: More description(warning) about LZMA1 + BCJ with FORMAT_RAW

2021-12-21 Thread Ned Deily


Change by Ned Deily :


--
Removed message: https://bugs.python.org/msg408995

___
Python tracker 
<https://bugs.python.org/issue41210>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41210] Docs: More description(warning) about LZMA1 + BCJ with FORMAT_RAW

2021-12-21 Thread Ned Deily


Change by Ned Deily :


--
nosy:  -Smith129, kdrb, sakaranata

___
Python tracker 
<https://bugs.python.org/issue41210>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46106] OpenSSL 1.1.1m is now available

2021-12-21 Thread Ned Deily


Ned Deily  added the comment:


New changeset fc54e722a2e66971f1a8e16cff24c844bf9c5ac4 by Kumar Aditya in 
branch 'main':
bpo-46106: Update OpenSSL to 1.1.1m (GH-30211)
https://github.com/python/cpython/commit/fc54e722a2e66971f1a8e16cff24c844bf9c5ac4


--

___
Python tracker 
<https://bugs.python.org/issue46106>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46106] OpenSSL 1.1.1m is now available

2021-12-21 Thread Ned Deily


Change by Ned Deily :


--
pull_requests: +28447
pull_request: https://github.com/python/cpython/pull/30224

___
Python tracker 
<https://bugs.python.org/issue46106>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46106] OpenSSL 1.1.1m is now available

2021-12-21 Thread Ned Deily


Change by Ned Deily :


--
pull_requests: +28448
pull_request: https://github.com/python/cpython/pull/30225

___
Python tracker 
<https://bugs.python.org/issue46106>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46106] OpenSSL 1.1.1m is now available

2021-12-21 Thread Ned Deily


Ned Deily  added the comment:


New changeset cf96c279ac960f2a5025e2ac887f9b932a4f1474 by Ned Deily in branch 
'3.10':
bpo-46106: Update OpenSSL to 1.1.1m (GH-30211) (GH-30224)
https://github.com/python/cpython/commit/cf96c279ac960f2a5025e2ac887f9b932a4f1474


--

___
Python tracker 
<https://bugs.python.org/issue46106>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46106] OpenSSL 1.1.1m is now available

2021-12-21 Thread Ned Deily


Ned Deily  added the comment:


New changeset 5c4d11fe755a7adeaee6b838bc8faceadc29ed7d by Ned Deily in branch 
'3.9':
bpo-46106: Update OpenSSL to 1.1.1m (GH-30211) (GH-30225)
https://github.com/python/cpython/commit/5c4d11fe755a7adeaee6b838bc8faceadc29ed7d


--

___
Python tracker 
<https://bugs.python.org/issue46106>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46106] OpenSSL 1.1.1m is now available

2021-12-21 Thread Ned Deily


Ned Deily  added the comment:

Thanks for the PR, Kumar!  Merged, with a few minor changes, to main (for 
3.11.0a4), 3.10 (3.10.2), and 3.9 (3.9.10).

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue46106>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46158] Hardcoded sysroot path, to MacOSX11.sdk, in python sysconfig

2021-12-22 Thread Ned Deily


Ned Deily  added the comment:

Whether or not a macOS sysroot path is included in CFLAGS depends on how the 
Python build was configured and built. For instance, the macOS Python binaries 
provided on python.org do not include a sysroot path in CFLAGS; from the 
version info provided, you are using a Python from some other source. But, even 
if there is one there, there is code in the standard library helper function 
_osx_support.py to remove a sysroot from CFLAGS at runtime if the file is not 
present. That is used by distutils and *should* be being used by setuptools as 
well but it's possible that other build systems aren't using it or there might 
be a bug there. Can you give a reproducible test case showing a build failure 
including from where you got the Python 3.9.7 you are using?

https://github.com/python/cpython/blob/3.9/Lib/_osx_support.py#L331

--

___
Python tracker 
<https://bugs.python.org/issue46158>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46185] Python 3.10.1 installer refers to /Applications/Python 3.9 Install Certificates

2021-12-27 Thread Ned Deily


Change by Ned Deily :


--
assignee:  -> ned.deily

___
Python tracker 
<https://bugs.python.org/issue46185>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46197] ensurepip bootstrap breaks out of isolated environment

2021-12-31 Thread Ned Deily


Change by Ned Deily :


--
nosy: +dstufft, ncoghlan, pradyunsg

___
Python tracker 
<https://bugs.python.org/issue46197>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46226] User specific paths added to System PATH environment variable

2022-01-02 Thread Ned Deily


Change by Ned Deily :


--
components: +Windows
nosy: +paul.moore, steve.dower, tim.golden, zach.ware

___
Python tracker 
<https://bugs.python.org/issue46226>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46229] CODE_OF_CONDUCT shadowing org default

2022-01-02 Thread Ned Deily


Change by Ned Deily :


--
nosy: +brett.cannon

___
Python tracker 
<https://bugs.python.org/issue46229>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41028] Move docs.python.org language and version switcher out of cpython

2022-01-02 Thread Ned Deily


Ned Deily  added the comment:


New changeset 811f65ba263140b6ba28151246b52efe149a6382 by Ned Deily in branch 
'3.7':
bpo-41028: use generic version links in Docs index.
https://github.com/python/cpython/commit/811f65ba263140b6ba28151246b52efe149a6382


--

___
Python tracker 
<https://bugs.python.org/issue41028>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41028] Move docs.python.org language and version switcher out of cpython

2022-01-02 Thread Ned Deily


Ned Deily  added the comment:


New changeset b28b0222e360669463ffe31d27c1fd374361cb23 by Miss Islington (bot) 
in branch '3.9':
bpo-41028: Doc: Move switchers to docsbuild-scripts. (GH-20969) (GH-30343)
https://github.com/python/cpython/commit/b28b0222e360669463ffe31d27c1fd374361cb23


--

___
Python tracker 
<https://bugs.python.org/issue41028>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41028] Move docs.python.org language and version switcher out of cpython

2022-01-02 Thread Ned Deily


Ned Deily  added the comment:

I went ahead and auto-backported the full PR to 3.9 and 3.8 since it applies 
cleanly there and did a manual backport of just the sidebar changes to 3.7 and 
3.6 (added in the final merge before EOL).  Now just awaiting @ambv approval 
for 3.8.

For reference, compare old vs new "Docs by version" sidebar on the index pages:
https://docs.python.org/release/3.9.9/
https://docs.python.org/release/3.10.1/

--
nosy: +lukasz.langa
resolution:  -> fixed
stage: patch review -> commit review
status: open -> pending
versions: +Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9

___
Python tracker 
<https://bugs.python.org/issue41028>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40477] Python Launcher app on macOS 10.15+ fails to run scripts

2022-01-02 Thread Ned Deily


Change by Ned Deily :


--
keywords: +patch
pull_requests: +28561
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/30348

___
Python tracker 
<https://bugs.python.org/issue40477>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40477] Python Launcher app on macOS 10.15+ fails to run scripts

2022-01-02 Thread Ned Deily


Ned Deily  added the comment:


New changeset 549e62827262264cda30455e10e315602129da72 by Ned Deily in branch 
'main':
bpo-40477: macOS Python Launcher app fixes for recent macOS releases (GH-30348)
https://github.com/python/cpython/commit/549e62827262264cda30455e10e315602129da72


--

___
Python tracker 
<https://bugs.python.org/issue40477>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40477] Python Launcher app on macOS 10.15+ fails to run scripts

2022-01-02 Thread Ned Deily


Ned Deily  added the comment:


New changeset b312794de0f78da15593d059f09b4071d95c0d0e by Miss Islington (bot) 
in branch '3.10':
bpo-40477: macOS Python Launcher app fixes for recent macOS releases (GH-30348) 
(GH-30349)
https://github.com/python/cpython/commit/b312794de0f78da15593d059f09b4071d95c0d0e


--

___
Python tracker 
<https://bugs.python.org/issue40477>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40477] Python Launcher app on macOS 10.15+ fails to run scripts

2022-01-02 Thread Ned Deily


Ned Deily  added the comment:

Thanks, Ronald, for tracking down the NSAppleEventsUsageDescription requirement!

The PR here solves two problems encountered by users of the macOS Python 
Launcher app on recent macOS releases (10.14+):

1. The launcher app was no longer able to launch the macOS Terminal.app to run 
a script.

2. Even if Terminal.app was already launched, the launcher app was unable to 
send an Apple Event to Terminal.app to open and run Python with the desired .py 
file.

The solution to item 1 was to no longer specify an absolute path to 
Terminal.app but rather let LaunchServices figure out the path.

Item 2 was fixed by adding the NSAppleEventsUsageDescription key to the 
launcher app's property list. The first time the launcher runs, macOS displays 
a message to the user requesting permission to use Apple events; if granted by 
the user, the launcher will now be able to send open events to Terminal.app and 
all is well.

Tested on the most recent releases of macOS 12, 11, 10.16, 10.15, 10.14, and 
10.9 and on both Intel and Apple Silicon Macs.

Merged for release in 3.9.10, 3.10.2, and 3.11.0a4.

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue40477>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue43122] Python Launcher doesn't open a terminal window

2022-01-02 Thread Ned Deily


Ned Deily  added the comment:

Thanks for the report. The problem here has finally been resolved in the fixes 
for Issue40477 which will be released in Python 3.9.9, 3.10.2, and 3.11.0a4. 
(Unfortunately, Python 3.8 is now in the "security-fix" phase of its release 
cycle; this issue doesn't qualify as a security problem and, in any case, only 
source releases are provided in this phase, no binary installers.)

--
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> Python Launcher app on macOS 10.15+ fails to run scripts

___
Python tracker 
<https://bugs.python.org/issue43122>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue43122] Python Launcher doesn't open a terminal window

2022-01-02 Thread Ned Deily


Ned Deily  added the comment:

Thanks for the report. The problem here has finally been resolved in the fixes 
for Issue40477 which will be released in Python 3.9.10, 3.10.2, and 3.11.0a4. 
(Unfortunately, Python 3.8 is now in the "security-fix" phase of its release 
cycle; this issue doesn't qualify as a security problem and, in any case, only 
source releases are provided in this phase, no binary installers.)

--

___
Python tracker 
<https://bugs.python.org/issue43122>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue43122] Python Launcher doesn't open a terminal window

2022-01-02 Thread Ned Deily


Change by Ned Deily :


--
Removed message: https://bugs.python.org/msg409563

___
Python tracker 
<https://bugs.python.org/issue43122>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42657] Python 3.9.1 building process could not use local standard library

2022-01-02 Thread Ned Deily


Ned Deily  added the comment:

Thanks for the report. Alas, there haven't been any other reports of similar 
behavior that I am aware of and, without more information, I am unable to 
reproduce it with the current 3.9 branch. So I am going to close this issue. 
Feel free to re-open it and provide more detail on exactly how to reproduce the 
failure if this is still a problem.

--
resolution:  -> out of date
stage:  -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue42657>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46248] Compilation errors on macOS

2022-01-03 Thread Ned Deily


Ned Deily  added the comment:

Thanks for the report. Without more details, we can only guess at what you are 
trying to accomplish. I would assume it involves embedding Python in another 
library or application. If so, you should not be using LINKFORSHARED at all 
which is used to build Python itself (see, for example, Issue36508). Moreover, 
when embedding on macOS, we do not recommend trying to use the -framework 
argument to compile with or link to Python: it's too easy to get wrong. 
Instead, as shown in the use the "Extending and Embedding the Python 
Interpreter" section of the docset, use the output from the appropriate 
python3.x-config command, for example:

$ python3.10-config --cflags
-I/Library/Frameworks/Python.framework/Versions/3.10.1_11/include/python3.10 
-I/Library/Frameworks/Python.framework/Versions/3.10.1_11/include/python3.10 
-Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic 
-DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g

$ python3.10-config --ldflags
-L/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/config-3.10-darwin
 -ldl -framework CoreFoundation

https://docs.python.org/3/extending/embedding.html#compiling-and-linking-under-unix-like-systems

--

___
Python tracker 
<https://bugs.python.org/issue46248>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46263] FreeBSL buiildbots cannot compile Python

2022-01-04 Thread Ned Deily


Ned Deily  added the comment:

Not to point out the obvious but this buildbot uses --enable-shared which is 
often a source of build / bootstrap issues, such as the compiler executable 
being built ends up dynamically loading a libpython from a previous 
installation or build.

--
nosy: +ned.deily

___
Python tracker 
<https://bugs.python.org/issue46263>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46251] logger.config.configure_formatter executes arbitrary code

2022-01-04 Thread Ned Deily


Change by Ned Deily :


--
nosy: +vinay.sajip

___
Python tracker 
<https://bugs.python.org/issue46251>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46248] Compilation errors on macOS

2022-01-05 Thread Ned Deily


Change by Ned Deily :


--
resolution:  -> third party
stage:  -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue46248>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46292] Add microseconds to logging.LogRecord

2022-01-07 Thread Ned Deily


Change by Ned Deily :


--
nosy: +vinay.sajip

___
Python tracker 
<https://bugs.python.org/issue46292>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34602] python3 resource.setrlimit strange behaviour under macOS

2022-01-07 Thread Ned Deily


Ned Deily  added the comment:

> @ned.deily, @lukasz.langa: reopen this issue or open a new one?

Since there are so many iterations on this issue already, I think a new issue 
would be better.

--

___
Python tracker 
<https://bugs.python.org/issue34602>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46297] Python interpreter crashes on bootup with multiple PythonPaths set in registry

2022-01-07 Thread Ned Deily


Change by Ned Deily :


--
nosy: +steve.dower

___
Python tracker 
<https://bugs.python.org/issue46297>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42378] logging reopens file with same mode, possibly truncating

2022-01-07 Thread Ned Deily


Change by Ned Deily :


--
nosy: +vinay.sajip

___
Python tracker 
<https://bugs.python.org/issue42378>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46308] Unportable test(1) operator in configure script

2022-01-08 Thread Ned Deily


Ned Deily  added the comment:


New changeset 3d11c1b8b49800c5c4c295953cc3abf577f6065a by Thomas Klausner in 
branch 'main':
bpo-46308: Fix unportable test(1) operator in configure script (GH-30490)
https://github.com/python/cpython/commit/3d11c1b8b49800c5c4c295953cc3abf577f6065a


--
nosy: +ned.deily

___
Python tracker 
<https://bugs.python.org/issue46308>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34602] python3 resource.setrlimit strange behaviour under macOS

2022-01-08 Thread Ned Deily


Ned Deily  added the comment:


New changeset b962544594c6a7c695330dd20fedffb3a1916ba6 by Miss Islington (bot) 
in branch '3.10':
bpo-34602: Fix unportable test(1) operator in configure script (GH-30490) 
(GH-30491)
https://github.com/python/cpython/commit/b962544594c6a7c695330dd20fedffb3a1916ba6


--

___
Python tracker 
<https://bugs.python.org/issue34602>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46326] 'virtualenv --clear' should prompt user before nuking entire directory

2022-01-10 Thread Ned Deily


Ned Deily  added the comment:

It appears you are describing behavior in the third-party virtualenv project; 
if so, you should report the problem to that project 
(https://pypi.org/project/virtualenv/). If similar behavior is also an issue 
with the Python standard library venv module (which is a derivative of 
virtualenv), please update this issue accordingly. Thanks!

https://docs.python.org/3/library/venv.html

--
nosy: +ned.deily
status: open -> pending

___
Python tracker 
<https://bugs.python.org/issue46326>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46326] 'virtualenv --clear' should prompt user before nuking entire directory

2022-01-10 Thread Ned Deily


Ned Deily  added the comment:

> Ned, the CLI of venv has a `--clear` option, which invokes EnvBuilder [1] 
> with clear=True.

Thanks, I saw that. However, the issue as written does not mention venv at all, 
only virtualenv. I wanted the OP to verify that it does apply to venv and, if 
the problem exists both places, to update this issue and to open an issue 
against virtualenv.

--

___
Python tracker 
<https://bugs.python.org/issue46326>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46334] Glossary URLs with anchor link no longer jump to definitions

2022-01-10 Thread Ned Deily


Change by Ned Deily :


--
nosy: +mdk

___
Python tracker 
<https://bugs.python.org/issue46334>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46326] 'venv --clear' should prompt user before nuking entire directory

2022-01-13 Thread Ned Deily


Change by Ned Deily :


--
nosy:  -ned.deily

___
Python tracker 
<https://bugs.python.org/issue46326>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46400] Please update bundled libexpat to 2.4.3 with security fixes

2022-01-20 Thread Ned Deily


Ned Deily  added the comment:

The bundled expat is potentially used by all Python builds, not just Windows or 
Mac builds.

--

___
Python tracker 
<https://bugs.python.org/issue46400>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46400] Please update bundled libexpat to 2.4.3 with security fixes

2022-01-20 Thread Ned Deily


Change by Ned Deily :


--
nosy:  -ned.deily, paul.moore, ronaldoussoren, steve.dower, tim.golden, 
zach.ware

___
Python tracker 
<https://bugs.python.org/issue46400>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46548] macOS installers cannot be signed on Monterey

2022-01-29 Thread Ned Deily


Ned Deily  added the comment:

The short answer to the original issue: at the moment, build-installer.py 
continues to create python.org installers in the legacy bundle installer format 
that is no longer supported by more modern versions of macOS and there are 
additional steps that are used to convert the artifacts produced by 
build-installer.py into a modern flat-package (.pkg) format installer. Those 
steps are outlined in Mac/BuildScript/README.rst but the exact commands are not 
provided there. The longer answer is that we have long provided macOS 
installers that are designed to work on a very wide range of macOS versions and 
Mac hardware. Up until very recently, the production of an installer required 
multiple steps on different versions of macOS to be able to meet those 
requirements, i.e. the build of Python itself had to run on an older system 
(macOS 10.9) but the flat package and signing has to run on a more recent 
system to be able to be notarized by Apple. And that manufacturing has evolved 
over many years 
 as Apple has attempted to enhance macOS security while minimizing the impact 
on end users (e.g. Gatekeeper, code signing, notarization). As of fairly 
recently (Python 3.10.1 et al) with the addition to Python of full 
"weaklinking" support on macOS (along with Apple Silicon and Big Sur support), 
it is now possible to build on a current system while supporting older systems 
as well as we now do in the new universal2 installer variant. Since we are 
still providing the legacy 10.9 Intel-only installer variant for 3.9.x 
releases, there hasn't been an urgent need to modify the overall manufacturing 
process yet, but I do plan to do so and document prior to the upcoming 3.11 
feature code cutoff (in part to better support Apple Silicon Macs).

--
assignee:  -> ned.deily

___
Python tracker 
<https://bugs.python.org/issue46548>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38295] test_relative_path of test_py_compile fails on macOS 10.15 Catalina

2022-01-30 Thread Ned Deily


Ned Deily  added the comment:

> Is there anything more to do here?

A belated response: probably not, so I'm OK with closing this.

A quick check shows that macOS behavior has changed a bit on more recent 
releases. On current macOS Big Sur (11.6.3) and Monterey (12.2) releases, Bo's 
test:

$ python3 -c 'import os; open(os.path.relpath("/tmp/test.txt"), "w")'

now works and Ronald's touch example now fails with a somewhat more meaningful 
message:

$ touch ../../foo.txt
touch: ../../foo.txt: Read-only file system

In general, though, even on pre-APFS older macOS systems, it is still best to 
avoid or at least be very careful about using /tmp with any sort of relative 
path testing because of the linking of /tmp to /private/tmp. :(

--

___
Python tracker 
<https://bugs.python.org/issue38295>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33222] Various test failures if PYTHONUSERBASE is not canonicalized

2022-01-30 Thread Ned Deily


Ned Deily  added the comment:

FWIW, I still see the same failures with 3.10.2 on a current macOS 12.2 system.

--
status: pending -> open

___
Python tracker 
<https://bugs.python.org/issue33222>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33222] Various test failures if PYTHONUSERBASE is not canonicalized

2022-01-30 Thread Ned Deily


Ned Deily  added the comment:

> I tested 3.11 (on a Mac 11.6).

It still fails for me on current main HEAD (on 12.2 FWIW):

$ ./configure --prefix=/tmp/p
$ make -j6
$ mkdir /tmp/x
$ export PYTHONUSERBASE=/tmp/x/..
$ ./python -m test -w test_site test_sysconfig
Raised RLIMIT_NOFILE: 256 -> 1024
0:00:00 load avg: 0.99 Run tests sequentially
0:00:00 load avg: 0.99 [1/2] test_site
test test_site failed -- multiple errors occurred; run in verbose mode for 
details
0:00:00 load avg: 0.99 [2/2/1] test_sysconfig -- test_site failed (2 failures)
test test_sysconfig failed -- Traceback (most recent call last):
  File 
"/Users/nad/Projects/PyDev/active/dev/3x/source/Lib/test/test_sysconfig.py", 
line 314, in test_user_similar
self.assertEqual(user_path, expected)
^
AssertionError: '/tmp/lib/python3.11' != '/tmp/x/../lib/python3.11'
- /tmp/lib/python3.11
+ /tmp/x/../lib/python3.11
? +


test_sysconfig failed (1 failure)

== Tests result: FAILURE ==

2 tests failed:
test_site test_sysconfig
0:00:00 load avg: 0.99
0:00:00 load avg: 0.99 Re-running failed tests in verbose mode
0:00:00 load avg: 0.99 Re-running test_site in verbose mode (matching: 
test_get_path, test_s_option)
test_get_path (test.test_site.HelperFunctionsTests) ... FAIL
test_s_option (test.test_site.HelperFunctionsTests) ... FAIL

==
FAIL: test_get_path (test.test_site.HelperFunctionsTests)
--
Traceback (most recent call last):
  File "/Users/nad/Projects/PyDev/active/dev/3x/source/Lib/test/test_site.py", 
line 209, in test_get_path
self.assertEqual(site._get_path(site._getuserbase()),
^
AssertionError: '/tmp/x/../lib/python/site-packages' != 
'/tmp/lib/python/site-packages'
- /tmp/x/../lib/python/site-packages
? -
+ /tmp/lib/python/site-packages


==
FAIL: test_s_option (test.test_site.HelperFunctionsTests)
--
Traceback (most recent call last):
  File "/Users/nad/Projects/PyDev/active/dev/3x/source/Lib/test/test_site.py", 
line 218, in test_s_option
self.assertIn(usersite, sys.path)
^
AssertionError: '/tmp/x/../lib/python3.11/site-packages' not found in 
['/Users/nad/Projects/PyDev/active/dev/3x/source', '/tmp/p/lib/python311.zip', 
'/Users/nad/Projects/PyDev/active/dev/3x/source/Lib', 
'/Users/nad/Projects/PyDev/active/dev/3x/source/build/lib.macosx-12.2-x86_64-3.11',
 '/tmp/lib/python3.11/site-packages']

--
Ran 2 tests in 0.002s

FAILED (failures=2)
test test_site failed
0:00:00 load avg: 0.99 Re-running test_sysconfig in verbose mode (matching: 
test_user_similar)
test_user_similar (test.test_sysconfig.TestSysConfig) ... FAIL

==
FAIL: test_user_similar (test.test_sysconfig.TestSysConfig)
--
Traceback (most recent call last):
  File 
"/Users/nad/Projects/PyDev/active/dev/3x/source/Lib/test/test_sysconfig.py", 
line 314, in test_user_similar
self.assertEqual(user_path, expected)
^
AssertionError: '/tmp/lib/python3.11' != '/tmp/x/../lib/python3.11'
- /tmp/lib/python3.11
+ /tmp/x/../lib/python3.11
? +


--
Ran 1 test in 0.001s

FAILED (failures=1)
test test_sysconfig failed
2 tests failed again:
test_site test_sysconfig

== Tests result: FAILURE then FAILURE ==

2 tests failed:
test_site test_sysconfig

2 re-run tests:
test_site test_sysconfig

Total duration: 350 ms
Tests result: FAILURE then FAILURE

--

___
Python tracker 
<https://bugs.python.org/issue33222>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46540] dylibs not loading properly from NFS mounts

2022-01-30 Thread Ned Deily


Ned Deily  added the comment:

Thanks for the report but there are a lot of variables here that make this very 
difficult to act on. First, there have been many changes in macOS 10.15 
regarding file permissions and file system layouts (with APFS et al) and 
further changes in the more recent versions of macOS, 11 Big Sur and now 12 
Monterey. Further, Python 3.7 is now in the security-fix-only phase of its life 
cycle which means we no longer produce binary installers for macOS or Windows 
for 3.7. 3.7.9 was released prior to the official release of macOS 11 and so, 
as noted on the changelog for 3.7.9, macOS 11+ is not fully supported by 3.7.x. 
We have also learned more about these operating systems since then and there 
are changes in Python and in how we manufacture python.org macOS installers 
that are reflected in current releases of Python 3.9.x and 3.10.x. Beyond that, 
AFAIK, we do not do any testing of macOS NFS clients or servers and have no 
setup for that at hand. And throwing in a third-party extension module (
 shiboken2.abi3.so) plus use of @rpath on top of all that adds even more 
variability.

My suggestion is to try to reproduce this with a current, fully-supported 
python.org macOS installer download (i.e. the 3.10.2 universal2 installer) and 
preferably on a current version of macOS, currently 12.2 or possibly 11.6.3, 
and also check "System Preferences" -> "Security & Privacy" -> "Privacy 
settings" like "Full Disk Access" and "Files and Folders"; if problems persist, 
try doing some dynamic loader debugging using the DYLD_* environment variables 
documented in the macOS dyld man page (man dyld). Otherwise, as your issue 
stands now, it seems unlikely that anyone here would be willing to invest the 
significant time to try to reproduce and debug what seems to be an unusual 
macOS configuration with out-of-date OS and Python versions.

Perhaps a simpler option is to just avoid use of NFS file systems on macOS for 
this purpose.

Sorry I don't have a more positive answer for you.

--

___
Python tracker 
<https://bugs.python.org/issue46540>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46180] Button clicked failed when mouse hover tooltip and tooltip destroyed

2022-02-01 Thread Ned Deily


Ned Deily  added the comment:

Can you say which platforms are affected by this? The OP's example appears to 
be from a Windows system. Are Unix (X11) and/or macOS versions of Tk affected, 
too?

--
nosy: +ned.deily

___
Python tracker 
<https://bugs.python.org/issue46180>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45925] Upgrade macOS and Windows installers to use SQLite 3.37.2

2022-02-01 Thread Ned Deily


Ned Deily  added the comment:


New changeset 0e4bef7a7f6f25a6f39755778c73e7026901611f by Kumar Aditya in 
branch 'main':
bpo-45925: Update macOS installer to SQLite 3.37.2 (GH-30921)
https://github.com/python/cpython/commit/0e4bef7a7f6f25a6f39755778c73e7026901611f


--

___
Python tracker 
<https://bugs.python.org/issue45925>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45925] Upgrade macOS and Windows installers to use SQLite 3.37.2

2022-02-01 Thread Ned Deily


Change by Ned Deily :


--
pull_requests: +29239
pull_request: https://github.com/python/cpython/pull/31057

___
Python tracker 
<https://bugs.python.org/issue45925>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45925] Upgrade macOS and Windows installers to use SQLite 3.37.2

2022-02-01 Thread Ned Deily


Ned Deily  added the comment:


New changeset 519eb6ad74f946a9aa7676e2d6579a3a765a8b50 by Ned Deily in branch 
'3.10':
bpo-45925: Update macOS installer to SQLite 3.37.2 (GH-30921) (GH-31057)
https://github.com/python/cpython/commit/519eb6ad74f946a9aa7676e2d6579a3a765a8b50


--

___
Python tracker 
<https://bugs.python.org/issue45925>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46598] ElementTree: wrong XML prolog for the utf-8-sig encoding

2022-02-01 Thread Ned Deily


Change by Ned Deily :


--
nosy: +eli.bendersky, scoder
versions: +Python 3.11

___
Python tracker 
<https://bugs.python.org/issue46598>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46601] macOS installer "Install Certificates.command" fails if pip is not installed

2022-02-01 Thread Ned Deily


Ned Deily  added the comment:

Thanks for opening the issue. From the pythondotorg issue, the output from the 
failed command:

Last login: Sat May 8 17:08:01 on ttys005
/Applications/Python\ 3.9/Install\ Certificates.command ; exit;
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = (unset),
LC_CTYPE = "en_AU.UTF-8.UTF-8",
LANG = "en_AU.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
[cnd@mac ~]$ /Applications/Python\ 3.9/Install\ Certificates.command ; exit;
-- pip install --upgrade certifi
/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9: No module 
named pip
Traceback (most recent call last):
File "", line 44, in 
File "", line 24, in main
File 
"/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py",
 line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 
'['/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9', '-E', 
'-s', '-m', 'pip', 'install', '--upgrade', 'certifi']' returned non-zero exit 
status 1.
logout

[Process completed]

So the failure is due to pip not being installed. Install Certificates assumes 
pip will be available but that may not necessarily be the case, for instance, 
if a custom install of Python was selected and the "Install or upgrade pip" 
package is deselected. Install Certificates should protect itself, if nothing 
else, by providing a useful message.

(For the record, the "perl warnings" at the start of the terminal session are 
presumably coming from one of the shell startup scripts that are run 
automatically at the beginning of a terminal session. Install Certificates does 
not use perl.)

--
assignee:  -> ned.deily
stage:  -> needs patch
title: Instructions do not work -> macOS installer "Install 
Certificates.command" fails if pip is not installed
versions: +Python 3.10, Python 3.9

___
Python tracker 
<https://bugs.python.org/issue46601>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45925] Upgrade macOS and Windows installers to use SQLite 3.37.2

2022-02-01 Thread Ned Deily


Ned Deily  added the comment:


New changeset a22dd00f2da4f6ff96f58fd8d551f16bdb870c8d by Miss Islington (bot) 
in branch '3.9':
bpo-45925: Update macOS installer to SQLite 3.37.2 (GH-30921) (GH-31057) 
(GH-31059)
https://github.com/python/cpython/commit/a22dd00f2da4f6ff96f58fd8d551f16bdb870c8d


--

___
Python tracker 
<https://bugs.python.org/issue45925>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45925] Upgrade macOS and Windows installers to use SQLite 3.37.2

2022-02-01 Thread Ned Deily


Change by Ned Deily :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue45925>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46540] dylibs not loading properly from NFS mounts

2022-02-01 Thread Ned Deily


Ned Deily  added the comment:

> I currently do not have access to a more up-to-date Mac OS but once I do I
will test and report anything unusual back.

Good luck! Since there's a good chance that this issue will languish in our 
open backlog, I am going to mark it as closed for now. But please re-open this 
issue if you find anything that appears to be an issue with Python rather than 
just macOS. Two other suggestions for debugging:
1. You've probably already done this but double-check file and directory access 
permissions on the NFS-mounted file system up to root. We have seen other 
issues with relative paths on 10.15+ with the introduction of the read-only 
system volume and related file system layout complications.
2. You might try using install_name_tool to alter copies of those third-party 
.so(s) and dylib(s) that use @rpath and instead use an absolute path to their 
installed location(s). That would eliminate one variable.

--
resolution:  -> third party
stage:  -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue46540>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46573] Python modules such as pyglet or pygame crash Python when tkinter message boxes are opened on MacOS.

2022-02-01 Thread Ned Deily


Ned Deily  added the comment:

> If I interpret the information I posted earlier correctly this is a bug in 
> Tkinter [...]

Tkinter? Or Tk itself?

--

___
Python tracker 
<https://bugs.python.org/issue46573>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46602] Subtle trouble with heredoc append in configure.

2022-02-01 Thread Ned Deily


Ned Deily  added the comment:


New changeset b1288964e31069bdf81abe560c82874f6f620928 by adanhawth in branch 
'main':
bpo-46602: Do not append conftest.c (GH-31062)
https://github.com/python/cpython/commit/b1288964e31069bdf81abe560c82874f6f620928


--
nosy: +ned.deily

___
Python tracker 
<https://bugs.python.org/issue46602>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46602] Subtle trouble with heredoc append in configure.

2022-02-01 Thread Ned Deily


Ned Deily  added the comment:

Merged for release in 3.11.0a5. We *could* backport it to 3.10 and 3.9 but that 
involves regenerating configure again for each. It's probably not high enough 
priority to justify the churn for bugfix releases.

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.11

___
Python tracker 
<https://bugs.python.org/issue46602>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46573] Python modules such as pyglet or pygame crash Python when tkinter message boxes are opened on MacOS.

2022-02-02 Thread Ned Deily


Ned Deily  added the comment:

Thanks for looking into this, Ronald. Before we close this as a Python issue, 
perhaps Marc might have a suggestion on what should be done here from a Tk 
perspective.

--
nosy: +culler
status: pending -> open

___
Python tracker 
<https://bugs.python.org/issue46573>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46573] Python modules such as pyglet or pygame crash Python when tkinter message boxes are opened on MacOS.

2022-02-03 Thread Ned Deily


Ned Deily  added the comment:

Thanks, Marc and Ronald, for the analysis.

And thanks for bringing up the issue, Remy. Perhaps you can verify that 
Ronald's suggestion of importing and launching Tk before calling pyglet or 
pygame works for you and, if so, follow up with those projects to, if nothing 
else, document that requirement for their users on macOS (I would guess it 
wouldn't hurt on other platforms as well but I've guessed wrong before). In any 
case, I'm closing this issue now.

--
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue46573>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45948] Unexpected instantiation behavior for xml.etree.ElementTree.XMLParser(target=None)

2022-02-07 Thread Ned Deily


Change by Ned Deily :


--
nosy: +eli.bendersky, scoder

___
Python tracker 
<https://bugs.python.org/issue45948>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34191] argparse: Missing subparser error message should be more clear

2022-02-07 Thread Ned Deily


Change by Ned Deily :


--
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> argparse fails with required subparsers, un-named dest, and 
empty argv

___
Python tracker 
<https://bugs.python.org/issue34191>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46662] Lib/sqlite3/dbapi2.py: convert_timestamp function failed to correctly parse timestamp

2022-02-07 Thread Ned Deily


Change by Ned Deily :


--
nosy: +erlendaasland

___
Python tracker 
<https://bugs.python.org/issue46662>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46687] Update pyexpat for CVE-2021-45960

2022-02-08 Thread Ned Deily


Ned Deily  added the comment:

Duplicate of Issue46400 ?

--
nosy: +ned.deily

___
Python tracker 
<https://bugs.python.org/issue46687>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46691] sysconfig.get_platform() raises ValueError on macOS if '-arch' is present in CFLAGS but doesn't refer to the '-arch' compiler flag

2022-02-09 Thread Ned Deily


Ned Deily  added the comment:

Thanks for the report; I don't recall this coming up before. Of course, the 
easy workaround is to avoid using "arch" in CFLAGS paths and the like, but we 
should fix this.

--
components: +macOS
nosy: +ned.deily, ronaldoussoren
type: crash -> compile error
versions: +Python 3.11, Python 3.9

___
Python tracker 
<https://bugs.python.org/issue46691>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46691] sysconfig.get_platform() raises ValueError on macOS if '-arch' is present in CFLAGS but doesn't refer to the '-arch' compiler flag

2022-02-09 Thread Ned Deily


Ned Deily  added the comment:

Thanks for the report; I don't recall this coming up before. Of course, the 
easy workaround is to avoid using "-arch" in CFLAGS paths and the like, but we 
should fix this.

--

___
Python tracker 
<https://bugs.python.org/issue46691>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46691] sysconfig.get_platform() raises ValueError on macOS if '-arch' is present in CFLAGS but doesn't refer to the '-arch' compiler flag

2022-02-09 Thread Ned Deily


Change by Ned Deily :


--
Removed message: https://bugs.python.org/msg412958

___
Python tracker 
<https://bugs.python.org/issue46691>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46749] Support cross compilation on macOS

2022-02-14 Thread Ned Deily


Ned Deily  added the comment:

We don't currently support cross-building a single macOS architecture on 
another, i.e. building an x86_64 only build on an Apple Silicon Mac. However, 
we do support building a multi-architecture build on either on current releases 
of Python 3.9 and 3.10, with what is known as a universal or fat build. In this 
case, you'd want to add these two options:

./configure --enable-universalsdk --with-universal-archs=universal2 ...

For this to succeed, you will also need to provide universal builds of any of 
the third-party libraries used by standard modules you need and that are not 
otherwise provided by macOS, the most common being OpenSSL and XZ (and perhaps 
newer versions of SQLite and Tcl/Tk). For the most part, those are 
straightforward to build yourself but also may be available through some 
third-party distributors like MacPorts and possibly HomeBrew. The 
Mac/README.rst file in repo has some more details about universal builds and 
there may be some useful hints at building the third-party libraries in 
Mac/BuildScript/build-installer.py although it is not intended to be used for 
this purpose. The resulting universal2 build can be used as is on either 
Intel-64 or Apple Silicon Macs but, if you truly need to have only Intel 
binaries you should be able to use the macOS lipo command to separate out the 
desired architecture from the built executables and shared libraries into other 
files. If you want to run t
 hese binaries on a range of macOS versions, you can also set the 
MACOSX_DEPLOYMENT_TARGET environment variable when building the libs and 
Python; we currently test and support back to 10.9.

--
nosy: +ned.deily

___
Python tracker 
<https://bugs.python.org/issue46749>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46749] Support cross compilation on macOS

2022-02-14 Thread Ned Deily


Change by Ned Deily :


--
components: +macOS -Cross-Build
nosy: +ronaldoussoren

___
Python tracker 
<https://bugs.python.org/issue46749>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46755] QueueHandler logs stack_info twice

2022-02-16 Thread Ned Deily


Change by Ned Deily :


--
nosy: +vinay.sajip

___
Python tracker 
<https://bugs.python.org/issue46755>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46784] Duplicated symbols when linking embedded Python with libexpat

2022-02-17 Thread Ned Deily


Change by Ned Deily :


--
nosy: +corona10

___
Python tracker 
<https://bugs.python.org/issue46784>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46400] Please update bundled libexpat to 2.4.4 with security fixes (CVE-2021-45960)

2022-02-18 Thread Ned Deily


Ned Deily  added the comment:

expat 2.4.5 was released today (Issue46794).

--
nosy: +ned.deily

___
Python tracker 
<https://bugs.python.org/issue46400>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45641] Error In opening a file through tkinter on macOS Monterey

2022-02-21 Thread Ned Deily


Change by Ned Deily :


--
pull_requests:  -29603

___
Python tracker 
<https://bugs.python.org/issue45641>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45618] Documentation builds fail with Sphinx 3.2.1

2022-02-21 Thread Ned Deily


Change by Ned Deily :


--
pull_requests: +29606
pull_request: https://github.com/python/cpython/pull/31476

___
Python tracker 
<https://bugs.python.org/issue45618>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45618] Documentation builds fail with Sphinx 3.2.1

2022-02-21 Thread Ned Deily


Ned Deily  added the comment:


New changeset 7a5850987010ca5cb0f1e2844cfe183935916e7e by Ned Deily in branch 
'3.7':
bpo-45618: Fix documentation build by pinning Docutils version to 0.17.1 
(GH-31476)
https://github.com/python/cpython/commit/7a5850987010ca5cb0f1e2844cfe183935916e7e


--

___
Python tracker 
<https://bugs.python.org/issue45618>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46784] Duplicated symbols when linking embedded Python with libexpat

2022-02-21 Thread Ned Deily


Ned Deily  added the comment:


New changeset 61f3c308e435c5294e674ef59fed1d51f47e0089 by Miss Islington (bot) 
in branch '3.7':
bpo-46784: Add newly exported expat symbols to the namespace. (GH-31397) 
(GH-31418)
https://github.com/python/cpython/commit/61f3c308e435c5294e674ef59fed1d51f47e0089


--
nosy: +ned.deily

___
Python tracker 
<https://bugs.python.org/issue46784>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46400] Please update bundled libexpat to 2.4.4 with security fixes (CVE-2021-45960)

2022-02-21 Thread Ned Deily


Change by Ned Deily :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue46400>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46400] Please update bundled libexpat to 2.4.4 with security fixes (CVE-2021-45960)

2022-02-21 Thread Ned Deily


Ned Deily  added the comment:


New changeset 5fdacac8cecb123ae12669ceb3504b2f41075c20 by Dong-hee Na in branch 
'3.7':
bpo-46400: Update libexpat from 2.4.1 to 2.4.4 (GH-31022) (GH-31298)
https://github.com/python/cpython/commit/5fdacac8cecb123ae12669ceb3504b2f41075c20


--

___
Python tracker 
<https://bugs.python.org/issue46400>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46811] Test suite needs adjustments for Expat >=2.4.5

2022-02-21 Thread Ned Deily


Ned Deily  added the comment:


New changeset d4f5bb912e67299b59b814b89a5afd9a8821a14e by Miss Islington (bot) 
in branch '3.7':
bpo-46811: Make test suite support Expat >=2.4.5 (GH-31453) (GH-31471)
https://github.com/python/cpython/commit/d4f5bb912e67299b59b814b89a5afd9a8821a14e


--
nosy: +ned.deily

___
Python tracker 
<https://bugs.python.org/issue46811>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41028] Move docs.python.org language and version switcher out of cpython

2022-02-21 Thread Ned Deily


Change by Ned Deily :


--
stage: commit review -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue41028>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46786] embed, source, track, wbr HTML elements not considered empty

2022-02-21 Thread Ned Deily


Change by Ned Deily :


--
nosy: +eli.bendersky, scoder

___
Python tracker 
<https://bugs.python.org/issue46786>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46798] xml.etree.ElementTree: get() doesn't return default value, always ATTLIST value

2022-02-21 Thread Ned Deily


Change by Ned Deily :


--
nosy: +eli.bendersky, scoder

___
Python tracker 
<https://bugs.python.org/issue46798>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46232] Client certificates with UniqueIdentifier in the subject break ssl.peer_certificate()

2022-02-21 Thread Ned Deily


Change by Ned Deily :


--
Removed message: https://bugs.python.org/msg413642

___
Python tracker 
<https://bugs.python.org/issue46232>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46794] Please update bundled libexpat to 2.4.6 with security fixes (5 CVEs)

2022-02-23 Thread Ned Deily


Ned Deily  added the comment:


New changeset 15d7594d9974cfef10e65cbb01161168c42abe9d by Miss Islington (bot) 
in branch '3.7':
bpo-46794: Bump up the libexpat version into 2.4.6 (GH-31487) (GH-31521)
https://github.com/python/cpython/commit/15d7594d9974cfef10e65cbb01161168c42abe9d


--
nosy: +ned.deily

___
Python tracker 
<https://bugs.python.org/issue46794>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46756] Incorrect authorization check in urllib.request

2022-02-25 Thread Ned Deily


Ned Deily  added the comment:


New changeset 31fef7edf951fb759004c58ae64df18bc32ea376 by Miss Islington (bot) 
in branch '3.7':
bpo-46756: Fix authorization check in urllib.request (GH-31353) (GH-31573)
https://github.com/python/cpython/commit/31fef7edf951fb759004c58ae64df18bc32ea376


--

___
Python tracker 
<https://bugs.python.org/issue46756>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46854] Failed to compile static python3.7.12

2022-02-25 Thread Ned Deily


Ned Deily  added the comment:

Successfully building a statically-linked version of Python depends greatly on 
the environment in which you are trying to build it and is really beyond the 
scope of this bug tracker. You don't say on which OS platform and version you 
are attempting this so it is hard to give any meaningful suggestions other than 
to make sure you have installed development versions (those including header 
files) of the various third-party libraries Python builds depend on (like 
libssl and libcrypto from OpenSSL), if your platform has a package manager, or 
build the required third-party libraries yourself. In any case, you will 
probably need to further edit the Setup file to reflect the location of the 
various third-party headers and libraries. As a rule, we don't do a lot of 
testing of static builds using Setup directly but some of the downstream 
distributors of Python do. Also note that Python 3.7 is now in the 
security-fix-only phase of its lifecycle prior to end-of-life in 2023, so 
further changes 
 to the build process in 3.7 at this point would be out-of-scope. For what it's 
worth, there has been a significant amount of work in this area that is going 
into the next Python feature release, 3.11.0, planned for later this year so it 
should be significantly easier to do static builds and the like in 3.11. If you 
still run into problems with 3.7, suggest you ask in help forums like 
StackOverflow.  Good luck!

--
resolution:  -> out of date
stage:  -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue46854>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46854] Failed to compile static python3.7.12

2022-02-25 Thread Ned Deily


Ned Deily  added the comment:

Sorry, I'll repeat: "Successfully building a statically-linked version of 
Python depends greatly on the environment in which you are trying to build it 
and is really beyond the scope of this bug tracker." Note, a quick web search 
found this page which should give you some suggestions on what dev packages 
need to be installed in an Ubuntu 18.04 environment. But also note that the 
directions there are for a normal, non-static Python build using setup.py and 
not Modules/Setup which, again, we don't normally test for 3.7. Good luck!

https://linuxize.com/post/how-to-install-python-3-7-on-ubuntu-18-04/

--
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue46854>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46854] Failed to compile static python3.7.12

2022-02-25 Thread Ned Deily


Ned Deily  added the comment:

P.S. One other suggestion: try building a non-static version of Python 3.7 
first, i.e. without modifying Modules/Setup, and, once you get that working, it 
should be easier to examine the output from the build and copy those paths that 
setup.py found into your Modules/Setup.

--

___
Python tracker 
<https://bugs.python.org/issue46854>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46854] Failed to compile static python3.7.12

2022-02-25 Thread Ned Deily

Ned Deily  added the comment:

“I would like to know what environment is the official recommendation for 
static python3.7 compilation.”

There is no official recommendation. As I’ve mentioned, we normally do not 
build with modified Modules/Setup configurations when developing and releasing 
Python. It’s complicated. That’s why setup.py and using Distutils to build the 
standard library modules was introduced years ago. Most users don’t need a 
statically linked Python. Please accept that you need to look elsewhere for 
assistance.

--
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue46854>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46868] Improve performance of math.prod with bignums (and functools.reduce?)

2022-02-26 Thread Ned Deily


Change by Ned Deily :


--
nosy: +mark.dickinson, rhettinger, tim.peters

___
Python tracker 
<https://bugs.python.org/issue46868>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



  1   2   3   4   5   6   7   8   9   10   >