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

Python3 signature #16

Merged
merged 5 commits into from
Sep 21, 2013
Merged

Python3 signature #16

merged 5 commits into from
Sep 21, 2013

Conversation

coldfix
Copy link
Contributor

@coldfix coldfix commented Sep 20, 2013

Python3-only support for conserving signatures. That means default-arguments will be usable.
This is a rather minimalistic approach that introduces no extra dependencies on third-party libraries and does not break python2 compatibility.

With this modification, the main functionality should be portable to
python2. The __signature__ will only be retrieved and used if the
platform has support for this feature.
Sorry for the extra top level folder. It seems nosetests has no real
support for excluding individual tests based on runtime version.

There are the --py3where and --where options that could be used. Though,
with one of these enabled the entire test is run from the specified
subdirectory. Which means that all top level content has to be symlinked
in order to provide a valid runtime without the module installed.
@milibopp milibopp merged commit d7ad80b into master Sep 21, 2013
@milibopp
Copy link
Owner

Thanks for taking care of this issue.

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