Conversation
Member
thedrow
commented
Oct 11, 2013
…t and the fake object to verify that they match. Closes #1.
…ical but can be ducted typed the are_argspecs_identical method will still return true.
…e first method and a kwargs argument on the second the are_keyword_arguments_identical method will return true.
…ther has a varargs argument then they shouldn't match.
…ther has a kwargs argument then they shouldn't match.
…ve the same argspec.
…e argspec if they have the same number of positional arguments.
…e argspec if one of them has an argument and the other has a varargs argument.
…tical if one of them has no positional arguments and the other has a varargs argument.
…tical if one of them has more positional arguments than the other.
…l if both have the same keyword arguments.
…l if one of the methods have keyword arguments and the other has a kwargs argument. Fixed a related bug where the positional arguments comparison function did not filter keyword arguments.
… if we are faking a bound method.
…e bound if we are faking a bound method on python 2.7.
… the method if the method is bound.
… Python 2.x aliases for doc and code internal attributes.
…guments values. Added Python 2.x aliases for the defaults internal attributes.
…hon 2.x aliases for the globals internal attributes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.