pyobjc-framework-NetworkExtension 12.0__tar.gz → 12.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/Lib/NetworkExtension/_metadata.py +12 -4
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/Lib/pyobjc_framework_NetworkExtension.egg-info/PKG-INFO +5 -6
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/Lib/pyobjc_framework_NetworkExtension.egg-info/SOURCES.txt +2 -2
- pyobjc_framework_networkextension-12.2/Lib/pyobjc_framework_NetworkExtension.egg-info/pyobjc-build-info.txt +3 -0
- pyobjc_framework_networkextension-12.2/Lib/pyobjc_framework_NetworkExtension.egg-info/requires.txt +2 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/Modules/pyobjc-compat.h +24 -50
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/PKG-INFO +5 -6
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/PyObjCTest/test_nerelaymanager.py +3 -0
- pyobjc_framework_networkextension-12.2/metadata/NetworkExtension.fwinfo +1978 -0
- pyobjc_framework_networkextension-12.0/metadata/raw/arm64-26.0.fwinfo → pyobjc_framework_networkextension-12.2/metadata/raw/arm64-26.5.fwinfo +4176 -346
- pyobjc_framework_networkextension-12.0/metadata/raw/x86_64-26.0.fwinfo → pyobjc_framework_networkextension-12.2/metadata/raw/x86_64-26.5.fwinfo +4176 -346
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/pyobjc_setup.py +4 -5
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/setup.py +1 -1
- pyobjc_framework_networkextension-12.0/Lib/pyobjc_framework_NetworkExtension.egg-info/pyobjc-build-info.txt +0 -3
- pyobjc_framework_networkextension-12.0/Lib/pyobjc_framework_NetworkExtension.egg-info/requires.txt +0 -2
- pyobjc_framework_networkextension-12.0/metadata/NetworkExtension.fwinfo +0 -1262
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/Lib/NetworkExtension/__init__.py +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/Lib/pyobjc_framework_NetworkExtension.egg-info/dependency_links.txt +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/Lib/pyobjc_framework_NetworkExtension.egg-info/not-zip-safe +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/Lib/pyobjc_framework_NetworkExtension.egg-info/top_level.txt +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/License.txt +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/MANIFEST.in +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/Modules/_NetworkExtension.m +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/Modules/_NetworkExtension_protocols.m +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/Modules/pyobjc-api.h +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/PyObjCTest/__init__.py +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/PyObjCTest/test_neappproxyflow.py +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/PyObjCTest/test_neappproxyprovider.py +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/PyObjCTest/test_neappproxyprovidermanager.py +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/PyObjCTest/test_neappproxytcpflow.py +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/PyObjCTest/test_neappproxyudpflow.py +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/PyObjCTest/test_nednsproxymanager.py +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/PyObjCTest/test_nednsproxyprovider.py +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/PyObjCTest/test_nednssettings.py +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/PyObjCTest/test_nednssettingsmanager.py +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/PyObjCTest/test_nefailurehandlerprovider.py +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/PyObjCTest/test_nefiltercontrolprovider.py +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/PyObjCTest/test_nefilterdataprovider.py +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/PyObjCTest/test_nefilterflow.py +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/PyObjCTest/test_nefiltermanager.py +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/PyObjCTest/test_nefilterpacketprovider.py +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/PyObjCTest/test_nefilterprovider.py +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/PyObjCTest/test_nefilterproviderconfiguration.py +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/PyObjCTest/test_nenetworkrule.py +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/PyObjCTest/test_neondemandrule.py +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/PyObjCTest/test_nepackettunnelflow.py +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/PyObjCTest/test_nepackettunnelprovider.py +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/PyObjCTest/test_neprovider.py +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/PyObjCTest/test_neproxysettings.py +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/PyObjCTest/test_netransparentproxymanager.py +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/PyObjCTest/test_netunnelprovider.py +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/PyObjCTest/test_netunnelprovidermanager.py +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/PyObjCTest/test_netunnelprovidersession.py +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/PyObjCTest/test_networkextension.py +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/PyObjCTest/test_neurlfilter.py +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/PyObjCTest/test_nevpnconnection.py +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/PyObjCTest/test_nevpnmanager.py +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/PyObjCTest/test_nevpnprotocol.py +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/PyObjCTest/test_nevpnprotocolikev2.py +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/PyObjCTest/test_nevpnprotocolipsec.py +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/PyObjCTest/test_nsdnssettings.py +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/PyObjCTest/test_nwpath.py +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/PyObjCTest/test_nwtcpconnection.py +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/PyObjCTest/test_nwudpsession.py +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/metadata/metadata.ini +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/pyproject.toml +0 -0
- {pyobjc_framework_networkextension-12.0 → pyobjc_framework_networkextension-12.2}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# This file is generated by objective.metadata
|
|
2
2
|
#
|
|
3
|
-
# Last update: Thu
|
|
3
|
+
# Last update: Thu May 28 22:45:08 2026
|
|
4
4
|
#
|
|
5
5
|
# flake8: noqa
|
|
6
6
|
|
|
@@ -31,7 +31,7 @@ else:
|
|
|
31
31
|
|
|
32
32
|
misc = {}
|
|
33
33
|
constants = """$NEAppProxyErrorDomain$NEAppPushErrorDomain$NEDNSProxyConfigurationDidChangeNotification$NEDNSProxyErrorDomain$NEDNSSettingsConfigurationDidChangeNotification$NEDNSSettingsErrorDomain$NEFilterConfigurationDidChangeNotification$NEFilterErrorDomain$NEFilterProviderRemediationMapRemediationButtonTexts$NEFilterProviderRemediationMapRemediationURLs$NEHotspotConfigurationErrorDomain$NERelayClientErrorDomain$NERelayConfigurationDidChangeNotification$NERelayErrorDomain$NETunnelProviderErrorDomain$NEVPNConfigurationChangeNotification$NEVPNConnectionErrorDomain$NEVPNConnectionStartOptionPassword$NEVPNConnectionStartOptionUsername$NEVPNErrorDomain$NEVPNStatusDidChangeNotification$kNEHotspotHelperOptionDisplayName$"""
|
|
34
|
-
enums = """$NEAppProxyFlowErrorAborted@5$NEAppProxyFlowErrorDatagramTooLarge@9$NEAppProxyFlowErrorHostUnreachable@3$NEAppProxyFlowErrorInternal@8$NEAppProxyFlowErrorInvalidArgument@4$NEAppProxyFlowErrorNotConnected@1$NEAppProxyFlowErrorPeerReset@2$NEAppProxyFlowErrorReadAlreadyPending@10$NEAppProxyFlowErrorRefused@6$NEAppProxyFlowErrorTimedOut@7$NEAppPushManagerErrorConfigurationInvalid@1$NEAppPushManagerErrorConfigurationNotLoaded@2$NEAppPushManagerErrorInactiveSession@4$NEAppPushManagerErrorInternalError@3$NEDNSProtocolCleartext@1$NEDNSProtocolHTTPS@3$NEDNSProtocolTLS@2$NEDNSProxyManagerErrorConfigurationCannotBeRemoved@4$NEDNSProxyManagerErrorConfigurationDisabled@2$NEDNSProxyManagerErrorConfigurationInvalid@1$NEDNSProxyManagerErrorConfigurationStale@3$NEDNSSettingsManagerErrorConfigurationCannotBeRemoved@4$NEDNSSettingsManagerErrorConfigurationDisabled@2$NEDNSSettingsManagerErrorConfigurationInvalid@1$NEDNSSettingsManagerErrorConfigurationStale@3$NEEvaluateConnectionRuleActionConnectIfNeeded@1$NEEvaluateConnectionRuleActionNeverConnect@2$NEFilterActionAllow@1$NEFilterActionDrop@2$NEFilterActionFilterData@4$NEFilterActionInvalid@0$NEFilterActionRemediate@3$NEFilterDataAttributeHasIPHeader@1$NEFilterFlowBytesMax@18446744073709551615$NEFilterManagerErrorConfigurationCannotBeRemoved@4$NEFilterManagerErrorConfigurationDisabled@2$NEFilterManagerErrorConfigurationInternalError@6$NEFilterManagerErrorConfigurationInvalid@1$NEFilterManagerErrorConfigurationPermissionDenied@5$NEFilterManagerErrorConfigurationStale@3$NEFilterManagerGradeFirewall@1$NEFilterManagerGradeInspector@2$NEFilterPacketProviderVerdictAllow@0$NEFilterPacketProviderVerdictDelay@2$NEFilterPacketProviderVerdictDrop@1$NEFilterReportEventDataDecision@2$NEFilterReportEventFlowClosed@3$NEFilterReportEventNewFlow@1$NEFilterReportEventStatistics@4$NEFilterReportFrequencyHigh@3$NEFilterReportFrequencyLow@1$NEFilterReportFrequencyMedium@2$NEFilterReportFrequencyNone@0$NEHotspotConfigurationEAPTLSVersion_1_0@0$NEHotspotConfigurationEAPTLSVersion_1_1@1$NEHotspotConfigurationEAPTLSVersion_1_2@2$NEHotspotConfigurationEAPTTLSInnerAuthenticationCHAP@1$NEHotspotConfigurationEAPTTLSInnerAuthenticationEAP@4$NEHotspotConfigurationEAPTTLSInnerAuthenticationMSCHAP@2$NEHotspotConfigurationEAPTTLSInnerAuthenticationMSCHAPv2@3$NEHotspotConfigurationEAPTTLSInnerAuthenticationPAP@0$NEHotspotConfigurationEAPTypeEAPFAST@43$NEHotspotConfigurationEAPTypeEAPPEAP@25$NEHotspotConfigurationEAPTypeEAPTLS@13$NEHotspotConfigurationEAPTypeEAPTTLS@21$NEHotspotConfigurationErrorAlreadyAssociated@13$NEHotspotConfigurationErrorApplicationIsNotInForeground@14$NEHotspotConfigurationErrorInternal@8$NEHotspotConfigurationErrorInvalid@0$NEHotspotConfigurationErrorInvalidEAPSettings@4$NEHotspotConfigurationErrorInvalidHS20DomainName@6$NEHotspotConfigurationErrorInvalidHS20Settings@5$NEHotspotConfigurationErrorInvalidSSID@1$NEHotspotConfigurationErrorInvalidSSIDPrefix@15$NEHotspotConfigurationErrorInvalidWEPPassphrase@3$NEHotspotConfigurationErrorInvalidWPAPassphrase@2$NEHotspotConfigurationErrorJoinOnceNotSupported@12$NEHotspotConfigurationErrorPending@9$NEHotspotConfigurationErrorSystemConfiguration@10$NEHotspotConfigurationErrorSystemDenied@17$NEHotspotConfigurationErrorUnknown@11$NEHotspotConfigurationErrorUserDenied@7$NEHotspotConfigurationErrorUserUnauthorized@16$NEHotspotNetworkSecurityTypeEnterprise@3$NEHotspotNetworkSecurityTypeOpen@0$NEHotspotNetworkSecurityTypePersonal@2$NEHotspotNetworkSecurityTypeUnknown@4$NEHotspotNetworkSecurityTypeWEP@1$NENetworkRuleProtocolAny@0$NENetworkRuleProtocolTCP@1$NENetworkRuleProtocolUDP@2$NEOnDemandRuleActionConnect@1$NEOnDemandRuleActionDisconnect@2$NEOnDemandRuleActionEvaluateConnection@3$NEOnDemandRuleActionIgnore@4$NEOnDemandRuleInterfaceTypeAny@0$NEOnDemandRuleInterfaceTypeCellular@3$NEOnDemandRuleInterfaceTypeEthernet@1$NEOnDemandRuleInterfaceTypeWiFi@2$NEProviderStopReasonAppUpdate@16$NEProviderStopReasonAuthenticationCanceled@6$NEProviderStopReasonConfigurationDisabled@9$NEProviderStopReasonConfigurationFailed@7$NEProviderStopReasonConfigurationRemoved@10$NEProviderStopReasonConnectionFailed@14$NEProviderStopReasonIdleTimeout@8$NEProviderStopReasonInternalError@17$NEProviderStopReasonNoNetworkAvailable@3$NEProviderStopReasonNone@0$NEProviderStopReasonProviderDisabled@5$NEProviderStopReasonProviderFailed@2$NEProviderStopReasonSleep@15$NEProviderStopReasonSuperceded@11$NEProviderStopReasonUnrecoverableNetworkChange@4$NEProviderStopReasonUserInitiated@1$NEProviderStopReasonUserLogout@12$NEProviderStopReasonUserSwitch@13$NERelayManagerClientErrorCertificateExpired@7$NERelayManagerClientErrorCertificateInvalid@6$NERelayManagerClientErrorCertificateMissing@5$NERelayManagerClientErrorDNSFailed@2$NERelayManagerClientErrorNone@1$NERelayManagerClientErrorOther@10$NERelayManagerClientErrorServerCertificateExpired@9$NERelayManagerClientErrorServerCertificateInvalid@8$NERelayManagerClientErrorServerDisconnected@4$NERelayManagerClientErrorServerUnreachable@3$NERelayManagerErrorConfigurationCannotBeRemoved@4$NERelayManagerErrorConfigurationDisabled@2$NERelayManagerErrorConfigurationInvalid@1$NERelayManagerErrorConfigurationStale@3$NETrafficDirectionAny@0$NETrafficDirectionInbound@1$NETrafficDirectionOutbound@2$NETunnelProviderErrorNetworkSettingsCanceled@2$NETunnelProviderErrorNetworkSettingsFailed@3$NETunnelProviderErrorNetworkSettingsInvalid@1$NETunnelProviderRoutingMethodDestinationIP@1$NETunnelProviderRoutingMethodNetworkRule@3$NETunnelProviderRoutingMethodSourceApplication@2$NEURLFilterVerdictAllow@2$NEURLFilterVerdictDeny@3$NEURLFilterVerdictUnknown@1$NEVPNConnectionErrorAuthenticationFailed@8$NEVPNConnectionErrorClientCertificateExpired@11$NEVPNConnectionErrorClientCertificateInvalid@9$NEVPNConnectionErrorClientCertificateNotYetValid@10$NEVPNConnectionErrorConfigurationFailed@4$NEVPNConnectionErrorConfigurationNotFound@13$NEVPNConnectionErrorNegotiationFailed@15$NEVPNConnectionErrorNoNetworkAvailable@2$NEVPNConnectionErrorOverslept@1$NEVPNConnectionErrorPluginDisabled@14$NEVPNConnectionErrorPluginFailed@12$NEVPNConnectionErrorServerAddressResolutionFailed@5$NEVPNConnectionErrorServerCertificateExpired@19$NEVPNConnectionErrorServerCertificateInvalid@17$NEVPNConnectionErrorServerCertificateNotYetValid@18$NEVPNConnectionErrorServerDead@7$NEVPNConnectionErrorServerDisconnected@16$NEVPNConnectionErrorServerNotResponding@6$NEVPNConnectionErrorUnrecoverableNetworkChange@3$NEVPNErrorConfigurationDisabled@2$NEVPNErrorConfigurationInvalid@1$NEVPNErrorConfigurationReadWriteFailed@5$NEVPNErrorConfigurationStale@4$NEVPNErrorConfigurationUnknown@6$NEVPNErrorConnectionFailed@3$NEVPNIKEAuthenticationMethodCertificate@1$NEVPNIKEAuthenticationMethodNone@0$NEVPNIKEAuthenticationMethodSharedSecret@2$NEVPNIKEv2CertificateTypeECDSA256@2$NEVPNIKEv2CertificateTypeECDSA384@3$NEVPNIKEv2CertificateTypeECDSA521@4$NEVPNIKEv2CertificateTypeEd25519@5$NEVPNIKEv2CertificateTypeRSA@1$NEVPNIKEv2CertificateTypeRSAPSS@6$NEVPNIKEv2DeadPeerDetectionRateHigh@3$NEVPNIKEv2DeadPeerDetectionRateLow@1$NEVPNIKEv2DeadPeerDetectionRateMedium@2$NEVPNIKEv2DeadPeerDetectionRateNone@0$NEVPNIKEv2DiffieHellmanGroup0@0$NEVPNIKEv2DiffieHellmanGroup1@1$NEVPNIKEv2DiffieHellmanGroup14@14$NEVPNIKEv2DiffieHellmanGroup15@15$NEVPNIKEv2DiffieHellmanGroup16@16$NEVPNIKEv2DiffieHellmanGroup17@17$NEVPNIKEv2DiffieHellmanGroup18@18$NEVPNIKEv2DiffieHellmanGroup19@19$NEVPNIKEv2DiffieHellmanGroup2@2$NEVPNIKEv2DiffieHellmanGroup20@20$NEVPNIKEv2DiffieHellmanGroup21@21$NEVPNIKEv2DiffieHellmanGroup31@31$NEVPNIKEv2DiffieHellmanGroup32@32$NEVPNIKEv2DiffieHellmanGroup5@5$NEVPNIKEv2DiffieHellmanGroupInvalid@0$NEVPNIKEv2EncryptionAlgorithm3DES@2$NEVPNIKEv2EncryptionAlgorithmAES128@3$NEVPNIKEv2EncryptionAlgorithmAES128GCM@5$NEVPNIKEv2EncryptionAlgorithmAES256@4$NEVPNIKEv2EncryptionAlgorithmAES256GCM@6$NEVPNIKEv2EncryptionAlgorithmChaCha20Poly1305@7$NEVPNIKEv2EncryptionAlgorithmDES@1$NEVPNIKEv2IntegrityAlgorithmSHA160@2$NEVPNIKEv2IntegrityAlgorithmSHA256@3$NEVPNIKEv2IntegrityAlgorithmSHA384@4$NEVPNIKEv2IntegrityAlgorithmSHA512@5$NEVPNIKEv2IntegrityAlgorithmSHA96@1$NEVPNIKEv2PostQuantumKeyExchangeMethod36@36$NEVPNIKEv2PostQuantumKeyExchangeMethod37@37$NEVPNIKEv2PostQuantumKeyExchangeMethodNone@0$NEVPNIKEv2TLSVersion1_0@1$NEVPNIKEv2TLSVersion1_1@2$NEVPNIKEv2TLSVersion1_2@3$NEVPNIKEv2TLSVersionDefault@0$NEVPNStatusConnected@3$NEVPNStatusConnecting@2$NEVPNStatusDisconnected@1$NEVPNStatusDisconnecting@5$NEVPNStatusInvalid@0$NEVPNStatusReasserting@4$NWPathStatusInvalid@0$NWPathStatusSatisfiable@3$NWPathStatusSatisfied@1$NWPathStatusUnsatisfied@2$NWTCPConnectionStateCancelled@5$NWTCPConnectionStateConnected@3$NWTCPConnectionStateConnecting@1$NWTCPConnectionStateDisconnected@4$NWTCPConnectionStateInvalid@0$NWTCPConnectionStateWaiting@2$NWUDPSessionStateCancelled@5$NWUDPSessionStateFailed@4$NWUDPSessionStateInvalid@0$NWUDPSessionStatePreparing@2$NWUDPSessionStateReady@3$NWUDPSessionStateWaiting@1$kNEHotspotHelperCommandTypeAuthenticate@3$kNEHotspotHelperCommandTypeEvaluate@2$kNEHotspotHelperCommandTypeFilterScanList@1$kNEHotspotHelperCommandTypeLogoff@6$kNEHotspotHelperCommandTypeMaintain@5$kNEHotspotHelperCommandTypeNone@0$kNEHotspotHelperCommandTypePresentUI@4$kNEHotspotHelperConfidenceHigh@2$kNEHotspotHelperConfidenceLow@1$kNEHotspotHelperConfidenceNone@0$kNEHotspotHelperResultAuthenticationRequired@4$kNEHotspotHelperResultCommandNotRecognized@3$kNEHotspotHelperResultFailure@1$kNEHotspotHelperResultSuccess@0$kNEHotspotHelperResultTemporaryFailure@6$kNEHotspotHelperResultUIRequired@2$kNEHotspotHelperResultUnsupportedNetwork@5$"""
|
|
34
|
+
enums = """$NEAppProxyFlowErrorAborted@5$NEAppProxyFlowErrorDatagramTooLarge@9$NEAppProxyFlowErrorHostUnreachable@3$NEAppProxyFlowErrorInternal@8$NEAppProxyFlowErrorInvalidArgument@4$NEAppProxyFlowErrorNotConnected@1$NEAppProxyFlowErrorPeerReset@2$NEAppProxyFlowErrorReadAlreadyPending@10$NEAppProxyFlowErrorRefused@6$NEAppProxyFlowErrorTimedOut@7$NEAppPushManagerErrorConfigurationInvalid@1$NEAppPushManagerErrorConfigurationNotLoaded@2$NEAppPushManagerErrorInactiveSession@4$NEAppPushManagerErrorInternalError@3$NEDNSProtocolCleartext@1$NEDNSProtocolHTTPS@3$NEDNSProtocolTLS@2$NEDNSProxyManagerErrorConfigurationCannotBeRemoved@4$NEDNSProxyManagerErrorConfigurationDisabled@2$NEDNSProxyManagerErrorConfigurationInvalid@1$NEDNSProxyManagerErrorConfigurationStale@3$NEDNSSettingsManagerErrorConfigurationCannotBeRemoved@4$NEDNSSettingsManagerErrorConfigurationDisabled@2$NEDNSSettingsManagerErrorConfigurationInvalid@1$NEDNSSettingsManagerErrorConfigurationStale@3$NEEvaluateConnectionRuleActionConnectIfNeeded@1$NEEvaluateConnectionRuleActionNeverConnect@2$NEFilterActionAllow@1$NEFilterActionDrop@2$NEFilterActionFilterData@4$NEFilterActionInvalid@0$NEFilterActionRemediate@3$NEFilterDataAttributeHasIPHeader@1$NEFilterFlowBytesMax@18446744073709551615$NEFilterManagerErrorConfigurationCannotBeRemoved@4$NEFilterManagerErrorConfigurationDisabled@2$NEFilterManagerErrorConfigurationInternalError@6$NEFilterManagerErrorConfigurationInvalid@1$NEFilterManagerErrorConfigurationPermissionDenied@5$NEFilterManagerErrorConfigurationStale@3$NEFilterManagerGradeFirewall@1$NEFilterManagerGradeInspector@2$NEFilterPacketProviderVerdictAllow@0$NEFilterPacketProviderVerdictDelay@2$NEFilterPacketProviderVerdictDrop@1$NEFilterReportEventDataDecision@2$NEFilterReportEventFlowClosed@3$NEFilterReportEventNewFlow@1$NEFilterReportEventStatistics@4$NEFilterReportFrequencyHigh@3$NEFilterReportFrequencyLow@1$NEFilterReportFrequencyMedium@2$NEFilterReportFrequencyNone@0$NEHotspotConfigurationEAPTLSVersion_1_0@0$NEHotspotConfigurationEAPTLSVersion_1_1@1$NEHotspotConfigurationEAPTLSVersion_1_2@2$NEHotspotConfigurationEAPTTLSInnerAuthenticationCHAP@1$NEHotspotConfigurationEAPTTLSInnerAuthenticationEAP@4$NEHotspotConfigurationEAPTTLSInnerAuthenticationMSCHAP@2$NEHotspotConfigurationEAPTTLSInnerAuthenticationMSCHAPv2@3$NEHotspotConfigurationEAPTTLSInnerAuthenticationPAP@0$NEHotspotConfigurationEAPTypeEAPFAST@43$NEHotspotConfigurationEAPTypeEAPPEAP@25$NEHotspotConfigurationEAPTypeEAPTLS@13$NEHotspotConfigurationEAPTypeEAPTTLS@21$NEHotspotConfigurationErrorAlreadyAssociated@13$NEHotspotConfigurationErrorApplicationIsNotInForeground@14$NEHotspotConfigurationErrorInternal@8$NEHotspotConfigurationErrorInvalid@0$NEHotspotConfigurationErrorInvalidEAPSettings@4$NEHotspotConfigurationErrorInvalidHS20DomainName@6$NEHotspotConfigurationErrorInvalidHS20Settings@5$NEHotspotConfigurationErrorInvalidSSID@1$NEHotspotConfigurationErrorInvalidSSIDPrefix@15$NEHotspotConfigurationErrorInvalidWEPPassphrase@3$NEHotspotConfigurationErrorInvalidWPAPassphrase@2$NEHotspotConfigurationErrorJoinOnceNotSupported@12$NEHotspotConfigurationErrorPending@9$NEHotspotConfigurationErrorSystemConfiguration@10$NEHotspotConfigurationErrorSystemDenied@17$NEHotspotConfigurationErrorUnknown@11$NEHotspotConfigurationErrorUserDenied@7$NEHotspotConfigurationErrorUserUnauthorized@16$NEHotspotNetworkSecurityTypeEnterprise@3$NEHotspotNetworkSecurityTypeOpen@0$NEHotspotNetworkSecurityTypePersonal@2$NEHotspotNetworkSecurityTypeUnknown@4$NEHotspotNetworkSecurityTypeWEP@1$NENetworkRuleProtocolAny@0$NENetworkRuleProtocolTCP@1$NENetworkRuleProtocolUDP@2$NEOnDemandRuleActionConnect@1$NEOnDemandRuleActionDisconnect@2$NEOnDemandRuleActionEvaluateConnection@3$NEOnDemandRuleActionIgnore@4$NEOnDemandRuleInterfaceTypeAny@0$NEOnDemandRuleInterfaceTypeCellular@3$NEOnDemandRuleInterfaceTypeEthernet@1$NEOnDemandRuleInterfaceTypeWiFi@2$NEProviderStopReasonAppUpdate@16$NEProviderStopReasonAuthenticationCanceled@6$NEProviderStopReasonConfigurationDisabled@9$NEProviderStopReasonConfigurationFailed@7$NEProviderStopReasonConfigurationRemoved@10$NEProviderStopReasonConnectionFailed@14$NEProviderStopReasonIdleTimeout@8$NEProviderStopReasonInternalError@17$NEProviderStopReasonNoNetworkAvailable@3$NEProviderStopReasonNone@0$NEProviderStopReasonProviderDisabled@5$NEProviderStopReasonProviderFailed@2$NEProviderStopReasonSleep@15$NEProviderStopReasonSuperceded@11$NEProviderStopReasonUnrecoverableNetworkChange@4$NEProviderStopReasonUserInitiated@1$NEProviderStopReasonUserLogout@12$NEProviderStopReasonUserSwitch@13$NERelayManagerClientErrorCertificateExpired@7$NERelayManagerClientErrorCertificateInvalid@6$NERelayManagerClientErrorCertificateMissing@5$NERelayManagerClientErrorDNSFailed@2$NERelayManagerClientErrorNone@1$NERelayManagerClientErrorOther@10$NERelayManagerClientErrorPvDConfigurationTruncated@11$NERelayManagerClientErrorServerCertificateExpired@9$NERelayManagerClientErrorServerCertificateInvalid@8$NERelayManagerClientErrorServerDisconnected@4$NERelayManagerClientErrorServerUnreachable@3$NERelayManagerErrorConfigurationCannotBeRemoved@4$NERelayManagerErrorConfigurationDisabled@2$NERelayManagerErrorConfigurationInvalid@1$NERelayManagerErrorConfigurationStale@3$NETrafficDirectionAny@0$NETrafficDirectionInbound@1$NETrafficDirectionOutbound@2$NETunnelProviderErrorNetworkSettingsCanceled@2$NETunnelProviderErrorNetworkSettingsFailed@3$NETunnelProviderErrorNetworkSettingsInvalid@1$NETunnelProviderRoutingMethodDestinationIP@1$NETunnelProviderRoutingMethodNetworkRule@3$NETunnelProviderRoutingMethodSourceApplication@2$NEURLFilterVerdictAllow@2$NEURLFilterVerdictDeny@3$NEURLFilterVerdictUnknown@1$NEVPNConnectionErrorAuthenticationFailed@8$NEVPNConnectionErrorClientCertificateExpired@11$NEVPNConnectionErrorClientCertificateInvalid@9$NEVPNConnectionErrorClientCertificateNotYetValid@10$NEVPNConnectionErrorConfigurationFailed@4$NEVPNConnectionErrorConfigurationNotFound@13$NEVPNConnectionErrorNegotiationFailed@15$NEVPNConnectionErrorNoNetworkAvailable@2$NEVPNConnectionErrorOverslept@1$NEVPNConnectionErrorPluginDisabled@14$NEVPNConnectionErrorPluginFailed@12$NEVPNConnectionErrorServerAddressResolutionFailed@5$NEVPNConnectionErrorServerCertificateExpired@19$NEVPNConnectionErrorServerCertificateInvalid@17$NEVPNConnectionErrorServerCertificateNotYetValid@18$NEVPNConnectionErrorServerDead@7$NEVPNConnectionErrorServerDisconnected@16$NEVPNConnectionErrorServerNotResponding@6$NEVPNConnectionErrorUnrecoverableNetworkChange@3$NEVPNErrorConfigurationDisabled@2$NEVPNErrorConfigurationInvalid@1$NEVPNErrorConfigurationReadWriteFailed@5$NEVPNErrorConfigurationStale@4$NEVPNErrorConfigurationUnknown@6$NEVPNErrorConnectionFailed@3$NEVPNIKEAuthenticationMethodCertificate@1$NEVPNIKEAuthenticationMethodNone@0$NEVPNIKEAuthenticationMethodSharedSecret@2$NEVPNIKEv2CertificateTypeECDSA256@2$NEVPNIKEv2CertificateTypeECDSA384@3$NEVPNIKEv2CertificateTypeECDSA521@4$NEVPNIKEv2CertificateTypeEd25519@5$NEVPNIKEv2CertificateTypeRSA@1$NEVPNIKEv2CertificateTypeRSAPSS@6$NEVPNIKEv2DeadPeerDetectionRateHigh@3$NEVPNIKEv2DeadPeerDetectionRateLow@1$NEVPNIKEv2DeadPeerDetectionRateMedium@2$NEVPNIKEv2DeadPeerDetectionRateNone@0$NEVPNIKEv2DiffieHellmanGroup0@0$NEVPNIKEv2DiffieHellmanGroup1@1$NEVPNIKEv2DiffieHellmanGroup14@14$NEVPNIKEv2DiffieHellmanGroup15@15$NEVPNIKEv2DiffieHellmanGroup16@16$NEVPNIKEv2DiffieHellmanGroup17@17$NEVPNIKEv2DiffieHellmanGroup18@18$NEVPNIKEv2DiffieHellmanGroup19@19$NEVPNIKEv2DiffieHellmanGroup2@2$NEVPNIKEv2DiffieHellmanGroup20@20$NEVPNIKEv2DiffieHellmanGroup21@21$NEVPNIKEv2DiffieHellmanGroup31@31$NEVPNIKEv2DiffieHellmanGroup32@32$NEVPNIKEv2DiffieHellmanGroup5@5$NEVPNIKEv2DiffieHellmanGroupInvalid@0$NEVPNIKEv2EncryptionAlgorithm3DES@2$NEVPNIKEv2EncryptionAlgorithmAES128@3$NEVPNIKEv2EncryptionAlgorithmAES128GCM@5$NEVPNIKEv2EncryptionAlgorithmAES256@4$NEVPNIKEv2EncryptionAlgorithmAES256GCM@6$NEVPNIKEv2EncryptionAlgorithmChaCha20Poly1305@7$NEVPNIKEv2EncryptionAlgorithmDES@1$NEVPNIKEv2IntegrityAlgorithmSHA160@2$NEVPNIKEv2IntegrityAlgorithmSHA256@3$NEVPNIKEv2IntegrityAlgorithmSHA384@4$NEVPNIKEv2IntegrityAlgorithmSHA512@5$NEVPNIKEv2IntegrityAlgorithmSHA96@1$NEVPNIKEv2PostQuantumKeyExchangeMethod36@36$NEVPNIKEv2PostQuantumKeyExchangeMethod37@37$NEVPNIKEv2PostQuantumKeyExchangeMethodNone@0$NEVPNIKEv2TLSVersion1_0@1$NEVPNIKEv2TLSVersion1_1@2$NEVPNIKEv2TLSVersion1_2@3$NEVPNIKEv2TLSVersionDefault@0$NEVPNStatusConnected@3$NEVPNStatusConnecting@2$NEVPNStatusDisconnected@1$NEVPNStatusDisconnecting@5$NEVPNStatusInvalid@0$NEVPNStatusReasserting@4$NWPathStatusInvalid@0$NWPathStatusSatisfiable@3$NWPathStatusSatisfied@1$NWPathStatusUnsatisfied@2$NWTCPConnectionStateCancelled@5$NWTCPConnectionStateConnected@3$NWTCPConnectionStateConnecting@1$NWTCPConnectionStateDisconnected@4$NWTCPConnectionStateInvalid@0$NWTCPConnectionStateWaiting@2$NWUDPSessionStateCancelled@5$NWUDPSessionStateFailed@4$NWUDPSessionStateInvalid@0$NWUDPSessionStatePreparing@2$NWUDPSessionStateReady@3$NWUDPSessionStateWaiting@1$kNEHotspotHelperCommandTypeAuthenticate@3$kNEHotspotHelperCommandTypeEvaluate@2$kNEHotspotHelperCommandTypeFilterScanList@1$kNEHotspotHelperCommandTypeLogoff@6$kNEHotspotHelperCommandTypeMaintain@5$kNEHotspotHelperCommandTypeNone@0$kNEHotspotHelperCommandTypePresentUI@4$kNEHotspotHelperConfidenceHigh@2$kNEHotspotHelperConfidenceLow@1$kNEHotspotHelperConfidenceNone@0$kNEHotspotHelperResultAuthenticationRequired@4$kNEHotspotHelperResultCommandNotRecognized@3$kNEHotspotHelperResultFailure@1$kNEHotspotHelperResultSuccess@0$kNEHotspotHelperResultTemporaryFailure@6$kNEHotspotHelperResultUIRequired@2$kNEHotspotHelperResultUnsupportedNetwork@5$"""
|
|
35
35
|
misc.update(
|
|
36
36
|
{
|
|
37
37
|
"NEVPNConnectionError": NewType("NEVPNConnectionError", int),
|
|
@@ -1208,7 +1208,6 @@ try:
|
|
|
1208
1208
|
}
|
|
1209
1209
|
},
|
|
1210
1210
|
)
|
|
1211
|
-
r(b"NEVPNManager", b"protocol", {"deprecated": 1011})
|
|
1212
1211
|
r(
|
|
1213
1212
|
b"NEVPNManager",
|
|
1214
1213
|
b"removeFromPreferencesWithCompletionHandler:",
|
|
@@ -1241,7 +1240,6 @@ try:
|
|
|
1241
1240
|
)
|
|
1242
1241
|
r(b"NEVPNManager", b"setEnabled:", {"arguments": {2: {"type": "Z"}}})
|
|
1243
1242
|
r(b"NEVPNManager", b"setOnDemandEnabled:", {"arguments": {2: {"type": "Z"}}})
|
|
1244
|
-
r(b"NEVPNManager", b"setProtocol:", {"deprecated": 1011})
|
|
1245
1243
|
r(b"NEVPNProtocol", b"disconnectOnSleep", {"retval": {"type": "Z"}})
|
|
1246
1244
|
r(b"NEVPNProtocol", b"enforceRoutes", {"retval": {"type": b"Z"}})
|
|
1247
1245
|
r(b"NEVPNProtocol", b"excludeAPNs", {"retval": {"type": b"Z"}})
|
|
@@ -1552,6 +1550,7 @@ objc.registerNewKeywordsFromSelector("NEProxyServer", b"initWithAddress:port:")
|
|
|
1552
1550
|
objc.registerNewKeywordsFromSelector(
|
|
1553
1551
|
"NETunnelNetworkSettings", b"initWithTunnelRemoteAddress:"
|
|
1554
1552
|
)
|
|
1553
|
+
objc.registerNewKeywordsFromSelector("NEURLFilter", b"init")
|
|
1555
1554
|
objc.registerNewKeywordsFromSelector(
|
|
1556
1555
|
"NEVPNIKEv2PPKConfiguration", b"initWithIdentifier:keychainReference:"
|
|
1557
1556
|
)
|
|
@@ -1559,6 +1558,15 @@ objc.registerNewKeywordsFromSelector(
|
|
|
1559
1558
|
"NWTCPConnection", b"initWithUpgradeForConnection:"
|
|
1560
1559
|
)
|
|
1561
1560
|
objc.registerNewKeywordsFromSelector("NWUDPSession", b"initWithUpgradeForSession:")
|
|
1561
|
+
|
|
1562
|
+
objc.registerNewKeywords(
|
|
1563
|
+
"NWBonjourServiceEndpoint",
|
|
1564
|
+
("name", "type", "domain"),
|
|
1565
|
+
"endpointWithName_type_domain_",
|
|
1566
|
+
)
|
|
1567
|
+
objc.registerNewKeywords(
|
|
1568
|
+
"NWHostEndpoint", ("hostname", "port"), "endpointWithHostname_port_"
|
|
1569
|
+
)
|
|
1562
1570
|
expressions = {}
|
|
1563
1571
|
|
|
1564
1572
|
# END OF FILE
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyobjc-framework-NetworkExtension
|
|
3
|
-
Version: 12.
|
|
3
|
+
Version: 12.2
|
|
4
4
|
Summary: Wrappers for the framework NetworkExtension on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
@@ -17,7 +17,6 @@ Classifier: Operating System :: MacOS :: MacOS X
|
|
|
17
17
|
Classifier: Programming Language :: Python
|
|
18
18
|
Classifier: Programming Language :: Python :: 3
|
|
19
19
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
20
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
21
20
|
Classifier: Programming Language :: Python :: 3.10
|
|
22
21
|
Classifier: Programming Language :: Python :: 3.11
|
|
23
22
|
Classifier: Programming Language :: Python :: 3.12
|
|
@@ -25,14 +24,14 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
25
24
|
Classifier: Programming Language :: Python :: 3.14
|
|
26
25
|
Classifier: Programming Language :: Python :: 3.15
|
|
27
26
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
28
|
-
Classifier: Programming Language :: Python :: Free Threading ::
|
|
27
|
+
Classifier: Programming Language :: Python :: Free Threading :: 3 - Stable
|
|
29
28
|
Classifier: Programming Language :: Objective C
|
|
30
29
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
31
30
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
32
|
-
Requires-Python: >=3.
|
|
31
|
+
Requires-Python: >=3.10
|
|
33
32
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
34
|
-
Requires-Dist: pyobjc-core>=12.
|
|
35
|
-
Requires-Dist: pyobjc-framework-Cocoa>=12.
|
|
33
|
+
Requires-Dist: pyobjc-core>=12.2
|
|
34
|
+
Requires-Dist: pyobjc-framework-Cocoa>=12.2
|
|
36
35
|
Dynamic: author
|
|
37
36
|
Dynamic: author-email
|
|
38
37
|
Dynamic: classifier
|
|
@@ -60,5 +60,5 @@ PyObjCTest/test_nwtcpconnection.py
|
|
|
60
60
|
PyObjCTest/test_nwudpsession.py
|
|
61
61
|
metadata/NetworkExtension.fwinfo
|
|
62
62
|
metadata/metadata.ini
|
|
63
|
-
metadata/raw/arm64-26.
|
|
64
|
-
metadata/raw/x86_64-26.
|
|
63
|
+
metadata/raw/arm64-26.5.fwinfo
|
|
64
|
+
metadata/raw/x86_64-26.5.fwinfo
|
|
@@ -22,12 +22,14 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
22
22
|
* Start of compiler definitions
|
|
23
23
|
*
|
|
24
24
|
*/
|
|
25
|
+
#if 0
|
|
25
26
|
#ifndef __has_feature
|
|
26
27
|
#define __has_feature(x) 0
|
|
27
28
|
#endif
|
|
28
29
|
#ifndef __has_extension
|
|
29
30
|
#define __has_extension(x) __has_feature(x)
|
|
30
31
|
#endif
|
|
32
|
+
#endif
|
|
31
33
|
|
|
32
34
|
#if __has_extension(c_static_assert)
|
|
33
35
|
#define STATIC_ASSERT(test, message) _Static_assert(test, message)
|
|
@@ -55,46 +57,10 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
55
57
|
/*
|
|
56
58
|
*
|
|
57
59
|
* Start of compiler support helpers
|
|
58
|
-
*
|
|
59
|
-
* XXX: Are these needed?
|
|
60
60
|
*/
|
|
61
61
|
|
|
62
|
-
#ifdef __GNUC__
|
|
63
62
|
#define unlikely(x) __builtin_expect(!!(x), 0)
|
|
64
63
|
#define likely(x) __builtin_expect(!!(x), 1)
|
|
65
|
-
#else
|
|
66
|
-
#define likely(x) x
|
|
67
|
-
#define likely(x) x
|
|
68
|
-
#endif
|
|
69
|
-
|
|
70
|
-
/* On some versions of GCC <limits.h> defines LONG_LONG_MAX but not LLONG_MAX, compensate.
|
|
71
|
-
*/
|
|
72
|
-
#ifndef LLONG_MIN
|
|
73
|
-
#ifdef LONG_LONG_MIN
|
|
74
|
-
#define LLONG_MIN LONG_LONG_MIN
|
|
75
|
-
#define LLONG_MAX LONG_LONG_MAX
|
|
76
|
-
#define ULLONG_MAX ULONG_LONG_MAX
|
|
77
|
-
#endif
|
|
78
|
-
#endif
|
|
79
|
-
|
|
80
|
-
/*
|
|
81
|
-
*
|
|
82
|
-
* End of compiler support helpers
|
|
83
|
-
*
|
|
84
|
-
* XXX: These two are no longer needed, all supported platforms
|
|
85
|
-
* are 64-bit
|
|
86
|
-
*/
|
|
87
|
-
|
|
88
|
-
#if __LP64__
|
|
89
|
-
#define Py_ARG_NSInteger "l"
|
|
90
|
-
#define Py_ARG_NSUInteger "k"
|
|
91
|
-
#else
|
|
92
|
-
#define Py_ARG_NSInteger "i"
|
|
93
|
-
#define Py_ARG_NSUInteger "I"
|
|
94
|
-
#endif
|
|
95
|
-
|
|
96
|
-
#define PyObjC__STR(x) #x
|
|
97
|
-
#define PyObjC_STR(x) PyObjC__STR(x)
|
|
98
64
|
|
|
99
65
|
/*
|
|
100
66
|
*
|
|
@@ -131,20 +97,6 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
131
97
|
|
|
132
98
|
extern int PyObjC_Cmp(PyObject* o1, PyObject* o2, int* result);
|
|
133
99
|
|
|
134
|
-
/*
|
|
135
|
-
* A micro optimization: when using Python 3.3 or later it
|
|
136
|
-
* is possible to access a 'char*' with an ASCII representation
|
|
137
|
-
* of a unicode object without first converting it to a bytes
|
|
138
|
-
* string (if the string can be encoded as ASCII in the first
|
|
139
|
-
* place.
|
|
140
|
-
*
|
|
141
|
-
* This slightly reduces the object allocation rate during
|
|
142
|
-
* attribute access.
|
|
143
|
-
*
|
|
144
|
-
* XXX: Use PyUnicode_AsUTF8 instead.
|
|
145
|
-
*/
|
|
146
|
-
extern const char* _Nullable PyObjC_Unicode_Fast_Bytes(PyObject* object);
|
|
147
|
-
|
|
148
100
|
#ifdef __clang__
|
|
149
101
|
|
|
150
102
|
#ifndef Py_LIMITED_API
|
|
@@ -286,6 +238,23 @@ static inline PyObject* _Nullable PyList_GetItemRef(PyObject* l, Py_ssize_t i)
|
|
|
286
238
|
Py_XINCREF(result);
|
|
287
239
|
return result;
|
|
288
240
|
}
|
|
241
|
+
|
|
242
|
+
static inline int
|
|
243
|
+
PyDict_SetDefaultRef(PyObject* p, PyObject* key, PyObject* default_value,
|
|
244
|
+
PyObject* _Nonnull* _Nullable result)
|
|
245
|
+
{
|
|
246
|
+
*result = PyDict_SetDefault(p, key, default_value);
|
|
247
|
+
if (*result == NULL) {
|
|
248
|
+
return -1;
|
|
249
|
+
}
|
|
250
|
+
Py_INCREF(*result);
|
|
251
|
+
|
|
252
|
+
/* This does not follow the spec, should return 1 when the key was already
|
|
253
|
+
* in the dict. That part of the API is not used in PyObjC though.
|
|
254
|
+
*/
|
|
255
|
+
return 0;
|
|
256
|
+
}
|
|
257
|
+
|
|
289
258
|
#endif
|
|
290
259
|
|
|
291
260
|
#if PY_VERSION_HEX < 0x030c0000
|
|
@@ -392,6 +361,11 @@ PyUnstable_TryIncRef(PyObject* op __attribute__((__unused__)))
|
|
|
392
361
|
}
|
|
393
362
|
#endif
|
|
394
363
|
|
|
364
|
+
#if PY_VERSION_HEX < 0x030f00a7
|
|
365
|
+
#define PyAnyDict_CheckExact PyDict_CheckExact
|
|
366
|
+
#define PyAnyDict_Check PyDict_Check
|
|
367
|
+
#endif
|
|
368
|
+
|
|
395
369
|
NS_ASSUME_NONNULL_END
|
|
396
370
|
|
|
397
371
|
#endif /* PyObjC_COMPAT_H */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyobjc-framework-NetworkExtension
|
|
3
|
-
Version: 12.
|
|
3
|
+
Version: 12.2
|
|
4
4
|
Summary: Wrappers for the framework NetworkExtension on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
@@ -17,7 +17,6 @@ Classifier: Operating System :: MacOS :: MacOS X
|
|
|
17
17
|
Classifier: Programming Language :: Python
|
|
18
18
|
Classifier: Programming Language :: Python :: 3
|
|
19
19
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
20
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
21
20
|
Classifier: Programming Language :: Python :: 3.10
|
|
22
21
|
Classifier: Programming Language :: Python :: 3.11
|
|
23
22
|
Classifier: Programming Language :: Python :: 3.12
|
|
@@ -25,14 +24,14 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
25
24
|
Classifier: Programming Language :: Python :: 3.14
|
|
26
25
|
Classifier: Programming Language :: Python :: 3.15
|
|
27
26
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
28
|
-
Classifier: Programming Language :: Python :: Free Threading ::
|
|
27
|
+
Classifier: Programming Language :: Python :: Free Threading :: 3 - Stable
|
|
29
28
|
Classifier: Programming Language :: Objective C
|
|
30
29
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
31
30
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
32
|
-
Requires-Python: >=3.
|
|
31
|
+
Requires-Python: >=3.10
|
|
33
32
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
34
|
-
Requires-Dist: pyobjc-core>=12.
|
|
35
|
-
Requires-Dist: pyobjc-framework-Cocoa>=12.
|
|
33
|
+
Requires-Dist: pyobjc-core>=12.2
|
|
34
|
+
Requires-Dist: pyobjc-framework-Cocoa>=12.2
|
|
36
35
|
Dynamic: author
|
|
37
36
|
Dynamic: author-email
|
|
38
37
|
Dynamic: classifier
|
|
@@ -35,6 +35,9 @@ class TestNERelayManager(TestCase):
|
|
|
35
35
|
NetworkExtension.NERelayManagerClientErrorServerCertificateExpired, 9
|
|
36
36
|
)
|
|
37
37
|
self.assertEqual(NetworkExtension.NERelayManagerClientErrorOther, 10)
|
|
38
|
+
self.assertEqual(
|
|
39
|
+
NetworkExtension.NERelayManagerClientErrorPvDConfigurationTruncated, 11
|
|
40
|
+
)
|
|
38
41
|
|
|
39
42
|
@min_os_level("14.0")
|
|
40
43
|
def test_constants14_0(self):
|