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

deprecate non-pythonic names #218

Merged
merged 5 commits into from
Feb 27, 2018
Merged

deprecate non-pythonic names #218

merged 5 commits into from
Feb 27, 2018

Conversation

tomato42
Copy link
Member

@tomato42 tomato42 commented Feb 22, 2018

old code used camelCase for attributes and method names, that's unpythonic

add decorators that allow us to retain API while changing names of those identifiers


This change is Reviewable

@tomato42 tomato42 self-assigned this Feb 22, 2018
@tomato42 tomato42 added the bug unintented behaviour in tlslite-ng code label Feb 22, 2018
@tomato42 tomato42 force-pushed the pythonic_names branch 3 times, most recently from f1d7be8 to 03cba55 Compare February 23, 2018 00:44
@tomato42 tomato42 changed the title [WIP] deprecate non-pythonic names deprecate non-pythonic names Feb 23, 2018
a lot of methods use parameters names that use
camelCase, which is unpythonic, add a decorator that
will allow renaming them without breaking backwards
compatibility
use the new pylint generated pylintrc as a guide, update rgx
@tomato42 tomato42 requested a review from t8m February 23, 2018 16:30
@tomato42 tomato42 added the review request PR finished, ready for review label Feb 23, 2018
Copy link

@t8m t8m left a comment

Choose a reason for hiding this comment

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

+1 I do not see any obvious errors.

@tomato42 tomato42 merged commit 811d145 into master Feb 27, 2018
@tomato42
Copy link
Member Author

tomato42 commented Feb 27, 2018

@t8m thank you!

@tomato42 tomato42 deleted the pythonic_names branch February 27, 2018 12:52
@tomato42 tomato42 mentioned this pull request Feb 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug unintented behaviour in tlslite-ng code review request PR finished, ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants