-
Notifications
You must be signed in to change notification settings - Fork 3k
Correct memap path handling on windows #5775
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
Conversation
Parsing dispatch now uses a metaclass as a Trait and a series of classes that implement the trait for dispatching parsing. This structure gives each parser it's own namespace, avoiding tacking on suffixes to each attribute indicating which parser uses it.
/morph build |
Build : SUCCESSBuild number : 792 Triggering tests/morph test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple of minor comments but I wouldn't necessarily block the PR on them
|
||
for i in self.all_sections: | ||
return value - A section name, if a new section was found, False |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know you didn't add this function per se but it seems like bad programming practice to have different return types for the same return variable. E.g. Returning False implies a Boolean return type but returning a value implies something else....
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is so extremely common in python, just with None
instead of False
|
||
return '[lib]/' + object_name | ||
|
||
return join('[lib]', test_re_obj_name.group(2), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be good to have a comment saying what group(2) and (3) actually are ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can add that.
Exporter Build : SUCCESSBuild number : 446 |
Includes a parser refactor, as I got a bit irritated by seeing
_gcc
suffixed method names.
Resolves #5772
Todo