[issue25169] multiprocess documentation

2015-09-20 Thread Davin Potts

Davin Potts added the comment:

Good catch and agreed this should be cleaned up.

Patch looks good to me and given its nature is probably all we need although 
it's probably worth combining this minor documentation update so that it gets 
applied with some other documentation patch(es) at the same time.

--
nosy: +davin
versions: +Python 3.4, Python 3.6

___
Python tracker 

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



[issue25169] multiprocess documentation

2015-09-20 Thread Davin Potts

Changes by Davin Potts :


--
stage:  -> patch review
type:  -> enhancement

___
Python tracker 

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



[issue25169] multiprocess documentation

2015-09-18 Thread Terry J. Reedy

Changes by Terry J. Reedy :


--
nosy: +terry.reedy

___
Python tracker 

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



[issue25169] multiprocess documentation

2015-09-18 Thread Bar Harel

Bar Harel added the comment:

Here's a quick minor patch to fix, works on a re-compiled doc.

--
keywords: +patch
nosy: +bar.harel
Added file: http://bugs.python.org/file40506/multiprocessing_patch.patch

___
Python tracker 

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



[issue25169] multiprocess documentation

2015-09-18 Thread John Taylor

John Taylor added the comment:

To follow up on my previous message, I looked at the documentation for 
os.getppid().

It states:

Changed in version 3.2: Added support for Windows.

--

___
Python tracker 

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



[issue25169] multiprocess documentation

2015-09-18 Thread John Taylor

New submission from John Taylor:

In the Windows Help File for Python 3.5:

17.2 multiprocessing
17.2.1.1 The Process class
2nd code example: "To show the individual process IDs involved, here is an 
expanded example"

def info(title):
print(title)
print('module name:', __name__)
if hasattr(os, 'getppid'):  # only available on Unix
print('parent process:', os.getppid())
print('process id:', os.getpid())

os.getppid() is now available on Windows, so you can remove the if statement.

--
assignee: docs@python
components: Documentation
messages: 251002
nosy: docs@python, jftuga
priority: normal
severity: normal
status: open
title: multiprocess documentation
versions: Python 3.5

___
Python tracker 

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