[issue35317] test_email: test_localtime_daylight_false_dst_true() fails depending on the timezone

2018-11-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset cfaafda8e3e19764682abb4bd4c574accb784c42 by Victor Stinner in branch 'master': bpo-35317: Fix mktime() error in test_email (GH-10721) https://github.com/python/cpython/commit/cfaafda8e3e19764682abb4bd4c574accb784c42 --

[issue34022] 6 tests fail using SOURCE_DATE_EPOCH env var

2018-11-27 Thread STINNER Victor
STINNER Victor added the comment: > As https://github.com/python/cpython/pull/10327 has been merged, I think this > issue can be closed? The Versions field of this issue is set to Python 3.7, but 7 tests are failing with: $ SOURCE_DATE_EPOCH=0 ./python -m test -j0 -r -u all,-gui (...) 7

[issue33029] Invalid function cast warnings with gcc 8 for getter and setter functions

2018-11-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Can you provide your patches Siddhesh? -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue33012] Invalid function cast warnings with gcc 8 for METH_NOARGS

2018-11-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 62be74290aca26d16f3f55ece7ff6dad14e60e8d by Serhiy Storchaka in branch 'master': bpo-33012: Fix invalid function cast warnings with gcc 8. (GH-6749) https://github.com/python/cpython/commit/62be74290aca26d16f3f55ece7ff6dad14e60e8d

[issue33954] float.__format__('n') fails with _PyUnicode_CheckConsistency assertion error for locales with non-ascii thousands separator

2018-11-27 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +9987 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35134] Add a new Include/cpython/ subdirectory for the "CPython API" with implementation details

2018-11-27 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +9986 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33954] float.__format__('n') fails with _PyUnicode_CheckConsistency assertion error for locales with non-ascii thousands separator

2018-11-27 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +9985 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33954] float.__format__('n') fails with _PyUnicode_CheckConsistency assertion error for locales with non-ascii thousands separator

2018-11-27 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +9984 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33012] Invalid function cast warnings with gcc 8 for METH_NOARGS

2018-11-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 81524022d0c0df7a41f9b2b2df41e2ebe140e610 by Serhiy Storchaka in branch 'master': bpo-33012: Fix signatures of METH_NOARGS funstions. (GH-10736) https://github.com/python/cpython/commit/81524022d0c0df7a41f9b2b2df41e2ebe140e610 --

Re: Question on difference between LambdaType and FunctionType

2018-11-27 Thread Iwo Herka
Ian Kelly wrote: > What about: > > __init__ = lambda self: setattr(self, 'foo', 'bar') That's an edge-case alright. Fortunately, I've decided to not skip lambdas. That's too problematic, it's easier to parse them as a special-case. Thanks for pointing this out. Sincerely, Iwo Herka --

[issue35310] select which was interrupted by EINTR isn't re-run if the timeout has passed

2018-11-27 Thread STINNER Victor
STINNER Victor added the comment: Ah! I missed attached select_eintr.py script. Ok, I reproduced the bug and I agree that it must be fixed. -- versions: -Python 3.5 ___ Python tracker

[issue35326] ctypes cast and from_address cause crash on Windows 10

2018-11-27 Thread Mordechai Botrashvily
New submission from Mordechai Botrashvily : Hi, Using cast() or from_address() to convert from c_void_p (or integer) address to POINTER(c_ubyte) causes the interpreter to crash, when accessing the contents of the array. The problem seems to happen when running the following combination:

[issue34212] Cygwin link failure with builtin modules since issue30860

2018-11-27 Thread STINNER Victor
STINNER Victor added the comment: What about modules compiled by setup.py? They don't have the issue? Only 2 modules are built by setup.py with Py_BUILD_CORE_BUILTIN (_json) or Py_BUILD_CORE (_xxsubinterpreters). By the way, it seems like Py_BUILD_CORE_BUILTIN should be used for modules,

[issue35227] [RFE] tarfile: support adding file objects without prior known size

2018-11-27 Thread Martin Panter
Martin Panter added the comment: The changes at have various other behaviour changes which are not discussed here. They seem to be there just so that you can use the TCP socket from “urlopen” with “gettarinfo”. But “gettarinfo” is

[issue33012] Invalid function cast warnings with gcc 8 for METH_NOARGS

2018-11-27 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +9983 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31506] Improve the error message logic for object_new & object_init

2018-11-27 Thread Paolo Taddonio
Paolo Taddonio added the comment: I am not sure if the following is resolved by your proposal, I post it just in case: The following code works: 1. class Singleton(object): 2. def __new__(cls, *args, **kwargs): 3. if not hasattr(cls, 'instance'): 4.

[issue34022] 6 tests fail using SOURCE_DATE_EPOCH env var

2018-11-27 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: As https://github.com/python/cpython/pull/10327 has been merged, I think this issue can be closed? -- ___ Python tracker ___

[issue35322] test_datetime leaks memory on Windows

2018-11-27 Thread STINNER Victor
Change by STINNER Victor : -- components: +Library (Lib) title: test_datetime leaks memory -> test_datetime leaks memory on Windows versions: +Python 3.8 ___ Python tracker

[issue33012] Invalid function cast warnings with gcc 8 for METH_NOARGS

2018-11-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 4a934d490fac779d8954a8292369c4506bab23fa by Serhiy Storchaka in branch 'master': bpo-33012: Fix invalid function cast warnings with gcc 8 in Argument Clinic. (GH-6748)

<    1   2