overloading.py icon indicating copy to clipboard operation
overloading.py copied to clipboard

Function overloading for Python 3

Results 9 overloading.py issues
Sort by recently updated
recently updated
newest added

Isn't compatible with typing anymore, but I used a more modular approach for it to be easier to maintain. However, I renamed the module to OverloadingFixed, so please rename it...

for some reason my program throws this error rooted in this lib. when i try to simply overload the __init__ of my class. Code: ``` from overloading import overload import...

EDIT: Just realized your test suite doesn't cover Python 3.6.X. I don't have this issue when using Python 3.4.3, but when using Python 3.6.3 I receive OverloadErrors when providing overrides...

While running the following: ``` #! /usr/bin/env python3.6 # -*- coding: utf-8 -*- from overloading import overload, overloaded, overloads from unittest import TestCase, main from typing import Union, Dict, Any,...

While running the previous test case I've included in #5, I also came across problems in PyCharm where the builtin `issubclass` is called with arguments `type_` and `typing.Union` (e.g. [L#457](https://github.com/bintoro/overloading.py/blob/master/overloading.py#L457),...

As per [their blog post of the 27th April](https://blog.readthedocs.com/securing-subdomains/) ‘Securing subdomains’: > Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on...

That's mostly relevant for interactive usecases such as REPL or a Jupyter Notebook. Suppose I have a function ``` python def f(a: int): return a ``` and at some point...

Do this implementation have known drawback impact on performance? Thanks for this wonderful module. jvtrudel