Message3814

Author pjenvey
Recipients amak, fwierzbicki, pjenvey
Date 2008-11-23.01:57:33
SpamBayes Score 8.28532e-08
Marked as misclassified No
Message-id <1227405454.6.0.859180627656.issue1171@psf.upfronthosting.co.za>
In-reply-to
Content
We decided on:

o Nuking support for In/OutputStream in file() and PyFile(). groves 
originally did this, mostly because supporting this requires a really 
gross hack

o Going forward we want this functionality to live elsewhere, in 
FileUtil.wrap

o However since open is now a function in 2.5, supporting 
In/OutputStreams there isn't such a lame hack -- so I've added support 
for this there in r5606 -- albeit deprecated. Using open on streams will 
work on 2.5 but emit a DeprecationWarning to use FileUtil instead. We'll 
remove this in 2.6

So modjy should really move to FileUtil if sys.version_info >= (2, 5)
History
Date User Action Args
2008-11-23 01:57:34pjenveysetmessageid: <1227405454.6.0.859180627656.issue1171@psf.upfronthosting.co.za>
2008-11-23 01:57:34pjenveysetrecipients: + pjenvey, fwierzbicki, amak
2008-11-23 01:57:34pjenveylinkissue1171 messages
2008-11-23 01:57:34pjenveycreate