-
Notifications
You must be signed in to change notification settings - Fork 47
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
[WIP] Introduce signature utilities for python 3.8 #155
Conversation
To prevent stdlib getfullargspec deprecation these propose to introduce a backward compat for python version who will remove getfullargspec. Change-Id: I77ab0cb79d678f4d2763c89ea5aa18e3646672be
OK so my notion was, since this has to be in four projects, to lift the Python 3.3 version, which apparently is not on github, so it's this:
per my performance test at https://gist.github.com/zzzeek/0eb0636fa3917f36ffd887d9f765c208 it is 5-20x faster than any current implementation |
I've intialize this project based on the py3.3 code => https://github.com/4383/contrat (I use |
sorry I know im being difficult here, I was looking for to make a very truncated version just of getfullargspec() and then have it present directly in each project (dogpile, mako, alembic, sqlalchemy). I don't want to make an additional package because 1. external dependency 2. competes with upstream Python who will want to be fixing Signature's performance 3. not sure if the 3.3 implementation is even going to work b.c. i need to see what syntaxes we might be missing . if you want I can annotate everything at https://github.com/4383/contrat/blob/master/contrat/__init__.py that I don't need |
also note they are un-deprecating getfullargspec() for now. so we have time. I do want to improve on performance thoguh but tihs is more important for sqlalchemy |
No problem
Yeah good idea |
Yep I know |
I guess I can close this one now (related to d0ff02b) |
yeah I did them all at once! |
To prevent stdlib getfullargspec deprecation these propose to introduce
a backward compat for python version who will remove getfullargspec.
These changes are more to discuss with you about the cross vendoring between
mako
,dogpile
etc...related to #154