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

Implement read functions for simple types #78

Merged
merged 2 commits into from
Dec 2, 2018
Merged

Implement read functions for simple types #78

merged 2 commits into from
Dec 2, 2018

Conversation

maxnoe
Copy link
Member

@maxnoe maxnoe commented Dec 1, 2018

A little syntactic sugar, removes the need to remember struct formats and adding the commas if one only reads one number.

@maxnoe maxnoe requested a review from dneise December 1, 2018 21:15


def read_from_without_position_change(fmt, f):
def read_from_without_position_change(f, fmt):
Copy link
Member

Choose a reason for hiding this comment

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

This function seems to be implemented but never used. Was it a test of some kind and should be removed, or do you plan to use it later somewhere?

Copy link
Member Author

Choose a reason for hiding this comment

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

This was used in the old version all over the place but is probably not needed anymore

Copy link
Member

@dneise dneise left a comment

Choose a reason for hiding this comment

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

👍

@dneise dneise merged commit adad2c4 into simtel Dec 2, 2018
@maxnoe maxnoe deleted the read_functions branch April 23, 2019 10:06
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.

2 participants