Message4891

Author pjenvey
Recipients arianepaola, pjenvey
Date 2009-07-08.01:12:08
SpamBayes Score 5.7462923e-12
Marked as misclassified No
Message-id <1247015529.49.0.999140919978.issue1396@psf.upfronthosting.co.za>
In-reply-to
Content
This is a really annoying 'feature' of Python, builtin functions 
attached to classes like this are not bound, whereas normal functions 
are

os.chmod is a builtin function in CPython but a regular pure python 
function in Jython

The tempfile module has a case of this that just workarounds the 
problem, so I'd suggest SCons do the same. The kind of function these 
are is really an implementation detail IMO. Unfortunately SCons has this 
in a bunch of places.

Otherwise Jython either needs to implement chmod (and friends) in Java 
or come up with some builtin function wrapper hack to avoid this
History
Date User Action Args
2009-07-08 01:12:09pjenveysetmessageid: <1247015529.49.0.999140919978.issue1396@psf.upfronthosting.co.za>
2009-07-08 01:12:09pjenveysetrecipients: + pjenvey, arianepaola
2009-07-08 01:12:09pjenveylinkissue1396 messages
2009-07-08 01:12:08pjenveycreate