[issue25567] shlex.quote doesn't work on bytestrings

2020-10-11 Thread Hassan Abouelela
Change by Hassan Abouelela : -- nosy: +HassanAbouelela nosy_count: 9.0 -> 10.0 pull_requests: +21634 pull_request: https://github.com/python/cpython/pull/22657 ___ Python tracker <https://bugs.python.org/issu

[issue41904] datetime.datetime.today makes no sense and should be removed

2020-10-13 Thread Hassan Abouelela
Hassan Abouelela added the comment: If having an arbitrary time returned from the function is an issue, why not use a fixed time, say 0 UTC, representing the start of the day. This would mean that datetime.today is date.today, with an (arguably) meaningless timestamp to make it a datetime

[issue41904] datetime.datetime.today makes no sense and should be removed

2020-10-13 Thread Hassan Abouelela
Hassan Abouelela added the comment: > "How long is it until Christmas?" the answer should be different if I ask on > one minute past midnight on December 24 or one minute to midnight. No disagreement there, but that doesn't change based on having the current prec