Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
sighingnow
unpythonic
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
unpythonic
unpythonic
arity.py
on
master
User selector
All users
Datepicker
All time
Commit history
Commits on May 19, 2021
add back a custom implementation of function parameter binding
Show description for 72ced76
Technologicat
committed
72ced76
View commit details
Copy full SHA for 72ced76
View code at this point
Browse repository at this point
Commits on May 17, 2021
fix silly mistake
Show description for b3eb3c8
Technologicat
committed
b3eb3c8
View commit details
Copy full SHA for b3eb3c8
View code at this point
Browse repository at this point
add `partial` with type check; error in `curry` if no partial match
Technologicat
committed
ae586e8
View commit details
Copy full SHA for ae586e8
View code at this point
Browse repository at this point
Commits on May 15, 2021
add `@generic` support to `curry` and arity utilities
Show description for cef82ca
Technologicat
committed
cef82ca
View commit details
Copy full SHA for cef82ca
View code at this point
Browse repository at this point
Commits on May 12, 2021
clean up `resolve_bindings`; improve dispatch
Show description for 4f2c0f6
Technologicat
committed
4f2c0f6
View commit details
Copy full SHA for 4f2c0f6
View code at this point
Browse repository at this point
Commits on Apr 17, 2021
Python 3.6+: use f-strings instead of str.format in most situations
Show description for 43e4049
Technologicat
committed
43e4049
View commit details
Copy full SHA for 43e4049
View code at this point
Browse repository at this point
Commits on Apr 16, 2021
update TODO comment
Technologicat
committed
b2632c9
View commit details
Copy full SHA for b2632c9
View code at this point
Browse repository at this point
Commits on Apr 14, 2021
drop Python 3.4 and 3.5 support
Technologicat
committed
49d40ff
View commit details
Copy full SHA for 49d40ff
View code at this point
Browse repository at this point
Commits on Sep 8, 2020
publish arity.getfunc
Technologicat
committed
ae8ffd5
View commit details
Copy full SHA for ae8ffd5
View code at this point
Browse repository at this point
Commits on Aug 26, 2020
arity: mark a TODO
Show description for c2df82b
Technologicat
committed
c2df82b
View commit details
Copy full SHA for c2df82b
View code at this point
Browse repository at this point
coverage oops.
Technologicat
committed
e67b147
View commit details
Copy full SHA for e67b147
View code at this point
Browse repository at this point
@generic, @typed: add rudimentary support for OOP
Technologicat
committed
1656b0f
View commit details
Copy full SHA for 1656b0f
View code at this point
Browse repository at this point
Commits on Aug 25, 2020
small cleanup
Technologicat
committed
5d873eb
View commit details
Copy full SHA for 5d873eb
View code at this point
Browse repository at this point
Commits on Aug 24, 2020
add comment
Technologicat
committed
bf0a2e3
View commit details
Copy full SHA for bf0a2e3
View code at this point
Browse repository at this point
improve coverage
Technologicat
committed
35d43de
View commit details
Copy full SHA for 35d43de
View code at this point
Browse repository at this point
Commits on Aug 19, 2020
Fix builtins arity detection on PyPy3
Technologicat
committed
d40114b
View commit details
Copy full SHA for d40114b
View code at this point
Browse repository at this point
Commits on Mar 20, 2020
Fix bug if varpos/varkw slot is number 0
Technologicat
committed
e40ede9
View commit details
Copy full SHA for e40ede9
View code at this point
Browse repository at this point
Commits on Mar 18, 2020
Fix some flake8 warnings
Technologicat
committed
c202c45
View commit details
Copy full SHA for c202c45
View code at this point
Browse repository at this point
resolve_bindings: return also the kwarg name for introspection
Technologicat
committed
ac90f37
View commit details
Copy full SHA for ac90f37
View code at this point
Browse repository at this point
Improve docstring of resolve_bindings
Technologicat
committed
ae4567b
View commit details
Copy full SHA for ae4567b
View code at this point
Browse repository at this point
Get rid of dynvar resolve_bindings_tuplify
Show description for 7e3d8b0
Technologicat
committed
7e3d8b0
View commit details
Copy full SHA for 7e3d8b0
View code at this point
Browse repository at this point
Commits on Mar 16, 2020
resolve_bindings: return also the name of the vararg
Juha Jeronen
committed
40f56a6
View commit details
Copy full SHA for 40f56a6
View code at this point
Browse repository at this point
More introspectable return format for resolve_bindings
Juha Jeronen
committed
cb3b0e1
View commit details
Copy full SHA for cb3b0e1
View code at this point
Browse repository at this point
Commits on Mar 6, 2020
Update comments
Technologicat
committed
a99f0ee
View commit details
Copy full SHA for a99f0ee
View code at this point
Browse repository at this point
Commits on Mar 5, 2020
Use `gensym` where appropriate.
Show description for 81229a8
Technologicat
committed
81229a8
View commit details
Copy full SHA for 81229a8
View code at this point
Browse repository at this point
Commits on Mar 1, 2020
Fix spurious cache misses in memoizers
Show description for 42de4ce
Technologicat
committed
42de4ce
View commit details
Copy full SHA for 42de4ce
View code at this point
Browse repository at this point
more autopep8
Technologicat
committed
3f0dc7b
View commit details
Copy full SHA for 3f0dc7b
View code at this point
Browse repository at this point
Commits on Nov 8, 2018
split unit tests to unpythonic.test
Technologicat
committed
6965052
View commit details
Copy full SHA for 6965052
View code at this point
Browse repository at this point
Commits on Oct 24, 2018
add comment, improve terminology
Technologicat
committed
c53244b
View commit details
Copy full SHA for c53244b
View code at this point
Browse repository at this point
arity: compute arities of methods correctly
Technologicat
committed
068d09d
View commit details
Copy full SHA for 068d09d
View code at this point
Browse repository at this point
workaround for more builtins in arities
Technologicat
committed
d98668c
View commit details
Copy full SHA for d98668c
View code at this point
Browse repository at this point
Commits on Oct 23, 2018
arities: workaround for the rest of builtins that incorrectly report their arities
Technologicat
committed
9e1994e
View commit details
Copy full SHA for 9e1994e
View code at this point
Browse repository at this point
HACK: special-case arities() to work with range()
Technologicat
committed
4626eb1
View commit details
Copy full SHA for 4626eb1
View code at this point
Browse repository at this point
Commits on Sep 20, 2018
pylint it
Technologicat
committed
30a7c43
View commit details
Copy full SHA for 30a7c43
View code at this point
Browse repository at this point
Commits on Aug 31, 2018
improve kwarg inspection support
Technologicat
committed
aedf1b4
View commit details
Copy full SHA for aedf1b4
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.