[issue38985] `compile` returns the first line of file on termination

2019-12-06 Thread Koh
New submission from Koh : By specifying a filename in the compile function and then improperly terminating it, we are able to return the first line of any file. >> compile('yield', '/etc/passwd', 'exec') File "/etc/passwd", line 1 root:x:0:0:

[issue2464] urllib2 can't handle http://www.wikispaces.com

2008-03-28 Thread Koh Wei Jie
Koh Wei Jie <[EMAIL PROTECTED]> added the comment: Please take your time, because this bug isn't critical. Thanks! __ Tracker <[EMAIL PROTECTED]> <http://bugs.

[issue2464] urllib2 can't handle http://www.wikispaces.com

2008-03-23 Thread Koh Wei Jie
New submission from Koh Wei Jie <[EMAIL PROTECTED]>: Try the following code: import urllib2 gmail = urllib2.urlopen("https://www.gmail.com";).read() wikispaces = urllib2.urlopen("http://www.wikispaces.com";).read() Getting the html over HTTPS from gmail.com wor