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 some
Changes by Nicholas Riley :
--
nosy: +ned.deily
___
Python tracker
<http://bugs.python.org/issue14299>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Nicholas Riley :
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 of the
source tree.
This
Nicholas Riley 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: +nriley
Added file: http
New submission from Nicholas Riley :
% 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 location: /Developer/SDKs
Nicholas Riley 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 is
pretty good.
So I have
New submission from Nicholas Riley :
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 of conse
Nicholas Riley added the comment:
OK, you have a point :-) New patch attached.
--
Added file: http://bugs.python.org/file24804/monotonic-2.patch
___
Python tracker
<http://bugs.python.org/issue14
Nicholas Riley added the comment:
timebase.numer and timebase.denom are always 1 in practice (see the "note" in
the tech Q&A); I included them for completeness, but maybe it's just better to
not bother?
--
___
Py
Changes by Nicholas Riley :
--
nosy: +bob.ippolito
___
Python tracker
<http://bugs.python.org/issue12978>
___
___
Python-bugs-list mailing list
Unsubscribe:
Nicholas Riley 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 and Solaris are sub
Nicholas Riley 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 Q&A 1398:
https://developer.apple.com/library/mac/#qa/qa1398/
--
keywords: +patch
Nicholas Riley 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, so to be fully general
Nicholas Riley added the comment:
Good to know - thanks!
--
___
Python tracker
<http://bugs.python.org/issue818201>
___
___
Python-bugs-list mailing list
Unsub
14 matches
Mail list logo