| Jim Gallacher 2005-10-25, 5:46 pm |
| Nick wrote:
> Jim Gallacher wrote:
>
>
>
> Yeah, I never noticed it either until someone pointed it out to me. I
> appreciated the change to TemporaryFile, but being primarily a Linux
> user I never noticed that this broke my code in Windows.
>
> In any case, I'm still gonna have to implement a workaround in my own
> code to catch people using the different versions of mod_python out
> there, so I can live with whatever decision you guys make. But here's
> +1 for making the interface consistent at least for mod_python users.
> As for code breakage, I would consider this a "bug" introduced in 3.1.4,
> which was the last official release of mod_python, which will be
> corrected in release 3.3.
You may have misunderstood. I was not suggesting that
tempfile.TemporaryFile was introduced in 3.1.4, only that it existed
there. Looking at the svn repository I see it's used in 3.0.0-beta and
2.7.9, so this bug has been lurking for a while. ;)
Regards,
Jim
|