[issue40017] Please support CLOCK_TAI in the time module.

2020-03-23 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 687fe979705dc588a46a35da884cc0198c67 by Russell Owen in branch 'master': closes bpo-40017: Add CLOCK_TAI constant to the time module. (GH-19096) https://github.com/python/cpython/commit/687fe979705dc588a46a35da884cc0198c67 -

[issue36054] On Linux, os.count() should read cgroup cpu.shares and cpu.cfs (CPU count inside docker container)

2020-03-23 Thread Manjusaka
Manjusaka added the comment: Actually, we already have some third party libs to support cgroup. But most of them get these questions 1. They are not std lib 2. They are just support cgroup1 But if we want to add a new std lib. Should we create a PEP? -- ___

[issue40050] test_importlib leaked [6303, 6299, 6303] references

2020-03-23 Thread hai shi
Change by hai shi : -- nosy: +shihai1991 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue40051] Dead link in help(lib2to3)

2020-03-23 Thread wyz23x2
New submission from wyz23x2 : When typing this in shell: >>> import lib2to3 >>> help(lib2to3) The output contains this link: --snip-- MODULE REFERENCE https://docs.python.org/3.8/library/lib2to3 <-- The following documentation is automatically generated from the Python --snip-- Bu

[issue36759] astimezone() fails on Windows for pre-epoch times

2020-03-23 Thread Jonathan Hsu
Jonathan Hsu added the comment: This exception is raised because astimezone() ends up calling time.localtime() to determine the appropriate time zone. If the datetime object has a pre-epoch value, it passes a negative timestamp to time.localtime(). On Windows, time.localtime() does not accep

[issue40052] Incorrect pointer alignment in _PyVectorcall_Function() of cpython/abstract.h

2020-03-23 Thread Andreas Schneider
New submission from Andreas Schneider : In file included from /builds/cryptomilk/pam_wrapper/src/python/pypamtest.c:21: In file included from /usr/include/python3.8/Python.h:147: In file included from /usr/include/python3.8/abstract.h:837: /usr/include/python3.8/cpython/abstract.h:91:11: error:

<    1   2