[issue14299] OS X installer build script: permissions not ensured

2013-07-07 Thread Nicholas Riley
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

[issue14299] OS X installer build script: permissions not ensured

2012-03-13 Thread Nicholas Riley
Changes by Nicholas Riley : -- nosy: +ned.deily ___ Python tracker <http://bugs.python.org/issue14299> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14299] OS X installer build script: permissions not ensured

2012-03-13 Thread Nicholas Riley
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

[issue13507] Modify OS X installer builds to package liblzma for the new lzma module

2012-03-13 Thread Nicholas Riley
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

[issue14292] OS X installer build script doesn't set $CXX, so it ends up as "c++"

2012-03-13 Thread Nicholas Riley
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

[issue14277] time.monotonic docstring does not mention the time unit returned

2012-03-12 Thread Nicholas Riley
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

[issue14277] time.monotonic docstring does not mention the time unit returned

2012-03-12 Thread Nicholas Riley
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

[issue14104] Implement time.monotonic() on Mac OS X

2012-03-12 Thread Nicholas Riley
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

[issue14104] Implement time.monotonic() on Mac OS X

2012-03-12 Thread Nicholas Riley
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

[issue12978] Figure out extended attributes on BSDs

2012-03-12 Thread Nicholas Riley
Changes by Nicholas Riley : -- nosy: +bob.ippolito ___ Python tracker <http://bugs.python.org/issue12978> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12978] Figure out extended attributes on BSDs

2012-03-12 Thread Nicholas Riley
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

[issue14104] Implement time.monotonic() on Mac OS X

2012-03-12 Thread Nicholas Riley
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

[issue7679] Warning building 2.7 on OS X 10.6 libintl.h "Present But Cannot Be Compiled"

2011-03-13 Thread Nicholas Riley
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

[issue818201] distutils: clean does not use build_base option from build

2010-08-04 Thread Nicholas Riley
Nicholas Riley added the comment: Good to know - thanks! -- ___ Python tracker <http://bugs.python.org/issue818201> ___ ___ Python-bugs-list mailing list Unsub