[issue6417] multiprocessing Process examples: print and getppid

2010-10-12 Thread Georg Brandl
Changes by Georg Brandl : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue6417] multiprocessing Process examples: print and getppid

2010-10-12 Thread Sandro Tosi
Sandro Tosi added the comment: Thanks Michael for checking it, this bug can be closed then, since all the points mentioned were already fixed. -- ___ Python tracker ___

[issue6417] multiprocessing Process examples: print and getppid

2010-10-12 Thread Michael Newman
Michael Newman added the comment: The example is working correctly for: Python 3.2a3 (r32a3:85355, Oct 10 2010, 17:11:45) [MSC v.1500 32 bit (Intel)] on win32 # First test: C:\mike>c:\Python32\python.exe s2.py main line module name: __main__ parent process: 2360 process id: 1584 function f mod

[issue6417] multiprocessing Process examples: print and getppid

2010-10-07 Thread Sandro Tosi
Sandro Tosi added the comment: Hello, indentation problem has been fixed in r79901 and py3k syntax has been fixed in r74764. wrt os.getppid(), in the documentation it's stated that with 3.2 it added support for windows too: I'd like someone running a windows box (I don't have a win system an

[issue6417] multiprocessing Process examples: print and getppid

2010-08-27 Thread Ask Solem
Changes by Ask Solem : -- nosy: +asksol ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/m

[issue6417] multiprocessing Process examples: print and getppid

2009-07-04 Thread Jesse Noller
Changes by Jesse Noller : -- priority: -> normal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue6417] multiprocessing Process examples: print and getppid

2009-07-04 Thread Michael Newman
Michael Newman added the comment: # Revised example that is more platform neutral (avoids sys.platform): from multiprocessing import Process, current_process import os def info(title): print(title) print('module name:', __name__) if not hasattr(os, 'getppid'): # win32 print(

[issue6417] multiprocessing Process examples: print and getppid

2009-07-04 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- assignee: georg.brandl -> jnoller nosy: +jnoller ___ Python tracker ___ ___ Python-bugs-list mailing

[issue6417] multiprocessing Process examples: print and getppid

2009-07-04 Thread Michael Newman
New submission from Michael Newman : The "16.6.1.1. The Process class" section of the multiprocessing documentation: http://docs.python.org/dev/py3k/library/multiprocessing.html has errors in both examples. The first example needs the indentation fixed on the "from" and "if" lines (remove the le