[issue9911] doc copyedits

2010-09-21 Thread DSM

New submission from DSM :

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 be 
a net win..

Patch against py3k r84944.

--
assignee: d...@python
components: Documentation
files: typos.patch
keywords: patch
messages: 117052
nosy: d...@python, dsm001
priority: normal
severity: normal
status: open
title: doc copyedits
versions: Python 3.3
Added file: http://bugs.python.org/file18947/typos.patch

___
Python tracker 
<http://bugs.python.org/issue9911>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11515] Misspelled actually

2011-03-14 Thread DSM

New submission from DSM :

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 okay for me in the past, e.g. http://bugs.python.org/issue9911.

--
nosy: +dsm001

___
Python tracker 
<http://bugs.python.org/issue11515>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11114] file.tell extremely slow

2011-02-04 Thread DSM

DSM  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 
<http://bugs.python.org/issue4>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11114] file.tell extremely slow

2011-02-04 Thread DSM

DSM  added the comment:

(By "go away" I mean "stop being pathological", not "stop differing": I still 
see a factor of 2.)

--

___
Python tracker 
<http://bugs.python.org/issue4>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 propagate flag on.  I can't imagine
this has any real consequence but I've never used either module.

--
assignee: georg.brandl
components: Documentation
files: typos1.diff
keywords: patch
messages: 69428
nosy: dsm001, georg.brandl
severity: normal
status: open
title: various doc typos
versions: Python 2.6
Added file: http://bugs.python.org/file10857/typos1.diff

___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3320>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3320] various doc typos

2009-03-05 Thread DSM

DSM  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 
<http://bugs.python.org/issue3320>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2009-03-07 Thread DSM

DSM  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 also 
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5064537 for a
specific explanation of what probably caused the bug in the reference code.

I can reproduce the RFC value by (IMO incorrectly) flipping the
namespace endianness.

(It may be worth noting, though, that one of the links above points to
the python implementation for support-- so there could be a vicious
circle here. :^)

--
nosy: +dsm001

___
Python tracker 
<http://bugs.python.org/issue5415>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5486] doc copyedits

2009-03-13 Thread DSM

New submission from DSM :

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: Documentation
files: py3k.typos.diff
keywords: patch
messages: 83524
nosy: dsm001, georg.brandl
severity: normal
status: open
title: doc copyedits
versions: Python 3.1
Added file: http://bugs.python.org/file13322/py3k.typos.diff

___
Python tracker 
<http://bugs.python.org/issue5486>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5655] fix glob.iglob docstring

2009-04-01 Thread DSM

New submission from DSM :

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 trunk.

--
assignee: georg.brandl
components: Documentation
files: iglob_main.patch
keywords: patch
messages: 85054
nosy: dsm001, georg.brandl
severity: normal
status: open
title: fix glob.iglob docstring
versions: Python 2.7
Added file: http://bugs.python.org/file13551/iglob_main.patch

___
Python tracker 
<http://bugs.python.org/issue5655>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5697] heapq.nlargest does not perform stable sort

2009-04-05 Thread DSM

DSM  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 fixed long ago by rhettinger in r53244, with
tests checked in to verify behaviour.

--
nosy: +dsm001

___
Python tracker 
<http://bugs.python.org/issue5697>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5841] add py3k warnings to commands

2009-04-25 Thread DSM

New submission from DSM :

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 a module-level py3k warning with subprocess
recommendation, removes the function-level py3k warnings, and adds
deprecation tag to commands.rst.

Made this a new issue rather than adding to 2775 (the PEP3108
implementation issue) because its nosy list is pretty long and this is
pretty minor..

--
components: Library (Lib)
files: commands_py3k_warn.patch
keywords: patch
messages: 86508
nosy: dsm001
severity: normal
status: open
title: add py3k warnings to commands
versions: Python 2.7
Added file: http://bugs.python.org/file13769/commands_py3k_warn.patch

___
Python tracker 
<http://bugs.python.org/issue5841>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5740] multiprocessing.connection.Client API documentation incorrect

2009-04-25 Thread DSM

DSM  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

___
Python tracker 
<http://bugs.python.org/issue5740>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3320] various doc typos

2009-04-25 Thread DSM

DSM  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 
<http://bugs.python.org/issue3320>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5844] internal error on write while reading

2009-04-25 Thread DSM

New submission from DSM :

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", "copyright", "credits" or "license" for more information.
>>> fp = open('/etc/passwd')
>>> fp.write('test')
Traceback (most recent call last):
  File "", line 1, in 
SystemError: null argument to internal routine
>>> print('test',file=fp)
Traceback (most recent call last):
  File "", line 1, in 
SystemError: null argument to internal routine

but binary mode gives:

>>> fp = open('/etc/passwd','rb')
>>> fp.write(b'test')
Traceback (most recent call last):
  File "", line 1, in 
io.UnsupportedOperation: write
>>> print(b'test',file=fp)
Traceback (most recent call last):
  File "", line 1, in 
io.UnsupportedOperation: write

--
components: Interpreter Core
messages: 86562
nosy: dsm001
severity: normal
status: open
title: internal error on write while reading
versions: Python 3.1

___
Python tracker 
<http://bugs.python.org/issue5844>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5844] internal error on write while reading

2009-04-25 Thread DSM

DSM  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 
<http://bugs.python.org/issue5844>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3066] FD leak in urllib2

2009-04-25 Thread DSM

DSM  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
given there is consistent with the symptom here: the _fileobject doesn't
close itself, and r53511 makes sure that it does.

Suggest closing as fixed.

--
nosy: +dsm001

___
Python tracker 
<http://bugs.python.org/issue3066>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5856] Minor typo in traceback example

2009-04-27 Thread DSM

DSM  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.

--
keywords: +patch
nosy: +dsm001
Added file: http://bugs.python.org/file13796/traceback.example.patch

___
Python tracker 
<http://bugs.python.org/issue5856>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2009-04-27 Thread DSM

DSM  added the comment:

See also http://bugs.python.org/issue5844 , which contains a patch to test.

--
nosy: +dsm001

___
Python tracker 
<http://bugs.python.org/issue5860>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com