[issue41471] After installing python 3.x on Mac pip doesn't work at all

2020-10-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've tested the same settings with Safari, and that browser ignores excludes with an invalid prefix length. I've created a PR that does the same for urllib.request. -- ___ Python track

[issue41680] Turtles in Python 3.8.5 crashes OSX 10.14.6

2020-10-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: Also: What's meant by "crash OSX 10.14.6"? Could this be a duplicate of #37833? -- ___ Python tracker <https://bugs.pyt

[issue27126] Apple-supplied libsqlite3 on OS X is not fork safe; can cause crashes

2020-10-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: The installers on Python.org no longer use the system version of libsqlite, sidestepping that issue. That doesn't fix the issue with _scproxy, but that's something we cannot easily fix in Python itself. -- resolution: -> w

[issue41754] Webbrowser Module Cannot Find xdg-settings on OSX

2020-10-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: It is far from clear what's going on here. In particular, it not clear to my why check_output(['xdg-settings', ...]) would ever raise NotADirectoryError. - What packages do you have installed through homebrew? - Is there an xdg-settings co

[issue41491] plistlib can't load macOS BigSur system LaunchAgent

2020-10-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: This file is still present on the latest version of macOS 11 beta on ARM64, with this integer value. Furthermore plutil will happily read this file. I'm in favour of changing plistlib to parse files like

[issue41491] plistlib can't load macOS BigSur system LaunchAgent

2020-10-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: Given this plist: http://www.apple.com/DTDs/PropertyList-1.0.dtd";> hex 0x010c oct 0123 ``plutil -convert json`` prints: {"hex":[16777228],&qu

[issue41491] plistlib can't load macOS BigSur system LaunchAgent

2020-10-19 Thread Ronald Oussoren
Change by Ronald Oussoren : -- keywords: +patch pull_requests: +21727 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22764 ___ Python tracker <https://bugs.python.org/issu

[issue31818] [macOS] _scproxy.get_proxies() crash -- get_proxies() is not fork-safe?

2020-10-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: I'm in favour of closing this issue. If anything needs to be done its adding a warning to the documentation of os.fork() to the effect that doing substantial work in the child can be problematic on macOS. Maybe something like: .. warning:: On macO

[issue20585] urllib2 unrelease KQUEUE on Mac OSX 10.9+

2020-10-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: I cannot reproduce this issue on macOS 10.15 (with python 3.9). I intent to close this issue because (a) this is a platform problem and (b) seems no longer to be a problem with the latest macOS and Python versions. -- resolution: -> out of d

[issue26376] Tkinter root window won't close if packed.

2020-10-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: I cannot reproduce this issue with Python 3.9 (Python.org installer). Both with "Run Module" and in the interactive shell (both in IDLE) the window will close properly. In both cases the window it too small to show the minimise and maximise b

[issue41017] warning: 'Tk_Init' is deprecated: first deprecated

2020-10-19 Thread Ronald Oussoren
New submission from Ronald Oussoren : The log shows a number of deprecation warnings in the Tcl/Tk headers included in the macOS SDK. That's just because Apple doesn't want you to use the system version of Tcl/Tk anymore. The APIs themselves are fine if you use a non-system version

[issue42051] plistlib inherits XML vulnerabilities: we should document them

2020-10-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: New changeset 05ee790f4d1cd8725a90b54268fc1dfe5b4d1fa2 by Ronald Oussoren in branch 'master': bpo-42051: Reject XML entity declarations in plist files (#22760) https://github.com/python/cpython/commit/05ee790f4d1cd8725a90b54268fc1d

[issue41471] After installing python 3.x on Mac pip doesn't work at all

2020-10-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: New changeset 93a1ccabdede416425473329b8c718d507c55e29 by Ronald Oussoren in branch 'master': bpo-41471: Ignore invalid prefix lengths in system proxy settings on macOS (GH-22762) https://github.com/python/cpyt

[issue31818] [macOS] _scproxy.get_proxies() crash -- get_proxies() is not fork-safe?

2020-10-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: I'm in favour of keeping integration with system proxy settings, that's more user friendly. Note that _scproxy is an example of triggering this using the standard library, the same may happen when using 3th-party libraries on PyPI if those happ

[issue41019] The necessary bits to build these optional modules were not found:

2020-10-19 Thread Ronald Oussoren
Change by Ronald Oussoren : -- resolution: -> not a bug stage: -> resolved status: open -> closed type: -> compile error ___ Python tracker <https://bugs.python

[issue41016] warning: 'Tk_GetNumMainWindows' is deprecated

2020-10-19 Thread Ronald Oussoren
New submission from Ronald Oussoren : This is not a bug in Python, but a warning from Apple that they don't want you to use the system provided Tcl/Tk libraries. The Python.org installers are already build using a custom build of Tcl/Tk, mostly because the system provided build is an

[issue41349] Tk window not going full screen on 90° rotated screen on mac

2020-10-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: The python.org installers don't include wish, which means I cannot attempt to reproduce the issue without using tkinter. I agree that this likely is an issue with Tk itself. Maybe keep the issue open for a bit longer to check if the upcoming Tk 8

[issue24130] Remove -fno-common compile option from OS X framework builds?

2020-10-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've checked and '-fcommon' is default (at least with Xcode 12 beta on x86_64), and likely not what you'd want: With "-fcommon" the definition a non-static variable in two different files will get merged: first.m: int

[issue37677] Seg Fault on OSX when multiprocessing

2020-10-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: I'm closing this issue because this crash is caused by a platform issue, and Python 3.8 has a workaround by using a different spawn method in multiprocessing. -- resolution: -> out of date stage: -> resolved status: ope

[issue24725] test_socket testFDPassEmpty fails on OS X 10.11+ with "Cannot allocate memory"

2020-10-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: The issue is still present with python 3.9 and macOS 10.15 as well as current macOS 11 betas. The following python scriptlet reproduces the issue: # --- import socket sd1, sd2 = socket.socketpair() sd1.sendmsg([b"hello"], [(socket.

[issue41471] After installing python 3.x on Mac pip doesn't work at all

2020-10-20 Thread Ronald Oussoren
Ronald Oussoren added the comment: New changeset aa7b03b31bf09b21a012b24e21977538e66b0172 by Miss Skeleton (bot) in branch '3.9': bpo-41471: Ignore invalid prefix lengths in system proxy settings on macOS (GH-22762) (GH-22773) https://github.com/python/cpyt

[issue41471] After installing python 3.x on Mac pip doesn't work at all

2020-10-20 Thread Ronald Oussoren
Ronald Oussoren added the comment: New changeset e7c5a43984f82ef9634cb0b2b8c4750b2fd431a0 by Miss Skeleton (bot) in branch '3.8': bpo-41471: Ignore invalid prefix lengths in system proxy settings on macOS (GH-22762) (GH-22774) https://github.com/python/cpyt

[issue41471] After installing python 3.x on Mac pip doesn't work at all

2020-10-20 Thread Ronald Oussoren
Change by Ronald Oussoren : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue42095] plistlib: Add tests that compare with plutil(1)

2020-10-20 Thread Ronald Oussoren
New submission from Ronald Oussoren : plistlib is a library that reads and writes files that should be compatible with Apple tooling/libraries. Add some tests that verify interop (when ran on macOS): - Generate plist files with plistlib and parse with plutil - Generate plist files with plutil

[issue42095] plistlib: Add tests that compare with plutil(1)

2020-10-20 Thread Ronald Oussoren
Change by Ronald Oussoren : -- keywords: +patch pull_requests: +21763 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/22764 ___ Python tracker <https://bugs.python.org/issu

[issue41491] plistlib can't load macOS BigSur system LaunchAgent

2020-10-20 Thread Ronald Oussoren
Ronald Oussoren added the comment: New changeset 3185267400be853404f22a1e06bb9fe1210735c7 by Ronald Oussoren in branch 'master': bpo-41491: plistlib: accept hexadecimal integer values in xml plist files (GH-22764) https://github.com/python/cpyt

[issue41491] plistlib can't load macOS BigSur system LaunchAgent

2020-10-20 Thread Ronald Oussoren
Ronald Oussoren added the comment: New changeset 3fc7080220b8dd2e1b067b3224879133d895ea80 by Miss Skeleton (bot) in branch '3.9': bpo-41491: plistlib: accept hexadecimal integer values in xml plist files (GH-22764) (GH-22806) https://github.com/python/cpyt

[issue41491] plistlib can't load macOS BigSur system LaunchAgent

2020-10-20 Thread Ronald Oussoren
Ronald Oussoren added the comment: New changeset d1eb75585ef4c108732ec815cdc0adef087b1c3e by Miss Skeleton (bot) in branch '3.8': bpo-41491: plistlib: accept hexadecimal integer values in xml plist files (GH-22764) (GH-22807) https://github.com/python/cpyt

[issue41491] plistlib can't load macOS BigSur system LaunchAgent

2020-10-20 Thread Ronald Oussoren
Change by Ronald Oussoren : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> behavior ___ Python tracker <https://bugs.python

[issue42095] plistlib: Add tests that compare with plutil(1)

2020-10-20 Thread Ronald Oussoren
Ronald Oussoren added the comment: Also: - Tests that verify plutil behaviour (such #41491, #42051, #40381) -- ___ Python tracker <https://bugs.python.org/issue42

[issue31818] [macOS] _scproxy.get_proxies() crash -- get_proxies() is not fork-safe?

2020-10-20 Thread Ronald Oussoren
Ronald Oussoren added the comment: > My understanding is that this is specifically a problem with the Objective-C > runtime that _scproxy.c accesses. The runtime is not thread safe and > whereas in earlier versions of macOS, it silently failed, now macOS is > explicitly

[issue41491] plistlib can't load macOS BigSur system LaunchAgent

2020-10-20 Thread Ronald Oussoren
Ronald Oussoren added the comment: It doesn't, both 0b101 and 0o101 get rejected as syntax errors. -- ___ Python tracker <https://bugs.python.org/is

[issue41100] Build failure on macOS 11 (beta)

2020-10-21 Thread Ronald Oussoren
Change by Ronald Oussoren : -- pull_requests: +21799 pull_request: https://github.com/python/cpython/pull/22855 ___ Python tracker <https://bugs.python.org/issue41

[issue41100] Build failure on macOS 11 (beta)

2020-10-21 Thread Ronald Oussoren
Ronald Oussoren added the comment: https://github.com/python/cpython/pull/22855 is currently the most complete PR, and should be almost ready for merging (although there hasn't been any code review at this point). -- ___ Python tracker &

[issue42107] Monotonic time on macOS 10.12+ should use mach_continuous_time()

2020-10-21 Thread Ronald Oussoren
Ronald Oussoren added the comment: See also #41303, which discusses using mach_continuous_time in another context. If using a different clock is necessary I'd prefer to use clock_gettime(CLOCK_MONOTONIC_RAW) instead of mach_continuous_time(), as the former is a more cross-platform API.

[issue42103] [security] DoS (MemError via CPU and RAM exhaustion) when processing malformed Apple Property List files in binary format

2020-10-21 Thread Ronald Oussoren
Ronald Oussoren added the comment: Thanks for the report. I can reproduce the issue. -- ___ Python tracker <https://bugs.python.org/issue42103> ___ ___ Pytho

[issue42103] [security] DoS (MemError via CPU and RAM exhaustion) when processing malformed Apple Property List files in binary format

2020-10-21 Thread Ronald Oussoren
Ronald Oussoren added the comment: One Apple implementation of binary plist parsing is here: https://opensource.apple.com/source/CF/CF-550/CFBinaryPList.c. That seems to work from a buffer (or mmap) of the entire file, making consistency checks somewhat easier, and I don't think they h

[issue42103] [security] DoS (MemError via CPU and RAM exhaustion) when processing malformed Apple Property List files in binary format

2020-10-22 Thread Ronald Oussoren
Ronald Oussoren added the comment: Serhiy, thanks. Just the change in the format string would fix this particular example. I see you're working on a PR with better validation. The current state of the draft looks good to me, but I haven't checked yet if there are other potential

[issue38443] unavailable --with-universal-archs= macOS confgure options fail cryptically

2020-10-22 Thread Ronald Oussoren
Ronald Oussoren added the comment: A fairly simple change is to check if compiling a file with the specified set of "-arch" flags works, and bail out with a nice error message if it doesn't. Something like this works: diff --git a/configure.ac b/configure.ac index f0bc8c6

[issue8084] pep-0370 on osx duplicates existing functionality

2020-10-23 Thread Ronald Oussoren
Change by Ronald Oussoren : -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue8084> ___ ___

[issue38443] unavailable --with-universal-archs= macOS confgure options fail cryptically

2020-10-23 Thread Ronald Oussoren
Change by Ronald Oussoren : -- keywords: +patch pull_requests: +21841 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/22910 ___ Python tracker <https://bugs.python.org/issu

[issue38443] unavailable --with-universal-archs= macOS confgure options fail cryptically

2020-10-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've added a PR with a variation of my earlier patch. This version will bail out when specifying "--enable-universalsdk" with a version of Xcode that does not support i386 (the previou

[issue42122] macOS complains about how fonts are accessed

2020-10-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: Raymond, - What version of macOS are you on? - How did you install python 3.10? Did you use the python.org installer? - What version of Tk is used? (This can be found in the output of `python3.9 -m test.pythoninfo

[issue9405] Test fix for past crash when calling urllib.getproxies() under OSX with subprocess / particular memory usage

2020-10-23 Thread Ronald Oussoren
Change by Ronald Oussoren : -- resolution: -> out of date stage: test needed -> resolved status: open -> closed ___ Python tracker <https://bugs.python.o

[issue19733] Setting image parameter of a button crashes with Cocoa Tk

2020-10-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: It looks like the test can be reenabled. System: macOS 10.15, with Python 3.9 from Python.org ``python3.9 -m tkinter.test.test_tkinter.test_widgets`` runs without problems (571 tests, no crash), even if I remove the skip for test_image. Likewise for

[issue23534] `test_longdouble` fails on Mac when using system libffi (version 3.1)

2020-10-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: Closing as out of date: - python 2 issue - I don't get this error when using the system libffi (bpo-41100) -- resolution: -> out of date stage: -> resolved ___ Python tracker <https://b

[issue28491] Remove bundled libffi for OSX

2020-10-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: added 41100 as a dependency because that switches to the system libffi (as a side effect of larger changes) -- dependencies: +Build failure on macOS 11 (beta) ___ Python tracker <https://bugs.python.

[issue33090] race condition between send and recv in _ssl with non-zero timeout

2020-10-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: The script still fails on macOS 10.15 with python 3.9 (installed from python.org). Interestingly enough: - First run of the script worked without any problems - Subsequent runs failed with various errors: $ python3.9 t.py Got connection from ('127.

[issue31359] `configure` script incorrectly detects symbols as available on Mac w/ Xcode 8+

2020-10-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: Added 41100 as a dependency because the active PR for that issue will fix this issue as well. -- dependencies: +Build failure on macOS 11 (beta) ___ Python tracker <https://bugs.python.org/issue31

[issue37586] macOS: posix_spawn(..., setsid=True)

2020-10-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: I'm including a fix for this in the active PR on bpo-41100 -- dependencies: +Build failure on macOS 11 (beta) ___ Python tracker <https://bugs.python.org/is

[issue42122] macOS complains about how fonts are accessed

2020-10-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: I know, but what I don't know is if Raymond uses the python.org installer. The initial message seems to indicate he's using a local build ("python.exe"). That will by default pick up the system version of Tk, which is ancient and is kn

[issue40060] socket.TCP_NOTSENT_LOWAT is missing in official macOS builds

2020-10-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: The active PR on bpo-41100 will make it possible to build the installer on the latest version of macOS (which will be needed to be able to provide support for "Apple Silicon"). IMHO it is not necessary to remove unavailable constants, on some pla

[issue42122] macOS complains about how fonts are accessed

2020-10-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: Could you check "/tmp/py310/bin/python3 -m test.pythoninfo | grep -i tk". If that says your using Tk 8.5 you're almost certainly using the system version. You could also check _tkinter itself: otool -vL /tmp/py310/lib/python3

[issue23797] Mac OS X locale setup in thread happens sometime after run() is called

2020-10-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've been using the scriptlet below to try to attempt to reproduce the problem. I'm not sure if this matches the way the program of the OP is set up. The scriptlet below works for me without problems (macOS 10.15, Python 3.4 - 3.9). This either

[issue23797] Mac OS X locale setup in thread happens sometime after run() is called

2020-10-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: I'm closing this issue as "works for me". Please re-open if there is more information on how to reproduce the problem. -- resolution: -> works for me stage: -> resolved status: open -> c

[issue41101] Support "arm64" in Mac/Tools/pythonw

2020-10-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: This change is part of the active PR in #41100. Therefore closing this issue. -- resolution: -> out of date stage: patch review -> resolved status: open -> closed superseder: -> Build failure on macOS 11 (beta) type: -&

[issue41100] Build failure on macOS 11 (beta)

2020-10-23 Thread Ronald Oussoren
Change by Ronald Oussoren : -- pull_requests: +21849 pull_request: https://github.com/python/cpython/pull/21114 ___ Python tracker <https://bugs.python.org/issue41

[issue35823] Use vfork() in subprocess on Linux

2020-10-24 Thread Ronald Oussoren
Ronald Oussoren added the comment: > From what I can tell, vfork probably also works on macOS (darwin). > > Lets let this run for a bit on Linux and it can be a separate issue to > open vfork usage up to other platforms. I'd prefer to not use vfork on macOS. For one I d

[issue42120] Depreciated MACRO of copysign for MSVC

2020-10-25 Thread Ronald Oussoren
Ronald Oussoren added the comment: The standard is for copysign to work on doubles, with copysignf as the same functionality for floats. https://en.cppreference.com/w/c/numeric/math/copysign -- nosy: +ronaldoussoren ___ Python tracker <ht

[issue38233] datetime.datetime.fromtimestamp have different behaviour on windows and mac

2020-10-25 Thread Ronald Oussoren
Ronald Oussoren added the comment: Can this issue be closed? Fixing #36439 would also fix this issue. -- ___ Python tracker <https://bugs.python.org/issue38

[issue34597] Python needs to check existence of functions at runtime for targeting older macOS platforms

2020-10-25 Thread Ronald Oussoren
Ronald Oussoren added the comment: The active PR in bpo-41100 will fix this issue as well. -- dependencies: +Build failure on macOS 11 (beta) ___ Python tracker <https://bugs.python.org/issue34

[issue7175] Define a standard location and API for configuration files

2020-10-25 Thread Ronald Oussoren
Change by Ronald Oussoren : -- nosy: -ronaldoussoren ___ Python tracker <https://bugs.python.org/issue7175> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41100] Build failure on macOS 11 (beta)

2020-10-25 Thread Ronald Oussoren
Change by Ronald Oussoren : -- pull_requests: +21899 pull_request: https://github.com/python/cpython/pull/21115 ___ Python tracker <https://bugs.python.org/issue41

[issue42165] closed (reopen with other issue)

2020-10-27 Thread Ronald Oussoren
Change by Ronald Oussoren : -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue42165> ___ ___ Python-bugs-list

[issue26377] Tkinter dialogs will not close if root window not packed.

2020-10-31 Thread Ronald Oussoren
Ronald Oussoren added the comment: Is this problem still present? I've used the following script to test: import tkinter from tkinter import messagebox root = tkinter.Tk() box = messagebox.showinfo("Title", "A Message") # -- EOF --- With this script I can clos

[issue29566] binhex() creates files with mixed line endings

2020-10-31 Thread Ronald Oussoren
Change by Ronald Oussoren : -- keywords: +patch pull_requests: +21978 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23059 ___ Python tracker <https://bugs.python.org/issu

[issue29566] binhex() creates files with mixed line endings

2020-10-31 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've added a PR that changes the line ending to "\r" in encoded data. Not very useful now that binhex is deprecated, but this allows us to close this issue. -- versions: +Python 3.10, Python 3.8, Python 3.9 -Python 3.5, Python 3

[issue32937] Multiprocessing worker functions not terminating with a large number of processes and a manager

2020-10-31 Thread Ronald Oussoren
Ronald Oussoren added the comment: This issue can probably be closed as out of date: Using: Python3.9, installer from python.org. On my laptop os.cpu_count() == 8. "python -c 'import repro; repro.main()' works for me (it runs a while and exists when all workers have exi

[issue41552] uuid.uuid1() on certain Macs does not generate unique IDs

2020-10-31 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've verified that python 3.8 and 3.9 use the system uuid functions (part of libsystem). This means this issue might not be fixable without dropping the use of the _uuid extension. @terrygreeniaus: Can you still reproduce this issue? If so, does &q

[issue41552] uuid.uuid1() on certain Macs does not generate unique IDs

2020-10-31 Thread Ronald Oussoren
Ronald Oussoren added the comment: An option is to use the host UUID instead of libuuid (as used by the _uuid extension). This has two problems though: (1) the RFC prescribes that the node id is a IEEE 802 MAC address, and (2) the host UUID is a full UUID and would have to be post processed

[issue29566] binhex() creates files with mixed line endings

2020-11-01 Thread Ronald Oussoren
Change by Ronald Oussoren : -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue24380] Got warning when compiling _scproxy.c on Mac

2020-11-01 Thread Ronald Oussoren
Ronald Oussoren added the comment: I'm closing this as out of date because the code the compiler warns about is no longer present in the master branch. -- resolution: -> out of date stage: -> resolved status: open -> closed type: -&

[issue30053] Problems building with --enable-profiling on macOS

2020-11-01 Thread Ronald Oussoren
Ronald Oussoren added the comment: The system compiler on macOS 10.9 or later doesn't support "-pg" (profile generation) at all: $ clang -o t -pg t.c clang: error: the clang compiler does not support -pg option on versions of OS X 10.9 and later This means that its unlikely

[issue41754] Webbrowser Module Cannot Find xdg-settings on OSX

2020-11-01 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've created a PR that ignores this exception. -- ___ Python tracker <https://bugs.python.org/issue41754> ___ ___ Pytho

[issue41754] Webbrowser Module Cannot Find xdg-settings on OSX

2020-11-01 Thread Ronald Oussoren
Change by Ronald Oussoren : -- keywords: +patch pull_requests: +21995 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/23075 ___ Python tracker <https://bugs.python.org/issu

[issue42225] Tkinter hangs or crashes when displaying astral chars

2020-11-01 Thread Ronald Oussoren
Ronald Oussoren added the comment: The error on Linux could be related to this issue: https://bugzilla.redhat.com/show_bug.cgi?id=1498269 -- ___ Python tracker <https://bugs.python.org/issue42

[issue42235] [macOS] Use --enable-optimizations in build-installer.py

2020-11-01 Thread Ronald Oussoren
New submission from Ronald Oussoren : With recent enough compilers it is possible to use --enable-optimzations when building the installer. -- messages: 380152 nosy: ronaldoussoren priority: normal severity: normal status: open title: [macOS] Use --enable-optimizations in build

[issue42235] [macOS] Use --enable-optimizations in build-installer.py

2020-11-01 Thread Ronald Oussoren
Ronald Oussoren added the comment: I'm working on a PR. The current version of build-installer.py doesn't use LTO/PGO because installers are build on macOS 10.9 where the compiler doesn't reliably support this. Recent compilers should work a lot better. The upcoming PR e

[issue42235] [macOS] Use --enable-optimizations in build-installer.py

2020-11-01 Thread Ronald Oussoren
Change by Ronald Oussoren : -- keywords: +patch pull_requests: +21998 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23079 ___ Python tracker <https://bugs.python.org/issu

[issue42225] Tkinter hangs or crashes when displaying astral chars

2020-11-03 Thread Ronald Oussoren
Ronald Oussoren added the comment: @Kevin Walzer: Is the problem were seeing a known issue with Tk? -- nosy: +wordtech ___ Python tracker <https://bugs.python.org/issue42

[issue42254] inspect.getmembers iterator version

2020-11-03 Thread Ronald Oussoren
Ronald Oussoren added the comment: why? -- nosy: +ronaldoussoren ___ Python tracker <https://bugs.python.org/issue42254> ___ ___ Python-bugs-list mailin

[issue38647] Why only the MacOSXOSAScript in webbrowser does not have the name property?

2020-11-03 Thread Ronald Oussoren
Change by Ronald Oussoren : -- keywords: +patch pull_requests: +22048 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23134 ___ Python tracker <https://bugs.python.org/issu

[issue38647] Why only the MacOSXOSAScript in webbrowser does not have the name property?

2020-11-03 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've created a PR for adding the attribute. -- ___ Python tracker <https://bugs.python.org/issue38647> ___ ___ Pytho

[issue42255] webbrowser.MacOSX is unused, untested and undocumented

2020-11-03 Thread Ronald Oussoren
New submission from Ronald Oussoren : class webbrower.MacOSX is untested and undocumented. It is also not used by webbrowser itself (webbrowser.MacOSXOSAScript is used to launch browsers). It's probably safe to just remove the class, otherwise deprecate in 3.10 for removal in

[issue42254] inspect.getmembers iterator version

2020-11-03 Thread Ronald Oussoren
Ronald Oussoren added the comment: I personally don't think it is worthwhile to add another API for this without a good use case. The memory overhead of eagerly creating a list should be fairly small. -- ___ Python tracker &

[issue42263] Removing thread reference in thread results in leaked reference

2020-11-04 Thread Ronald Oussoren
Ronald Oussoren added the comment: Could this be a race condition? The thread that's created in the test is not waited on (join), it may or may not have exited by the time the test function returns. -- nosy: +ronaldoussoren ___ Python tr

[issue42276] Bug in adfuller test and a suggested fix

2020-11-06 Thread Ronald Oussoren
Ronald Oussoren added the comment: Statsmodel is not part of the Python standard library. The issue tracker for this packages seems to be at: https://github.com/statsmodels/statsmodels/issues -- nosy: +ronaldoussoren resolution: -> third party stage: -> resolved status

[issue42281] Inconsistent ProcessPoolExecutor behaviour on macOS between 3.7 and 3.8/9

2020-11-07 Thread Ronald Oussoren
Ronald Oussoren added the comment: In 3.8 the spawn method for multiprocessing changed from "fork" to "spawn" (see https://docs.python.org/3/whatsnew/3.8.html#multiprocessing). A side effect of this is that the module gets executed again in the child processes (the same

[issue42122] macOS complains about how fonts are accessed

2020-11-07 Thread Ronald Oussoren
Ronald Oussoren added the comment: I'm getting a similar warning on a macOS 11 box: 0:06:29 load avg: 1.58 [184/424/1] test_idle 2020-11-07 10:43:37.878 Python[97785:3275468] CoreText note: Client requested name ".applesystemuifontmonospaced", it will get Times-Roman

[issue42283] test_idle is interactive

2020-11-07 Thread Ronald Oussoren
New submission from Ronald Oussoren : I noticed this on a macOS 11.0.1 box: When I run "python -m test.regrtest -uall" the IDLE testsuite is run ('test_idle'), and those tests pop up windows and won't make progress until I close those windows. -- assigne

[issue41126] Running test suite gives me - python.exe(14198, 0x114352dc0) malloc: can't allocate region

2020-11-07 Thread Ronald Oussoren
Change by Ronald Oussoren : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> OS X: malloc(): set default diagnostics to DEBUG_WRITE_ON_CRASH type: -> behavior ___ Python tracker <https

[issue41100] Build failure on macOS 11 (beta)

2020-11-08 Thread Ronald Oussoren
Ronald Oussoren added the comment: New changeset 41761933c1c30bb6003b65eef1ba23a83db4eae4 by Ronald Oussoren in branch 'master': bpo-41100: Support macOS 11 and Apple Silicon (GH-22855) https://github.com/python/cpython/commit/41761933c1c30bb6003b65eef1ba23

[issue34597] Python needs to check existence of functions at runtime for targeting older macOS platforms

2020-11-08 Thread Ronald Oussoren
Ronald Oussoren added the comment: This is fixed in bpo-41100 -- dependencies: -Build failure on macOS 11 (beta) resolution: -> fixed stage: -> resolved status: open -> closed superseder: -> Build failure on macOS 11 (beta) type: crash

[issue31359] `configure` script incorrectly detects symbols as available on Mac w/ Xcode 8+

2020-11-08 Thread Ronald Oussoren
Ronald Oussoren added the comment: This is fixed in bpo-41100 -- dependencies: -Build failure on macOS 11 (beta) resolution: -> fixed stage: -> resolved status: open -> closed superseder: -> Build failure on macOS 11 (beta) ___ Py

[issue42283] test_idle is interactive on macOS 11

2020-11-08 Thread Ronald Oussoren
Ronald Oussoren added the comment: I was using a Tk 8.6.8 build on macOS 11. Looking at this more closely there are clearly other problems with that build: All windows that were created by the test were completely black except for the window chrome. @terry.reedy: I got those crash reporter

[issue41754] Webbrowser Module Cannot Find xdg-settings on OSX

2020-11-08 Thread Ronald Oussoren
Ronald Oussoren added the comment: New changeset 23831a7a90956e38b7d70304bb6afe30d37936de by Ronald Oussoren in branch 'master': bpo-41754: Ignore NotADirectoryError in invocation of xdg-settings (GH-23075) https://github.com/python/cpython/commit/23831a7a90956e38b7d70304bb6afe

[issue37586] macOS: posix_spawn(..., setsid=True)

2020-11-08 Thread Ronald Oussoren
Change by Ronald Oussoren : -- status: open -> closed ___ Python tracker <https://bugs.python.org/issue37586> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue37586] macOS: posix_spawn(..., setsid=True)

2020-11-08 Thread Ronald Oussoren
Ronald Oussoren added the comment: Fixed in bpo-41100. -- dependencies: -Build failure on macOS 11 (beta) resolution: -> fixed stage: needs patch -> resolved superseder: -> Build failure on macOS 11 (beta) ___ Python tracke

[issue41754] Webbrowser Module Cannot Find xdg-settings on OSX

2020-11-08 Thread Ronald Oussoren
Change by Ronald Oussoren : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue28491] Remove bundled libffi for OSX

2020-11-08 Thread Ronald Oussoren
Ronald Oussoren added the comment: This was implemented in bpo-41100 -- dependencies: -Build failure on macOS 11 (beta) resolution: -> fixed stage: test needed -> resolved status: open -> closed superseder: -> Build failure on ma

<    5   6   7   8   9   10   11   12   13   14   >