[Python-Dev] Fixing send() (original) (raw)

Anthony Baxter Anthony Baxter anthony@interlink.com.au
Wed, 24 Oct 2001 12:23:30 +1000


Guido van Rossum wrote I've got a possible patch for the send() problem. I'd like review of the patch and the related issues before I apply it. I'd also like more guidance regarding the suitability of this patch for the 2.1.2 bugfix release. (It fixes a real bug, but can sometime lead to different behavior, and adds a new interpretation of the absence of an optional argument, which can be considered a feature.)

It's a tough decision, because this really is the cleaner solution, but it does stand a slight chance of breaking code, and it's also something that can be worked around in the std library. At the moment I'm planning to just fix the std library modules instead - as these are definitely broken. The added functionality of python's send() is very useful, but it's a feature, not a bug :)

Anthony

-- Anthony Baxter <anthony@interlink.com.au>
It's never too late to have a happy childhood.