Re: [Python-Dev] httplib and bad response chunking

2006-07-31 Thread Greg Ward
portably, though. Well, I'll see if I can whip up a Unix-y solution and see if anyone knows how to make it portable. Greg -- Greg Ward <[EMAIL PROTECTED]> http://www.gerg.ca/ Be careful: sometimes, you're only standing on the shoulders of idiots

[Python-Dev] httplib and bad response chunking

2006-07-28 Thread Greg Ward
(Fixing the inadvertent ValueError is trivial, so I'm concentrating on getting the tests right first.) Oh yeah, my patch is relative to the 2.4 branch. Greg -- Greg Ward <[EMAIL PROTECTED]> http://www.gerg.ca/ I don't

Re: [Python-Dev] Dropping externally maintained packages (Was: Please stop changing wsgiref on the trunk)

2006-06-18 Thread Greg Ward
inking about all these years, in which case there will only be optparse. Unlikely.) Greg -- Greg Ward <[EMAIL PROTECTED]> http://www.gerg.ca/ Reality is for people who can't handle science fiction. ___ Python-Dev mai

python-dev@python.org

2005-03-23 Thread Greg Ward
rently than OSS, so be it.) (But, oh yeah: +1 to Fred's suggestion of making redirection controllable. Something like this: default should be no redirection, programmer should be allowed to specify what to do with stdout/stderr of GUI browsers.) Greg -- Greg Ward <[EMAIL

Re: [Python-Dev] Patch review: all webbrowser.py related patches up to 2005-03-20

2005-03-21 Thread Greg Ward
to try the other detected browser alternatives. I like it. Short, simple, and obvious. Can you think of a way to unit-test it? I took a brief look at the code, and it wasn't obvious to me. Might require factoring out a lazy initializer, and even then it might not work. And that would cert

Re: [Python-Dev] Draft PEP to make file objects support non-blocking mode.

2005-03-18 Thread Greg Ward
setblocking(True) file (the default, right?) behaves as you described above, warts and all. (So old code that uses fcntl() continues to "work" as before.) But files that have had setblocking(False) called could gain these new semantics that you propose. Greg -- Greg Ward <

Re: [Python-Dev] LinkedHashSet/LinkedHashMap equivalents

2005-03-08 Thread Greg Ward
ct. I believe the semantics of adding/readding/deleting keys is the same as java.util.LinkedHashMap -- certainly it seems the most sensible and easy-to-implement semantics. Greg -- Greg Ward <[EMAIL PROTECTED]> http://www.gerg.ca/ I brought my BOWLING BALL -- a

@deprecated (was Re: [Python-Dev] Re: Useful thread project for 2.5?)

2005-03-08 Thread Greg Ward
One might even call it Pythonic! > So... shall I go add this to the cookbook? Hell yes! Greg -- Greg Ward <[EMAIL PROTECTED]> http://www.gerg.ca/ Always look on the bright side of life. ___ Python-Dev mailing li

No new features (was Re: [Python-Dev] Re: [Python-checkins] python/dist/src/Modules ossaudiodev.c, 1.35, 1.36)

2005-03-08 Thread Greg Ward
te). (1.5.1) Every one of these is useful to someone, and none of them are even remotely destabilizing. But they all add functionality that would be present in 2.4.1 and not in 2.4. That doesn't bother me in the slightest, but I guess it bothers some people. I'd like to check this in f

Re: [Python-Dev] Re: [Python-checkins] python/dist/src/Modules ossaudiodev.c, 1.35, 1.36

2005-03-08 Thread Greg Ward
On 08 March 2005, Anthony Baxter said: > I really would like to see it reverted, please. Done. Greg -- Greg Ward <[EMAIL PROTECTED]> http://www.gerg.ca/ I just forgot my whole philosophy of life!!! ___ P

Re: [Python-Dev] Re: Useful thread project for 2.5?

2005-03-07 Thread Greg Ward
iler recognition of "@deprecated" in doc comments. -- Greg Ward <[EMAIL PROTECTED]> http://www.gerg.ca/ Think honk if you're a telepath. ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailma

Re: [Python-Dev] Migrating to subversion

2005-03-07 Thread Greg Ward
(late 2000), there was useful content in /distutils that was not in /python/dist/src/Lib/distutils. Greg -- Greg Ward <[EMAIL PROTECTED]> http://www.gerg.ca/ I can never remember how to spell "mnemonic". ___

Re: [Python-Dev] Re: [Python-checkins] python/dist/src/Modules ossaudiodev.c, 1.35, 1.36

2005-03-07 Thread Greg Ward
as I was checking the change in on 2.4. I'll revert the change on 2.4 if you (or anyone) really wants me to. Otherwise, I'd rather leave it as-is and go fix more bugs. Greg -- Greg Ward <[EMAIL PROTECTED]> http://www.gerg.ca/ I don't believe there

Re: [Python-Dev] Re: Documentation for __new__

2005-03-07 Thread Greg Ward
On 07 March 2005, Steve Holden said: > Just to offer alternatives: Cool, I liked some of your changes. I'm happy with this doc change. Will checkin Doc/ref/ref3.tex on 2.4 branch and merge to trunk shortly. Greg -- Greg Ward <[EMAIL PROTECTED]>

Re: [Python-Dev] Failing tests: marshal, warnings

2005-03-06 Thread Greg Ward
On 06 March 2005, I said: > I'll check this in and merge to the trunk once I see all tests passing. Checked in on 2.4 branch. Not merged to trunk since Raymond hasn't merged his stuff to the trunk yet. Greg -- Greg Ward <[EMAIL PROTECTED]> ht

Re: [Python-Dev] Failing tests: marshal, warnings

2005-03-06 Thread Greg Ward
ers def test_main(): """ I'll check this in and merge to the trunk once I see all tests passing. Greg -- Greg Ward <[EMAIL PROTECTED]> http://www.gerg.ca/ I hope something GOOD came in the mail today so I have a REASON to live!! ___

Re: [Python-Dev] Failing tests: marshal, warnings

2005-03-06 Thread Greg Ward
"/scratch/src/python-2.4/Lib/warnings.py", line 57, in warn warn_explicit(message, category, filename, lineno, module, registry) File "/scratch/src/python-2.4/Lib/warnings.py", line 92, in warn_explicit raise message RuntimeWarning: unfiltered RuntimeWarning Does this

[Python-Dev] Failing tests: marshal, warnings

2005-03-06 Thread Greg Ward
;t to blame! I'll fiddle around a bit in my working dir and see if I can figure out what's going on, but I'd like to know if I'm the only one seeing these problems... Greg -- Greg Ward <[EMAIL PROTECTED]> http://www.gerg.ca/ Never underesti

Re: [Python-Dev] Documentation for __new__

2005-03-06 Thread Greg Ward
've tested that Python 2.3.5 and 2.4 (CVS) actually implement what's described in this doc patch, but it wouldn't hurt if someone read it from the point of view of what the promised constract is supposed to be! Greg -- Greg Ward <[EMAIL PROTECTED]>

Re: [Python-Dev] Migrating to subversion

2005-03-06 Thread Greg Ward
ls a separate top-level directory in the Python repository or something? That'll probably have to be fixed manually. Greg -- Greg Ward <[EMAIL PROTECTED]> http://www.gerg.ca/ The NSA. We care: we listen to our customers. ___

[Python-Dev] ossaudiodev test failure

2005-03-05 Thread Greg Ward
;lsmod" and look for a bunch of modules starting with "snd_" -- this is ALSA * look for device files like /dev/snd/pcmC0D* -- ALSA again If you're using ALSA and /dev/dsp doesn't work, try "modprobe snd_pcm_oss" -- that's the OSS emulation layer. Thanks!

Re: [Python-Dev] Documentation for __new__

2005-03-05 Thread Greg Ward
omize instance creation. Feedback welcome. Has anyone volunteered to render this in LaTeX yet? If not, I might. Greg -- Greg Ward <[EMAIL PROTECTED]> http://www.gerg.ca/ I hope something GOOD came in the mail today so I have a REASON to live!!

[Python-Dev] Annoying $Id$ in Misc/NEWS

2005-03-04 Thread Greg Ward
.tar without having accidental CVS keywords in the text that talks about accidental CVS keywords!! Aieee!!! The obvious fix is to disable keyword expansion for Misc/NEWS: cvs admin -ko Misc/NEWS Anyone mind if I do that? wondering-what-will-happen-to-my-subject-line'ly, Greg --

Re: [Python-Dev] textwrap.py wordsep_re

2005-02-24 Thread Greg Ward
and assign it to me. Make sure the unit tests still pass, and add a new one that doesn't pass without your fix. Pester me mercilessly until I act on it. (I think your change is probably fine, but I need more time to examine it than I have right now.) Greg -- Greg Ward <[