[issue41303] perf_counter result does not count system sleep time in Mac OS

2020-08-06 Thread nooB
nooB added the comment: > perf_counter documentation says "It does include time elapsed during sleep > and is system-wide." where "sleep" here means time.sleep() Apologies for misinterpreting the documentation. A clock function that includes system suspend time ca

[issue41303] perf_counter result does not count system sleep time in Mac OS

2020-07-15 Thread nooB
New submission from nooB : Documentation for time.perf_counter says "does include time elapsed during sleep". https://docs.python.org/3.8/library/time.html#time.perf_counter But it does not work as expected in Mac OS. I learnt that perf_counter uses the underlying

[issue10684] Folders get deleted when trying to change case with shutil.move (case insensitive file systems only)

2011-01-26 Thread nooB
nooB added the comment: Few points that could be useful, 1) I added print statements in `shutil.move` and found that the `real_dst` was wrong for the case coz os.path.isdir returns true. >> import os >> os.mkdir('test') >> os.path.isdir('TEst') True

[issue10983] Errors in http.client.HTTPConnection class (python3)

2011-01-22 Thread nooB
Changes by nooB : -- versions: -Python 3.3 ___ Python tracker <http://bugs.python.org/issue10983> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10983] Errors in http.client.HTTPConnection class (python3)

2011-01-22 Thread nooB
New submission from nooB : In python 3.x http.client.HTTPConnection class, I saw few problems. 1) `_tunnel_headers` not initialized in the __init__ method. This causes `set_tunnel` method to raise `AttributeError` when called without `headers` keyword argument. 2) In `_tunnel` method, `self

[issue10684] Folders get deleted when trying to change case with shutil.move (Windows)

2011-01-22 Thread nooB
nooB added the comment: Sorry, for the wrong info. The issues exists only for folder renaming in windows. try this, >> import os, shutil >> os.mkdir('test') >> shutil.move('test', 'TEST') poof. The folder is gone. Shouldn't the path c