Ronald Oussoren avatar Ronald Oussoren committed fa7196a

Fix garbage collection issues: by the time sys.modules is changed sys is already set to None due to the module being garbage collected.

Comments (0)

Files changed (38)

pyobjc-framework-Accounts/Lib/Accounts/__init__.py

         '__loader__': globals().get('__loader__', None),
     }, (Foundation,))
 
+import sys
 del sys.modules['Accounts._metadata']

pyobjc-framework-AddressBook/Lib/AddressBook/__init__.py

         '__loader__': globals().get('__loader__', None),
     }, (Foundation,))
 
+import sys
 del sys.modules['AddressBook._metadata']

pyobjc-framework-AppleScriptKit/Lib/AppleScriptKit/__init__.py

         '__loader__': globals().get('__loader__', None),
     }, (AppKit,))
 
+import sys
 del sys.modules['AppleScriptKit._metadata']

pyobjc-framework-AppleScriptObjC/Lib/AppleScriptObjC/__init__.py

         '__path__': __path__,
         '__loader__': globals().get('__loader__', None),
     }, (Foundation,))
+
+import sys
+del sys.modules['AppleScriptObjC._metadata']

pyobjc-framework-Automator/Lib/Automator/__init__.py

             '__loader__': globals().get('__loader__', None),
         }, (AppKit,))
 
+import sys
 del sys.modules['Automator._metadata']

pyobjc-framework-CFNetwork/Lib/CFNetwork/__init__.py

 for nm in dir(CFNetwork._manual):
     setattr(mod, nm, getattr(CFNetwork._manual, nm))
 
+import sys
 del sys.modules['CFNetwork._metadata']

pyobjc-framework-CalendarStore/Lib/CalendarStore/__init__.py

         '__loader__': globals().get('__loader__', None),
     }, (Foundation,))
 
+import sys
 del sys.modules['CalendarStore._metadata']

pyobjc-framework-Collaboration/Lib/Collaboration/__init__.py

         'objc': objc,
     }, (Foundation,))
 
+import sys
 del sys.modules['Collaboration._metadata']

pyobjc-framework-CoreData/Lib/CoreData/__init__.py

         'objc': objc
     }, (Foundation,))
 
+import sys
 del sys.modules['CoreData._metadata']

pyobjc-framework-CoreLocation/Lib/CoreLocation/__init__.py

         'kCLErrorGeocodeCanceled': kCLErrorGeocodeCanceled,
     }, (Foundation,))
 
+import sys
 del sys.modules['CoreLocation._metadata']

pyobjc-framework-CoreText/Lib/CoreText/__init__.py

 for nm in dir(m):
     setattr(mod, nm, getattr(m, nm))
 
+import sys
 del sys.modules['CoreText._metadata']

pyobjc-framework-CoreWLAN/Lib/CoreWLAN/__init__.py

                 '__loader__': globals().get('__loader__', None),
             }, (Foundation,))
 
+import sys
 del sys.modules['CoreWLAN._metadata']

pyobjc-framework-DictionaryServices/Lib/DictionaryServices/__init__.py

        'objc': objc,
     }, ( Foundation,))
 
+import sys
 del sys.modules['DictionaryServices._metadata']

pyobjc-framework-DiskArbitration/Lib/DiskArbitration/__init__.py

         '__loader__': globals().get('__loader__', None),
     }, (CoreFoundation,))
 
+import sys
 del sys.modules['DiskArbitration._metadata']

pyobjc-framework-EventKit/Lib/EventKit/__init__.py

         '__loader__': globals().get('__loader__', None),
     }, (Foundation,))
 
+import sys
 del sys.modules['EventKit._metadata']

pyobjc-framework-FSEvents/Lib/FSEvents/__init__.py

        'objc': objc,
     }, ( FSEvents._callbacks, Foundation))
 
+import sys
 del sys.modules['FSEvents._metadata']

pyobjc-framework-InputMethodKit/Lib/InputMethodKit/__init__.py

        'objc': objc,
     }, ( Foundation,))
 
+import sys
 del sys.modules['InputMethodKit._metadata']

pyobjc-framework-InstallerPlugins/Lib/InstallerPlugins/__init__.py

        'objc': objc,
     }, ( AppKit,))
 
+import sys
 del sys.modules['InstallerPlugins._metadata']

pyobjc-framework-InstantMessage/Lib/InstantMessage/__init__.py

        'objc': objc,
     }, ( Foundation, Quartz,))
 
+import sys
 del sys.modules['InstantMessage._metadata']

pyobjc-framework-InterfaceBuilderKit/Lib/InterfaceBuilderKit/__init__.py

        'objc': objc,
     }, ( AppKit,))
 
+import sys
 del sys.modules['InterfaceBuilderKit._metadata']

pyobjc-framework-LatentSemanticMapping/Lib/LatentSemanticMapping/__init__.py

        'objc': objc,
     }, ( Foundation,))
 
+import sys
 del sys.modules['LatentSemanticMapping._metadata']

pyobjc-framework-LaunchServices/Lib/LaunchServices/__init__.py

     '__loader__': globals().get('__loader__', None),
     }, (Foundation,))
 
+import sys
 del sys.modules['LaunchServices._metadata']
 
 

pyobjc-framework-Message/Lib/Message/__init__.py

        'objc': objc,
     }, ( Foundation,))
 
+import sys
 del sys.modules['Message._metadata']

pyobjc-framework-OpenDirectory/Lib/CFOpenDirectory/__init__.py

        'objc': objc,
     }, ( CoreFoundation, Foundation,))
 
+import sys
 del sys.modules['CFOpenDirectory._metadata']

pyobjc-framework-OpenDirectory/Lib/OpenDirectory/__init__.py

        'objc': objc,
     }, (CFOpenDirectory,))
 
+import sys
 del sys.modules['OpenDirectory._metadata']

pyobjc-framework-PreferencePanes/Lib/PreferencePanes/__init__.py

        'objc': objc,
     }, ( AppKit,))
 
+import sys
 del sys.modules['PreferencePanes._metadata']

pyobjc-framework-PubSub/Lib/PubSub/__init__.py

        'objc': objc,
     }, ( Foundation,))
 
+import sys
 del sys.modules['PubSub._metadata']

pyobjc-framework-QTKit/Lib/QTKit/__init__.py

        'objc': objc,
     }, ( Cocoa, Quartz,))
 
+import sys
 del sys.modules['QTKit._metadata']

pyobjc-framework-ScreenSaver/Lib/ScreenSaver/__init__.py

        'objc': objc,
     }, ( AppKit,))
 
+import sys
 del sys.modules['ScreenSaver._metadata']

pyobjc-framework-ScriptingBridge/Lib/ScriptingBridge/__init__.py

        '__loader__': globals().get('__loader__', None),
        'objc': objc,
     }, ( Foundation,))
+
+import sys
 del sys.modules['ScriptingBridge._metadata']
 
 # Override the default behaviour of the bridge to ensure that we

pyobjc-framework-SearchKit/Lib/SearchKit/__init__.py

         '__path__': __path__,
         '__loader__': globals().get('__loader__', None),
     }, (CoreFoundation,))
+
+import sys
 del sys.modules['SearchKit._metadata']
 
 

pyobjc-framework-ServerNotification/Lib/ServerNotification/__init__.py

        '__loader__': globals().get('__loader__', None),
        'objc': objc,
     }, ( Foundation,))
+
+import sys
 del sys.modules['ServerNotification._metadata']

pyobjc-framework-ServiceManagement/Lib/ServiceManagement/__init__.py

        '__loader__': globals().get('__loader__', None),
        'objc': objc,
     }, ( CoreFoundation, ))
+
+import sys
 del sys.modules['ServiceManagement._metadata']

pyobjc-framework-Social/Lib/Social/__init__.py

         '__path__': __path__,
         '__loader__': globals().get('__loader__', None),
     }, (Foundation,))
+
+import sys
 del sys.modules['Social._metadata']

pyobjc-framework-StoreKit/Lib/StoreKit/__init__.py

         '__path__': __path__,
         '__loader__': globals().get('__loader__', None),
     }, (Foundation,))
+
+import sys
 del sys.modules['StoreKit._metadata']

pyobjc-framework-SyncServices/Lib/SyncServices/__init__.py

        '__loader__': globals().get('__loader__', None),
        'objc': objc,
     }, ( CoreData,))
+
+import sys
 del sys.modules['SyncServices._metadata']

pyobjc-framework-SystemConfiguration/Lib/SystemConfiguration/__init__.py

        '__loader__': globals().get('__loader__', None),
        'objc': objc,
     }, ( Foundation, SystemConfiguration._manual,))
+
+import sys
 del sys.modules['SystemConfiguration._metadata']
 
 import SystemConfiguration._manual as m

pyobjc-framework-XgridFoundation/Lib/XgridFoundation/__init__.py

        '__loader__': globals().get('__loader__', None),
        'objc': objc,
     }, ( Foundation,))
+
+import sys
 del sys.modules['XgridFoundation._metadata']
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.