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
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
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
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
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.
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
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
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
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
Changes by Ronald Oussoren :
--
nosy: +ronaldoussoren
___
Python tracker
<http://bugs.python.org/issue9189>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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.
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
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
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
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
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
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
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
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
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
Changes by Ronald Oussoren :
--
nosy: -ronaldoussoren
___
Python tracker
<http://bugs.python.org/issue3402>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
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
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
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
Ronald Oussoren added the comment:
Mark: maybe, why don't you test this?
--
assignee: -> ronaldoussoren
___
Python tracker
<http://bugs.python.or
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
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
Changes by Ronald Oussoren :
--
keywords: +easy
___
Python tracker
<http://bugs.python.org/issue7895>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
Changes by Ronald Oussoren :
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue9275>
___
___
Python-bugs-list mailing list
Unsubscri
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
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/
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
Changes by Ronald Oussoren :
--
nosy: +belopolsky
___
Python tracker
<http://bugs.python.org/issue9344>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
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 ->
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
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
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
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
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
Changes by Ronald Oussoren :
--
assignee: -> ronaldoussoren
components: +Macintosh
___
Python tracker
<http://bugs.python.org/issue7041>
___
___
Python-
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
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
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
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
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
__
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
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
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
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
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
Changes by Ronald Oussoren :
--
versions: +Python 3.3 -Python 3.2
___
Python tracker
<http://bugs.python.org/issue4199>
___
___
Python-bugs-list mailing list
Unsub
Changes by Ronald Oussoren :
--
assignee: -> ronaldoussoren
nosy: +ronaldoussoren
___
Python tracker
<http://bugs.python.org/issue9367>
___
___
Python-bugs-lis
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
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).
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
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
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
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
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
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
Ronald Oussoren added the comment:
Fixed in r83221
--
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
type: -> behavior
___
Python tracker
<http://bugs.pytho
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
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
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
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
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
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
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
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
Changes by Ronald Oussoren :
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue7900>
___
___
Python-bugs-list mailing list
Unsubscri
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
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
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
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
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
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
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
Changes by Ronald Oussoren :
--
type: behavior -> feature request
___
Python tracker
<http://bugs.python.org/issue9556>
___
___
Python-bugs-list mailing list
Un
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
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
Changes by Ronald Oussoren :
--
nosy: +ronaldoussoren
___
Python tracker
<http://bugs.python.org/issue28747>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
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
2201 - 2300 of 2445 matches
Mail list logo