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
Proposal for fix_urllib #47566
Comments
Here is my proposed fix_urllib. The transform function is massive |
I broke up transform into the logical pieces of it, so I think now the |
MAPPING = {module: [(new_module, [member, member, ..., member])]} you should probably use MAPPING = {module: {new_module: [member, member, ..., member]}} The list-of-2-tuples was a bad idea on my part that didn't scale.
|
What Collin said. =) I will put robotparser and urlparse into fix_imports myself and continue Thanks to the both of you for helping with this! It's going to be great |
Nick, are you going to be able to get this cleaned up today for the beta |
I should be able to. What time would you need it by? |
Today or tomorrow. |
I would really like to get this in by beta2, but it's not quite enough |
I've got it finished, I just need to write some tests for it. It will |
-----BEGIN PGP SIGNED MESSAGE----- On Jul 15, 2008, at 8:10 PM, Nick Edds wrote:
Great! -----BEGIN PGP SIGNATURE----- iQCVAwUBSH0/RHEjvBPtnXfVAQIdvAP/Sxz4XayNMlBWIicFVmmQ/C85Fujsb7wN |
Here is a working version with tests. I believe it has all the desired |
I got your patch and it looks good overall. I made some style changes |
r65002 has the patch. Thanks, Nick! |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: