Message3814
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) |
|
Date |
User |
Action |
Args |
2008-11-23 01:57:34 | pjenvey | set | messageid: <1227405454.6.0.859180627656.issue1171@psf.upfronthosting.co.za> |
2008-11-23 01:57:34 | pjenvey | set | recipients:
+ pjenvey, fwierzbicki, amak |
2008-11-23 01:57:34 | pjenvey | link | issue1171 messages |
2008-11-23 01:57:34 | pjenvey | create | |
|