Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runtime deprecation of tagMap & typeMap aliases #72

Merged

Conversation

Avasam
Copy link

@Avasam Avasam commented Aug 2, 2024

Closes #11

CC @tiran

@Avasam Avasam force-pushed the Runtime-deprecation-of-tagMap&typeMap-aliases branch 2 times, most recently from 59dfe0a to cae026d Compare August 2, 2024 00:35
@Avasam Avasam changed the title Runtime deprecation of tagMap&typeMap aliases Runtime deprecation of tagMap & typeMap aliases Aug 5, 2024
@Avasam Avasam force-pushed the Runtime-deprecation-of-tagMap&typeMap-aliases branch from cae026d to 2f95e2a Compare August 22, 2024 00:07
pyasn1/codec/ber/decoder.py Outdated Show resolved Hide resolved
Copy link

@droideck droideck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Besides the minor nitpick, looks good! Thank you!

@@ -228,7 +228,7 @@ def plug(self, *args, **kw):

return cls._instance

def __getattr__(self, attr):
def __getattr__(self, attr: str):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a minor nitpick, but I'd rather keep the commit changes exactly about the subject, nothing additional.
We can have more PRs in the future for type changes and this change together with other stuff. :)

@Avasam Avasam force-pushed the Runtime-deprecation-of-tagMap&typeMap-aliases branch from 3859bbc to 803ec95 Compare August 22, 2024 01:26
@Avasam Avasam force-pushed the Runtime-deprecation-of-tagMap&typeMap-aliases branch from 803ec95 to d9703b9 Compare August 22, 2024 01:28
@droideck droideck merged commit 507eca7 into pyasn1:main Aug 22, 2024
10 checks passed
@Avasam Avasam deleted the Runtime-deprecation-of-tagMap&typeMap-aliases branch August 22, 2024 01:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deprecate tagMap/typeMap aliases
2 participants