Roundup Robot added the comment:
New changeset 864b9836dae6 by Ronald Oussoren in branch '2.7':
Issue #1602133: 'environ' is not really available with shared libraries on OSX
http://hg.python.org/cpython/rev/864b9836dae6
New changeset ea9fd9c9c677 by Ronald Oussoren in branch '3.2':
Issue
Changes by Ronald Oussoren ronaldousso...@mac.com:
--
stage: commit review - committed/rejected
status: open - closed
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1602133
Ronald Oussoren added the comment:
The patch didn't work for me because I manually applied and missed a bit. The
patches fixes https://bitbucket.org/ronaldoussoren/py2app/issue/81 for me,
and the environ(7) manpage also indicates that the call to _NSEnvironment is
needed in shared libraries.
Ned Deily added the comment:
Ronald: the patch?
--
nosy: -BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1602133
___
___
Changes by Ronald Oussoren ronaldousso...@mac.com:
Added file: http://bugs.python.org/file28726/1602133.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1602133
___
Ned Deily added the comment:
LGTM and I agree that it should be considered a bug fix.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1602133
___
Ronald Oussoren added the comment:
I appear to be running into this as well in py2app, with the current 2.7 tree
and a --enable-shared build py2app's updates to the environment (with setenv
from C code) won't be seen by Python, even though Python is initialized after
the call to setenv.
The
Dan Colish dcol...@gmail.com added the comment:
I can also confirm this patch is required to build py2cairo on OSX with
Python2.7.2 when --enable-framework is not used.
--
nosy: +dcolish
___
Python tracker rep...@bugs.python.org
Changes by Éric Araujo mer...@netwok.org:
--
stage: - commit review
title: non-framework built python fails to define environ properly -
non-framework python fails to define os.environ properly
versions: +Python 3.3 -Python 3.1
___
Python tracker