Benjamin-Loison / cpython

The Python programming language
https://www.python.org/
Other
0 stars 0 forks source link

`^^^` is not line precise when line is too long and wraps #50

Open Benjamin-Loison opened 2 hours ago

Benjamin-Loison commented 2 hours ago
python3 minimize_curl_further.py
Output: ``` Partially minimized curl request: curl 'http://localhost?url_parameter_key_a=url_parameter_value_a&url_parameter_key_b=url_parameter_value_b' Curl request: curl 'http://localhost?url_parameter_key_a=new_url_parameter_value_a&url_parameter_key_b=new_url_parameter_value_b&url_parameter_key_c=new_url_parameter_value_c' Injecting headers Injecting URL parameters Traceback (most recent call last): File "/home/benjamin/Desktop/bens_folder/dev/python/projects/online_authentication_api/websites/cfspart-idp.impots.gouv.fr/minimize_curl_further.py", line 91, in url = urlParsed._replace(query = '&'.join([f'{quote_plus(parameter)}={quote_plus(query[parameter][0])}' for parameter in partiallyMinimizedCurlToMinimizeFurtherArgument])).geturl() ^^^^^^^^^ NameError: name 'urlParsed' is not defined. Did you mean: 'urlparse'? ```

Webscrap_any_website/issues/33#issuecomment-2356192 at Nov 1, 2024, 4:53 PM GMT+1.

Benjamin-Loison commented 2 hours ago

image

It seems a gnome-terminal issue, is it possible to do better?