Re: [Pythonmac-SIG] Garbage Collection with Carbon

2006-04-18 Thread Ronald Oussoren
On 18-apr-2006, at 18:28, Brian Ray wrote: > Hi Python Mac People: > > > When I run the following: > > ### > import sys,os > import Carbon.File > import Carbon.CF > > def fileurl(posix): > fileref = Carbon.File.FSRef(posix) > cfurl = Carbon.CF.CFURLCreateFromFSRef(fileref) > fil

[Pythonmac-SIG] Garbage Collection with Carbon

2006-04-18 Thread Brian Ray
Hi Python Mac People: When I run the following: ### import sys,os import Carbon.File import Carbon.CF def fileurl(posix): fileref = Carbon.File.FSRef(posix) cfurl = Carbon.CF.CFURLCreateFromFSRef(fileref) filestr = cfurl.CFURLGetString() return filestr.CFStringGe