[issue11515] Misspelled actually

2011-03-14 Thread DSM
New submission from DSM dsm...@users.sourceforge.net: Rather than submitting a thousand patches each with one or two typo fixes, wouldn't it make more sense to collect them? It'll be important to run tests after the patches, and running tests a thousand times will take a while. It's worked

[issue11114] file.tell extremely slow

2011-02-04 Thread DSM
DSM dsm...@users.sourceforge.net added the comment: With a similar setup (OS X 10.6) I see the same problem. It seems to go away if the file is opened in binary mode for reading. @Laurens, can you confirm? -- nosy: +dsm001 ___ Python tracker rep

[issue11114] file.tell extremely slow

2011-02-04 Thread DSM
DSM dsm...@users.sourceforge.net added the comment: (By go away I mean stop being pathological, not stop differing: I still see a factor of 2.) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4

[issue9911] doc copyedits

2010-09-21 Thread DSM
New submission from DSM dsm...@users.sourceforge.net: Various typo fixes for the docs. As usual, I left historical documents alone (except for 3.1 whatsnew: fixed the spelling of Jack Diederich's name). Fixing ~30 means I probably introduced ~3 problems of my own, but that should still

[issue5856] Minor typo in traceback example

2009-04-27 Thread DSM
DSM dsm...@users.sourceforge.net added the comment: There's more than a typo wrong with the example there-- import traceback doesn't bring format_list into scope, and so it should be traceback.format_list. Patch attached which turns the example into something which passes a doctest

[issue5860] TextIOWrapper: bad error reporting when write() is forbidden

2009-04-27 Thread DSM
DSM dsm...@users.sourceforge.net added the comment: See also http://bugs.python.org/issue5844 , which contains a patch to test. -- nosy: +dsm001 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5860

[issue5841] add py3k warnings to commands

2009-04-25 Thread DSM
New submission from DSM dsm...@users.sourceforge.net: The commands module is absent in 3.0 but isn't py3k-warned in trunk. getstatus was deprecated and mkarg/mk2arg were py3k deprecated, but not the module or getoutput and getstatusoutput, which now live in subprocess in 3.x. This patch adds

[issue5740] multiprocessing.connection.Client API documentation incorrect

2009-04-25 Thread DSM
DSM dsm...@users.sourceforge.net added the comment: Patch against r71872 added to change *authentication* - *authenticate* for both Client and Listener (which had the same typo.) -- keywords: +patch nosy: +dsm001 Added file: http://bugs.python.org/file13770/authenticate_typo.patch

[issue3320] various doc typos

2009-04-25 Thread DSM
DSM dsm...@users.sourceforge.net added the comment: One-character-delta patch to fix the propogate typo attached. -- Added file: http://bugs.python.org/file13771/fix_mpdist_logger_typo.patch ___ Python tracker rep...@bugs.python.org http

[issue5844] internal error on write while reading

2009-04-25 Thread DSM
New submission from DSM dsm...@users.sourceforge.net: Inspired by http://bugs.python.org/issue1653416 , I tried writing to a file opened for reading in 3.1 trunk, and found: Python 3.1a2+ (py3k:71900M, Apr 25 2009, 16:12:31) [GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin Type help

[issue5844] internal error on write while reading

2009-04-25 Thread DSM
DSM dsm...@users.sourceforge.net added the comment: Added tests to py3k/Lib/test/test_file.py. Patch against py3k trunk @ r71904. -- keywords: +patch Added file: http://bugs.python.org/file13785/write_while_reading_test.patch ___ Python tracker rep

[issue3066] FD leak in urllib2

2009-04-25 Thread DSM
DSM dsm...@users.sourceforge.net added the comment: I can't reproduce in python 2.5.4, 2.6.2, or 2.7 trunk (though I can with 2.4.6 and 2.5) on mac linux. Quick bisection suggests that it was fixed in r53511 while solving related bug http://bugs.python.org/issue1601399, and the explanation

[issue5697] heapq.nlargest does not perform stable sort

2009-04-05 Thread DSM
DSM dsm...@users.sourceforge.net added the comment: I can't reproduce in current python, and the relevant lines now look like it = izip(iterable, count(0,-1))# decorate it = izip(imap(key, in1), count(0,-1), in2) # decorate It seems that these were

[issue5655] fix glob.iglob docstring

2009-04-01 Thread DSM
New submission from DSM dsm...@users.sourceforge.net: glob.iglob's docstring claims it returns a list, but as the name suggests it returns an iterator. Looks like a cut 'n paste oversight. glob.rst is correct. Patch attached against mainline trunk r70961. Should also apply cleanly to py3k

[issue5486] doc copyedits

2009-03-13 Thread DSM
New submission from DSM dsm...@users.sourceforge.net: Handful of typos. Patch against py3k trunk @ r70341. I left howto/webservers.rst alone, despite a fair number of problems, 'cause it could do with a more serious rewrite than I have time for. -- assignee: georg.brandl components

[issue5415] uuid module generates incorrect values for uuid3 (and possibly uuid5)

2009-03-07 Thread DSM
DSM dsm...@users.sourceforge.net added the comment: Hmm. I quickly wrote my own implementation and I agree with the uuid module and disagree with the RFC value. Further searching suggests that this may be an error in the RFC. See http://www.rfc-editor.org/errata_search.php?rfc=4122 ; see

[issue3320] various doc typos

2009-03-05 Thread DSM
DSM dsm...@users.sourceforge.net added the comment: Commenting only to draw attention to the trivial typo in mp_distributing.py, because jnoller's post on the mailing list reminded me about it. ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue3320] various doc typos

2008-07-08 Thread DSM
New submission from DSM [EMAIL PROTECTED]: Boredom resulted in a handful of doc copyedits against 64789. One error I did note in the doc tree but didn't correct because it's in code: includes/mp_distributing.py contains the typo _logger.propogate = 0 which ISTM will leave the logger's

complex representation

2008-07-07 Thread DSM
From the nothing-is-so-trivial-it's-not-worth-a-usenet-post file: Shouldn't the default representation of complex numbers be like that of floats? That is, have a decimal point? 1 1 1.0 1.0 1j 1j 1.0j 1j 1.0+1.0j (1+1j) In the relevant bit of floatobject.c, there's a comment