Message6460
The following code fails to run in Jython:
$ jython
Jython 2.5.2 (Release_2_5_2:7206, Mar 2 2011, 23:12:06)
[Java HotSpot(TM) 64-Bit Server VM (Apple Inc.)] on java1.6.0_24
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
import os
>>> args = ('/Users/offline/projects/PyHamcrest/pytest.ini',)
args = ('/Users/offline/projects/PyHamcrest/pytest.ini',)
>>> os.stat(*args)
os.stat(*args)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: 'builtin_function_or_method' object is not callable
>>> os.stat('/Users/offline/projects/PyHamcrest/pytest.ini')
os.stat('/Users/offline/projects/PyHamcrest/pytest.ini')
(33188, 24017506L, 234881026L, 1, 501, 20, 47L, 1301777760, 1301777759, 1301777759) |
|
Date |
User |
Action |
Args |
2011-04-02 21:37:55 | offby1 | set | recipients:
+ offby1 |
2011-04-02 21:37:55 | offby1 | set | messageid: <1301780275.03.0.765956599969.issue1727@psf.upfronthosting.co.za> |
2011-04-02 21:37:54 | offby1 | link | issue1727 messages |
2011-04-02 21:37:54 | offby1 | create | |
|