[issue12576] urlib.request fails to open some sites

2011-07-22 Thread angus
angus added the comment: I'm experiencing a related problem: --- from urllib.request import urlopen print(urlopen('https://mtgox.com/').read()) --- prints b'' rather than the page content. It looks like mtgox.com always sends 'Connection: Keep-Alive'. S

[issue44124] Unhelpful SyntaxError message with mis-ordering of f-string specifiers

2021-05-13 Thread Angus L'Herrou
New submission from Angus L'Herrou : The f-string grammar clearly specifies the correct order of f-string =, !, and : specifiers: replacement_field ::= "{" f_expression ["="] ["!" conversion] [":" format_spec] "}" However, when

[issue44124] Unhelpful error messages with mis-ordering of f-string specifiers

2021-05-13 Thread Angus L'Herrou
Change by Angus L'Herrou : -- title: Unhelpful SyntaxError message with mis-ordering of f-string specifiers -> Unhelpful error messages with mis-ordering of f-string specifiers ___ Python tracker <https://bugs.python.org

[issue29969] Typo in decimal error message

2017-04-03 Thread Angus Hollands
New submission from Angus Hollands: When passing an object that fails Py_FloatCheck, the error message raised reads "argument must be int of float", rather than "argument must be int or float" -- components: Extension Modules messages: 291070 nosy: Angus Holla

[issue29969] Typo in decimal error message

2017-04-03 Thread Angus Hollands
Changes by Angus Hollands : -- pull_requests: +1151 ___ Python tracker <http://bugs.python.org/issue29969> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21818] cookielib documentation references Cookie module, not cookielib.Cookie class

2014-06-20 Thread Angus Taggart
New submission from Angus Taggart: all the links to Cookie class in the cookielib documentation point to Cookie module. for example: CookieJar.set_cookie(cookie) Set a *Cookie*, without checking with policy to see whether or not it should be set. cookie in the documentation links to