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
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
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
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
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
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
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
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
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
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
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
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
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
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
Change by Ronald Oussoren :
--
resolution: -> not a bug
stage: -> resolved
status: open -> closed
type: -> compile error
___
Python tracker
<https://bugs.python
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
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
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
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
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.
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
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
Change by Ronald Oussoren :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
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
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
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
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
Change by Ronald Oussoren :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
type: -> behavior
___
Python tracker
<https://bugs.python
Ronald Oussoren added the comment:
Also:
- Tests that verify plutil behaviour (such #41491, #42051, #40381)
--
___
Python tracker
<https://bugs.python.org/issue42
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
Ronald Oussoren added the comment:
It doesn't, both 0b101 and 0o101 get rejected as syntax errors.
--
___
Python tracker
<https://bugs.python.org/is
Change by Ronald Oussoren :
--
pull_requests: +21799
pull_request: https://github.com/python/cpython/pull/22855
___
Python tracker
<https://bugs.python.org/issue41
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
&
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.
Ronald Oussoren added the comment:
Thanks for the report. I can reproduce the issue.
--
___
Python tracker
<https://bugs.python.org/issue42103>
___
___
Pytho
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
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
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
Change by Ronald Oussoren :
--
resolution: -> wont fix
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue8084>
___
___
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
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
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
Change by Ronald Oussoren :
--
resolution: -> out of date
stage: test needed -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.o
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
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
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.
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.
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
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
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
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
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
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
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
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: -&
Change by Ronald Oussoren :
--
pull_requests: +21849
pull_request: https://github.com/python/cpython/pull/21114
___
Python tracker
<https://bugs.python.org/issue41
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
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
Ronald Oussoren added the comment:
Can this issue be closed? Fixing #36439 would also fix this issue.
--
___
Python tracker
<https://bugs.python.org/issue38
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
Change by Ronald Oussoren :
--
nosy: -ronaldoussoren
___
Python tracker
<https://bugs.python.org/issue7175>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Ronald Oussoren :
--
pull_requests: +21899
pull_request: https://github.com/python/cpython/pull/21115
___
Python tracker
<https://bugs.python.org/issue41
Change by Ronald Oussoren :
--
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue42165>
___
___
Python-bugs-list
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
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
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
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
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
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
Change by Ronald Oussoren :
--
resolution: -> duplicate
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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: -&
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
Ronald Oussoren added the comment:
I've created a PR that ignores this exception.
--
___
Python tracker
<https://bugs.python.org/issue41754>
___
___
Pytho
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
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
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
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
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
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
Ronald Oussoren added the comment:
why?
--
nosy: +ronaldoussoren
___
Python tracker
<https://bugs.python.org/issue42254>
___
___
Python-bugs-list mailin
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
Ronald Oussoren added the comment:
I've created a PR for adding the attribute.
--
___
Python tracker
<https://bugs.python.org/issue38647>
___
___
Pytho
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
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
&
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
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
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
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
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
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
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
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
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
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
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
Change by Ronald Oussoren :
--
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue37586>
___
___
Python-bugs-list mailing list
Unsubscrib
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
Change by Ronald Oussoren :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
901 - 1000 of 2445 matches
Mail list logo