[issue9842] Document ... used in recursive repr of containers

2017-09-15 Thread Mike Hoy

Changes by Mike Hoy <veo...@gmail.com>:


--
nosy: +vexoxev

___
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue9842>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31153] Update docstrings of itertools functions

2017-08-27 Thread Mike Hoy

Changes by Mike Hoy <veo...@gmail.com>:


--
nosy: +vexoxev

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



[issue19024] Document asterisk (*), splat or star operator

2013-09-17 Thread Mike Hoy

Changes by Mike Hoy mho...@gmail.com:


--
nosy: +mikehoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19024
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18918] help('FILES') finds no documentation

2013-09-17 Thread Mike Hoy

Changes by Mike Hoy mho...@gmail.com:


--
nosy: +mikehoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18918
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18855] Inconsistent README filenames

2013-09-17 Thread Mike Hoy

Changes by Mike Hoy mho...@gmail.com:


--
nosy: +mikehoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18855
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17668] re.split loses characters matching ungrouped parts of a pattern

2013-04-14 Thread Mike Hoy

Changes by Mike Hoy mho...@gmail.com:


--
nosy: +mikehoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17668
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17387] Error in C API documentation of PySequenceMethods

2013-03-09 Thread Mike Hoy

Mike Hoy added the comment:

I was looking at 3.4 files. You're right it is in 2.7. Guess you have all the 
info you need to make a patch for it then?

ssizessizeargfunc PySequenceMethods.sq_slice

It passes the lower and upper bound and expects back a subsequence.

Or is there more to it than that? I cannot for the life of me make any sense 
out of it. Here I was sitting looking at this thinking it would be very easy 
doc fix for me but in the end I think I'll bow out.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17387
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12067] Doc: remove errors about mixed-type comparisons.

2013-03-08 Thread Mike Hoy

Mike Hoy added the comment:

Considering that the docs have changed does this issue still need to be open?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12067
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17387] Error in C API documentation of PySequenceMethods

2013-03-08 Thread Mike Hoy

Changes by Mike Hoy mho...@gmail.com:


--
nosy: +mikehoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17387
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17387] Error in C API documentation of PySequenceMethods

2013-03-08 Thread Mike Hoy

Mike Hoy added the comment:

Looking through Include/object.h I see that sq_slice is now:

void *was_sq_slice. Can anyone provide any clarification as to where I can find 
info about sq_slice?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17387
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13510] Clarify that readlines() is not needed to iterate over a file

2012-10-26 Thread Mike Hoy

Changes by Mike Hoy mho...@gmail.com:


--
nosy: +mikehoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13510
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16288] TextTestResult uses TestCase.__str__() which isn't customisable (vs id() or shortDescription())

2012-10-21 Thread Mike Hoy

Changes by Mike Hoy mho...@gmail.com:


--
nosy:  -mikehoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16288
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16294] 8 space indent in tutorial

2012-10-21 Thread Mike Hoy

Mike Hoy added the comment:

Probably no need for a patch (since it's such a simple fix) but I felt like 
doing something.

--
keywords: +patch
nosy: +mikehoy
Added file: http://bugs.python.org/file27656/issue16294.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16294
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12944] Accept arbitrary files for packaging's upload command

2012-10-21 Thread Mike Hoy

Changes by Mike Hoy mho...@gmail.com:


--
nosy:  -mikehoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12944
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13198] Remove duplicate definition of write_record_file

2012-10-21 Thread Mike Hoy

Changes by Mike Hoy mho...@gmail.com:


--
nosy:  -mikehoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13198
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15569] Doc doc: incorrect description of some roles as format-only

2012-10-21 Thread Mike Hoy

Changes by Mike Hoy mho...@gmail.com:


--
nosy:  -mikehoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15569
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16288] TextTestResult uses TestCase.__str__() which isn't customisable (vs id() or shortDescription())

2012-10-20 Thread Mike Hoy

Changes by Mike Hoy mho...@gmail.com:


--
nosy: +mikehoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16288
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15936] Add link from os.urandom to random.SystemRandom

2012-10-13 Thread Mike Hoy

Changes by Mike Hoy mho...@gmail.com:


--
nosy: +mikehoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15936
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13440] Explain the status quo wins a stalemate principle in the devguide

2012-10-12 Thread Mike Hoy

Mike Hoy added the comment:

Patch affects faq.rst/index.rst. In faq I put the two links along with some 
text as Chris suggested. In index I changed resources to Additional Resources 
and split up the old 'Resources' into 'Additional Resources/Essential Reading'. 
Feedback appreciated I will incorporate any new ideas into a version 2 and so 
forth until issue resolved.

--
keywords: +patch
Added file: http://bugs.python.org/file27541/issue13440_v1.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13440
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16196] Typo in devguide stdlibchanges.html

2012-10-11 Thread Mike Hoy

New submission from Mike Hoy:

Typo in: http://docs.python.org/devguide/stdlibchanges.html#adding-to-the-stdlib

Reads:
This document it meant to explain...

Should read:
This document is meant to explain...

--
components: Devguide
messages: 172640
nosy: ezio.melotti, mikehoy
priority: normal
severity: normal
status: open
title: Typo in devguide stdlibchanges.html

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16196
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13691] pydoc help (or help('help')) should show the doc for help

2012-10-10 Thread Mike Hoy

Mike Hoy added the comment:

 Cool!  Can you add tests?

Nope, I can't add tests.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13691
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13440] Explain the status quo wins a stalemate principle in the devguide

2012-10-10 Thread Mike Hoy

Mike Hoy added the comment:

Would this be the appropriate place for the links to the two essays: 
http://docs.python.org/devguide/#proposing-changes-to-python-itself

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13440
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com




[issue12322] ElementPath 1.3 expressions documentation

2012-10-09 Thread Mike Hoy

Mike Hoy added the comment:

 Mike - a note for the future: when you create an updated patch, create it 
 anew vs. a clean repo. Don't compound patches.

No problem, thanks for committing the patch. Wasn't aware that compounding 
patches caused a problem.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12322
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12322] ElementPath 1.3 expressions documentation

2012-10-08 Thread Mike Hoy

Mike Hoy added the comment:

It doesn't look like there are any errors to document. I'm attaching a patch 
that Patrick suggested.

--
keywords: +patch
Added file: http://bugs.python.org/file27481/issue12322_v1.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12322
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12322] ElementPath 1.3 expressions documentation

2012-10-08 Thread Mike Hoy

Mike Hoy added the comment:

In response to patrick vrijlandt last comment here's a patch. I also found a 
few None keywords that didn't have `` around them.

--
Added file: http://bugs.python.org/file27500/issue12322_v2.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12322
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13691] pydoc help (or help('help')) should show the doc for help

2012-10-07 Thread Mike Hoy

Changes by Mike Hoy mho...@gmail.com:


--
nosy: +mikehoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13691
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13691] pydoc help (or help('help')) should show the doc for help

2012-10-07 Thread Mike Hoy

Mike Hoy added the comment:

I imported this patch on 3.4 and it worked as expected on my system.

help('help') brings up info about help()
help(object) prints the docstring
help() invokes the help

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13691
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13691] pydoc help (or help('help')) should show the doc for help

2012-10-07 Thread Mike Hoy

Mike Hoy added the comment:

 What about pydoc help?

$ ./python -m pydoc help

Help on built-in function help:

help(...)
Invoke the built-in help system.

help()
The interactive help system starts on the interpreter
console.

help(string)
The string is looked up as the name of a module, function, class, method,
keyword, or documentation topic, and a  help page is printed on the
console.   

help(object)
Generates a help page on the given object.

Or did you mean inside the interpreter?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13691
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11643] Use |version| instead of X.Y in the doc

2012-10-06 Thread Mike Hoy

Mike Hoy added the comment:

Here is a patch after talking with Ezio on irc tonight. The rules I (attempted) 
to follow are:

Within a :file: you should have {X.Y}
In a text/paragraph area you can use |version|
Within anything else just leave it as X.Y

As stated by Éric I ignored install and distutils.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11643
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11643] Use |version| instead of X.Y in the doc

2012-10-06 Thread Mike Hoy

Changes by Mike Hoy mho...@gmail.com:


--
keywords: +patch
Added file: http://bugs.python.org/file27446/issue11643-xy_v1.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11643
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12067] Doc: remove errors about mixed-type comparisons.

2012-10-05 Thread Mike Hoy

Mike Hoy added the comment:

Changed patch to include suggestions by Chris Jerdonek.

http://bugs.python.org/issue12067#msg170953

--
hgrepos: +153
Added file: http://bugs.python.org/file27442/issue12067-expressions_v2.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12067
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12067] Doc: remove errors about mixed-type comparisons.

2012-10-05 Thread Mike Hoy

Changes by Mike Hoy mho...@gmail.com:


--
hgrepos:  -153

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12067
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15104] Unclear language in __main__ description

2012-10-03 Thread Mike Hoy

Changes by Mike Hoy mho...@gmail.com:


--
nosy: +mikehoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15104
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12322] ElementPath 1.3 expressions documentation

2012-10-01 Thread Mike Hoy

Mike Hoy added the comment:

Here is a link to our docs page with the info that needs to be changed:

http://docs.python.org/py3k/library/xml.etree.elementtree.html#supported-xpath-syntax

I was going to work on a patch but in irc we decided to wait to see what people 
had to say about this. Also we think documenting the Error you receive (if any) 
when trying to go above the found element may be a necessary part of the doc 
change.

--
nosy: +mikehoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12322
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9650] format codes in time.strptime docstrings

2012-09-30 Thread Mike Hoy

Mike Hoy added the comment:

Changed docstring for timemodule.c to include format codes listed here: 
http://bugs.python.org/msg169193

--
keywords: +patch
Added file: http://bugs.python.org/file27358/issue9650-format-codes.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9650
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9650] format codes in time.strptime docstrings

2012-09-30 Thread Mike Hoy

Mike Hoy added the comment:

Updated patch as per Ezio's comment.

--
Added file: http://bugs.python.org/file27364/issue9650-format-codes_v2.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9650
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9650] format codes in time.strptime docstrings

2012-09-30 Thread Mike Hoy

Mike Hoy added the comment:

New patch includes time.strptime and the additional changes suggested by Chris 
Rebert.

--
Added file: http://bugs.python.org/file27365/issue9650-format-codes_v3.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9650
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9650] format codes in time.strptime docstrings

2012-09-29 Thread Mike Hoy

Mike Hoy added the comment:

If you like my idea we should discuss it on python-ideas and start a new 
tracker entry.

In the meantime I'd like to create a patch that incorporates Alexander's ideas. 
If any objections let me know.

--
nosy: +mikehoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9650
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13440] Explain the status quo wins a stalemate principle in the devguide

2012-09-26 Thread Mike Hoy

Mike Hoy added the comment:

I'd be willing to make a patch for this if you are agreed to just adding a 
couple of links to it (or otherwise).

--
nosy: +mikehoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13440
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12067] Doc: remove errors about mixed-type comparisons.

2012-09-21 Thread Mike Hoy

Mike Hoy added the comment:

http://bugs.python.org/issue15997 is this issue related to what Terry has 
mentioned:

Does 'not supported' mean 'raises TypeError', 'returns NotImplemented', or 
both? If the last, I don't really understand the reason for NotImplemented 
versus TypeError. That point should be clarified in 3.3 also. And 3.3 should be 
referenced in the comparisons section.

I am working on this patch and need confirmation as to whether or not this has 
to be included in my patch. I'm not clear on it so I may just pass on making a 
patch if it is required for this issue.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12067
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12067] Doc: remove errors about mixed-type comparisons.

2012-09-21 Thread Mike Hoy

Mike Hoy added the comment:

I've attempted to incorporate both Terry's and Ezio's suggestions. Here is a 
patch to get started with. There is a section that has been deleted. Patch 
uploaded.

--
keywords: +patch
Added file: http://bugs.python.org/file27256/issue12067-expressions.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12067
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11643] Use |version| instead of X.Y in the doc

2012-09-17 Thread Mike Hoy

Changes by Mike Hoy mho...@gmail.com:


--
nosy: +mikehoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11643
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11643] Use |version| instead of X.Y in the doc

2012-09-17 Thread Mike Hoy

Mike Hoy added the comment:

So we could fix this in reverse? Remove the |version| and replace them with X.Y 
since |version| doesn't expand within :file:?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11643
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12067] Doc: remove errors about mixed-type comparisons.

2012-09-07 Thread Mike Hoy

Changes by Mike Hoy mho...@gmail.com:


--
nosy: +mikehoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12067
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14468] Update cloning guidelines in devguide

2012-09-06 Thread Mike Hoy

Changes by Mike Hoy mho...@gmail.com:


--
nosy:  -mikehoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14468
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15820] Add additional info to Resources area on Dev Guide

2012-09-02 Thread Mike Hoy

Mike Hoy added the comment:

 Is the :exc:`KeyboardInterrupt` line supposed to be in there?

Nope. I somehow ended up with that in my index.rst file. I am guessing I was 
pasting lines to use as reference and didn't delete it later. Here's patch #4.

--
Added file: http://bugs.python.org/file27093/devguide-resources-4.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15820
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15825] Typo in OrderedDict docs

2012-08-31 Thread Mike Hoy

Mike Hoy added the comment:

I added two patches one for 2.7 and one for 3.3. Please advise if this is the 
correct way to handle this.

--
keywords: +patch
nosy: +mikehoy
Added file: http://bugs.python.org/file27068/typo-ordered-dict2.7.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15825
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15825] Typo in OrderedDict docs

2012-08-31 Thread Mike Hoy

Changes by Mike Hoy mho...@gmail.com:


Added file: http://bugs.python.org/file27069/typo-ordered-dict3.3.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15825
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15829] Threading Lock - Wrong Exception Name

2012-08-31 Thread Mike Hoy

New submission from Mike Hoy:

From the Docs mailing list:

Hi

I found a bug in python docs which can be accessed at links:
http://docs.python.org/library/threading.html#lock-objects
http://docs.python.org/py3k/library/threading.html#lock-objects

Bug is in second paragraph describing threading.Lock. I found that statement:
If an attempt is made to release an unlocked lock, a RuntimeError will be 
raised.
Which is not true, name of exception is wrong it should be (and it relay is) 
ThreadError (from threading module)

Could someone fix it?

-- 
Br,
Slawomir Kuszczynski

--
messages: 169513
nosy: mikehoy
priority: normal
severity: normal
status: open
title: Threading Lock - Wrong Exception Name
versions: Python 2.7, Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15829
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15829] Threading Lock - Wrong Exception Name

2012-08-31 Thread Mike Hoy

Mike Hoy added the comment:

Working on a patch now unless there are objections to the OP.

--
nosy: +docs@python

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15829
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15829] Threading Lock - Wrong Exception Name

2012-08-31 Thread Mike Hoy

Mike Hoy added the comment:

I think RuntimeError should be replaced by ThreadingError for _RLock and 
Condition implementations as well as docs need to be updated.

Also I think this patch should be applied to 3.4 only, it is enchacement, 
not bugfix.
About fixing docs for 2.7-3.3: I see nothing wrong if current inconsistency 
will be documented, perhaps as *warning* or *note* block.

I should warn that ThreadError or `ThreadError` has no link. I've tried to find 
a place in the docs I could link to but haven't yet. `ValueError` does have a 
link.

--
type: enhancement - 

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15829
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15829] Threading Lock - Wrong Exception Name

2012-08-31 Thread Mike Hoy

Mike Hoy added the comment:

I think RuntimeError should be replaced by ThreadingError for _RLock and 
Condition implementations as well as docs need to be updated.

Also I think this patch should be applied to 3.4 only, it is enchacement, 
not bugfix.
About fixing docs for 2.7-3.3: I see nothing wrong if current inconsistency 
will be documented, perhaps as *warning* or *note* block.

I should warn that ThreadError or `ThreadError` has no link. I've tried to find 
a place in the docs I could link to but haven't yet. `ValueError` does have a 
link.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15829
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15829] Threading Lock - Wrong Exception Name

2012-08-31 Thread Mike Hoy

Mike Hoy added the comment:

I discussed this in IRC and got the following information from Ezio:

 Taggnostr the doc fix can go in 2.7/3.3, the code fix in 3.4

Plan is to put the definition for ThreadError in threading.rst for both 2.7 and 
3.3

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15829
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15829] Threading Lock - Wrong Exception Name

2012-08-31 Thread Mike Hoy

Mike Hoy added the comment:

3.3 patch

--
keywords: +patch
Added file: http://bugs.python.org/file27071/15829-thread-errror3.3.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15829
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15829] Threading Lock - Wrong Exception Name

2012-08-31 Thread Mike Hoy

Mike Hoy added the comment:

2.7 patch.

--
Added file: http://bugs.python.org/file27072/15829-thread-errror2.7.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15829
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15820] Add additional info to Resources area on Dev Guide

2012-08-30 Thread Mike Hoy

Changes by Mike Hoy mho...@gmail.com:


--
keywords: +patch
Added file: http://bugs.python.org/file27055/devguide-resources.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15820
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15820] Add additional info to Resources area on Dev Guide

2012-08-30 Thread Mike Hoy

New submission from Mike Hoy:

I wrote a patch which adds more info the devguide under Resources: 
http://docs.python.org/devguide/index.html#resources

--
messages: 169436
nosy: mikehoy
priority: normal
severity: normal
status: open
title: Add additional info to Resources area on Dev Guide
versions: Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15820
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15820] Add additional info to Resources area on Dev Guide

2012-08-30 Thread Mike Hoy

Changes by Mike Hoy mho...@gmail.com:


Added file: http://bugs.python.org/file27056/devguide-resources-2.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15820
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15820] Add additional info to Resources area on Dev Guide

2012-08-30 Thread Mike Hoy

Mike Hoy added the comment:

I changed the wording a bit and added a few more things. The second one is the 
one I prefer.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15820
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15820] Add additional info to Resources area on Dev Guide

2012-08-30 Thread Mike Hoy

Mike Hoy added the comment:

I'm working on a new patch with Ezio.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15820
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15820] Add additional info to Resources area on Dev Guide

2012-08-30 Thread Mike Hoy

Mike Hoy added the comment:

This patch adds a link from:
http://docs.python.org/devguide/index.html#resources

To:
http://docs.python.org/devguide/docquality.html#helping-with-the-developer-s-guide

--
Added file: http://bugs.python.org/file27057/devguide-resources-3.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15820
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15820] Add additional info to Resources area on Dev Guide

2012-08-30 Thread Mike Hoy

Mike Hoy added the comment:

It was determined by Ezio that the previous patches had too much information 
about how to open a browser, or install python-sphynx on a debian system. It 
was just out of scope for the docs (people should know how to use their package 
management systems, etc). We worked out that it was best to just use the 
existing docs for stuff like hg clone... and leave out the sudo apt-get install 
python-sphynx.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15820
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11776] Constructor signatures missing in types module documentation

2012-08-29 Thread Mike Hoy

Mike Hoy added the comment:

This should be all the requested changes. I've gone over the table entries (at 
least the first one, CodeType, with bitdancer on IRC). I've removed the 
descriptive language from below the table and added it to the table. Leaving 
the text below the table to deal with args and some descriptive text that was 
just too large to really fit into the right column of the table.

One question though, do you want:
BuiltinFunctionType
BuiltinMethodType
FrameType
GeneratorType
GetSetDescriptorType
MemberDescriptorType
TracebackType 

To be in the table as well. I'm a bit confused on this part. Just let me know.

--
Added file: 
http://bugs.python.org/file27047/complete-patch-with-table-issue-11776.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11776
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1185124] pydoc doesn't find all module doc strings

2012-08-28 Thread Mike Hoy

Changes by Mike Hoy mho...@gmail.com:


--
nosy: +mikehoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1185124
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14468] Update cloning guidelines in devguide

2012-08-28 Thread Mike Hoy

Changes by Mike Hoy mho...@gmail.com:


--
nosy: +mikehoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14468
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11776] Constructor signatures missing in types module documentation

2012-08-25 Thread Mike Hoy

Mike Hoy added the comment:

I've added a completed patch for review. There was some talk on IRC that the 
wording for MappingProxyType should be changed to: Return a read-only view of 
the given mapping.

We decided to leave it to the review process to determine the exact wording.

--
Added file: http://bugs.python.org/file27003/signatures-full-patch.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11776
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11776] Constructor signatures missing in types module documentation

2012-08-25 Thread Mike Hoy

Mike Hoy added the comment:

Ezio Melotti was the one that offered to change the wording on MappingProxyType 
doc

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11776
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11776] Constructor signatures missing in types module documentation

2012-08-24 Thread Mike Hoy

Mike Hoy added the comment:

Lambda Changes patch.

--
Added file: 
http://bugs.python.org/file26982/issue11776-first-easy-part-lambda-.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11776
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11776] Constructor signatures missing in types module documentation

2012-08-23 Thread Mike Hoy

Mike Hoy added the comment:

I used the following for:

CodeType
FunctionType
LambdaType
SimpleNamespace
MethodType



 print(CodeType.__doc__)
code(argcount, kwonlyargcount, nlocals, stacksize, flags, codestring,
  constants, names, varnames, filename, name, firstlineno,
  lnotab[, freevars[, cellvars]])

Create a code object.  Not for the faint of heart.

 print(FunctionType.__doc__)
function(code, globals[, name[, argdefs[, closure]]])

Create a function object from a code object and a dictionary.
The optional name string overrides the name from the code object.
The optional argdefs tuple specifies the default argument values.
The optional closure tuple supplies the bindings for free variables.

 print(LambdaType.__doc__)
function(code, globals[, name[, argdefs[, closure]]])

Create a function object from a code object and a dictionary.
The optional name string overrides the name from the code object.
The optional argdefs tuple specifies the default argument values.
The optional closure tuple supplies the bindings for free variables.

 print(SimpleNamespace.__doc__) 
A simple attribute-based namespace.

namespace(**kwargs)

 print(MethodType.__doc__)
method(function, instance)

Create a bound instance method object.



I left out the [] arguments.

I've stopped here and uploaded a patch for the 

'first easy part'. 

Despite that name I suspect I will have to change quite a few things. Once this 
part is done then I will move on the the 

'second easy part'

--
keywords: +patch
versions:  -Python 2.7, Python 3.2
Added file: http://bugs.python.org/file26969/issue11776-sigs-docs-first.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11776
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12716] Reorganize os docs for files/dirs/fds

2012-08-22 Thread Mike Hoy

Mike Hoy added the comment:

I was attempting to create a patch for this but all I have is moving fchmod() 
below chmod(). I was unable to find fchmodat() in os.rst. And I need further 
clarification on 

Also, symbolic constants should be close to the functions they are used in. 
For example, open() flags shouldn't be in their own section.

--
keywords: +patch
nosy: +mikehoy
Added file: http://bugs.python.org/file26961/issue141820-function-fchmod.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12716
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15742] SQLite3 documentation changes

2012-08-20 Thread Mike Hoy

New submission from Mike Hoy:

In Core-Mentorship we discussed this and decided on the following patch.

--
assignee: docs@python
components: Documentation
files: sqlite3-docs-changes.diff
keywords: patch
messages: 168681
nosy: docs@python, mikehoy, r.david.murray
priority: normal
severity: normal
status: open
title: SQLite3 documentation changes
versions: Python 3.3
Added file: http://bugs.python.org/file26933/sqlite3-docs-changes.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15742
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15742] SQLite3 documentation changes

2012-08-20 Thread Mike Hoy

Mike Hoy added the comment:

Removed print function in this patch.

--
Added file: http://bugs.python.org/file26934/sqlite3-docs-remove-print.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15742
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12436] Missing items in installation/setup instructions

2012-08-19 Thread Mike Hoy

Mike Hoy added the comment:

Here is a patch for just Notepad++.

--
keywords: +patch
Added file: http://bugs.python.org/file26891/issue12436-notepad_plus_plus.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12436
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15569] Doc doc: incorrect description of some roles as format-only

2012-08-19 Thread Mike Hoy

Mike Hoy added the comment:

I would like to submit a patch for this. Is anyone currently working on one?

--
nosy: +mikehoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15569
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13341] Incorrect documentation for u PyArg_Parse format unit

2012-08-19 Thread Mike Hoy

Changes by Mike Hoy mho...@gmail.com:


--
nosy:  -mikehoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13341
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12436] Missing items in installation/setup instructions

2012-08-19 Thread Mike Hoy

Changes by Mike Hoy mho...@gmail.com:


Added file: http://bugs.python.org/file26902/issue12436-notepad_plus_plus_2.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12436
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12436] Missing items in installation/setup instructions

2012-08-19 Thread Mike Hoy

Mike Hoy added the comment:

Wrapped my text columns to 80. Ignore v2.

--
Added file: http://bugs.python.org/file26904/issue12436-notepad_plus_plus_3.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12436
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12436] Missing items in installation/setup instructions

2012-08-13 Thread Mike Hoy

Mike Hoy added the comment:

Thanks, I will take all contributions and suggestions and propose one patch.

I am able to start working on this issue again, Eric. If you want to give me 
the status of your patch I can either help you finish it up or I can make one 
this week.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12436
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13198] Remove duplicate definition of write_record_file

2012-02-10 Thread Mike Hoy

Mike Hoy mho...@gmail.com added the comment:

I am unable to work on this issue at this time.

On Thu, Feb 9, 2012 at 8:57 PM, Éric Araujo rep...@bugs.python.org wrote:


 Éric Araujo mer...@netwok.org added the comment:

 Mike, if you don’t have the time to finish this shortly, I will do it, as
 I need this fixed for another bug.  Just let me know if you’d like to do it.

 --

 ___
 Python tracker rep...@bugs.python.org
 http://bugs.python.org/issue13198
 ___


--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13198
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13341] Incorrect documentation for u PyArg_Parse format unit

2011-11-04 Thread Mike Hoy

Changes by Mike Hoy mho...@gmail.com:


--
nosy: +mikehoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13341
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13198] Remove duplicate definition of write_record_file

2011-10-21 Thread Mike Hoy

Changes by Mike Hoy mho...@gmail.com:


--
nosy: +mikehoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13198
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11638] pysetup un sdist crashes with weird trace if version is unicode by accident

2011-10-17 Thread Mike Hoy

Changes by Mike Hoy mho...@gmail.com:


--
nosy: +mikehoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11638
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12944] Accept arbitrary files for packaging's upload command

2011-10-17 Thread Mike Hoy

Changes by Mike Hoy mho...@gmail.com:


--
nosy: +mikehoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12944
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13191] Typo in argparse documentation

2011-10-16 Thread Mike Hoy

New submission from Mike Hoy mho...@gmail.com:

In the Docs mailing list a typo was pointed out in argparse docs.

http://docs.python.org/dev/library/argparse.html#metavar

 So, a single positional argument with dest='bar' will that argument 
 will be referred to as bar.

 So, a single positional argument with dest='bar' WITH that argument 
 will be referred to as bar.

Eli Bendersky:

 I agree the original sentence makes little sense. But I'm not sure
 your correction fully fixes it either - a single positional argument
 ... with that argument doesn't sound right.

 Perhaps it should just say:

 So, a single positional argument with dest='bar' will be referred to   as 
 bar ?

Patch says So,a single positional argument with dest='bar' will be referred to 
as bar

--
assignee: docs@python
components: Documentation
files: typo-argparse.diff
keywords: patch
messages: 145636
nosy: docs@python, mikehoy
priority: normal
severity: normal
status: open
title: Typo in argparse documentation
Added file: http://bugs.python.org/file23420/typo-argparse.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13191
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11776] types.MethodType() params and usage is not documented

2011-10-16 Thread Mike Hoy

Changes by Mike Hoy mho...@gmail.com:


--
nosy: +mikehoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11776
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13154] pep-0000.txt doesn't build anymore

2011-10-12 Thread Mike Hoy

Changes by Mike Hoy mho...@gmail.com:


--
nosy: +mikehoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13154
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13154] pep-0000.txt doesn't build anymore

2011-10-12 Thread Mike Hoy

Mike Hoy mho...@gmail.com added the comment:

:~/peps$ find . -name *.txt | xargs grep canterbury
./pep-3152.txt:Author: Gregory Ewing greg.ew...@canterbury.ac.nz
./pep-0380.txt:Author: Gregory Ewing greg.ew...@canterbury.ac.nz
./pep-0284.txt:Greg Ewing greg.ew...@canterbury.ac.nz
./pep-0335.txt:Author: Gregory Ewing g...@cosc.canterbury.ac.nz

Looks like pep-0335.txt has a Gregory Ewing with a different email address 
(g...@cosc.canterbury.ac.nz) that is normally associated with Gregory Ewing 
(greg.ew...@canterbury.ac.nz).

Which is an error according to:

pep0/output.py:

if too_many_emails:
err_output = []
for author, emails in too_many_emails:
err_output.append(%s: %r % (author, emails))
raise ValueError(some authors have more than one email address 
 listed:\n + '\n'.join(err_output))

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13154
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3902] Packages containing only extension modules have to contain __init__.py

2011-10-11 Thread Mike Hoy

Mike Hoy mho...@gmail.com added the comment:

setupscript did not have the changes that were made in apiref. v4 is now 
consistent and line wrapping at 80 chars.

--
Added file: http://bugs.python.org/file23384/apiref-setupscript-v4.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3902
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3902] Packages containing only extension modules have to contain __init__.py

2011-10-10 Thread Mike Hoy

Mike Hoy mho...@gmail.com added the comment:

Responded to first question in apiref and uploaded a new patch that wraps lines 
at 80 characters.

--
Added file: http://bugs.python.org/file23369/apiref-setupscript-v3.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3902
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12436] Missing items in installation/setup instructions

2011-10-09 Thread Mike Hoy

Mike Hoy mho...@gmail.com added the comment:

Here is what I have so far:

 For Windows users, added a section about how to use a terminal

How to use a terminal

Open a command prompt:

* On Windows Vista or Windows 7: click on the Start menu (the Windows logo in 
the lower left of the screen), type cmd into the Search field directly above 
the Start menu button, and click on cmd in the search results above the 
Search field.

* On Windows XP: click on the Start menu (the Windows logo in the lower left of 
the screen), click on Run..., type cmd into the text box, and hit enter.

Commands used in terminal

* cd C:\ - Puts you in the root directory of the C drive.
* cd Python32 - Puts you in the directory where Python 3.2 is installed.
* dir - This command lists the contents of the Python32 directory.
* python - This command will invoke python.exe and bring up the interpreter.

 a link to PowerShell 

Windows PowerShell

Windows PowerShell is a task-based command-line shell and scripting language 
designed for system administration. It can be obtained here: 
http://technet.microsoft.com/en-us/library/bb978526.aspx.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12436
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3902] Packages containing only extension modules have to contain __init__.py

2011-10-09 Thread Mike Hoy

Mike Hoy mho...@gmail.com added the comment:

Submitted v2 of my patch after reading Éric's review of my first.

--
Added file: http://bugs.python.org/file23360/apiref-setupscript-v2.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3902
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12602] Missing cross-references in Doc/using

2011-10-09 Thread Mike Hoy

Changes by Mike Hoy mho...@gmail.com:


--
nosy:  -mikehoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12602
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12192] Doc that collection mutation methods return item or None

2011-10-08 Thread Mike Hoy

Mike Hoy mho...@gmail.com added the comment:

Created a patch based on suggestions here.

--
keywords: +patch
Added file: http://bugs.python.org/file23346/return-none.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12192
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12192] Doc that collection mutation methods return item or None

2011-10-07 Thread Mike Hoy

Changes by Mike Hoy mho...@gmail.com:


--
nosy: +mikehoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12192
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12602] Missing using docs cross-references

2011-10-07 Thread Mike Hoy

Changes by Mike Hoy mho...@gmail.com:


--
nosy: +mikehoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12602
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12436] Missing items in installation/setup instructions

2011-10-07 Thread Mike Hoy

Mike Hoy mho...@gmail.com added the comment:

 Thanks Mike!  So the first item is covered (at least for UNIX, can you 
 check the Windows docs too?), but not the second.  

http://docs.python.org/dev/using/windows.html Makes no reference to preparing a 
text editor. This I could help with but...

 The item you linked 
 to explains how to modify a script so that it’s possible to run 
 ./script on Unix, but does not give an actual example of running it, 
 nor does it explain “python script” or “python script.py” or “python -m 
 module”.

Some one else would have to write this part unless you can give me some info 
about how it should be worded.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12436
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12436] Missing items in installation/setup instructions

2011-10-07 Thread Mike Hoy

Mike Hoy mho...@gmail.com added the comment:

 mostly to recommend Notepad++ I think.

In addition to Notepad++ do you think it would be a good idea to at least 
mention Vim and Emacs with a disclaimer about the learning curve?

 For Windows users, added a section about how to use a terminal and 

Do you think it would be a good idea to add instructions on how to add Python 
to the Path in Windows? It could be 'borrowed' from the Boston Python Workshop 
Page I would think. It's pretty long but useful considering how much trouble I 
have had having to do this myself under Windows.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12436
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3902] Packages containing only extension modules have to contain __init__.py

2011-10-07 Thread Mike Hoy

Mike Hoy mho...@gmail.com added the comment:

 We’re working on a patch on the core-mentorship list.

Éric, I emailed the diff to the Core-Mentorship list, but since there was no 
reply I will just attach it here. Please review patch and let me know if you 
want any changes.

--
keywords: +patch
nosy: +mikehoy
Added file: http://bugs.python.org/file23340/distutils-init.py-apiref-setup.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3902
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12436] Missing items in installation/setup instructions

2011-10-06 Thread Mike Hoy

Mike Hoy mho...@gmail.com added the comment:

 - How to prepare a text editor
See: http://docs.python.org/dev/using/unix.html#editors

 - How to run Python code from a file (if the tutorial or using docs don’t 
 already have it).

See: http://docs.python.org/dev/using/unix.html#miscellaneous

--
nosy: +mikehoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12436
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12823] Broken link in SSL wrapper for socket objects document

2011-10-06 Thread Mike Hoy

Mike Hoy mho...@gmail.com added the comment:

Patch to remove broken link.

--
keywords: +patch
nosy: +mikehoy
Added file: http://bugs.python.org/file23334/SSL-broken-link.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12823
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



  1   2   >