Message8781
Have the same problem with jython version 2.7b2.
$ java -cp jython-standalone-2.7-b1.jar org.python.util.jython
>>> import contextlib, urllib2
>>> u = 'http://www.google.com/notfound'
>>> with contextlib.closing(urllib2.urlopen(u)) as x:
>>> print x.read() |
|
Date |
User |
Action |
Args |
2014-06-22 03:16:25 | matsk | set | messageid: <1403406985.47.0.833719515329.issue2170@psf.upfronthosting.co.za> |
2014-06-22 03:16:25 | matsk | set | recipients:
+ matsk |
2014-06-22 03:16:25 | matsk | link | issue2170 messages |
2014-06-22 03:16:24 | matsk | create | |
|