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
%paste doesn't work on py3 #1916
Comments
It would be good to have a test for this that doesn't require calling the actual |
I think a test for
|
We can test it, because it's in the CommandChainDispatcher itself. I really hate the stricter comparison rules added to Python 3. |
This also would not be an issue if bisect allowed the user to specify a key. It's easy to add a test. In fact we just added some tests for CommandChainDispatcher, but never had two functions with the same priority. |
Since bisect can't do what's appropriate with the terrible decisions in Python 3, I think we should just skip it and implement it ourself. There's no reason we need any kind of sorting optimization for a list with single-digit length. |
Functions are no longer orderable, so sorting
[(1,func), (1,funcB)]
fails.The text was updated successfully, but these errors were encountered: