Message5362
I discovered this issue while trying some old Python code on Jython
2.5.1 on Mac OS X 10.5.
The following page lists built in Python functions,
http://www.jython.org/docs/library/functions.html
At the end of the page there are four "Non-essential Built-in Functions"
listed:
* apply
* buffer
* coerce
* intern
There are all present in Jython 2.5.0 and 2.5.1 except buffer:
$ ~/jython2.5.1/jython
Jython 2.5.1 (Release_2_5_1:6813, Sep 26 2009, 13:47:54)
[Java HotSpot(TM) Client VM (Apple Inc.)] on java1.5.0_20
Type "help", "copyright", "credits" or "license" for more information.
>>> apply
<built-in function apply>
>>> coerce
<built-in function coerce>
>>> intern
<built-in function intern>
>>> buffer
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'buffer' is not defined
Note that buffer is still in (C) Python 2.6 and the current
documentation for Python 2.7, and has not been deprecated. |
|
Date |
User |
Action |
Args |
2009-12-08 14:27:32 | pjac | set | recipients:
+ pjac |
2009-12-08 14:27:32 | pjac | set | messageid: <1260282452.86.0.767592007746.issue1521@psf.upfronthosting.co.za> |
2009-12-08 14:27:32 | pjac | link | issue1521 messages |
2009-12-08 14:27:32 | pjac | create | |
|