[issue44933] python3.9-intel64 hardened runtime not enabled

2021-08-26 Thread Ronald Oussoren
Ronald Oussoren added the comment: @ned: the "reliable way to run under rosetta" is using "arch -x86_64 python3". I don't particularly like having another executable to accomplish the same goal. -- ___ Python tracker

[issue44997] [sqlite3] build fails on macOS 11.5.1

2021-08-26 Thread Ronald Oussoren
Ronald Oussoren added the comment: Note that sqlite3_enable_load_extension was unavailable way before macOS 11.5.1, the symbol is not present on 10.15 (I used 'nm /usr/lib/libsqlite3.dylib' to check for symbol availability). Just checking for MACOS and a system include directory

[issue45016] Multiprocessing freeze support unclear

2021-08-26 Thread Ronald Oussoren
New submission from Ronald Oussoren : The requirements on a freezing tool to work with the freeze support in the multiprocessing library are unclear. In particular, I'm trying to support multiprocessing in py2app and cannot rely on the documentation to implement that support. The parti

[issue40772] module 'resource' has no attribute 'RLIMIT_VMEM'

2021-08-26 Thread Ronald Oussoren
Ronald Oussoren added the comment: According to https://man7.org/linux/man-pages/man2/getrlimit.2.html there is no RLIMIT_VMEM on linux, RLIMIT_AS is the closest equivalent. -- nosy: +ronaldoussoren resolution: -> not a bug stage: -> resolved status: open -&g

[issue44933] python3.9-intel64 hardened runtime not enabled

2021-08-17 Thread Ronald Oussoren
Ronald Oussoren added the comment: I don't know what creates "python3.9-intel64", but this is not created by the regular Python build process. It might be created by one of the build scripts you use. -- ___ Python

[issue44933] python3.9-intel64 hardened runtime not enabled

2021-08-17 Thread Ronald Oussoren
Ronald Oussoren added the comment: I'm not sure what your question is. But to enable the hardened runtime you need to sign the binaries using ``--options runtime`` as one of the options. -- ___ Python tracker <https://bugs.python.org/is

[issue44869] MacOS Monterrey malloc issue

2021-08-13 Thread Ronald Oussoren
Ronald Oussoren added the comment: There is a 3th possibility: This could be a bug in the OS, Monterey is still in beta at this point and beta's tend to contain more bugs than release versions. -- ___ Python tracker <https://bugs.py

[issue40899] Document exceptions raised by importlib.import

2021-08-10 Thread Ronald Oussoren
Ronald Oussoren added the comment: Good question. Hopefully one of the documentation or importlib experts can chime in about that. I may also have uncovered a new issue in importlib ;-) Personally I'd say that documenting raising ImportError is still useful because that's

[issue44869] MacOS Monterrey malloc issue

2021-08-10 Thread Ronald Oussoren
Ronald Oussoren added the comment: I'm afraid we cannot do a lot with the information you provided. I've just ran a full test run for a copy of 3.10rc1 installed using the universal2 installer and that doesn't have problem. One way to find more information about what'

[issue40899] Document exceptions raised by importlib.import

2021-08-10 Thread Ronald Oussoren
Ronald Oussoren added the comment: Note that importlib.import_module, and the import statement itself, can raise an arbitrary exception when that exception is raised while executing the module body. This is easily observed by creating a module that just raises an error in its body: # t.py

[issue18255] CPython setup.py problems

2021-08-03 Thread Ronald Oussoren
Ronald Oussoren added the comment: This is no longer relevant now that distutils is deprecated. -- stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/i

[issue44746] Improper behaviour of 'finally' keyword

2021-07-27 Thread Ronald Oussoren
Ronald Oussoren added the comment: The output from the print statement in the finally block is before the traceback, you need to scroll back in the output buffer in VS Code. -- nosy: +ronaldoussoren ___ Python tracker <https://bugs.python.

[issue44718] Incorrect arguments in function select() cause segfault

2021-07-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: The problem is related to recursion, the code basically ends up with an unlimited number of iterations of select.select and test_select_mutated on the call stack and this doesn't trigger the stack depth checker. The following definition of class F tri

[issue44689] MacOS: Python binaries not portable between Catalina and Big Sur

2021-07-22 Thread Ronald Oussoren
Ronald Oussoren added the comment: The disadvantage of using dlopen is that this function has side effects, and those can affect program behaviour. Because of this I'm against switching to using dlopen to probe for libraries. -- ___ P

[issue44689] MacOS: Python binaries not portable between Catalina and Big Sur

2021-07-21 Thread Ronald Oussoren
Ronald Oussoren added the comment: Anyways, the solution for "build on older macOS version, deploy to Big Sur" is to dynamically look for the relevant API (``_dyld_shared_cache_contains_path``) and use it when available. But only in that scenario, the current code path using exp

[issue44689] MacOS: Python binaries not portable between Catalina and Big Sur

2021-07-21 Thread Ronald Oussoren
Ronald Oussoren added the comment: The problem with moving from Catalina to Big Sur is a known issue, AFAIK there's an open issue for this. The problem is that Big Sur moved system libraries into a big blob (which Apple calls the shared library cache). Ctypes uses an API that's ne

[issue44597] Poll returns POLLOUT on Pipe read endpoint on MacOS 10.14

2021-07-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: Without having looked at this issue in detail... This looks like an issue with macOS and not Python. In general API's providing access to system calls are just thin wrappers around those system calls. If this is a bug in macOS there's nothing

[issue44583] Failure to build on OSF1.

2021-07-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: IMHO the most important question to answer first is: Why is adding OSF1 support a good idea? The PR, which IMHO in its current state is not mergeable, adds some complexity to the build and ongoing maintenance of CPython itself. This tends to be

[issue44583] Failure to build on OSF1.

2021-07-09 Thread Ronald Oussoren
Ronald Oussoren added the comment: As mentioned on the PR: Support for OSF1 was removed in Python 3.3 (see https://www.python.org/dev/peps/pep-0011/#unsupporting-platforms). I expect that there will be little interest amongst the core developers for reintroducing support because OSF1 is an

[issue42514] Relocatable framework for macOS

2021-07-01 Thread Ronald Oussoren
Ronald Oussoren added the comment: I guess Ned and I are the only core devs that would be vaguely interested in working on this. I have no active plans to work on this. Having a relocatable framework would be nice, but doing this in a way that maintains all functionality, esp. w.r.t. the

[issue44392] Py_GenericAlias is not documented

2021-06-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: Why should this be deprecated at all? The API is a convenient way to add ``__class_getitem__`` in a way that is consistent with the implementation for builtin types and the stdlib. I noticed the lack of documentation when I worked on implementing this for

[issue44392] Py_GenericAlias is not documented

2021-06-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: I'm not working on this. Feel free to work on a PR. -- ___ Python tracker <https://bugs.python.org/issue44392> ___ ___

[issue44392] Py_GenericAlias is not documented

2021-06-11 Thread Ronald Oussoren
New submission from Ronald Oussoren : Py_GenericAlias seems to be a public API given its name and is mention in the stable ABI list for 3.10 (https://docs.python.org/3.10/c-api/stable.html?highlight=py_genericalias), but the API is not documented. Likewise for Py_GenericAliasType

[issue44234] Debugging with LLDB doesn't work for universal2 installer on macOS Big Sur

2021-05-26 Thread Ronald Oussoren
Ronald Oussoren added the comment: Should we add documentation about this? The truly annoying bit about that discussion is that its probably easier to just install gdb and use that to debug extensions. -- ___ Python tracker <ht

[issue44214] PyArg_Parse* for vectorcall?

2021-05-25 Thread Ronald Oussoren
Ronald Oussoren added the comment: Annoyingly the keywords variant is the most interesting to expose :-) due to the complexity of correctly interpreting keyword arguments. I agree that we should be careful in exposing the APIs using _PyArg_Parser, although it should be easer to expose it

[issue44234] Debugging with LLDB doesn't work for universal2 installer on macOS Big Sur

2021-05-25 Thread Ronald Oussoren
New submission from Ronald Oussoren : I've installed python 3.9.5 using the universal2 installer on my M1 MacBook. Debugging this python using lldb doesn't work because the debugger cannot attach to the (newly launched) binary. This appears to be due to a missing entitlement in

[issue44214] PyArg_Parse* for vectorcall?

2021-05-23 Thread Ronald Oussoren
Change by Ronald Oussoren : -- type: -> enhancement ___ Python tracker <https://bugs.python.org/issue44214> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue44214] PyArg_Parse* for vectorcall?

2021-05-23 Thread Ronald Oussoren
New submission from Ronald Oussoren : I'm currently converting some extensions of my own to vectorcall and an annoying change between the old call protocol and vectorcall is that the latter has no public equivalent to the PyArg_Parse family of functions. There is "_PyArg_ParseStac

[issue43807] JSONDecodeError: Extra Data Raised on Long Valid JSON

2021-04-11 Thread Ronald Oussoren
Ronald Oussoren added the comment: There is a block of NUL bytes at the end of the JSON data structure The output of "od -c pico-hard.json" ends with: 0046340s e c t i o n N o t e s " : [ ] 0046360, " t y p e O f S e

[issue43664] Long computations in pdb.run() lead to segfault

2021-04-02 Thread Ronald Oussoren
Ronald Oussoren added the comment: ```pdb.run(...)``` is ends up in ```bdb.Bdb.run```, which uses compile and exec to run the code. And indeed: >>> compile("1+2" * 100, "-", "exec") zsh: segmentation fault python3.9 -- components:

[issue43638] MacOS os.statvfs() has rollover for >4TB disks at each 4TB (32bit counter overflow?)

2021-03-29 Thread Ronald Oussoren
Ronald Oussoren added the comment: As you note in the title this is a 32-bit overflow in the statvfs system API, the struct it uses contains 32-bit values. -- ___ Python tracker <https://bugs.python.org/issue43

[issue43511] tkinter with Tk 8.6.11 is slow on macOS

2021-03-24 Thread Ronald Oussoren
Ronald Oussoren added the comment: One thing to look into: there appears to be a tk 8.6.11.1 release, I have no idea what changed in this micro release. -- ___ Python tracker <https://bugs.python.org/issue43

[issue43511] tkinter with Tk 8.6.11 is slow on macOS

2021-03-24 Thread Ronald Oussoren
Ronald Oussoren added the comment: If this is a Tk issue we should report it in their bug tracker. I'm definitely against switching to an older version of Tk, the most recent release fixes a lot of problems with Tk on macOS. Correctness before performance. How bad is the perfor

[issue40720] accessing mmap of file that is overwritten causes bus error

2021-03-09 Thread Ronald Oussoren
Ronald Oussoren added the comment: What happens here is that the file is truncated, which (more or less) truncates the memory mapping. Accessing a memory mapping beyond the length of the file results in a SIGBUS signal. I'm not sure if there is much Python can do about this other

[issue43054] What does the existence of a struct in a header file imply about the C-API

2021-02-28 Thread Ronald Oussoren
Ronald Oussoren added the comment: Sorry about the slow response. I misread your initial message, the distinction between (1) and (2) in your list is clear. to (3): New fields can be added while maintaining API (but not ABI) compatibility as long as the default value is the default value

[issue43326] About Zipfile

2021-02-26 Thread Ronald Oussoren
Ronald Oussoren added the comment: I'm not sure what you are asking here. Looking at the screenshot I'd say that the zipfile you are trying to extract contains files with a newline in their name. That's a perfectly valid (although annoying) name on unix-y platforms. The

[issue43263] threading module unable to run

2021-02-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: Please add more information about what you're doing. Your report does not contain enough information to try to reproduce the problem. This is supposed to work just fine, and does work for me. -- nosy: +ronaldous

[issue30799] Improved test coverage Lib/_osx_support.py 99%

2021-02-12 Thread Ronald Oussoren
Change by Ronald Oussoren : -- components: +macOS ___ Python tracker <https://bugs.python.org/issue30799> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43205] Python Turtle Colour

2021-02-12 Thread Ronald Oussoren
Change by Ronald Oussoren : -- nosy: +gregorlingl, willingc ___ Python tracker <https://bugs.python.org/issue43205> ___ ___ Python-bugs-list mailing list Unsub

[issue43054] What does the existence of a struct in a header file imply about the C-API

2021-02-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: To channel Victor: Another thing to look into is to introduce accessors for struct fields in category 1 and 2 so that the struct can be made private in the future. The difference between category 1 and 2 is sadly not very clear cut. Anything defined in

[issue31751] Support for C++ 11 and/or C++ 14 in python.org installer

2021-02-09 Thread Ronald Oussoren
Ronald Oussoren added the comment: Can this be closed as out of date? 1. universal2 installers are build using Xcode 12 2. the regular installers are build on macOS 10.9 and the system compilers on that system should support C++ 11 and 14

[issue41100] Support macOS 11 and Apple Silicon Macs

2021-02-09 Thread Ronald Oussoren
Ronald Oussoren added the comment: There is no ETA. I'm spending more time away from the computer and on other projects when I'm not at work. I also have no personal need for 3.8 support. If anyone else is up to the job: the back port to 3.9 should be a good starting point, b

[issue40168] import pandas error[python 3.8.]

2021-02-08 Thread Ronald Oussoren
Change by Ronald Oussoren : -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue40361] Darwin systems using win settings for webbrowser.py

2021-02-08 Thread Ronald Oussoren
Ronald Oussoren added the comment: This is a duplicate of #41754. -- nosy: +ronaldoussoren resolution: -> duplicate stage: patch review -> resolved superseder: -> Webbrowser Module Cannot Find xdg-settings on OSX ___ Python tracke

[issue32824] Docs: Using Python on a Macintosh has bad info per Apple site

2021-02-08 Thread Ronald Oussoren
Change by Ronald Oussoren : -- components: +macOS nosy: +ronaldoussoren ___ Python tracker <https://bugs.python.org/issue32824> ___ ___ Python-bugs-list mailin

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

2021-02-08 Thread Ronald Oussoren
Change by Ronald Oussoren : -- components: +macOS nosy: +ned.deily, ronaldoussoren ___ Python tracker <https://bugs.python.org/issue43122> ___ ___ Python-bug

[issue43111] webbrowser.py triggers unwanted XQuartz startup

2021-02-08 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've created a PR for this. Open question: Is this a bug fix (with back ports to 3.9 and 3.8) or a feature (no back ports)? -- ___ Python tracker <https://bugs.python.org/is

[issue43111] webbrowser.py triggers unwanted XQuartz startup

2021-02-08 Thread Ronald Oussoren
Change by Ronald Oussoren : -- keywords: +patch pull_requests: +23272 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24480 ___ Python tracker <https://bugs.python.org/issu

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

2021-02-06 Thread Ronald Oussoren
Ronald Oussoren added the comment: @terrygreeniaus: Are you running macOS 11 on your MacBook Pro? If so, could you verify the hardware address of the iBridge interface? I've checked to libc sources on opensource.apple.com and those don't seem to contain code to treat the iBridge

[issue43135] Can't input Japanese on idle (MacOS).

2021-02-06 Thread Ronald Oussoren
Ronald Oussoren added the comment: As the issue is gone with the 3.10 universal2 installer it should also be gone with the 3.9.1 universal installer. I'd expect that the difference is in the use of a newer version of Tcl/Tk. We haven't used the newer versions of Tcl/Tk with the r

[issue43111] webbrowser.py triggers unwanted XQuartz startup

2021-02-06 Thread Ronald Oussoren
Ronald Oussoren added the comment: The same code is present in trunk. I'm in favour of disabling usage of X11 browsers of macOS, that's almost certainly not what users want. I no longer have XQuartz installed on my machine, but when I did I only used it for running X11 GUIs

[issue43120] Some OSX syslog facilities are missing from syslog module

2021-02-03 Thread Ronald Oussoren
Change by Ronald Oussoren : -- keywords: +patch pull_requests: +23242 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/24432 ___ Python tracker <https://bugs.python.org/issu

[issue43120] Some OSX syslog facilities are missing from syslog module

2021-02-03 Thread Ronald Oussoren
New submission from Ronald Oussoren : The following syslog facility constants on macOS are missing from the syslog module: * LOG_FTP * LOG_NETINFO * LOG_REMOTEAUTH * LOG_INSTALL * LOG_RAS * LOG_LAUNCHD I'm working on a PR -- components: Extension Modules, macOS messages: 386456

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

2021-02-02 Thread Ronald Oussoren
Ronald Oussoren added the comment: I got feedback on FB889: Apple says they have fixed the issue (they don't mention in what version, but I expect 11.2). I haven't checked this yet. -- ___ Python tracker <https://bugs.python.o

[issue43106] Some macOS open flags are missing from posixmodule.c

2021-02-02 Thread Ronald Oussoren
Ronald Oussoren added the comment: Likewise for O_POPUP and O_ALERT, although I don't understand what these are supposed to do. -- ___ Python tracker <https://bugs.python.org/is

[issue43106] Some macOS open flags are missing from posixmodule.c

2021-02-02 Thread Ronald Oussoren
New submission from Ronald Oussoren : The following O_* flags are present in the macOS 11 SDK, but aren't provided by posixmodule.c: O_FSYNC (alias for O_SYNC) O_EVTONLY O_SYMLINK O_NOFOLLOW_ANY -- components: Extension Modules, macOS keywords: easy (C) messages: 386159

[issue42971] Some errnos for BSD/OSX are missing from errno module

2021-02-02 Thread Ronald Oussoren
Change by Ronald Oussoren : -- keywords: +patch pull_requests: +23234 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/24419 ___ Python tracker <https://bugs.python.org/issu

[issue42971] Some errnos for BSD/OSX are missing from errno module

2021-02-02 Thread Ronald Oussoren
Ronald Oussoren added the comment: I was too quick, EQFULL appears to be missing: #define EQFULL 106 /* Interface output queue is full */ If the script I'm using to check for this is correct this is the only missing errno with the macOS 11 SDK. -- resol

[issue42971] Some errnos for BSD/OSX are missing from errno module

2021-02-02 Thread Ronald Oussoren
Change by Ronald Oussoren : -- resolution: -> not a bug stage: -> resolved status: open -> pending ___ Python tracker <https://bugs.python.or

[issue42971] Some errnos for BSD/OSX are missing from errno module

2021-02-02 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've checked all three and all of them are present in errnomodule.c, and all of them are defined in the errno module (macOS 11, Python 3.9.1 "universal2" build). On first glance all errno values in the macOS 11 SDK are present in

[issue43069] Python fails to read a script whose path is `/dev/fd/X`

2021-01-30 Thread Ronald Oussoren
Ronald Oussoren added the comment: I can reproduce the issue on macOS 11.1. As you write: - running /dev/fd/X as a script fails silently if it refers to an smallish file - reading /dev/fd/X referring to the same smallish files works fine (the ``open('/dev/fd/9').read()`` scenar

[issue42504] Failure to build with MACOSX_DEPLOYMENT_TARGET=11 on Big Sur

2021-01-26 Thread Ronald Oussoren
Ronald Oussoren added the comment: see PR 24341. -- ___ Python tracker <https://bugs.python.org/issue42504> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42504] Failure to build with MACOSX_DEPLOYMENT_TARGET=11 on Big Sur

2021-01-26 Thread Ronald Oussoren
Change by Ronald Oussoren : -- pull_requests: +23160 pull_request: https://github.com/python/cpython/pull/24341 ___ Python tracker <https://bugs.python.org/issue42

[issue42504] Failure to build with MACOSX_DEPLOYMENT_TARGET=11 on Big Sur

2021-01-26 Thread Ronald Oussoren
Ronald Oussoren added the comment: I will create a PR later today, I've already committed the work in a branch of my clone of cpython. -- ___ Python tracker <https://bugs.python.org/is

[issue42970] File path with blank causes open error in 3.8, not in 3.7

2021-01-21 Thread Ronald Oussoren
Ronald Oussoren added the comment: This might be a security feature in Big Sur, access to some locations is restricted by default. I'm not sure if that includes ~/Library, it definitely affects access to ~/Documents. I'd expect to see a security pop-up from the system though.

[issue42970] File path with blank causes open error in 3.8, not in 3.7

2021-01-21 Thread Ronald Oussoren
Ronald Oussoren added the comment: What kind of error do you get? -- nosy: +ronaldoussoren ___ Python tracker <https://bugs.python.org/issue42970> ___ ___ Pytho

[issue42955] Add sys.module_names: list of stdlib module names (Python and extension modules)

2021-01-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: BTW. A list of stdlib module names is not sufficient to determine if a module is in the stdlib, thanks to .pth files it is possible to have entries on sys.path before the stdlib. -- ___ Python tracker <ht

[issue42955] Add sys.module_names: list of stdlib module names (Python and extension modules)

2021-01-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: > On 19 Jan 2021, at 12:30, STINNER Victor wrote: > > Ronald: >> You wouldn't necessarily have to import a module to test, this is something >> that could be added to importlib. One (poorly thought out) option is to add &g

[issue42955] Add sys.module_names: list of stdlib module names (Python and extension modules)

2021-01-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: >> Wouldn't it be sufficient to somehow mark the stdlib entries on sys.path? >> Although that might give misleading answers with tools like >> pyinstaller/py2exe/py2app that package an application and its dependencies >> into a

[issue42955] Add sys.module_names: list of stdlib module names (Python and extension modules)

2021-01-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: A list of stdlib modules/extensions is IMHO problematic for maintenance, esp. if you consider that not all modules/extensions are installed on all systems (both because dependencies aren't present and because packagers have decided to unbundle parts o

[issue42887] 100000 assignments of .__sizeof__ cause a segfault on del

2021-01-18 Thread Ronald Oussoren
Ronald Oussoren added the comment: Note that there is a way to avoid this crash using the trashcan API (see the use of Py_TRASHCAN_BEGIN in various implementation). This API is generally only used for recursive data structures and because it has a performance cost (based on what I've

[issue42880] ctypes: variadic function call still doesn't work on Apple Silicon

2021-01-12 Thread Ronald Oussoren
Change by Ronald Oussoren : -- assignee: -> docs@python components: +Documentation nosy: +docs@python ___ Python tracker <https://bugs.python.org/issu

[issue42880] ctypes: variadic function call still doesn't work on Apple Silicon

2021-01-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: I agree that this should be mentioned in the documentation for ctypes. -- ___ Python tracker <https://bugs.python.org/issue42

[issue42880] ctypes: variadic function call still doesn't work on Apple Silicon

2021-01-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: AFAIK you should specify the types of the fixed arguments for variadic functions. The ABI for the M1 has a different calling convention of the variadic arguments, the ctypes implementation counts how many variadic arguments there are based on the specified

[issue42887] Multiple assignments of attribute "__sizeof__" will cause a segfault

2021-01-11 Thread Ronald Oussoren
Ronald Oussoren added the comment: This is a recursion problem, "mystr" will be equivalent to 'hello123'.__sizeof__.__sizeof__. ...(100K repetition)... .__sizeof__. The dealloc of "mystr" will cause recursive calls to tp_dealloc along the entire chain an

[issue42619] python 3.9.1 failed to create .so files as universal2 (arm64, x86_64) on Mac

2021-01-10 Thread Ronald Oussoren
Ronald Oussoren added the comment: > Another change that might be needed: ensure that sysconfig.get_platform() > does not return "universal2" as the binary architecture when the compiler > does not support arm64. Hmmm... _osx_support.get_platform_osx() contains th

[issue42619] python 3.9.1 failed to create .so files as universal2 (arm64, x86_64) on Mac

2021-01-10 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've added a (draft) PR for this. The PR is a this time not tested on a 10.15 system. Another change that might be needed: ensure that sysconfig.get_platform() does not return "universal2" as the binary architecture when the compiler do

[issue42619] python 3.9.1 failed to create .so files as universal2 (arm64, x86_64) on Mac

2021-01-10 Thread Ronald Oussoren
Change by Ronald Oussoren : -- keywords: +patch pull_requests: +23015 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24187 ___ Python tracker <https://bugs.python.org/issu

[issue42853] `OverflowError: signed integer is greater than maximum` in ssl.py for files larger than 2GB

2021-01-08 Thread Ronald Oussoren
Ronald Oussoren added the comment: The API documentation already implies that write might not write the entire buffer because it returns the number of bytes actually written (just like os.write). A possible workaround on the SSL layer is hence to clamp the amount of bytes to write to

[issue42541] Tkinter colours wrong on MacOS universal2

2021-01-04 Thread Ronald Oussoren
Ronald Oussoren added the comment: W.r.t. building on 10.9: until very recently (trunk and 3.9.1) Python didn’t check for symbol availability at runtime. Building on 10.9 is basically a workaround for that. The, for now experimental, “universal2” installer for 3.9.1 is build on Big Sur and

[issue38946] IDLE on macOS 10.15 Catalina does not open double-clicked files if app already launched

2021-01-03 Thread Ronald Oussoren
Ronald Oussoren added the comment: As another datapoint: This works for me on macOS 11.1 with the universal2 installer for Python 3.9.1 (which includes Tk 8.6.10). -- ___ Python tracker <https://bugs.python.org/issue38

[issue42690] Aiohttp fails when using intel ax200 wireless card

2020-12-28 Thread Ronald Oussoren
Ronald Oussoren added the comment: What's the script used, is it the script in the reddit thread? The reddit thread mentions a change to the script that might help: return [await r.json() for r in responses] To: return await asyncio.gather(*(r.json() for r in responses))

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

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

[issue42652] recursive in finally clause cause Python interpreter crash.

2020-12-22 Thread Ronald Oussoren
Change by Ronald Oussoren : -- resolution: -> fixed stage: -> resolved status: open -> closed superseder: -> crash with unbounded recursion in except statement ___ Python tracker <https://bugs.python

[issue42651] Recursive traceback crashes Python Interpreter

2020-12-22 Thread Ronald Oussoren
Change by Ronald Oussoren : -- resolution: -> fixed stage: -> resolved status: open -> closed superseder: -> crash with unbounded recursion in except statement ___ Python tracker <https://bugs.python

[issue42704] [macOS] [python3.7] : platform.machine() returns x86_64 on ARM machine

2020-12-21 Thread Ronald Oussoren
Ronald Oussoren added the comment: That installer contains intel (x86_64) binaries. The behaviour of platform.machine() and platform.processor() is expected, due to Rosetta the binary runs as if it is running on an Intel Mac. There is a "universal2" installer for Python 3.9.1 whic

[issue42704] [macOS] [python3.7] : platform.machine() returns x86_64 on ARM machine

2020-12-21 Thread Ronald Oussoren
Ronald Oussoren added the comment: How did you install python3.7? Platform.machine() will return "x86_64" when running in Rosetta 3. That is, when python itself is an x86_64 binary. -- ___ Python tracker <https://bugs.python.o

[issue42688] ctypes memory error on Apple Silicon with external libffi

2020-12-20 Thread Ronald Oussoren
Ronald Oussoren added the comment: Could you please sign the CLA? (See the PR for details on that) The PR looks sane. Out of interest: why do you use an external version of libffi? AFAIK the system copy of libffi contains some magic sauce to work nicer with signed binaries

[issue42688] ctypes memory error on Apple Silicon with external libffi

2020-12-20 Thread Ronald Oussoren
Change by Ronald Oussoren : -- components: +macOS nosy: +ned.deily, ronaldoussoren ___ Python tracker <https://bugs.python.org/issue42688> ___ ___ Python-bug

[issue42652] recursive in finally clause cause Python interpreter crash.

2020-12-17 Thread Ronald Oussoren
Ronald Oussoren added the comment: This might be related to #42500 -- nosy: +ronaldoussoren ___ Python tracker <https://bugs.python.org/issue42652> ___ ___ Pytho

[issue42651] Recursive traceback crashes Python Interpreter

2020-12-17 Thread Ronald Oussoren
Ronald Oussoren added the comment: This might be related to #42500 -- nosy: +ronaldoussoren ___ Python tracker <https://bugs.python.org/issue42651> ___ ___ Pytho

[issue42614] Pathlib does not support a Cyrillic character 'й'

2020-12-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: I'm closing this as "not a bug" because this is likely caused by different unicode normalisations for strings. -- resolution: -> not a bug stage: -> resolved status: open -> closed

[issue38137] hashopenssl fails to compile on MacOS

2020-12-12 Thread Ronald Oussoren
Change by Ronald Oussoren : -- components: +macOS nosy: +ned.deily ___ Python tracker <https://bugs.python.org/issue38137> ___ ___ Python-bugs-list mailin

[issue38137] hashopenssl fails to compile on MacOS

2020-12-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: can this issue be closed? -- nosy: +ronaldoussoren ___ Python tracker <https://bugs.python.org/issue38137> ___ ___ Python-bug

[issue42616] C Extensions on Darwin that link against libpython are likely to crash

2020-12-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: Linking extensions to libpython with a static build of python will cause problems (as you described in your initial message). The not very satisfactory response is "don't do that then". Note that distutils won't link against libpython

[issue42616] C Extensions on Darwin that link against libpython are likely to crash

2020-12-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've removed two spammy comments and adjusted the categories (the latter explains Larry's annoyance, someone selected all categories which automatically added him to the nosy list). -- ___ Python track

[issue42616] C Extensions on Darwin that link against libpython are likely to crash

2020-12-12 Thread Ronald Oussoren
Change by Ronald Oussoren : -- components: +Distutils -2to3 (2.x to 3.x conversion tool), Argument Clinic, C API, Cross-Build, asyncio, ctypes nosy: +dstufft, eric.araujo, froody, ned.deily -Alex.Willmer, asvetlov, yselivanov, zhtw1234 versions: -Python 3.6, Python 3.7

[issue42616] C Extensions on Darwin that link against libpython are likely to crash

2020-12-12 Thread Ronald Oussoren
Change by Ronald Oussoren : -- Removed message: https://bugs.python.org/msg382879 ___ Python tracker <https://bugs.python.org/issue42616> ___ ___ Python-bug

[issue42616] C Extensions on Darwin that link against libpython are likely to crash

2020-12-12 Thread Ronald Oussoren
Change by Ronald Oussoren : -- Removed message: https://bugs.python.org/msg382880 ___ Python tracker <https://bugs.python.org/issue42616> ___ ___ Python-bug

[issue42614] Pathlib does not support a Cyrillic character 'й'

2020-12-12 Thread Ronald Oussoren
Change by Ronald Oussoren : -- components: +macOS nosy: +ned.deily ___ Python tracker <https://bugs.python.org/issue42614> ___ ___ Python-bugs-list mailin

<    1   2   3   4   5   6   7   8   9   10   >