Implement deferred SSL import #275
Labels
area: api 🤖
issue: planned ⌚
Assigned to a specific version's milestone
topic: PyScript compat 🔌
type: enhancement ✨
Something to add
Milestone
This will be necessary in order for bskinn/soi-app#10 to work, at all. PyScript doesn't ship with a working
ssl
package, andsphobjinv
importsssl
at import time.sphobjinv
doesn't use SSL except forInventory(url=...)
instantiation. AnyImportError
that occurs during an attempt toimport ssl
will need to be deferred until such time thatInventory(url=...)
is attempted.This means that the creation of
Inventory._sslcontext
will also have to be deferred, sincessl
is used to create that context. Thus, #113 will be needed for functional reasons.The text was updated successfully, but these errors were encountered: