[issue13261] time.clock () has very low resolution on Linux

2011-10-25 Thread Elijah Merkin
New submission from Elijah Merkin : time.clock () has very poor time resolution on Linux (tested on Ubuntu 11.04). The result of call to clock () changes once per several seconds. On the other side, on Windows it provides very good resolution. Here is a doctest that fails on Linux

[issue5500] tarfile: path problem in arcname under windows

2009-03-19 Thread Elijah Merkin
Elijah Merkin added the comment: Sorry for not explaining properly, I was distracted. 1. The absolute path really exists in the .tar.gz file when I view it in a hex editor. 2. Windows archive managers I tried see that absolute path. 3. Linux tar utility, however, somehow manages to extract the

[issue5500] tarfile: path problem in arcname under windows

2009-03-19 Thread Elijah Merkin
Elijah Merkin added the comment: Tested again under Python 2.6.1 on Windows XP (added Python 2.6 to versions). An archive I attached to the issue contains a .py file that reproduces the bug and an archive created by it. In my case I just put the .py file to C:\testtarfile\ directory and run

[issue5500] tarfile: path problem in arcname under windows

2009-03-17 Thread Elijah Merkin
New submission from Elijah Merkin : Tested on Python 2.5.4. 1. Use tarfile.open("fname", "w|gz") to create an archive. 2. Add a file using TarFile.add(name, arcname=None, recursive=True, exclude=None) by specifying 2 params: absolute path to a source file as 'name'