Thanks, that's very useful. And it explains why Python Math wants to rewrite
the .pyc files: imp.get_magic() returns (null) whereas on my Mac where I
compiled them, get_magic() returns '\x03\xf3\r\n'.
Now I just have to figure out why I'm getting nothing useful from get_magic().
I assume this w
On Fri, Oct 14, 2011 at 1:31 PM, Chris Rebert wrote:
> On Fri, Oct 14, 2011 at 11:04 AM, Terry wrote:
>> I'm having a problem with my iPhone/iPad app, Python Math, a Python
>> 2.7 interpreter. All the Python modules are delivered in what Apple
>> calls the app bundle. They are in a read-only dire
On Fri, Oct 14, 2011 at 11:04 AM, Terry wrote:
> I'm having a problem with my iPhone/iPad app, Python Math, a Python
> 2.7 interpreter. All the Python modules are delivered in what Apple
> calls the app bundle. They are in a read-only directory. This means
> that Python cannot write .pyc files to