[issue1724366] cPickle module doesn't work with universal line endings

2008-05-03 Thread Ronald Oussoren
Changes by Ronald Oussoren <[EMAIL PROTECTED]>: -- assignee: jackjansen -> _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1724366> _ ___

[issue995019] Ensure -single_module on Mac OS X

2008-05-03 Thread Ronald Oussoren
Ronald Oussoren <[EMAIL PROTECTED]> added the comment: Closing as this doesn't seem really useful anyway and nobody responded to my question if the issue is still relevant. -- resolution: -> wont fix status: open -> closed ___

[issue1770190] platform.mac_ver() returning incorrect patch version

2008-05-08 Thread Ronald Oussoren
Ronald Oussoren <[EMAIL PROTECTED]> added the comment: I've tested the patch on 10.4.10 as wel as 10.5.2 and it returns the right version on both platforms. Commited as revision 62854 (trunk) and 62855 (python2.5 branch) -- assignee: jackjansen -> ronaldoussoren resolut

[issue4165] Failure building 64-bit Python on Leopard

2008-10-21 Thread Ronald Oussoren
Ronald Oussoren <[EMAIL PROTECTED]> added the comment: On 21 Oct, 2008, at 22:57, Roumen Petrov wrote: > > It is possible gcc to compile for multiple architectures at same > time ? Yes. Apple's gcc driver knows how to deal with

[issue4728] Endianness and universal builds problems

2008-12-28 Thread Ronald Oussoren
Ronald Oussoren added the comment: On 28 Dec, 2008, at 16:38, Benjamin Peterson wrote: > > Benjamin Peterson added the comment: > > I applied the patch for #4060 in r67982. I've backported that to 2.6-maint in r67987. > > > I would still like to know what difference

[issue4064] distutils.util.get_platform() is wrong for universal builds on macosx

2008-12-28 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've committed the patch with some documentation in r67988, with a backport to 2.6.x in r67989. r67990 (not backported) is a minor update of the patch, it adds explicit support code for all three variants that are configurable through the configure s

[issue4780] Makefile.pre.in patch to run regen on OSX (framework build)

2008-12-30 Thread Ronald Oussoren
New submission from Ronald Oussoren : I needed the attached patch to install a framework build of Python3 (py3k branch), otherwise the 'regen' script wouldn't start to build Lib/plat- mac. I haven't applied the patch to the repository because I don't know if there

[issue4472] Is shared lib building broken on trunk?

2008-12-30 Thread Ronald Oussoren
Ronald Oussoren added the comment: The issue is caused by lack of support for building .dylibs in configure.in and Makefile.pre.in. AFAIK this has never worked on OSX. Fixing that is not entirely trivial (did I mention configure.in is rather crufty?). The attached patch should fix that (the

[issue4554] Missing make altframeworkinstall for Mac OS X

2008-12-30 Thread Ronald Oussoren
Ronald Oussoren added the comment: "make frameworkinstall" should be deprecated anyway, AFAIK it should be possible to use "make install" or "make altinstall" for framework installs as well. That latter should make it possible to install multiple versions

[issue1738250] Universal MacPython 2.5.1 installation fails

2008-12-30 Thread Ronald Oussoren
Ronald Oussoren added the comment: Can you reproduce this problem with the installer for Python 2.6? ___ Python tracker <http://bugs.python.org/issue1738250> ___ ___ Pytho

[issue4472] Is shared lib building broken on trunk?

2008-12-30 Thread Ronald Oussoren
Ronald Oussoren added the comment: Never mind, the patch won't work. Python's build procedure on unix-y platforms assumes that the suffix for shared libraries is the same as that for python extentions. That's not true on OSX :-( I'm working

[issue4472] Is shared lib building broken on trunk?

2008-12-30 Thread Ronald Oussoren
Changes by Ronald Oussoren : Removed file: http://bugs.python.org/file12496/issue4472.patch ___ Python tracker <http://bugs.python.org/issue4472> ___ ___ Python-bug

[issue4472] Is shared lib building broken on trunk?

2008-12-30 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've uploaded a new version of issue4472.patch that seems to do the trick: this supports --enable-shared and also still works without that flag. Added file: http://bugs.python.org/file12497/issue4472.patch ___ P

[issue4472] Is shared lib building broken on trunk for Mac OS X?

2008-12-30 Thread Ronald Oussoren
Ronald Oussoren added the comment: "SO=.dylib" is needed in the makefile to ensure that "make install" works and to ensure that the libpython shared library is build with the right suffix (OSX uses .dylib for shared libraries). The code in distutils.sysconfig is nece

[issue4472] Is shared lib building broken on trunk for Mac OS X?

2008-12-30 Thread Ronald Oussoren
Ronald Oussoren added the comment: A --enable-framework and --enable-shared are mutable exclusive. You either have a regular unix build or a Python.framework. As to the SO update: the only way to avoid my change is yet another variable in the makefile. The "altbininstall" target as

[issue4472] Is shared lib building broken on trunk for Mac OS X?

2008-12-31 Thread Ronald Oussoren
Ronald Oussoren added the comment: Skip: * GCC always generates position-independent code on OSX * I'll look in the test issue, that's probably caused by a broken definition for RUNSHARED. Roumen: * The SHLIB_EXT definition in pyconfig.h is an issue. And I have to agree that &qu

[issue4472] Is shared lib building broken on trunk for Mac OS X?

2009-01-02 Thread Ronald Oussoren
Ronald Oussoren added the comment: LDLIBRARY is indeed a good variable to use. I've applied issue447-v2.patch in r68146. Backported to 2.6.x in r68147. Added file: http://bugs.python.org/file12535/issue4472-v2.patch ___ Python tracker

[issue4472] Is shared lib building broken on trunk for Mac OS X?

2009-01-02 Thread Ronald Oussoren
Changes by Ronald Oussoren : -- resolution: accepted -> fixed status: open -> pending ___ Python tracker <http://bugs.python.org/issue4472> ___ ___ Pyth

[issue4780] Makefile.pre.in patch to run regen on OSX (framework build)

2009-01-02 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've ported the fix to the trunk in r68149 ___ Python tracker <http://bugs.python.org/issue4780> ___ ___ Python-bugs-list m

[issue3055] test_list on 64-bit platforms

2009-01-02 Thread Ronald Oussoren
Ronald Oussoren added the comment: I can confirm that this issue is fixed. -- resolution: works for me -> fixed ___ Python tracker <http://bugs.python.org/iss

[issue3433] Mac, 3.0 framework install error with fink cp

2009-01-02 Thread Ronald Oussoren
Ronald Oussoren added the comment: Fixed in r68150 (python-trunk), r68151 (python 2.6.x), r68152 (python 3.x). Could someone that actually has Fink installed confirm that the issue is actually fixed? My patch consists of changing 'cp' to '/bin/cp' to ensure that the

[issue2754] Mac version of IDLE doesn't scroll as expected

2009-01-02 Thread Ronald Oussoren
Ronald Oussoren added the comment: This is almost certainly a Tk issue and hence not something we can fix. I'm not closing the bug though because I no too little of Tk to be sure. -- nosy: +ronaldoussoren ___ Python tracker <http://bugs.py

[issue4165] Failure building 64-bit Python on Leopard

2009-01-02 Thread Ronald Oussoren
Ronald Oussoren added the comment: I located the problem, it's in the configure line: ./configure --with-framework-name=Python64 -- with-universal-archs=all --enable-framework --enable- universalsdk=MACOSX_DEPLOYMENT_TARGET=10.5 That's wrong because the argument for --enable-un

[issue3549] Missing IDLE Preferences on Mac

2009-01-02 Thread Ronald Oussoren
Ronald Oussoren added the comment: The lack of a preferences menu is a bug: the current revisions of python contain some code to detect a recent version of Tcl/Tk, used to create the Preferences... menu in different way. Sadly enough this code is buggy, the end result is that you will not

[issue789545] zappyfiles.py absent from MacPython binary

2009-01-02 Thread Ronald Oussoren
Ronald Oussoren added the comment: Closing because zappyfiles.py is no longer part of the python distribution -- nosy: +ronaldoussoren resolution: -> wont fix status: open -> closed ___ Python tracker <http://bugs.python.org/is

[issue1602133] non-framework built python fails to define environ properly

2009-01-02 Thread Ronald Oussoren
Ronald Oussoren added the comment: I won't commit this patch because I cannot reproduce the problem. The python trunk works fine for my in these build configurations: unix- build (static library), unix-build (shared library), framework build. All of this on OSX 10.5. Can you please pr

[issue1594] MacOS.GetCreatorAndType() and SetCreatorAndType() broken on intel

2009-01-02 Thread Ronald Oussoren
Ronald Oussoren added the comment: Fixed in r68156 (including testcase). Annoyingly enough only GetCreatorAndType needed fixing, SetCreatorAndType already did the right thing (makeing the two functions inconsistent with each other). Won't fix for earlier releases, this might break exi

[issue900949] plat-mac/videoreader.py not working on OS X

2009-01-02 Thread Ronald Oussoren
Ronald Oussoren added the comment: Fixed in r68158. -- nosy: +ronaldoussoren resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/is

[issue1627952] plat-mac videoreader.py auido format info

2009-01-02 Thread Ronald Oussoren
Ronald Oussoren added the comment: Fixd in r68159 -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/iss

[issue1737832] EasyDialogs patch to remove aepack dependency

2009-01-02 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've applied this patch in r68160. -- resolution: -> accepted status: open -> closed ___ Python tracker <http://bugs.python.or

[issue1149804] macostools.mkdirs: not thread-safe

2009-01-02 Thread Ronald Oussoren
Ronald Oussoren added the comment: Fixed this issue in r68161 by porting the solution for this in os.mkdirs to macostools. -- nosy: +ronaldoussoren resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.p

[issue4472] Is shared lib building broken on trunk for Mac OS X?

2009-01-02 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've applied this patch. If I understand things correctly that should fix the cygwin issue. Index: Makefile.pre.in === --- Makefile.pre.in (revision 68149) +++ Makefile.pre.in (wo

[issue900514] bundlebuilder: easily keep main routine in orig location

2009-01-02 Thread Ronald Oussoren
Ronald Oussoren added the comment: I agree with Bob's last response. Futhermore bundlebuilder is deprecated, use py2app instead. -- nosy: +ronaldoussoren resolution: -> wont fix status: open -> closed ___ Python tracker <http://b

[issue905737] BuildApplet needs to get more BuildApplication features

2009-01-02 Thread Ronald Oussoren
Ronald Oussoren added the comment: Closing this issue as bundlebundler is deprecated. -- nosy: +ronaldoussoren resolution: -> wont fix status: open -> closed ___ Python tracker <http://bugs.python.org/is

[issue841800] -O breaks bundlebuilder --standalone

2009-01-02 Thread Ronald Oussoren
Ronald Oussoren added the comment: Fixed in r68163 -- nosy: +ronaldoussoren resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/is

[issue900506] bundlebuilder: an arg to disable zipping the code

2009-01-02 Thread Ronald Oussoren
Ronald Oussoren added the comment: Fixed in r68163 -- nosy: +ronaldoussoren resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/is

[issue957652] Implement BundleBuilder GUI as plugin component

2009-01-02 Thread Ronald Oussoren
Ronald Oussoren added the comment: Closed as won't fix because bundlebuilder is deprecated and it is rather unlikely that anyone will spent time on this feature request. -- nosy: +ronaldoussoren resolution: -> wont fix status: open -

[issue4065] _multiprocessing doesn't build on macosx 10.3

2009-01-02 Thread Ronald Oussoren
Ronald Oussoren added the comment: The manpage for writev(2) mentions #include . Adding a #include for is the right fix after all... ___ Python tracker <http://bugs.python.org/issue4

[issue5143] OS X: Py_SetProgramName argument has type char*; should be wchar_t*

2009-02-03 Thread Ronald Oussoren
Ronald Oussoren added the comment: This is a bug, I'm working on a fix. ___ Python tracker <http://bugs.python.org/issue5143> ___ ___ Python-bugs-list mailing list

[issue5143] OS X: Py_SetProgramName argument has type char*; should be wchar_t*

2009-02-03 Thread Ronald Oussoren
Ronald Oussoren added the comment: The quick fix is to convert "p" to a wchar_t (using mbstowcs), see patch-mbstowcs.txt. However, I don't think this is the right fix. AFAIK this environment variable is only used by .app bundles created by bundlebuilder.py which is no lon

[issue5143] OS X: Py_SetProgramName argument has type char*; should be wchar_t*

2009-02-03 Thread Ronald Oussoren
Changes by Ronald Oussoren : Added file: http://bugs.python.org/file12930/patch-remove-PYTHONEXECUTABLE.txt ___ Python tracker <http://bugs.python.org/issue5143> ___ ___

[issue5143] OS X: Py_SetProgramName argument has type char*; should be wchar_t*

2009-02-03 Thread Ronald Oussoren
Ronald Oussoren added the comment: Please let me know if second patch (patch-remove-PYTHONEXECUTABLE.txt) fixes the issue for you as well, if it does I'll commit it to the 3.x branch (and add an item to the NEWS file). -- resolution: ->

[issue5194] OS X IDLE.app and bin/idle: missing/extra menu options

2009-02-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've fixed this for 3.1 in r69532. Fixed for 3.0 in r69533 (backport of the other patch). The actual checkin is based on "patch-nad0014-py3k-30.txt", but with some minor tweaks (I use "idlelib.macosxSupport.runningAsOSXApp" througho

[issue5195] OS X IDLE.app and bin/idle: incorrect key defaults in 3.x

2009-02-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: Applied the patch as r69534 (3.1) and r69534 (3.0) -- nosy: +ronaldoussoren resolution: -> accepted status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue5196] OS X IDLE.app: may not launch on 3.x

2009-02-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: Applied as r69536 (3.1) and r69537 (3.0) -- nosy: +ronaldoussoren resolution: -> accepted status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue5225] OS X "Update Shell Profile" may not update $PATH if run more than once

2009-02-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: I don't like this patch because it could grow the users profile without bounds when switching back and forth between two python versions. -- nosy: +ronaldoussoren ___ Python tracker <http://bugs.py

[issue5226] OS X installer: Welcome and Readme files are out-of-date

2009-02-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: Applied patch for 3.1 (r69538) and 3.0 (r69539). -- nosy: +ronaldoussoren resolution: -> accepted ___ Python tracker <http://bugs.python.org/iss

[issue5143] OS X: Py_SetProgramName argument has type char*; should be wchar_t*

2009-02-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've applied both the fix and tests in r69540 (3.1) and r69541 (3.0) -- status: open -> closed ___ Python tracker <http://bugs.python.or

[issue3883] Bottom buttons of IDLE Preferences Pane on Mac not wide enough for their text.

2009-02-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've committed the ronald-configDialog.patch to 3.1 and 3.0. This does mostly the same as Kevin's patch, but only on OSX (that is, I check for OSX and don't add the padding arguments in that case). I haven't applied Kevin's patch a

[issue5224] OS X installer: "Update Shell Profile" script is not updated

2009-02-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: Committed as r69544 (3.1) and r69545 (3.0) -- nosy: +ronaldoussoren ___ Python tracker <http://bugs.python.org/issue5

[issue5226] OS X installer: Welcome and Readme files are out-of-date

2009-02-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: reopened because this issue was only fixed for python 3.x -- status: closed -> open ___ Python tracker <http://bugs.python.org/iss

[issue5224] OS X installer: "Update Shell Profile" script is not updated

2009-02-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: Reopened the issue because it is only fixed for 3.x at the moment. -- status: closed -> open ___ Python tracker <http://bugs.python.org/iss

[issue5225] OS X "Update Shell Profile" may not update $PATH if run more than once

2009-02-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: I agree that we need a better solution to select which version of Python is the default one of your path. One way to do that is to have a tool that can change the "Current" link inside the framework, that way we could have /Library/

[issue5262] PythonLauncher considered harmfull

2009-02-14 Thread Ronald Oussoren
New submission from Ronald Oussoren : The Mac port of Python contains a binary named "PythonLauncher" which can be used as the association of ".py" and ".pyw" files. This program will launch the script (either in a Terminal window or without a window). In hindsi

[issue46890] venv does not create "python" link in python 3.11

2022-03-07 Thread Ronald Oussoren
Ronald Oussoren added the comment: WITH_NEXT_FRAMEWORK is a compile time option, I've added it to globals in values like PREFIX are added. That way the python code can behave differently for framework builds (which appears to be needed). There are two big problems with my pa

[issue46890] getpath problems with framework build

2022-03-13 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've updated the title to better reflect the actual problem. An update on the current state of this issue: I haven't looked at the code for a couple of days because because I got stuck. With a fresh mind I've continued debugging and n

[issue46923] Implement stack overflow protection for supported platforms

2022-03-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: issue33955 is an older issue about implementing the current functionality for this on macOS, which has an API for querying stack limits. -- nosy: +ronaldoussoren ___ Python tracker <https://bugs.python.

[issue46890] getpath problems with framework build

2022-03-16 Thread Ronald Oussoren
Ronald Oussoren added the comment: > However, it's the site.py module that actually updates sys.prefix for the > venv. So you may just be inspecting at the wrong point? Or possibly it's in a > codepath that doesn't run on macOS because *previously* it was being set

[issue46890] getpath problems with framework build

2022-03-16 Thread Ronald Oussoren
Ronald Oussoren added the comment: venv requiring site isn't really a problem, although it is a bit weird that sys.prefix changes when using the -S flag. -- ___ Python tracker <https://bugs.python.org/is

[issue46996] Drop support of Tcl/Tk older than 8.5.12

2022-03-17 Thread Ronald Oussoren
Ronald Oussoren added the comment: One consideration is support for older LTS distributions of Linux, RHEL/Centos 7 appears to ship with Tcl/Tk 8.5. The system install of Tcl/Tk on macOS is also 8.5, but that variant has too many bugs to try to support it. -- nosy: +ronaldoussoren

[issue46890] getpath problems with framework build

2022-03-17 Thread Ronald Oussoren
Change by Ronald Oussoren : -- keywords: +patch pull_requests: +30047 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31958 ___ Python tracker <https://bugs.python.org/issu

[issue46996] Drop support of Tcl/Tk older than 8.5.12

2022-03-18 Thread Ronald Oussoren
Ronald Oussoren added the comment: Terry: tkinter on macOS already effectively does not support Tk 8.5, or basically anything bug the latest 8.6.x release. That's because older versions have too many bugs that affect Python users, which mostly show up on our tracker as bug reports

[issue47064] thread QOS attribute on macOS

2022-03-19 Thread Ronald Oussoren
New submission from Ronald Oussoren : Arm based Mac systems have several types of cores: performance cores and efficiency cores. The system has no way to directly specify which core a particular proces or thread uses, but programs can use an API for setting the QOS class of a thread that

[issue47064] thread QOS attribute on macOS

2022-03-20 Thread Ronald Oussoren
Ronald Oussoren added the comment: > For example, using a priority policy that actually uses QOS attribute :) How would that look? The QOS class is already a high level interface that affects a number of low-level polices. The classes are comprehensively documented in sys/qos.h. In sh

[issue47064] thread QOS attribute on macOS

2022-03-21 Thread Ronald Oussoren
Ronald Oussoren added the comment: I agree. I'm working on a PR to expose this platform specific functionality in the threading module. It would have been nice if other platforms had similar functionality, but they don't. Emulating the API is possible, but a project in its own

[issue47124] explore hashlib use of the Apple CryptoKit macOS

2022-03-27 Thread Ronald Oussoren
Ronald Oussoren added the comment: A "problem" with CryptoKit is that it is a swift-only framework, which makes using those APIs harder from C code (not impossible). The older Security framework also contains crypto APIs, but seems to have less support for modern algorithms (e.g.

[issue47124] explore hashlib use of the Apple CryptoKit macOS

2022-03-28 Thread Ronald Oussoren
Ronald Oussoren added the comment: SecDigestTransformCreate() is probably a relevant API to look into, this seems to be supported from 10.7 until now. A major disadvantage for us of this API is that it is a CoreFoundation API and because of that is problematic in pre-forking scenario&#

[issue47240] Python 3.x built for ppc+ppc64 errs on: No module named 'msvcrt', '_posixsubprocess'

2022-04-06 Thread Ronald Oussoren
Ronald Oussoren added the comment: The problem you should look into is why the _posixsubprocess doesn't build, the message about msvcrt is a red herring due to the way subprocess.py is structured. Also compare the pyconfig.h files created for the two single architecture builds, maybe

[issue47179] pymalloc should align to max_align_t

2022-04-07 Thread Ronald Oussoren
Ronald Oussoren added the comment: > If we want to respect sizeof(max_align_t) alignment, we can compute > sizeof(max_align_t) in configure and uses the result in obmalloc.c. I expect > that it's either 16 or 32, so we can maybe just hardcode ALIGNMENT_SHIFT > using so

[issue37833] tkinter crashes macOS in the latest macOS update 10.14.6

2019-08-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: I had a similar problem during EuroPython, but that was when I had anaconda on my machine. I've since removed it because generally don't use it but had it installed for a training session. I haven't tried to reproduce, but also don&#x

[issue37833] tkinter crashes macOS in the latest macOS update 10.14.6

2019-08-13 Thread Ronald Oussoren
Ronald Oussoren added the comment: A followup question: How can I determine the exact version of Tk? -- ___ Python tracker <https://bugs.python.org/issue37

[issue31601] Availability of utimensat, futimens not checked correctly on macOS

2019-08-13 Thread Ronald Oussoren
Ronald Oussoren added the comment: I'd prefer a solution that uses symbols where the are available (weak linking). That way users on newer systems can use all functionality available there, without having multiple binaries. I've done this in the past for older macOS versions,

[issue37833] tkinter crashes macOS in the latest macOS update 10.14.6

2019-08-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: Interestingly enough both users in the py2app issue I mentioned use the python.org installer to install Python. One of them mentions this only happens when py2app is used, and that the script works fine outside of an app. I'll look into this to

[issue37833] tkinter crashes macOS in the latest macOS update 10.14.6

2019-08-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: The py2app issue I mentioned is not relevant for this issue. A simple tkinter runs fine with Python 3.7 (64-bit, 3.7.4, Python.org installer), the same script causes a WindowServer crash (SEGV) when bundled with py2app. This is definitely a bug in macOS

[issue37877] MacOS crash appJar 3.7.3

2019-08-16 Thread Ronald Oussoren
Ronald Oussoren added the comment: Does this application use Tkinter? If so, this is a duplicate of #37833, and a bug in macOS triggered by (amongst others) anaconda but (AFAIK) not by the Python.org installer. The "logout" is a crash in the WindowServer proces, which is some

[issue37906] FreeBSD: test_threading: test_recursion_limit() crash with SIGSEGV and create a coredump

2019-08-21 Thread Ronald Oussoren
Ronald Oussoren added the comment: I'd increase the default stack size for FreeBSD as well. AFAIK FreeBSD uses clang as the default compiler like macOS, and it is therefore likely that the two platforms have similar stack usage for similar code. BTW. I can provide a PR for this but c

[issue36205] Python 3.7 and 3.8 process_time is not reported correctly when built on older macOS versions

2019-08-27 Thread Ronald Oussoren
Ronald Oussoren added the comment: @raymond, as to your question in msg350586: The release installers are generally build on the oldest release of the OS targeted by the installer. That's to ensure that the binaries actually work there. It should be possible to build on newer releases

[issue38027] Can't use Numpy, SciPy, pandas in Python3.8.0b4 without conda

2019-09-04 Thread Ronald Oussoren
Ronald Oussoren added the comment: What issues to you see? What operating system and version are you on? How did you install Python? Note that Python 3.8 is still in beta and therefore a lot of 3th party libraries do no yet have binary wheels available. You therefore likely need a

[issue38027] Can't use Numpy, SciPy, pandas in Python3.8.0b4 without conda

2019-09-04 Thread Ronald Oussoren
Ronald Oussoren added the comment: Thanks for the update. What's the error message you get when using pip to install? -- ___ Python tracker <https://bugs.python.org/is

[issue38027] Can't use Numpy, SciPy, pandas in Python3.8.0b4 without conda

2019-09-04 Thread Ronald Oussoren
Ronald Oussoren added the comment: Ana, The error in "piperroroutput.txt" points to the issue Mark mentioned in msg351131: the current release of Numpy is not compatible with Python 3.8, but the tip of the tree on GitHub is. I can install Numpy from the repository: $ python

[issue36409] plistlib old API should be removed

2019-09-05 Thread Ronald Oussoren
Ronald Oussoren added the comment: New changeset ce81a925ef2d466b0d801deaba9af44a0dfc2aa1 by Ronald Oussoren (Jon Janzen) in branch 'master': bpo-36409: Remove old plistlib API deprecated in 3.4 (GH-15615) https://github.com/python/cpython/commit/ce81a925ef2d466b0d801deaba9af4

[issue18049] Re-enable threading test on macOS

2019-09-06 Thread Ronald Oussoren
Ronald Oussoren added the comment: I think it is unlikely that the timeouts on Azure CI are related to this change. -- ___ Python tracker <https://bugs.python.org/issue18

[issue38053] Update plistlib documentation

2019-09-09 Thread Ronald Oussoren
Ronald Oussoren added the comment: New changeset 24b11b8c95e96cf9c93fb7fc253e6e96506f2d77 by Ronald Oussoren (Jon Janzen) in branch 'master': bpo-38053 Update documentation for plistlib (GH-15727) https://github.com/python/cpython/commit/24b11b8c95e96cf9c93fb7fc253e6e

[issue38053] Update plistlib documentation

2019-09-09 Thread Ronald Oussoren
Change by Ronald Oussoren : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue38053> ___ ___

[issue38331] Exec not recognizing global variables inside function

2019-10-01 Thread Ronald Oussoren
Ronald Oussoren added the comment: I don't think this is a bug. def func(): print(var) This captures the globals at the time of definition, that is "global" references are resolved using the func.__globals__ attribute which is the globals dictionary at the time the func

[issue37677] Seg Fault on OSX when multiprocessing

2019-10-10 Thread Ronald Oussoren
Ronald Oussoren added the comment: Looking at the stack trace this is a similar issue as the "no_proxy" one, but in some sense worse because it happens when just calling a regular unix API (not an Apple framework API). The first few lines of the stack trace are for code in th

[issue38429] Failed to compile with --enable-framework on macOS on master

2019-10-10 Thread Ronald Oussoren
Ronald Oussoren added the comment: W.r.t. the deprecated APIs in getpath.c: Issue15498 That issue contains an ancient patch to switch to non-deprecated APIs, but we haven't had time yet to fully test these. The issue also mentions that Apple's install of Python already switched

[issue38680] PyGILState_Release does not release gil correctly, resulting in deadlock

2019-11-04 Thread Ronald Oussoren
Ronald Oussoren added the comment: What's the value of PyGILState_Check() before the call to PyGILState_Ensure()? PyGILState_Ensure() and PyGILState_Release() should bracket code where you're not sure about the current GIL state, but need the GIL. The Release function only

[issue38680] PyGILState_Release does not release gil correctly, resulting in deadlock

2019-11-05 Thread Ronald Oussoren
Ronald Oussoren added the comment: I don't think this is a bug: - PyGILState_Ensure() acquires the GIL when it is not already acquired (and can be called without checking). It cannot acquire the GIL when some other thread has already taken the GIL, but wait until the GIL is rel

[issue38680] PyGILState_Release does not release gil correctly, resulting in deadlock

2019-11-05 Thread Ronald Oussoren
Ronald Oussoren added the comment: I'm afraid it will be close to impossible to determine what's going on without a reproducer. There's not enough context in the issue to understand the report, in particular what the main thread is doing and how that's releasing the GIL

[issue38609] Trashcan mechanism segfault during interpreter finalization in Python 3.7.5

2019-11-05 Thread Ronald Oussoren
Ronald Oussoren added the comment: The attached code creates a static (global) C++ object that owns a reference to a Python object, and releases that reference in its destructor. That destructor runs at program termination, which is after interpreter shutdown (that is after Py_FinalizeEx is

[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

[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

[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

[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:

[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

[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

[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

[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-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

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