[issue29868] multiprocessing.dummy missing cpu_count

2017-03-21 Thread John Wiseman
New submission from John Wiseman: The documentation for the multiprocessing.dummy module says that it "replicates the API of multiprocessing." In Python 2.7, I can import multiprocessing.dummy and use the cpu_count function: $ python2 Python 2.7.12 (default, Oct 29 2016, 19:21:06)

[issue7476] pipes.quote does not handle zero-length args correctly

2009-12-10 Thread John Wiseman
New submission from John Wiseman jjwise...@gmail.com: In python 2.5.2, I believe pipes.quote gives the wrong result for zero- length arguments. from pipes import quote args = ['arg1', '', 'arg3'] print 'mycommand %s' % (' '.join(quote(arg) for arg in args)) mycommand arg1 arg3 I think