[issue35707] time.sleep() should support objects with __float__

2019-01-21 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: If __index__ doesn't "feel" right, what do you propose then to fix this issue, keeping in mind the concerns of https://bugs.python.org/issue35707#msg333401 -- ___ Python tracker

[issue35794] test_posix.py test failure

2019-01-21 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: It's a relatively old Gentoo GNU/Linux system: Linux tamiyo 3.17.7-gentoo #2 SMP PREEMPT Fri Dec 23 18:13:49 CET 2016 x86_64 Intel(R) Core(TM) i7-2640M CPU @ 2.80GHz GenuineIntel GNU/Linux The problem occurs when there are directories on $PATH which are not

[issue20239] Allow repeated deletion of unittest.mock.Mock attributes

2019-01-21 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue35794] test_posix.py test failure

2019-01-21 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- components: +Tests ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue35794] test_posix.py test failure

2019-01-21 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Hi, Thank you for opening the issue. Without providing more information we cannot help debugging the issue. Can you provide more information like what is your system, What OS, version of python, architecture...etc Is the only test that fails? --

[issue35707] time.sleep() should support objects with __float__

2019-01-21 Thread Ronald Oussoren
Ronald Oussoren added the comment: Using __index__ here doesn't feel right, although I can't explain why yet. -- ___ Python tracker ___ ___

[issue35795] test_pkgutil test_zipapp fail in AMD64 Windows7 SP1 3.x and AMD64 Windows7 SP1 3.7 buildbots

2019-01-21 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : test_pkgutil test_zipapp fail in AMD64 Windows7 SP1 3.x and AMD64 Windows7 SP1 3.7 buildbots: https://buildbot.python.org/all/#/builders/40/builds/1525 https://buildbot.python.org/all/#/builders/130/builds/636 ==

[issue35794] test_posix.py test failure

2019-01-21 Thread Jeroen Demeyer
New submission from Jeroen Demeyer : This test was recently added (PR 6332): def test_no_such_executable(self): no_such_executable = 'no_such_executable' try: pid = posix.posix_spawn(no_such_executable, [no_such_executable],

[issue35707] time.sleep() should support objects with __float__

2019-01-21 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: The motivation for PEP 357 was certainly using an object as the index for a sequence, but that's not the only use case. In fact PEP 357 states "For example, the slot can be used any time Python requires an integer internally" So despite the name __index__,

[issue35707] time.sleep() should support objects with __float__

2019-01-21 Thread Ronald Oussoren
Ronald Oussoren added the comment: As a late response to msg333416 and msg333547, I don't agree with looking at __index__ in _PyTime_FromObject. The __index__ method is used when an object can be used as the index for a sequence, but should not silently convert to int or float. See

[issue35707] time.sleep() should support objects with __float__

2019-01-21 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: To avoid code duplication, it's tempting to merge _PyTime_FromObject and _PyTime_ObjectToDenominator These two functions almost do the same, but not quite. -- ___ Python tracker

[issue35781] `logger.warn` method is used in "Logging HOWTO" documentation though `logger.warn` method is deprecated in Python 3.7

2019-01-21 Thread Yuuji KAWAMATSU
Yuuji KAWAMATSU added the comment: Thank you! I will create PR. -- nosy: +Yuuji KAWAMATSU ___ Python tracker ___ ___ Python-bugs-li

[issue35772] test_tarfile fails on ppc64le when using tmpfs filesystem

2019-01-21 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue35772] test_tarfile fails on ppc64le when using tmpfs filesystem

2019-01-21 Thread miss-islington
miss-islington added the comment: New changeset d1dd6be613381b996b9071443ef081de8e5f3aff by Miss Islington (bot) in branch '3.7': bpo-35772: Fix test_tarfile on ppc64 (GH-11606) https://github.com/python/cpython/commit/d1dd6be613381b996b9071443ef081de8e5f3aff -- nosy: +miss-islingto

[issue35168] shlex punctuation_chars inconsistency

2019-01-21 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch, patch, patch, patch pull_requests: +11400, 11401, 11402, 11403 stage: needs patch -> patch review ___ Python tracker ___

[issue35168] shlex punctuation_chars inconsistency

2019-01-21 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch, patch, patch pull_requests: +11400, 11401, 11402 stage: needs patch -> patch review ___ Python tracker ___ __

[issue35168] shlex punctuation_chars inconsistency

2019-01-21 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch, patch pull_requests: +11400, 11401 stage: needs patch -> patch review ___ Python tracker ___

[issue35168] shlex punctuation_chars inconsistency

2019-01-21 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +11400 stage: needs patch -> patch review ___ Python tracker ___ ___ Py

[issue20239] Allow repeated deletion of unittest.mock.Mock attributes

2019-01-21 Thread Chris Withers
Chris Withers added the comment: New changeset d358a8cda75446a8e0b5d99149f709395d5eae19 by Chris Withers (Miss Islington (bot)) in branch '3.7': bpo-20239: Allow repeated deletion of unittest.mock.Mock attributes (GH-11629) https://github.com/python/cpython/commit/d358a8cda75446a8e0b5d99149f7

[issue35425] test_eintr fails randomly on AMD64 FreeBSD 10-STABLE Non-Debug 3.7: TypeError: 'int' object is not callable

2019-01-21 Thread STINNER Victor
STINNER Victor added the comment: Another recent failure: https://buildbot.python.org/all/#/builders/167/builds/488 ... test_kqueue (__main__.SelectEINTRTest) ... ok test_poll (__main__.SelectEINTRTest) ... ok test_select (__main__.SelectEINTRTest) ... test_all (test.test_eintr.EINTRTests) .

[issue35772] test_tarfile fails on ppc64le when using tmpfs filesystem

2019-01-21 Thread miss-islington
Change by miss-islington : -- pull_requests: +11398 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue35772] test_tarfile fails on ppc64le when using tmpfs filesystem

2019-01-21 Thread STINNER Victor
STINNER Victor added the comment: New changeset b2385458ceddaf3d0d91456923716259d3915023 by Victor Stinner in branch 'master': bpo-35772: Fix test_tarfile on ppc64 (GH-11606) https://github.com/python/cpython/commit/b2385458ceddaf3d0d91456923716259d3915023 -- __

[issue35772] test_tarfile fails on ppc64le when using tmpfs filesystem

2019-01-21 Thread miss-islington
Change by miss-islington : -- pull_requests: +11398, 11399 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue20239] Allow repeated deletion of unittest.mock.Mock attributes

2019-01-21 Thread miss-islington
Change by miss-islington : -- pull_requests: +11395, 11396, 11397 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue20239] Allow repeated deletion of unittest.mock.Mock attributes

2019-01-21 Thread miss-islington
Change by miss-islington : -- pull_requests: +11395, 11396 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue20239] Allow repeated deletion of unittest.mock.Mock attributes

2019-01-21 Thread miss-islington
Change by miss-islington : -- pull_requests: +11395 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue20239] Allow repeated deletion of unittest.mock.Mock attributes

2019-01-21 Thread Chris Withers
Chris Withers added the comment: New changeset 222d303ade8aadf0adcae5190fac603bdcafe3f0 by Chris Withers (Pablo Galindo) in branch 'master': bpo-20239: Allow repeated deletion of unittest.mock.Mock attributes (#11057) https://github.com/python/cpython/commit/222d303ade8aadf0adcae5190fac603bdc

<    1   2