requests / toolbelt

A toolbelt of useful classes and functions to be used with python-requests
https://toolbelt.readthedocs.org
Other
989 stars 186 forks source link

Update _compat.py #364

Closed chickiyeah closed 1 year ago

chickiyeah commented 1 year ago

Mapping Error

sigmavirus24 commented 1 year ago

What error is this supposed to be fixing?

chickiyeah commented 1 year ago

The mapping and mutable mapping path of the existing collection package has been changed to abc, so the error caused by the change has been corrected

sigmavirus24 commented 1 year ago

Line 48 has this exact import so I'm still confused by what you're trying to fix here

chickiyeah commented 1 year ago

Line 48 has this exact import so I'm still confused by what you're trying to fix here

I corrected it because my server couldn't read the line at 18 when I was running on my server and there was an error in the operation

chickiyeah commented 1 year ago

You may also consider moving up the try phrase in line 48.

sigmavirus24 commented 1 year ago

If it was line 18, then what you've done here won't help, nor will moving the line where this happens.

There's almost no information in this about the versions you're using, the stack trace or anything really that could possibly help us help you.