[issue32152] Add pid to .cover filename in lib/trace.py

2018-09-16 Thread Ned Batchelder
Ned Batchelder added the comment: The trace module doesn't get much use. Have you tried using coverage.py? https://pypi.org/project/coverage/ -- nosy: +nedbat ___ Python tracker

[issue32152] Add pid to .cover filename in lib/trace.py

2017-12-17 Thread Nikhil Hegde
Nikhil Hegde added the comment: Any ETA I can get on this? -- ___ Python tracker ___

[issue32152] Add pid to .cover filename in lib/trace.py

2017-12-01 Thread Nikhil Hegde
Nikhil Hegde added the comment: This is also necessary in a case where two tests (say, a and b) are running in parallel. Both tests access the same fileX.py The coverage for fileX.py will not be accurate to reflect the usage by tests a and b -- versions:

[issue32152] Add pid to .cover filename in lib/trace.py

2017-11-28 Thread Nikhil Hegde
Nikhil Hegde added the comment: In the trace_generic.py file that I've attached, the changes are on line 331 -- Added file: https://bugs.python.org/file47300/trace_generic.py ___ Python tracker

[issue32152] Add pid to .cover filename in lib/trace.py

2017-11-28 Thread Nikhil Hegde
New submission from Nikhil Hegde : Adding pid to filenames will avoid file write error when multiple processes (specifically, multiple tests) are writing to the same .cover file -- components: Library (Lib) messages: 307110 nosy: nikhilh priority: normal