[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 somewhere else

[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 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

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

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

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

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

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

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

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

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

[issue12978] Figure out extended attributes on BSDs

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

[issue12978] Figure out extended attributes on BSDs

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

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

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

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

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

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

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

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

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

[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 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

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

2010-08-04 Thread Nicholas Riley
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