[issue9662] ctypes not building under OS X because of ffi_closure_free not being defined early enough

2010-09-05 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've committed the patch in #5504 in r84535 (3.2) and that fixes this issue. The same problem affects 2.7, I'm currently running the testsuite with the backport of this commit. -- resolution: -> fixed stage: needs patch -> co

[issue6839] zipfile can't extract file

2010-09-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: I'd prefer if the code no longer checked if the filename in the directory matches the name in the per-file header. The reason of that is that the two don't have to match: it is relatively cheap to rename a file in the zipfile by rewriting the

[issue9850] obsolete macpath module dangerously broken and should be removed

2010-09-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: MacOS9 is already unsupported, except for macpath all traces of OS9 support are gone with the possible exception of distutils (I removed traces of OS9 support code in 3.2 and those got restored when Tarek replaced distutils by the version from the 3.1

[issue9850] obsolete macpath module dangerously broken and should be removed

2010-09-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: I'm -0 on removing the module wholesale because parts of OSX still use MacOS9 style paths (in particular some Carbon APIs and AppleScript). I'm +1 on removing all functions that aren't path manipulation code, that is 'macpath.jo

[issue9662] ctypes not building under OS X because of ffi_closure_free not being defined early enough

2010-09-16 Thread Ronald Oussoren
Ronald Oussoren added the comment: (Finally...) Checked in for 2.7 in r84846 -- status: open -> closed ___ Python tracker <http://bugs.python.org/iss

[issue8445] buildbot: test_ttk_guionly failures (test_traversal, test_tab_identifiers, test_identify, test_heading_callback)

2010-09-16 Thread Ronald Oussoren
Ronald Oussoren added the comment: Unassigning because the issue affects more than just OSX and I'm not a Tkinter expert. -- assignee: ronaldoussoren -> ___ Python tracker <http://bugs.python.or

[issue9701] Update ZSH profile on Mac OS installation

2010-09-16 Thread Ronald Oussoren
Ronald Oussoren added the comment: Thanks for the patch. I will apply this before the next release. -- ___ Python tracker <http://bugs.python.org/issue9

[issue9867] Interrupted system calls are not retried

2010-09-16 Thread Ronald Oussoren
Ronald Oussoren added the comment: Wouldn't retrying on EINTR cause havoc when you try to interrupt a process? That is: what would happen with the proposed patch when a python script does a read that takes a very long time and the user tries to interrupt the script (by using Ctrl+C to s

[issue9867] Interrupted system calls are not retried

2010-09-16 Thread Ronald Oussoren
Ronald Oussoren added the comment: On 16 Sep, 2010, at 14:36, Armin Ronacher wrote: > > Armin Ronacher added the comment: > >> Wouldn't retrying on EINTR cause havoc when you try to interrupt a process? > > All your C applications are doing it, why shoul

[issue9867] Interrupted system calls are not retried

2010-09-16 Thread Ronald Oussoren
Ronald Oussoren added the comment: On 16 Sep, 2010, at 14:38, Armin Ronacher wrote: > > Armin Ronacher added the comment: > > There is a funny story related to that though :) > > "BSD avoids EINTR entirely and provides a more convenient approach: > to restart

[issue9867] Interrupted system calls are not retried

2010-09-16 Thread Ronald Oussoren
Ronald Oussoren added the comment: On 16 Sep, 2010, at 15:40, Armin Ronacher wrote: > > Armin Ronacher added the comment: > >> You conveniently didn't quote the part of my message where I explained >> why I think there may be a problem. > I understand that, b

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

2010-09-16 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've attached a patch for 3.2 that should fix the issue. The patch adds a couple of testcases (1 for sysconfig and 1 for distutils.command.build_ext), adjust a couple more and implements the following functional changes: 1) sysconfig._init_posix no l

[issue1653416] OS X print >> f, "Hello" produces no error: normal?

2010-09-16 Thread Ronald Oussoren
Ronald Oussoren added the comment: This is not an issue for 3.x because the io library doesn't use stdio. I'd say this is unlikely to get fixed in 2.7 as every call to stdio functions needs to be checked and updated. -- versions: -Python 3.1,

[issue9923] mailcap module may not work on non-POSIX platforms if MAILCAPS env variable is set

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

[issue9907] interactive mode TAB does not insert on OS X built with editline instead of GNU readline

2010-09-24 Thread Ronald Oussoren
Ronald Oussoren added the comment: Patch looks fine and should IMO be applied -- ___ Python tracker <http://bugs.python.org/issue9907> ___ ___ Python-bugs-list m

[issue9970] PyMemoryView_FromBuffer is not documented

2010-09-28 Thread Ronald Oussoren
New submission from Ronald Oussoren : PyMemoryView_FromBuffer() in Include/memoryobject.h is undocumented. The function name seems to indicate that it intended to be a public API. -- assignee: d...@python components: Documentation messages: 117518 nosy: d...@python, ronaldoussoren

[issue9701] Update ZSH profile on Mac OS installation

2010-09-28 Thread Ronald Oussoren
Ronald Oussoren added the comment: Committed in r85059 (3.2), r85060 (2.7), r85061 (3.1) Thanks again. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed type: -> behavior ___ Python tracker <http://

[issue9594] typo on Mac/Makefile.in? s/pythonw/python/

2010-09-28 Thread Ronald Oussoren
Ronald Oussoren added the comment: There is no typo. The python and pythonw executables are the same and are build as 'pythonw' and installed with the right name. -- resolution: -> invalid stage: -> committed/rejected status: open -> closed ve

[issue9568] test_urllib2_localnet fails on OS X 10.3

2010-09-28 Thread Ronald Oussoren
Ronald Oussoren added the comment: Applied the patch in r85062 (3.2), r85063 (3.1), r85064 (2.7) -- status: open -> closed ___ Python tracker <http://bugs.python.org/iss

[issue9907] interactive mode TAB does not insert on OS X built with editline instead of GNU readline

2010-09-28 Thread Ronald Oussoren
Ronald Oussoren added the comment: On second thought, the patch isn't quite as harmless as I first thought: the default key-bindings that are created after the call to rl_initialize will replace custom bindings in the users .editrc file. I've attached a new version of the py3k

[issue812750] OSA support for properties broken

2010-09-28 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've applied the documentation patch that Ned suggests in r I'm furthermore closing this issue as "Won't Fix" because the OSA bindings are no longer developed and we'll therefore not implement the new feature that Ja

[issue812750] OSA support for properties broken

2010-09-28 Thread Ronald Oussoren
Ronald Oussoren added the comment: Sent the message too soon... the documentation update is in r85069. -- ___ Python tracker <http://bugs.python.org/issue812

[issue9992] Command line arguments are not correctly decodediflocale and fileystem encodingsaredifferent

2010-10-11 Thread Ronald Oussoren
Ronald Oussoren added the comment: On 09 Oct, 2010,at 02:07 PM, Antoine Pitrou wrote: Antoine Pitrou added the comment: > For the command line, it would mean that we > introduced a new encoding: "command line encoding", which will be utf-8 on > OSX. Or more gen

[issue10074] dictobject.c: crash in Py_XDECREF

2010-10-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: It is not impossible that this is a bug in python, but IMHO pretty unlikely, it is way more likely to be a bug in a 3th-party extension. BTW. This issue is very likely to languish unless you add a way to reproduce the issue (and preferably without Komodo

[issue10107] Quitting IDLE on Mac doesn't save unsaved code

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

[issue10107] Quitting IDLE on Mac doesn't save unsaved code

2010-10-15 Thread Ronald Oussoren
Ronald Oussoren added the comment: Kevin, which versions of Tk does this work with? IDLE should at least work with the versions of Tk 8.4 and 8.5 that Apple ships with OSX 10.4, 10.5 and 10.6 (the last one being the only one with built-in support for Tk 8.5

[issue6864] IDLE 2.6.1 locks up on Mac OS 10.6

2010-10-20 Thread Ronald Oussoren
Ronald Oussoren added the comment: Richard: I don't understand your message. What abort are you talking about? -- ___ Python tracker <http://bugs.python.org/i

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

2010-10-20 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've verified that the patch does not cause problems when building the OSX installer. That patch should be applied, with a short comment that explains why the code block is disabled for framework builds. -- versions: -Pytho

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

2010-10-20 Thread Ronald Oussoren
Ronald Oussoren added the comment: Committed the fix for 3.2 in r85744, for 2.7 in r85745 and for 3.1 in r85746 BTW. The installer does mention which architectures are supported, both in a README on the disk image and in one of the readme screens in the installer. -- stage: needs

[issue763708] Failures in test_macostools for --enable-unicode=ucs4

2010-10-20 Thread Ronald Oussoren
Changes by Ronald Oussoren : Removed file: http://bugs.python.org/file13487/issue763708.patch ___ Python tracker <http://bugs.python.org/issue763708> ___ ___ Python-bug

[issue763708] Failures in test_macostools for --enable-unicode=ucs4

2010-10-20 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've attached a new patch that works for me. The new patch doesn't try to warn when running the configure script, but bails out when you run make by using an '#error' in pymacconfig.h. (Removing 2.6 because that's in security-fix-

[issue9670] Exceed Recursion Limit in Thread

2010-10-20 Thread Ronald Oussoren
Ronald Oussoren added the comment: The attached patch explicitly sets the minimal stack size to about 704K, which is the minimal size where 'def f(): f()' doesn't cause a buserror when run in a thread. -- keywords: +needs review, patch stage: needs patch -> patch

[issue6763] Crash on mac os x leopard in mimetypes.guess_type (or PyObject_Malloc)

2010-10-20 Thread Ronald Oussoren
Ronald Oussoren added the comment: I'm closing this as a duplicate of #9670, that is: too deep recursion in a thread doesn't trigger the appropriate exception but causes a hard crash instead. I have attached a patch to that issue (but haven't applied it yet, I'd like s

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

2010-10-20 Thread Ronald Oussoren
Ronald Oussoren added the comment: Marc-Andre: does the current HEAD of the 2.7 and 3.2 branches work for you? The build still has duplicate flags, but that doesn't seem to cause problems on my machines. If it also doesn't cause problems on your machines I'd prefer to clos

[issue10154] locale.normalize strips "-" from UTF-8, which fails on Mac

2010-10-20 Thread Ronald Oussoren
Ronald Oussoren added the comment: This patch solves the immediate failure: Index: Lib/locale.py === --- Lib/locale.py (revision 85743) +++ Lib/locale.py (working copy) @@ -396,6 +396,9 @@ else

[issue9670] Exceed Recursion Limit in Thread

2010-10-20 Thread Ronald Oussoren
Ronald Oussoren added the comment: On 20 Oct, 2010, at 17:41, Leonardo Santagada wrote: > > Leonardo Santagada added the comment: > > Why not make it bigger so it doesn't crash for much bigger functions? I don't mind making it bigger, but a larger size does come wi

[issue10154] locale.normalize strips "-" from UTF-8, which fails on Mac

2010-10-20 Thread Ronald Oussoren
Changes by Ronald Oussoren : Removed file: http://bugs.python.org/file19300/smime.p7s ___ Python tracker <http://bugs.python.org/issue10154> ___ ___ Python-bugs-list m

[issue9167] argv double encoding on OSX

2010-10-20 Thread Ronald Oussoren
Ronald Oussoren added the comment: Thank you. I'll check, but probably only sometime next week. -- ___ Python tracker <http://bugs.python.org/issue9167> ___ ___

[issue4111] Add Systemtap/DTrace probes

2010-10-20 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've the same question as Jesús Cea Avión: what is needed to get this in 3.2? This would IMHO be a useful feature. -- ___ Python tracker <http://bugs.python.org/i

[issue10209] Mac OS X: Decompose filenames on encode, and precompose filenames on decode

2010-10-28 Thread Ronald Oussoren
Ronald Oussoren added the comment: For completeness sake: Apple's Cocoa APIs do not renormalize strings, that is: I've created a file named 'één' in the Terminal, then (using a python 3.2 build): # Terminal input seems NFC: >>> len('één') 3 # Outpu

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

2010-11-11 Thread Ronald Oussoren
Ronald Oussoren added the comment: This is the expected behavior on OSX. Apple has a pretty odd interpretation of the standards wrt getgroups and setgroups behavior. This behavior is not a bug in python Sent from my iPhone On 11 nov. 2010, at 22:17, Stephen Hansen wrote: > > S

[issue10395] os.path.commonprefix broken by design

2010-11-12 Thread Ronald Oussoren
New submission from Ronald Oussoren : The documentation for os.path.commonprefix notes: os.path.commonprefix(list) Return the longest path prefix (taken character-by-character) that is a prefix of all paths in list. If list is empty, return the empty string (''). Note that this

[issue10395] os.path.commonprefix broken by design

2010-11-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: That's why I write 'broken by design' in the title. A "fix" for this will have to a new function, if any get added (I've written a unix implementation that finds the longest shared path several times and can provide an implem

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

2010-11-15 Thread Ronald Oussoren
Ronald Oussoren added the comment: If anything should be done the test that checks the output of id -G should be removed if we want the buildbot to keep running without problems when you change the buildbots account. After reading the message about the new failures again I don't think

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

2010-11-15 Thread Ronald Oussoren
Ronald Oussoren added the comment: I'm still -1 on changing the test. The test only fails when run from the buildbot and the buildbot account is changed without restarting buildbot. Changing the buildbot account should happen almost never, and IMO you should restart the buildbot daemon

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

2010-11-16 Thread Ronald Oussoren
Ronald Oussoren added the comment: Please explain how the failure can be reproduced. I've done some testing on my machine using Apple's copy of python 2.6.1 (on OSX 10.6), which has the same getgroups implementation as the current heads of the active branches. >>> os.g

[issue11445] python.exe on OS X shared-llbrary build erroneously linked to MacPorts python library

2011-03-09 Thread Ronald Oussoren
Ronald Oussoren added the comment: It is --enable-shared that is the culprit, but in the negated form... The OSX linker will search the entire link path for a shared library before trying to look for a static library. As a workaround you could use '--enable-shared', and that sho

[issue1099] Mac compile fails with pydebug and framework enabled

2011-03-11 Thread Ronald Oussoren
Ronald Oussoren added the comment: The attached patch removes the call to libtool and always links the framework using gcc (as was already done for universal builds). With this patch I can build the framework using the following configure command-line on OSX 10.6: ../configure --with

[issue11464] Call Mac API Crash via ctypes

2011-03-11 Thread Ronald Oussoren
Ronald Oussoren added the comment: This is almost certainly not a bug in Python, but in the code in this issue. CGEventGetLocation() is a function that returns a CGPoint, while ctypes assumes that function returns value of C type int. The effect of this is that ctypes will create the wrong

[issue1099] Mac compile fails with pydebug and framework enabled

2011-03-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: Good catch, and that would also allow dropping the change to configure.in (which would only ensure that -isysroot gets defined correctly). -- ___ Python tracker <http://bugs.python.org/issue1

[issue11464] Call Mac API Crash via ctypes

2011-03-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: yufun, you better ask on python-list or the pythonmac-sig e-mail list (<http://www.python.org/community/sigs/current/pythonmac-sig/>). The added bonus is that you'll get into contact with other users of Python on OSX. The ctypes API is explained

[issue10735] platform.architecture() gives misleading results for OS X multi-architecture executables

2011-03-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: IMHO the change to 'bits' is bogus, it is supposed to return the bit-size of the executable, not that of the currently running executable. I'd return all executable bitsizes in bits as '32bit', '64bit' or '32bit,64bit

[issue3493] No Backslash (\) in IDLE 1.2.2

2011-03-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: Do I understand it correctly when I write that you normally use "Option+Slash" to enter a backslash on your keyboard? That would explain why updating the keyboard bindings makes it possible to type a backslash. I'm not sure how we could fix

[issue5154] OSX broken poll testing doesn't work

2011-03-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: Florent: I don't understand why the traceback you show is related to this issue. -- ___ Python tracker <http://bugs.python.org/i

[issue10735] platform.architecture() gives misleading results for OS X multi-architecture executables

2011-03-13 Thread Ronald Oussoren
Ronald Oussoren added the comment: W.r.t the MachO name: I misread the patch, MachO is fine as the name for the reasons you mention. I'm not convinced that your hack to make bits return the pointer size of the currently running architecture when testing sys.executable is useful, espec

[issue11485] Default SDK value on MacOSX needs changing

2011-03-13 Thread Ronald Oussoren
New submission from Ronald Oussoren : (based on the fruitfull meating I had with Ned after the language summit at Pycon '11) Running configure on a MacOSX system will set MACOSX_DEPLOYMENT_TARGET to 10.4, which is probably not optimal for anyone on a recentish system. It would be bett

[issue11486] Add option to not install into /Applications

2011-03-13 Thread Ronald Oussoren
New submission from Ronald Oussoren : It would be nice if it were possible to install a framework installation from source without also installing files into /Applications. This could be done by adding an option to configure --without-macosx-applications. The primairy usecase for this is

[issue11485] Default SDK value on MacOSX needs changing

2011-03-13 Thread Ronald Oussoren
Changes by Ronald Oussoren : -- versions: +Python 3.3 ___ Python tracker <http://bugs.python.org/issue11485> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11487] build_installer.py should avoid relying on a young Python

2011-03-13 Thread Ronald Oussoren
Ronald Oussoren added the comment: I noticed this myself as well when building a fresh checkout, without build_installer.py. This is because the header file and input grammar have the same timestamp, and which forces the rebuild. That causes problems on OSX when you build with a different

[issue11487] build_installer.py should avoid relying on a young Python

2011-03-13 Thread Ronald Oussoren
Ronald Oussoren added the comment: To avoid duplicate work: I'll commit a patch during the pycon sprints -- ___ Python tracker <http://bugs.python.org/is

[issue11487] build_installer.py should avoid relying on a young Python

2011-03-13 Thread Ronald Oussoren
Ronald Oussoren added the comment: This does not only affect the installer. On my machine the python on $PATH was build using the 10.6 deployment target. When I build python from a fresh checkout I get an error message because the 10.6 python gets run with deployment target 10.4 and then

[issue11485] Default SDK value on MacOSX needs changing

2011-03-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: See Issue11487 for more discussion on the SDK issue. As a workaround do "touch Include/Python-ast.*" to ensure that the build won't try to rebuild the header files (those files are up-to-date, but the timestamps in a fresh checkout are the s

[issue11487] build_installer.py should avoid relying on a young Python

2011-03-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: Issue11485 contains a comment of someone that ran into the same issue is me. -- ___ Python tracker <http://bugs.python.org/issue11

[issue1099] Mac compile fails with pydebug and framework enabled

2011-03-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've added a new patch which only updates makefile.pre.in. -- Added file: http://bugs.python.org/file21112/issue1099-v2.patch ___ Python tracker <http://bugs.python.org/i

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

2011-03-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: Tarek: could you comment on this patch, in particular: is it OK to commit this to 2.7, 3.2 and head? (I haven't checked yet if the patch still applies cleanly, will do that later today) -- ___ Python tr

[issue1099] Mac compile fails with pydebug and framework enabled

2011-03-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: The patch has a spurious backslash at the end of the $(CC) command, but should otherwise be OK. I'm currently running the testsuite in will later today push the fix to the repository. -- ___ Python tr

[issue1099] Mac compile fails with pydebug and framework enabled

2011-03-14 Thread Ronald Oussoren
Changes by Ronald Oussoren : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.o

[issue11148] Crash and error message from Python VM

2011-03-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: I agree this is a duplicate of #6721. I'm therefore closing this issue. -- resolution: -> duplicate stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.pyth

[issue9670] Exceed Recursion Limit in Thread

2011-03-14 Thread Ronald Oussoren
Changes by Ronald Oussoren : Removed file: http://bugs.python.org/file19301/smime.p7s ___ Python tracker <http://bugs.python.org/issue9670> ___ ___ Python-bugs-list mailin

[issue9670] Exceed Recursion Limit in Thread

2011-03-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've slightly updated the patch: 1) Increase default stack size to 1MByte 2) Change the preprocessor guard to also trigger on FreeBSD Without this patch I get crashes for 32-bit and 64-bit Intel architectures on OSX 10.6, with this patch those crash

[issue9670] Exceed Recursion Limit in Thread

2011-03-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: The attached unittest file triggers the issue until the patch is applied. I'm not sure if I'd be a good idea to add this test as is to the testsuite, given the hard crash when it fails. -- Added file: http://bugs.python.org/file21127/test

[issue8746] os.chflags() and os.lchflags() are not built when they should be be

2011-03-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: Tests for the posix module should go in test_posix. The name 'posix' is used very loosely in python, it is basicly used as an alias for 'unixy'. I'm not too happy about replicating the definition of the flags, as Ned noted the flag

[issue10237] failure in Barrier tests

2011-03-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: Is this issue still valid? The last comment seems to indicate that the issue is fixed and could be closed. -- nosy: +ronaldoussoren ___ Python tracker <http://bugs.python.org/issue10

[issue10684] Folders get deleted when trying to change case with shutil.move (case insensitive file systems only)

2011-03-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: The fallback to copy+remove happens because shutil.move first checks if the destination exists and is a directory, if so it moves the source into the destination, that is, given: os.mkdir('foo') os.mkdir('bar') Then ``shutil.move(&#

[issue10684] Folders get deleted when trying to change case with shutil.move (case insensitive file systems only)

2011-03-14 Thread Ronald Oussoren
Changes by Ronald Oussoren : -- keywords: +needs review stage: needs patch -> patch review versions: +Python 3.3 -Python 2.6 ___ Python tracker <http://bugs.python.org/issu

[issue10433] Document unique behavior of 'getgroups' on OSX

2011-03-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: I do understand the issue, but I'm not sure if I can write it down consisely. I've attached an initial attempt (patch is relative to the default branch, I'll port to 2.7 and 3.2 if it looks OK) -- keywords: +needs review, patch A

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

2011-03-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: I'm closing this issue again, the current behavior is intended (as it mirrors platform behavior). -- status: open -> closed ___ Python tracker <http://bugs.python.or

[issue11500] Fixes failing urllib2 proxy tests on OSX

2011-03-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: Patch looks great, I'll commit shortly. Thanks for the patch. -- nosy: +ronaldoussoren ___ Python tracker <http://bugs.python.org/is

[issue11500] Fixes failing urllib2 proxy tests on OSX

2011-03-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: The patch got merged. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue9344] please add posix.getgrouplist()

2011-03-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: Patch looks good, but this likely runs into the same problem as #7900: the user can be a member of more than NGROUPS_MAX on OSX. I'll test this tomorrow (by creating a temporary user that is a member of more than 16 g

[issue11055] OS X IDLE 3.2 Save As menu accelerator opens two Save windows

2011-03-15 Thread Ronald Oussoren
Ronald Oussoren added the comment: To reproduce install ActiveState Tcl 8.5.9 and then build python using: ../configure --enable-framework --enable-universalsdk=/ --with-universal-archs=intel MACOSX_DEPLOYMENT_TARGET=10.6 Both 3.2 and 3.3 fail can be used. Install the framework and then open

[issue11055] OS X IDLE 3.2 Save As menu accelerator opens two Save windows

2011-03-15 Thread Ronald Oussoren
Ronald Oussoren added the comment: Please ignore the patch, it doesn't work after all. It was too good to be true after all. -- nosy: -kbk ___ Python tracker <http://bugs.python.org/is

[issue11088] IDLE on OS X with Cocoa Tk 8.5 can hang waiting on input / raw_input

2011-03-15 Thread Ronald Oussoren
Ronald Oussoren added the comment: This does seem to be gone in 3.2 with a up-to-date Tk 8.5 from ActiveState. -- nosy: +ronaldoussoren ___ Python tracker <http://bugs.python.org/issue11

[issue11088] IDLE on OS X with Cocoa Tk 8.5 can hang waiting on input / raw_input

2011-03-15 Thread Ronald Oussoren
Ronald Oussoren added the comment: On 15 Mar, 2011, at 13:57, Ned Deily wrote: > > Ned Deily added the comment: > > I can still reproduce it in 3.2 with A/S Tk 8.5. The script needs to be run > from a separate editor window, not the PyShell window. That's odd. What I

[issue11088] IDLE on OS X with Cocoa Tk 8.5 can hang waiting on input / raw_input

2011-03-15 Thread Ronald Oussoren
Ronald Oussoren added the comment: This isn't strictly a key-bindings problem, other events also cause problems. I've patched ScriptBinding.py and repacled run_module_event that causes the original, now renamed, method to be called a little why later. This change doesn't fi

[issue11088] IDLE on OS X with Cocoa Tk 8.5 can hang waiting on input / raw_input

2011-03-15 Thread Ronald Oussoren
Ronald Oussoren added the comment: Got it to work by introducing both a delayed call and a generated event, just one of those isn't good enough. The attached patch seems to fix the issue for me (patch was created using diff(1), not through mercurial). I haven't tested this on any

[issue11088] IDLE on OS X with Cocoa Tk 8.5 can hang waiting on input / raw_input

2011-03-15 Thread Ronald Oussoren
Changes by Ronald Oussoren : Removed file: http://bugs.python.org/file21226/issue-11088.patch ___ Python tracker <http://bugs.python.org/issue11088> ___ ___ Python-bug

[issue11088] IDLE on OS X with Cocoa Tk 8.5 can hang waiting on input / raw_input

2011-03-15 Thread Ronald Oussoren
Ronald Oussoren added the comment: Added an updated version of the patch: * Only perform the workaround in IDLE.app on OSX * A slightly longer timeout is needed to work reliably on my machine The latter bullet indicates that this is probably not a reliable fix, there is a timeing issue

[issue11055] OS X IDLE 3.2 Save As menu accelerator opens two Save windows

2011-03-15 Thread Ronald Oussoren
Changes by Ronald Oussoren : Removed file: http://bugs.python.org/file21218/issue11055.patch ___ Python tracker <http://bugs.python.org/issue11055> ___ ___ Python-bug

[issue11055] OS X IDLE 3.2 Save As menu accelerator opens two Save windows

2011-03-15 Thread Ronald Oussoren
Ronald Oussoren added the comment: This is not caused by unwanted interaction with Tk's default bindings, changing the save-as bindings to Shift+Cmd+M doesn't "fix" the issue. It seems that the save event is generated twice, for reasons I don't yet understand (I

[issue10684] Folders get deleted when trying to change case with shutil.move (case insensitive file systems only)

2011-03-15 Thread Ronald Oussoren
Ronald Oussoren added the comment: Could someone with access to a windows box test the patch there? -- ___ Python tracker <http://bugs.python.org/issue10

[issue10736] test_ttk_guionly fails on OS X using ActiveState Tcl 8.5.9 (Cocoa)

2011-03-15 Thread Ronald Oussoren
Ronald Oussoren added the comment: The attached patch fixes the test failures with Tk 8.5.9, I haven't tested with other versions or other platforms. The change to 'test_traversal' should be sane. The change to 'test_tab_identifiers' is more phishy. I've done tw

[issue11569] multiprocessing/darwin: sysctl(8) mislocation

2011-03-16 Thread Ronald Oussoren
Ronald Oussoren added the comment: The patch looks fine. I'd prefer the second patch as this always uses an absolute path (I've ran into numerous problems in the past with scripts that assumed that the commands they looked for where on $PATH and were the system version instead of

[issue11569] multiprocessing/darwin: sysctl(8) mislocation

2011-03-16 Thread Ronald Oussoren
Ronald Oussoren added the comment: Thanks for the patch. I've committed it to 2.7 as well. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed type: -> behavior versions: +Python 2.7 ___ Pyth

[issue5154] OSX broken poll testing doesn't work

2011-03-16 Thread Ronald Oussoren
Ronald Oussoren added the comment: I propose to close this as won't fix. The reason: poll on OSX does work, but fairly limited in the kinds of file descriptors it works with. The HAVE_BROKEN_POLL test is meant to detect poll implementation that don't even manage to impleme

[issue9384] Tkinter windows pop under the terminal in OSX

2011-03-16 Thread Ronald Oussoren
Ronald Oussoren added the comment: This is not a bug in python, but is generic platform behavior (as Ned noted). I'll therefore close this issue as won't fix. -- resolution: -> wont fix status: open -> closed ___ Pytho

[issue9384] Tkinter windows pop under the terminal in OSX

2011-03-16 Thread Ronald Oussoren
Ronald Oussoren added the comment: Maybe. It is definitely something that will have to be determined for every case separately and is not something that should be worked around in Tkinter itself. -- ___ Python tracker <http://bugs.python.

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

2011-03-16 Thread Ronald Oussoren
Ronald Oussoren added the comment: This is no longer a problem on any machine I have access to, I'm therefore closing this issue. Please reopen if you still have problems on your machine, if you do so include detailed information about: OSX release, system architecture (ppc, i386),

[issue11571] Turtle window pops under the terminal on OSX

2011-03-16 Thread Ronald Oussoren
Ronald Oussoren added the comment: The attached patch forces the window to the front by first making the window a topmost window and then resetting that flag. Could you test if this does want you'd like it to? (The patch is for 3.3, will backport upto 2.7 when the behavior is co

[issue11445] python.exe on OS X shared-llbrary build erroneously linked to MacPorts python library

2011-03-16 Thread Ronald Oussoren
Ronald Oussoren added the comment: The attached patch fixes the issue by moveing LDFLAGS after BLDLIBRARY in the linking step. I'm not committing this yet though as this will affect all platforms that use Makefiles to build, and I'm not sure if this change save for all co

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