Message127008
| Author |
nadeem.vawda |
| Recipients |
MizardX, antlong, eric.araujo, nadeem.vawda, niemeyer, pitrou, rhettinger, wrobell, xuanji |
| Date |
2011年01月25日.13:51:00 |
| SpamBayes Score |
2.2634056e-06 |
| Marked as misclassified |
No |
| Message-id |
<1295963463.54.0.114375483836.issue5863@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> Interesting! If you are motivated, a further approach would be to expose
> the compressor and decompressor objects from the C extension, and write
> the file object in Python (as in Lib/gzip.py).
I had initially considered doing something that, but I decided not to for reasons that I can't quite remember. However, in hindsight it seems like it would have been a better approach than doing everything in C. I'll start on it ASAP.
>> On a related note, the 'buffering' argument to __init__() is ignored,
>> and I was wondering whether this should be documented explicitly?
> Yes, it should probably be deprecated if it's not useful anymore.
How would I go about doing this? Would it be sufficient to raise a DeprecationWarning if the argument is provided by the caller, and add a note to the docstring and documentation? |
|