{"action":"created","issue":{"url":"https://api.github.com/repos/pyca/cryptography/issues/2165","labels_url":"https://api.github.com/repos/pyca/cryptography/issues/2165/labels{/name}","comments_url":"https://api.github.com/repos/pyca/cryptography/issues/2165/comments","events_url":"https://api.github.com/repos/pyca/cryptography/issues/2165/events","html_url":"https://github.com/pyca/cryptography/issues/2165","id":96675268,"number":2165,"title":"create separate namespaces for OIDs used for different things","user":{"login":"glyph","id":716529,"avatar_url":"https://avatars.githubusercontent.com/u/716529?v=3","gravatar_id":"","url":"https://api.github.com/users/glyph","html_url":"https://github.com/glyph","followers_url":"https://api.github.com/users/glyph/followers","following_url":"https://api.github.com/users/glyph/following{/other_user}","gists_url":"https://api.github.com/users/glyph/gists{/gist_id}","starred_url":"https://api.github.com/users/glyph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glyph/subscriptions","organizations_url":"https://api.github.com/users/glyph/orgs","repos_url":"https://api.github.com/users/glyph/repos","events_url":"https://api.github.com/users/glyph/events{/privacy}","received_events_url":"https://api.github.com/users/glyph/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pyca/cryptography/labels/api%20design","name":"api design","color":"fad8c7"},{"url":"https://api.github.com/repos/pyca/cryptography/labels/x509","name":"x509","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-22T22:01:05Z","updated_at":"2015-08-03T04:59:33Z","closed_at":null,"body":"When reviewing the documentation in #2154, it occurred to me that especially for someone not familiar with the ASN.1 structures involved, it might be pretty confusing that name OIDs and signature OIDs are in the same namespace.\r\n\r\nI'd like tab completion to work in `bpython`, for example :).  So it would be good to split https://cryptography.io/en/latest/x509/reference/#name-oids and https://cryptography.io/en/latest/x509/reference/#signature-algorithm-oids into separate namespaces in the code as they are in the docs."},"comment":{"url":"https://api.github.com/repos/pyca/cryptography/issues/comments/127123591","html_url":"https://github.com/pyca/cryptography/issues/2165#issuecomment-127123591","issue_url":"https://api.github.com/repos/pyca/cryptography/issues/2165","id":127123591,"user":{"login":"glyph","id":716529,"avatar_url":"https://avatars.githubusercontent.com/u/716529?v=3","gravatar_id":"","url":"https://api.github.com/users/glyph","html_url":"https://github.com/glyph","followers_url":"https://api.github.com/users/glyph/followers","following_url":"https://api.github.com/users/glyph/following{/other_user}","gists_url":"https://api.github.com/users/glyph/gists{/gist_id}","starred_url":"https://api.github.com/users/glyph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glyph/subscriptions","organizations_url":"https://api.github.com/users/glyph/orgs","repos_url":"https://api.github.com/users/glyph/repos","events_url":"https://api.github.com/users/glyph/events{/privacy}","received_events_url":"https://api.github.com/users/glyph/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T04:59:33Z","updated_at":"2015-08-03T04:59:33Z","body":"I was actually thinking classes, like `x509.oid.Name.COMMON_NAME` and `x509.oid.SignatureAlgorithm.ECDSA_WITH_SHA512`.  Leaving them aliased for a while seems reasonable, it doesn't seem like it would be much of a maintenance burden."}}