Namespaces, intended behavior?

Just van Rossum <[email protected]> Thu, 5 Apr 2018 17:39:28 +0200
Newsgroups gmane.comp.python.pyobjc.devel
Message-ID <[email protected]>
Hi,

I am wondering, is the following intended behavior?

-------------
import Foundation

class TestMyCustomObject(Foundation.NSObject):
    pass
    
import AppKit
# it's suddenly available via AppKit:
print(AppKit.TestMyCustomObject)
# even via import *:
from AppKit import *
print(TestMyCustomObject)
-------------

Thanks,

Just


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot