Nicholas Riley added the comment:
I don't have time to check it, but it's easy enough to test - set your umask to
077 and try building an installer, see if the files get the correct permissions
when installed.
I would hope tutorials would tell users to install the packages somewhere else
New submission from Nicholas Riley com-python-b...@sabi.net:
% python build-installer.py \
--sdk-path=/Developer/SDKs/MacOSX10.6.sdk \
--universal-archs=intel \
--dep-target=10.6
Settings:
* Source directory: /Users/nicholas/src/cpython
* Build directory: /tmp/_py
* SDK
Nicholas Riley com-python-b...@sabi.net added the comment:
The configure problem is soluble with --disable-dependency-tracking (it was the
-M* options to gcc that caused the problem); something similar is used for
SQLite.
The attached patch should do it...
--
keywords: +patch
nosy
New submission from Nicholas Riley com-python-b...@sabi.net:
The OS X installer build script does not ensure that files had the correct
permissions when being packaged; some files' permissions were affected by your
umask when running the build script, and others by the permissions
Changes by Nicholas Riley com-python-b...@sabi.net:
--
nosy: +ned.deily
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14299
___
___
Python-bugs
Nicholas Riley com-python-b...@sabi.net added the comment:
Attached is a patch which implements time.monotonic() using
mach_absolute_time() / mach_timebase_info(). This was recommended by Apple in
their technical QA 1398:
https://developer.apple.com/library/mac/#qa/qa1398
Nicholas Riley com-python-b...@sabi.net added the comment:
I've spent a few hours looking at xattr and the Linux/OS X (10.4+)
implementations. Bob Ippolito's xattr module implements the OS X xattr
interface on Linux, Solaris (9+) and FreeBSD. Linux and OS X are pretty close;
FreeBSD
Changes by Nicholas Riley com-python-b...@sabi.net:
--
nosy: +bob.ippolito
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12978
___
___
Python-bugs
Nicholas Riley com-python-b...@sabi.net added the comment:
timebase.numer and timebase.denom are always 1 in practice (see the note in
the tech QA); I included them for completeness, but maybe it's just better to
not bother?
--
___
Python tracker
Nicholas Riley com-python-b...@sabi.net added the comment:
OK, you have a point :-) New patch attached.
--
Added file: http://bugs.python.org/file24804/monotonic-2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14104
New submission from Nicholas Riley com-python-b...@sabi.net:
Currently:
help(time.monotonic)
Help on built-in function monotonic in module time:
monotonic(...)
monotonic() - float
Monotonic clock. The reference point of the returned value is undefined so
only the difference
Nicholas Riley com-python-b...@sabi.net added the comment:
According to http://juliusdavies.ca/posix_clocks/clock_realtime_linux_faq.html,
CLOCK_REALTIME can go backwards. CLOCK_MONOTONIC_RAW is best where available
(like QueryPerformanceFrequency / mach_absolute_time) and CLOCK_MONOTONIC
Nicholas Riley com-python-b...@sabi.net added the comment:
You should be able to invoke the compiler like this:
gcc -nostdinc -I/usr/include -F/System/Library/Frameworks ...
which will remove /usr/local/include (and /Library/Frameworks). This also
removes the compiler-specific include dir
Nicholas Riley com-python-b...@sabi.net added the comment:
Good to know - thanks!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue818201
14 matches
Mail list logo