Adrian Petrescu added the comment:
(Oops, that was a bad paste! I meant this link:
https://docs.python.org/2/library/urllib.html#urllib.urlopen)
--
___
Python tracker
<https://bugs.python.org/issue39
Adrian Petrescu added the comment:
This is not a bug, you've just misunderstood the urllib API. If you want to
pass POST data as a payload, it's the second `data` parameter to `urlopen`:
https://bugs.python.org/?@action=confrego=KX9AqsI0JnOLkplIY1AGKXAmDKa38COy
--
nosy: +apetresc
New submission from Adrian Petrescu [EMAIL PROTECTED]:
The webbrowser module seems to treat URLs containing the | character
differently based on whether the browser is already running or not.
For instance, consider the following python script:
import webbrowser
url = http://foo.com/bar.html
Adrian Petrescu [EMAIL PROTECTED] added the comment:
Just as an aside, the reason I consider this a fairly serious bug is
that the Google Charts API urls make heavy use of the '|' character,
which means if I want to have Python use it by opening the user's
browser, it won't work if they don't