[issue9167] argv double encoding on OSX

2010-07-06 Thread Ronald Oussoren
Ronald Oussoren added the comment: BTW. My 3.1 build is: release31-maint:80235M, which is slightly newer that the 3.1.2 release. -- ___ Python tracker <http://bugs.python.org/issue9

[issue9175] ctypes doesn't build on hp-ux

2010-07-06 Thread Ronald Oussoren
New submission from Ronald Oussoren : During the build of python2.7 on a HP-UX machine I get this compile error when building the ctypes extension: cc -Ae +z -Olimit 1500 -g -DNDEBUG -O -Ibuild/temp.hp-ux-B.11.23-9000-800-2.7/libffi/include -Ibuild/temp.hp-ux-B.11.23-9000-800-2.7/libffi -I

[issue9176] module termios doesn't build on HP-UX

2010-07-06 Thread Ronald Oussoren
New submission from Ronald Oussoren : I get the following error when building the termios module on HP-UX: cc -Ae +z -Olimit 1500 -g -DNDEBUG -O -I/opt/python2.7/include -I. -IInclude -I./Include -I/home/xsupport/bld/Python-2.7/Include -I/home/xsupport/bld/Python-2.7 -c /home/xsupport/bld

[issue9178] Compile problem on HP-UX 11

2010-07-06 Thread Ronald Oussoren
New submission from Ronald Oussoren : I get a segmentation fault in the compiler when building python 2.7 on an HP-UX machine. Compiler version: B9007AA C.11.23.12 HP C/aC++ Developer's Bundle System info: HP-UX ah006b02 B.11.23 U 9000/800 2284397887 unlimited

[issue9176] module termios doesn't build on HP-UX

2010-07-06 Thread Ronald Oussoren
Ronald Oussoren added the comment: Maybe. I don't know when I'll have time to research the issue though. The code looks correct and the HP-UX system headers do include the definition for the type of 'mode' but for some reason that definition doesn't get picked up.

[issue9175] ctypes doesn't build on hp-ux

2010-07-06 Thread Ronald Oussoren
Ronald Oussoren added the comment: I don't think installing GCC will be possible on the machine I did the build on (for non-technical reasons). -- ___ Python tracker <http://bugs.python.org/i

[issue9164] 2.7 sysconfig should handle arch duplicates while building universal on OS X

2010-07-06 Thread Ronald Oussoren
Ronald Oussoren added the comment: How do you build the univeral binary. I regularly build multiple arch builds using the builtin support for that (--enable-universalsdk=/ --enable-univeral-archs=3-way) and don't need a patch for

[issue9164] 2.7 sysconfig should handle arch duplicates while building universal on OS X

2010-07-06 Thread Ronald Oussoren
Ronald Oussoren added the comment: BTW. A cleaner replacement is: archs = tuple(sorted(set(archs))) (That is, sorted works on arbitrary iterables) Tarek: is using "set()" acceptable in the distutils sources? -- nosy: +tarek ___ Pyth

[issue3485] os.path.normcase documentation/behaviour unclear on Mac OS X

2010-07-07 Thread Ronald Oussoren
Ronald Oussoren added the comment: Note that this does not just affect MacOSX, this even affects Linux (although the behaviour on the default filesystems is different). On Linux the default is case-sensitive filesystems, but you can use network filesystems that have case-insensitive behavior

[issue9189] Improve CFLAGS handling

2010-07-07 Thread Ronald Oussoren
Changes by Ronald Oussoren : -- nosy: +ronaldoussoren ___ Python tracker <http://bugs.python.org/issue9189> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9197] subprocess module causing crash

2010-07-08 Thread Ronald Oussoren
Ronald Oussoren added the comment: The title is somewhat misleading, this is a C program that uses dlopen to load the python framework. I will look into this, but it is just as likely that code that loads or uses the python framework has a problem

[issue9197] subprocess module causing crash

2010-07-08 Thread Ronald Oussoren
Ronald Oussoren added the comment: Removing the call to Py_DECREF is fishy. The cleanup of the interpreter state in Py_Finalize doesn't clean up all state when m_copy refers to a version from a previous instance of the interpreter. Maybe the tp_dealloc of a module object clean up m_co

[issue7900] posix.getgroups() failure on Mac OS X

2010-07-08 Thread Ronald Oussoren
Ronald Oussoren added the comment: I got some time and did an experiment to deduce how multiple groups behave. This comment is rather long, a very short summary of the results is that OSX behaves oddly. What I did: * This is on OSX 10.6 * Create 18 groups named group1 to group18 * Create a

[issue9164] 2.7 sysconfig should handle arch duplicates while building universal on OS X

2010-07-08 Thread Ronald Oussoren
Ronald Oussoren added the comment: Jyrki: could you please explain how you build Python to get the behavior you're seeing? The most important bit: what is the exact command-line that is used to run the configure script, and what is the contents of the environment while doing that.

[issue7900] posix.getgroups() failure on Mac OS X

2010-07-08 Thread Ronald Oussoren
Ronald Oussoren added the comment: Your test might expect different behaviour than what OSX actually does (this is an annoying limitation of unittests for wrappers of system behaviour, you'll implicitly test system behaviour as well as the wreappers themselves) The behaviour

[issue9033] cmd module tab misbehavior

2010-07-09 Thread Ronald Oussoren
Ronald Oussoren added the comment: We either have to add some translation, or tweak parts of python: * the cmd module needs to learn how to configure libedit when the readline extension was linked to libedit * the rlcompleter documentation needs to be updated to do the same And that's

[issue1248658] dir should accept dirproxies for __dict__

2010-07-09 Thread Ronald Oussoren
Ronald Oussoren added the comment: AFAIK this is not yet implemented. Patched would be appreciated. I will get around to doing it myself some day, but this issue doesn't have high priority for me. -- priority: normal -> low ___ Python

[issue9164] 2.7 sysconfig should handle arch duplicates while building universal on OS X

2010-07-11 Thread Ronald Oussoren
Ronald Oussoren added the comment: Committed a fix in r82791 (2.7), r82797 (2.6), r82796 (3.2), r82800 (3.1) Tested by running configure and then patching the Makefile to include duplicate arch flags before running make. -- resolution: -> accepted stage: -> committed/re

[issue9197] subprocess module causing crash

2010-07-11 Thread Ronald Oussoren
Ronald Oussoren added the comment: Unassigning, this is not mac-specific and I don't plan to work on this in the near future. -- assignee: ronaldoussoren -> ___ Python tracker <http://bugs.python.or

[issue7895] Mac 10.6 mac_ver() crashes with USING_FORK_WITHOUT_EXEC_IS _NOT_SUPPORTED_BY_FILE_MANAGER

2010-07-11 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've attached a patch for python 3.2 that uses plistlib to read the XML file. This should also work with python 2.7. I want to commit this in the near future, but don't have time right now to apply the patch to all 4 active branches and do test

[issue9227] can't import Tkinter / use IDLE after installing Python 2.7 on Mac OS X

2010-07-11 Thread Ronald Oussoren
Ronald Oussoren added the comment: Mark nails the issue: there is no 64-bit version of Tk on OSX 10.5. I'm -1 on creating a 10.6 specific installer, two installers is confusing enough. IDLE.app somewhat works because the Makefile makes sure it gets started using a 32-bit version o

[issue9245] "from itertools imoprt *" crashes 2to3

2010-07-13 Thread Ronald Oussoren
New submission from Ronald Oussoren : a script containing the following line crashes 2to3 with an assertion error. The line: from itertools import * File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib2to3/fixes/fix_itertools_imports.py", line 24, in

[issue9245] "from itertools imoprt *" crashes 2to3

2010-07-13 Thread Ronald Oussoren
Ronald Oussoren added the comment: A related issue: from itertools import chain, izip, imap This results in an invalid transformation: -from itertools import chain, izip, imap +from itertools import chain, The translated version is an invalid import statement with a ',' at

[issue3402] test_nis is hanging on Solaris

2010-07-13 Thread Ronald Oussoren
Changes by Ronald Oussoren : -- nosy: -ronaldoussoren ___ Python tracker <http://bugs.python.org/issue3402> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9227] can't import Tkinter / use IDLE after installing Python 2.7 on Mac OS X

2010-07-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: I'm going to experiment with embedding a minimal version of Tk in the installer, which would both fix this issue and ensure that we use a version of Tk that is better adjusted to OSX (which should remove some other issues) I want to do this durin

[issue9164] 2.7 sysconfig should handle arch duplicates while building universal on OS X

2010-07-15 Thread Ronald Oussoren
Ronald Oussoren added the comment: Thanks for investigation why MacPorts can use duplicate flags. My patch is in the repository and will be in the next releases of all 4 actively maintained branches. -- status: pending -> closed ___ Python trac

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

2010-07-15 Thread Ronald Oussoren
Ronald Oussoren added the comment: Antoine, to answer your question about universal newlines in pickle in msg87622. The pickle.py docsstrings in 2.7+ contain the following text (amongst others): The optional protocol argument tells the pickler to use the given protocol

[issue4047] test_run_abort triggers CrashReporter on MacOS X

2010-07-16 Thread Ronald Oussoren
Ronald Oussoren added the comment: Triggering the crash reporter is unavoidable. What we could do is print a warning that this will happen at the start of the test. -- ___ Python tracker <http://bugs.python.org/issue4

[issue4111] Add Systemtap/DTrace probes

2010-07-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: On 19 Jul, 2010, at 1:07, Alexander Belopolsky wrote: > > Alexander Belopolsky added the comment: > > If any RedHat/Fedora people are tuned in, can you give us an update on > Systemtap/DTrace support in RedHat/Fedora python? I underst

[issue9189] Improve CFLAGS handling

2010-07-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: On 9 Jul, 2010, at 20:55, Jeffrey Yasskin wrote: > > Jeffrey Yasskin added the comment: > > Oops. Thanks for telling me. Fixed in r82753. I'm pretty sure this patch broke universal builds on OSX. Not the python build itself, but b

[issue6698] IDLE no longer opens only an edit window when configured to do so

2010-07-22 Thread Ronald Oussoren
Ronald Oussoren added the comment: The current behaviour on OSX for IDLE.app is to always open a shell window, and open edit windows for any files that should be opened during launch. IDLE.app does not open an empty edit window, and I agree that this is sane behaviour. One other thing that

[issue5120] Disabling test_ttk_guionly on mac

2010-07-22 Thread Ronald Oussoren
Ronald Oussoren added the comment: Mark: maybe, why don't you test this? -- assignee: -> ronaldoussoren ___ Python tracker <http://bugs.python.or

[issue4047] test_run_abort triggers CrashReporter on MacOS X

2010-07-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: Committed a fix in r83067 (py3k), will backport to other active branches shortly. -- versions: -Python 3.2 ___ Python tracker <http://bugs.python.org/issue4

[issue9073] Tkinter module missing from install on OS X 10.6.4

2010-07-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: As Ned noted Tkinter is named tkinter in py3k. -- resolution: -> invalid stage: -> committed/rejected status: open -> closed type: -> behavior ___ Python tracker <http://bugs.pytho

[issue7895] Mac 10.6 mac_ver() crashes with USING_FORK_WITHOUT_EXEC_IS _NOT_SUPPORTED_BY_FILE_MANAGER

2010-07-23 Thread Ronald Oussoren
Changes by Ronald Oussoren : -- keywords: +easy ___ Python tracker <http://bugs.python.org/issue7895> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5120] Disabling test_ttk_guionly on mac

2010-07-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: This is still an issue for the PPC Tiger buildbot: test_ttk_guionly make: *** [buildbottest] Segmentation fault (Direct link: http://www.python.org/dev/buildbot/builders/PPC%20Tiger%202.7/builds/39/steps/test/logs/stdio

[issue8118] PYTHON_API_VERSION needs to be bumped?

2010-07-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: I agree, this issue can be closed as there's nothing useful we can do at this point in time. -- resolution: -> wont fix stage: -> committed/rejected status: open -> closed ___ Python

[issue9275] python 2.7 OS X installer no longer installs /usr/local/bin symlinks by default

2010-07-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: Fixed in r83070, NEWS update in r83071. -- resolution: -> fixed stage: -> committed/rejected type: -> behavior ___ Python tracker <http://bugs.python.o

[issue9275] python 2.7 OS X installer no longer installs /usr/local/bin symlinks by default

2010-07-23 Thread Ronald Oussoren
Changes by Ronald Oussoren : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue9275> ___ ___ Python-bugs-list mailing list Unsubscri

[issue4047] test_run_abort triggers CrashReporter on MacOS X

2010-07-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: Backported to 3.1 in r83069, 2.7 in r83079, 2.6 in r83083 -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.o

[issue7895] Mac 10.6 mac_ver() crashes with USING_FORK_WITHOUT_EXEC_IS _NOT_SUPPORTED_BY_FILE_MANAGER

2010-07-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: Fixed in r83075 (3.2), r83084 (3.1), r83085 (2.7), r83086 (2.6) -- stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue9344] please add posix.getgrouplist()

2010-07-23 Thread Ronald Oussoren
New submission from Ronald Oussoren : A number of unix systems expose a getgroupslist function to fetch the groups that a user is a member of. It would be nice if that function were exposed to python. See issue7900 for more information on why that would be useful. -- keywords: easy

[issue9344] please add posix.getgrouplist()

2010-07-23 Thread Ronald Oussoren
Changes by Ronald Oussoren : -- nosy: +belopolsky ___ Python tracker <http://bugs.python.org/issue9344> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7900] posix.getgroups() failure on Mac OS X

2010-07-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've added issue9344 for adding os.getgroupslist. I'd prefer to keep adding that function separate from this issue. Btw. I'm +1 on adding such a function. I will shortly commit a port of os-getgroups-v3.patch to 3.2, but withou

[issue9167] argv double encoding on OSX

2010-07-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: Daniele: which version of OSX do you use? And if you use OSX 10.5 or 10.6: which is your system language according to system preferences (the topmost entry in the list of the "Language and Text" preference pane, whose icon looks a little like a U

[issue9335] LC_CTYPE system setting not respected by setlocale()

2010-07-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: This might be caused by the fix for issue7072 (which is mentioned in the NEWS file). -- ___ Python tracker <http://bugs.python.org/issue9

[issue9167] argv double encoding on OSX

2010-07-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: Daniele: never mind, you already said you are on OSX 10.4. The current behavior is only a problem when the system default encoding as implied by LANG is different from the fileystem encoding. How to fix this is an entirely different question: most (all

[issue9335] LC_CTYPE system setting not respected by setlocale()

2010-07-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: Why do you think this may have security implications? I'm closing this as out of date because the issue is fixed and the fix is imho inappropriate for a backport to 2.6 due to the change in behaviour. -- status: pending ->

[issue7900] posix.getgroups() failure on Mac OS X

2010-07-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: Committed a port to python3 for os-getgroups-v3.patch in r83088, including test cases (contrary to what I wrote before). Backports: 3.1: r83093 I'll backport to 2.7 and 2.6 tomorrow. To complete the documentation for picking this patch: I've s

[issue6812] Snow Leopard python program fails because _PyType_Modified is missing from python framework

2010-07-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: Closing as invalid as I cannot reproduce the issue, this seems to be an issue with Apple's copy of Python and the sys.path settings seem odd at best. -- status: open -> closed ___ Python tracke

[issue8410] Fix emulated lock to be 'fair'

2010-07-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: It turns out that posix semaphores aren't supported on OSX. The patch doesn't apply cleanly anymore, and that is not just because of whitespace issues (the patch contains tabs while the tree no longer does). The chunk th

[issue8775] Use locale encoding to encode command line arguments (subprocess, os.exec*(), etc.)

2010-07-24 Thread Ronald Oussoren
Ronald Oussoren added the comment: This issue only seems to be relevant for OSX, and then only for OSX releases before 10.5, because in that release Apple made sure that the LANG variable and simular LC_* ones specify a UTF-8 encoding and we're back at the common case where the files

[issue7900] posix.getgroups() failure on Mac OS X

2010-07-24 Thread Ronald Oussoren
Ronald Oussoren added the comment: 2.7: r83124 2.6: r83126 The fix is now in all active branches, and I therefore close the issue. -- stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.p

[issue7041] test_macostools fails on os x 10.6

2010-07-24 Thread Ronald Oussoren
Changes by Ronald Oussoren : -- assignee: -> ronaldoussoren components: +Macintosh ___ Python tracker <http://bugs.python.org/issue7041> ___ ___ Python-

[issue8798] tkinter build variants on OSX

2010-07-24 Thread Ronald Oussoren
Ronald Oussoren added the comment: We talked about this at the language summit at EuroPython 2010. We'll resolve the installer issue by moving the 64-bit capable installer to Tk 8.5 (with a minimal OSX version of 10.6). The 32-bit installer will still use Tk 8.4 because it needs to r

[issue4813] On OS-X the directories searched by setup.py for Tk are in the wrong order.

2010-07-24 Thread Ronald Oussoren
Ronald Oussoren added the comment: This issue is no longer valid, the current search order from setup.py: def detect_tkinter_darwin(self, inc_dirs, lib_dirs): # The _tkinter module, using frameworks. Since frameworks are quite # different the UNIX search logic is not

[issue9335] LC_CTYPE system setting not respected by setlocale()

2010-07-24 Thread Ronald Oussoren
Ronald Oussoren added the comment: I agree with Martin that the security problem would be in the application, not python itself. Testing with isalpha is generally not the right thing to do anyway, it is much better to restrict input to a know-good set of data, such as by using regular

[issue9197] Crash when importer an extension after Py_Initialize, Py_Finalize and Py_Initialize

2010-07-24 Thread Ronald Oussoren
Ronald Oussoren added the comment: (changing subject to better tell what this issue is about) -- title: subprocess module causing crash -> Crash when importer an extension after Py_Initialize, Py_Finalize and Py_Initialize ___ Python tracker &l

[issue7041] test_macostools fails on os x 10.6

2010-07-24 Thread Ronald Oussoren
Ronald Oussoren added the comment: This issue was fixed in the repository a while back by disabling these tests on 64-bit systems. As Ned notes the code uses APIs that aren't available for 64-bit processes. -- status: open -> closed __

[issue7473] Compile error when building a 3-way universal framework when a 2-way universal framework is present

2010-07-24 Thread Ronald Oussoren
Ronald Oussoren added the comment: The attached patch makes sure that os.path.join(sys.prefix, 'lib') isn't added to the link path when using a framework build. This fixes the issue at hand in that I can then build a 3-way build of 2.7 when the default 32-bit is already ins

[issue9047] Python 2.7rc2 includes -isysroot twice on each gcc command line

2010-07-24 Thread Ronald Oussoren
Ronald Oussoren added the comment: The root cause of having the flags twice is that the Makefile explicitly sets LDFLAGS in the environment before when running setup.py, and that distutils appens the value of $(LDFLAGS) to $(LDSHARED) when LDFLAGS is set in the environment. Line from the

[issue8938] Mac OS dialogs(Save As..., Load) translation

2010-07-24 Thread Ronald Oussoren
Ronald Oussoren added the comment: I don't think the Tk framework that is used by Tkinter is actually localized, but I don't know enough of Tcl/Tk to know for sure. EasyDialogs isn't explicitly localized either, and I guess the system doesn't do automatic localization ei

[issue9167] argv double encoding on OSX

2010-07-24 Thread Ronald Oussoren
Ronald Oussoren added the comment: Using the CF API to fetch the system encoding won't work: Using PyObjC: >>> CFStringConvertEncodingToIANACharSetName(CFStringGetSystemEncoding()) u'macintosh' There doesn't seem to be another way to extract the prefered encoding

[issue8095] test_urllib2 crashes on OS X 10.3 attempting to retrieve network proxy configuration

2010-07-24 Thread Ronald Oussoren
Ronald Oussoren added the comment: Ned: could you please check if the issue is present in Python 2.7? I don't have access to machines that are capable of running OSX 10.3. -- ___ Python tracker <http://bugs.python.org/i

[issue4199] add shorthand global and nonlocal statements

2010-07-24 Thread Ronald Oussoren
Changes by Ronald Oussoren : -- versions: +Python 3.3 -Python 3.2 ___ Python tracker <http://bugs.python.org/issue4199> ___ ___ Python-bugs-list mailing list Unsub

[issue9367] test_getgroups in test_posix fails

2010-07-24 Thread Ronald Oussoren
Changes by Ronald Oussoren : -- assignee: -> ronaldoussoren nosy: +ronaldoussoren ___ Python tracker <http://bugs.python.org/issue9367> ___ ___ Python-bugs-lis

[issue9367] test_getgroups in test_posix fails

2010-07-24 Thread Ronald Oussoren
Ronald Oussoren added the comment: Committed a fix in: 3.2: r83133 3.1: r83134 2.7: r83135 2.6: r83136 I ended up committing a slightly different patch than attached here, the test now calls sorted to sort both lists before comparing, which IMO makes it slightly clearer

[issue7962] Demo and Tools need to be tested and pruned

2010-07-26 Thread Ronald Oussoren
Ronald Oussoren added the comment: What Apple does and doesn't ship is not important for this discussion. FWIW: Apple doesn't ship any of the GUI wrappers installed in /Applications, although they seem to ship Applet Builder as part of Developer tools (beets my why the bother).

[issue9384] Tkinter windows pop under the terminal in OSX

2010-07-26 Thread Ronald Oussoren
Ronald Oussoren added the comment: I was more interested in the other problem you mentioned about "pydoc -g" crashing when you search for something. Does "pydoc -k" also crash? The -g option works for me, working or not working depends on the set of installed python pa

[issue9392] 2.7 framework install doesn't create 2to3-2.7

2010-07-27 Thread Ronald Oussoren
New submission from Ronald Oussoren : Framework installs ensure that all tools and scripts are installed using versioned names (as well as the regular names) to make it easier to use multiple versions of python side by side. The 2.7 tree fails to create a versioned name of the 2to3 tool

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

2010-07-29 Thread Ronald Oussoren
Ronald Oussoren added the comment: mike: the crash is a bug and I will try to find a solution for it. A number of Apple APIs have issues with being called in child processes created with fork without calling exec. This sucks big time. -- priority: normal -> h

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

2010-07-29 Thread Ronald Oussoren
Ronald Oussoren added the comment: Interestingly enough I don't get the crash in a copy of 2.7, but do get the crash in a copy of 2.6. The former was build on 10.6, the later on 10.5. Both 3.1 and 3.2 crash reliably for me (after porting the script to py3k) /usr/bin/python doesn't

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

2010-07-29 Thread Ronald Oussoren
Ronald Oussoren added the comment: <http://developer.apple.com/mac/library/technotes/tn2005/tn2083.html#SECDAEMONVSFRAMEWORKS> explains the issue that Ned mentions, I'm not sure yet if this crash is related to that. -- ___ Python tra

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

2010-07-29 Thread Ronald Oussoren
Ronald Oussoren added the comment: This seems to be a minimal program to reproduce the problem: import sys import os import platform platform.mac_ver() if sys.version_info[0] == 2: import urllib else: import urllib.request if os.fork() == 0: print ("about to call getpr

[issue9392] 2.7 framework install doesn't create 2to3-2.7

2010-07-29 Thread Ronald Oussoren
Ronald Oussoren added the comment: Fixed in r83221 -- resolution: -> fixed stage: -> committed/rejected status: open -> closed type: -> behavior ___ Python tracker <http://bugs.pytho

[issue5262] PythonLauncher considered harmfull

2010-07-29 Thread Ronald Oussoren
Ronald Oussoren added the comment: Kevin: what's your opinion on changing PythonLauncher to check if it is the default action for opening python files and warning about that? What about refusing to run when Python Launcher is the default action for python files? Users would still be

[issue901727] extra_path kwarg to setup() undocumented

2010-07-29 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've attached a documentation patch for this (for py3k) -- keywords: +needs review, patch Added file: http://bugs.python.org/file18261/apiref.patch ___ Python tracker <http://bugs.python.org/iss

[issue5154] OSX broken poll testing doesn't work

2010-07-29 Thread Ronald Oussoren
Ronald Oussoren added the comment: Time to try to get this going again... What exactly is wrong with poll on OSX? Both the configure test and the runtime test for poll behavior work as designed. According to the first message there are other problems with poll on OSX, but without a clear

[issue5262] PythonLauncher considered harmfull

2010-07-29 Thread Ronald Oussoren
Ronald Oussoren added the comment: > Would your other proposed change require users to set PythonLauncher as the > opening app for each Python file, or would there be a way to manually set it > as the default from Finder or elsewhere? I would no longer be possible to set PythonLa

[issue7900] posix.getgroups() failure on Mac OS X

2010-08-01 Thread Ronald Oussoren
Ronald Oussoren added the comment: The 2.6 problem (the solaris buildbot you link to) should be fixed in r83420. -- ___ Python tracker <http://bugs.python.org/issue7

[issue7900] posix.getgroups() failure on Mac OS X

2010-08-01 Thread Ronald Oussoren
Ronald Oussoren added the comment: The other problem is fixed in r83431 for the py3k trunk. I'll check the buildbot status tomorow morning, if that shows that the issue is truly gone I'll backport to the other branches and close

[issue9455] platform test borked in 2.7 branch on Power PC

2010-08-02 Thread Ronald Oussoren
Ronald Oussoren added the comment: On 2 Aug, 2010, at 21:49, Bill Janssen wrote: > > Bill Janssen added the comment: > > So the problem is in the _mac_ver_xml() routine in Lib/platform.py, which > says: > > >machine = os.uname()[4] >if machi

[issue7900] posix.getgroups() failure on Mac OS X

2010-08-03 Thread Ronald Oussoren
Ronald Oussoren added the comment: Some else backported to 3.1 (that is, 3.1 already contained the fix when I tried the svnmerge) Backported to 2.7 in r83643 Backported to 2.6 in r83650 -- Added file: http://bugs.python.org/file18336/smime.p7s

[issue7900] posix.getgroups() failure on Mac OS X

2010-08-03 Thread Ronald Oussoren
Changes by Ronald Oussoren : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue7900> ___ ___ Python-bugs-list mailing list Unsubscri

[issue9455] platform test borked in 2.7 branch on Power PC

2010-08-03 Thread Ronald Oussoren
Ronald Oussoren added the comment: Fixed in r83644 (3.x), r83645 (3.1), r83646 (2.7), r83651 (2.6) I'm not yet closing the issue, I want to check the buildbots later today. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: +Python 2

[issue9502] Bus error on OS X while unittest'ing QT app

2010-08-03 Thread Ronald Oussoren
Ronald Oussoren added the comment: And more importantly: your report contains to little information to determine what's going on. Even a full crashreporter log is fairly useless unless you have access to the original binary and debugging symbols. Therefore: * Try to reproduce the crash

[issue9508] python3.2 reversal of distutils reintrocud macos9 support

2010-08-04 Thread Ronald Oussoren
New submission from Ronald Oussoren : Distutils in the py3k trunk was reverted to the version in the 31-maint branch a couple of weeks back. This reintroduced some macos9 support code that was removed in the trunk but not the maint branches. All code reverting to sys.platform == 'mac&#x

[issue9516] sysconfig: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.3" but "10.5" during configure

2010-08-07 Thread Ronald Oussoren
Ronald Oussoren added the comment: I agree that this behavior wrong, this should only trigger an error when building packages. How did you build python? I guess something like this: $ export MACOSX_DEPLOYMENT_TARGET=10.5 $ configure --enable-framework $ make install This should result in

[issue9047] Python 2.7rc2 includes -isysroot twice on each gcc command line

2010-08-07 Thread Ronald Oussoren
Ronald Oussoren added the comment: The patch is not sufficient to fix this issue. One problem is that the configure script also using CFLAGS and CPPFLAGS, which results in duplicate -isysroot flags when the compiler is used by configure. Fixing this properly is annoyingly hard, I'll ha

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

2010-08-09 Thread Ronald Oussoren
Ronald Oussoren added the comment: I agree that this is an annoying bug, and I'm glad that it doesn't occur in the 27-maint branch. I won't close this issue yet though, I'd prefer to add a unittest that demonstrates the problem in 2.7.0 and shows that the problem

[issue9556] Specifying the time a TimedRotatingFileHandler rotates

2010-08-10 Thread Ronald Oussoren
New submission from Ronald Oussoren : The logging module contains a TimedRotatingFileHandler that automaticly rotates the logfile after a specified interval. This class misses an important feature: it is not possible to specify at what time the file should be rotated, unless that time is

[issue9556] Specifying the time a TimedRotatingFileHandler rotates

2010-08-10 Thread Ronald Oussoren
Changes by Ronald Oussoren : -- type: behavior -> feature request ___ Python tracker <http://bugs.python.org/issue9556> ___ ___ Python-bugs-list mailing list Un

[issue8688] distutils sdist is too laze w.r.t. recalculating MANIFEST

2010-08-10 Thread Ronald Oussoren
Ronald Oussoren added the comment: I agree with msg113530 and msg112371 that the current behavior is a bug: distutils is now too agressive because it recalculates the MANIFEST file even when distutils isn't the one that calculated it in the first place. This is a functional regression

[issue28940] __length_hint__ isn't a hint for list()

2016-12-11 Thread Ronald Oussoren
New submission from Ronald Oussoren: The following code raises MemoryError instead of creating an empty list: # START import sys class CustomIter: def __iter__(self): return self def __next__(self): raise StopIteration def __length_hint__(self): return

[issue28747] Expose SSL_CTX_set_cert_verify_callback

2017-01-31 Thread Ronald Oussoren
Changes by Ronald Oussoren : -- nosy: +ronaldoussoren ___ Python tracker <http://bugs.python.org/issue28747> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29557] binhex documentation claims unknown bug

2017-02-15 Thread Ronald Oussoren
Ronald Oussoren added the comment: I think the comment about needing translation on non-mac systems is incorrect. Binhex is (or rather was) a textual encoding for binary files used on classic MacOS. The encoded file is more likely to be binary data than a text file and replacing b'\r&#x

[issue29562] test_getgroups of test_posix fails (on OS X 10.10)

2017-02-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: Note that the result of getgroups(2) is fixed on login, while "id -G" reflects the current state of the user database on macOS. Could this explain this failure? That is, have you tried logging out and in again before running the

[issue8406] Make some setup.py paths exclude-able

2016-07-20 Thread Ronald Oussoren
Ronald Oussoren added the comment: I don't understand why this issue was closed. Apparently it was closed because it is an old issue without checking if the issue is still relevant??? To be honest the way setup.py looks for libraries could use some attention, the current methods is a bi

[issue13376] readline: pre_input_hook not getting called

2016-07-20 Thread Ronald Oussoren
Ronald Oussoren added the comment: The problem with fixing in editline is that Apple ships a copy of editline and that is used when build CPython by default. IMHO it would be acceptable to work around this in the readline extension if that can be done in a clean way

[issue8406] Make some setup.py paths exclude-able

2016-07-20 Thread Ronald Oussoren
Ronald Oussoren added the comment: Did you create that new issue? If not this feature request will likely be forgotten. Hmmm... Issue7713 appears to be good enough for remembering that there is a problem with the way setup.py looks for libraries

<    18   19   20   21   22   23   24   25   >