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
dispatch.py
on
returnvalues
User selector
All users
Datepicker
All time
Commit history
Commits on May 19, 2021
add mode to function argument type checker to skip unannotated args
Show description for cd72003
Technologicat
committed
cd72003
View commit details
Copy full SHA for cd72003
View code at this point
Browse repository at this point
update comments and docstrings
Technologicat
committed
0424999
View commit details
Copy full SHA for 0424999
View code at this point
Browse repository at this point
Commits on May 18, 2021
Fix and improve kwargs handling in `curry`
Show description for 2960e71
Technologicat
committed
2960e71
View commit details
Copy full SHA for 2960e71
View code at this point
Browse repository at this point
Commits on May 17, 2021
Sketch for better kwargs support in curry.
Show description for 7398280
Technologicat
committed
7398280
View commit details
Copy full SHA for 7398280
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
add TODO comment
Technologicat
committed
41cca46
View commit details
Copy full SHA for 41cca46
View code at this point
Browse repository at this point
Commits on May 15, 2021
improve docstrings
Technologicat
committed
9b4c3f9
View commit details
Copy full SHA for 9b4c3f9
View code at this point
Browse repository at this point
naming: _find_matching_multimethod -> _resolve_multimethod
Technologicat
committed
b670957
View commit details
Copy full SHA for b670957
View code at this point
Browse repository at this point
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
terminology and wording fixes
Technologicat
committed
9eaa4c7
View commit details
Copy full SHA for 9eaa4c7
View code at this point
Browse repository at this point
update comment
Technologicat
committed
9384277
View commit details
Copy full SHA for 9384277
View code at this point
Browse repository at this point
update comment
Show description for e1e880d
Technologicat
committed
e1e880d
View commit details
Copy full SHA for e1e880d
View code at this point
Browse repository at this point
handle docstring correctly for the first multimethod, too
Technologicat
committed
ecbc21b
View commit details
Copy full SHA for ecbc21b
View code at this point
Browse repository at this point
Commits on May 14, 2021
add multimethod docstring to generic function __doc__ on register
Technologicat
committed
d2785a5
View commit details
Copy full SHA for d2785a5
View code at this point
Browse repository at this point
terminology: multimethod
Technologicat
committed
5eb27d8
View commit details
Copy full SHA for 5eb27d8
View code at this point
Browse repository at this point
format_methods: handle also case of empty multimethod list
Technologicat
committed
f04a438
View commit details
Copy full SHA for f04a438
View code at this point
Browse repository at this point
refactor multiple-dispatch system; add `methods` to list multimethods
Technologicat
committed
8d73c7a
View commit details
Copy full SHA for 8d73c7a
View code at this point
Browse repository at this point
Commits on May 13, 2021
document return value in docstring
Technologicat
committed
07a28a0
View commit details
Copy full SHA for 07a28a0
View code at this point
Browse repository at this point
rename generic_addmethod -> augment
Technologicat
committed
bdca0df
View commit details
Copy full SHA for bdca0df
View code at this point
Browse repository at this point
isgeneric: return "generic", "typed", or False
Technologicat
committed
d17d1b5
View commit details
Copy full SHA for d17d1b5
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
eh, how many bugs can you fit on two lines?
Technologicat
committed
2d821c4
View commit details
Copy full SHA for 2d821c4
View code at this point
Browse repository at this point
Commits on May 5, 2021
naming: @generic_addmethod more descriptive than @generic_for
Show description for d191fbe
Technologicat
committed
d191fbe
View commit details
Copy full SHA for d191fbe
View code at this point
Browse repository at this point
Commits on Apr 28, 2021
add @generic_for
Technologicat
committed
ab61f4e
View commit details
Copy full SHA for ab61f4e
View code at this point
Browse repository at this point
0.15: modules `dispatch` and `typecheck` are no longer experimental.
Technologicat
committed
df051e5
View commit details
Copy full SHA for df051e5
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 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 18, 2020
error message formatting: use repr
Technologicat
committed
713da53
View commit details
Copy full SHA for 713da53
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 29, 2020
Register the @generic and @typed decorators
Show description for 3b85dea
Technologicat
committed
3b85dea
View commit details
Copy full SHA for 3b85dea
View code at this point
Browse repository at this point
Commits on Aug 26, 2020
oops, no cover.
Technologicat
committed
4abc905
View commit details
Copy full SHA for 4abc905
View code at this point
Browse repository at this point
dispatch: add OOP inheritance support (dispatch across the MRO)
Technologicat
committed
be75f9c
View commit details
Copy full SHA for be75f9c
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 23, 2020
improve coverage
Technologicat
committed
369237d
View commit details
Copy full SHA for 369237d
View code at this point
Browse repository at this point
add some "# pragma: no cover" as appropriate
Technologicat
committed
45593a3
View commit details
Copy full SHA for 45593a3
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.