[issue35703] Underscores in numeric literals cannot be before or after decimal (.)

2019-01-10 Thread Yoong Hor Meng
New submission from Yoong Hor Meng : s = 1_234.567_8 print(float(s)) # It works s = 1_234._567 print(float(s)) # It does not work s = 1_234_.567 print(float(s)) # It does not work too -- components: Interpreter Core messages: 68 nosy: yoonghm priority: normal severity: normal

[issue35703] Underscores in numeric literals cannot be before or after decimal (.)

2019-01-10 Thread Ronald Oussoren
Ronald Oussoren added the comment: This is intentional, see . In floating point literals the underscores must always be between two digits. -- nosy: +ronaldoussoren resolution: -> not a bug status:

[issue35702] clock_gettime: Add new identifier CLOCK_UPTIME_RAW for Darwin

2019-01-10 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35705] libffi support is not there for windows on ARM64

2019-01-10 Thread ossdev
Change by ossdev : -- components: ctypes nosy: ossdev07 priority: normal severity: normal status: open title: libffi support is not there for windows on ARM64 type: enhancement versions: Python 3.6 ___ Python tracker

[issue35702] clock_gettime: Add new identifier CLOCK_UPTIME_RAW for Darwin

2019-01-10 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35704] On AIX, test_unpack_archive_xztar fails with default MAXDATA settings

2019-01-10 Thread Michael Felt
Change by Michael Felt : -- keywords: +patch pull_requests: +11029 stage: -> patch review ___ Python tracker ___ ___

[issue35702] clock_gettime: Add new identifier CLOCK_UPTIME_RAW for Darwin

2019-01-10 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- keywords: +patch, patch pull_requests: +11037, 11038 stage: -> patch review ___ Python tracker ___

[issue35702] clock_gettime: Add new identifier CLOCK_UPTIME_RAW for Darwin

2019-01-10 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- keywords: +patch pull_requests: +11037 stage: -> patch review ___ Python tracker ___ ___

[issue35702] clock_gettime: Add new identifier CLOCK_UPTIME_RAW for Darwin

2019-01-10 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- keywords: +patch, patch, patch pull_requests: +11037, 11038, 11039 stage: -> patch review ___ Python tracker ___

[issue35066] Inconsistency between dangling '%' handling in time.strftime() and datetime.strftime()

2019-01-10 Thread Paul Ganssle
Paul Ganssle added the comment: I agree with Victor on this. In the future, I'd really like to see us do our best to add cross-platform uniformity to Python's strftime and strptime support. If there really is a platform out there that doesn't support a trailing `%`, I like the idea of

[issue35706] Making an embedded Python interpreter use a venv is difficult

2019-01-10 Thread Dieter Weber
Change by Dieter Weber : Added file: https://bugs.python.org/file48040/Source.cpp ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue35702] clock_gettime: Add new identifier CLOCK_UPTIME_RAW for Darwin

2019-01-10 Thread STINNER Victor
STINNER Victor added the comment: > As the behaviour is equivalent, maybe it can be assigned to the existing > time.CLOCK_UPTIME funtion. Nah, in Python we map directly to OS constant and don't try to be smart. It's up to the user of these constants to make their own choice. Use Python

[issue35706] Making an embedded Python interpreter use a venv is difficult

2019-01-10 Thread Dieter Weber
New submission from Dieter Weber : Python virtual environments are awesome! Using venvs with an embedded Python interpreter has proven difficult, unfortunately. With conda environments it works. See appended a sample file to reproduce the behavior. The core of the problem seems to be that a

[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace

2019-01-10 Thread Senthil Kumaran
Senthil Kumaran added the comment: New changeset c5dc60ea858b8ccf78e8d26db81c307a8f9b2314 by Senthil Kumaran (Pablo Galindo) in branch 'master': bpo-24746: Fix doctest failures when running the testsuite with -R (#11501)

[issue35066] Inconsistency between dangling '%' handling in time.strftime() and datetime.strftime()

2019-01-10 Thread Michael Saah
Michael Saah added the comment: > Michael - do you think you can / would you like to add the functionality that > Victor mentioned to your existing PR? If not, I recommend we merge the > current PR and open a new issue for "Lone trailing % not supported on all > platforms". I'd be happy to

[issue35704] On AIX, test_unpack_archive_xztar fails with default MAXDATA settings

2019-01-10 Thread Michael Felt
New submission from Michael Felt : By default AIX builds 32-bit applications - and the combined .data, .bss and .stack areas share one memory segment of 256 Mbyte. This can be modified by either specifying a larger value for maxdata during linking (e.g., with LDFLAGS=-bmaxdata:0x4000) or

[issue35688] "pip install --user numpy" fails on Python from the Windows Store

2019-01-10 Thread Stephan Troyer
Change by Stephan Troyer : -- nosy: +stephtr ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35706] Making an embedded Python interpreter use a venv is difficult

2019-01-10 Thread Dieter Weber
Change by Dieter Weber : Removed file: https://bugs.python.org/file48039/Source.cpp ___ Python tracker ___ ___ Python-bugs-list mailing

[issue35706] Make it easier to use a venv with an embedded Python interpreter

2019-01-10 Thread Dieter Weber
Change by Dieter Weber : -- title: Making an embedded Python interpreter use a venv is difficult -> Make it easier to use a venv with an embedded Python interpreter ___ Python tracker

[issue24928] mock.patch.dict spoils order of items in collections.OrderedDict

2019-01-10 Thread Emmanuel Arias
Emmanuel Arias added the comment: Ping :-) Thanks Karthikeyan for the PR review. Would someone else like review it, please? Thanks! Regards -- ___ Python tracker ___

[issue31710] setup.py: _ctypes won't get built when system ffi is only in $PREFIX

2019-01-10 Thread Ivan Levchenko
Ivan Levchenko added the comment: Was having the same issue compiling python 3.7.1 against locally compilied libffi 3.2.1. Setting CPPFLAGS and LDFLAGS was not enough and was still getting the same error: INFO: Could not locate ffi libs and/or headers Everything worked as soon as i added

[issue18378] locale.getdefaultlocale() fails on Mac OS X with default language set to English

2019-01-10 Thread Ricardo F
Ricardo F added the comment: I still have this issue on MacOS Mojave 10.14 Python 3.7.2 (default, Dec 27 2018, 07:35:06) [Clang 10.0.0 (clang-1000.11.45.5)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import locale >>> locale.getdefaultlocale()

[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace

2019-01-10 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +11030, 11031 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue3705] py3k fails under Windows if "-c" or "-m" is given a non-ascii value

2019-01-10 Thread ossdev
Change by ossdev : -- pull_requests: +11033 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue3705] py3k fails under Windows if "-c" or "-m" is given a non-ascii value

2019-01-10 Thread ossdev
Change by ossdev : -- pull_requests: +11033, 11034, 11035 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue3705] py3k fails under Windows if "-c" or "-m" is given a non-ascii value

2019-01-10 Thread ossdev
Change by ossdev : -- pull_requests: +11033, 11034 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35702] clock_gettime: Add new identifier CLOCK_UPTIME_RAW for Darwin

2019-01-10 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: I am working on this. -- nosy: +nanjekyejoannah ___ Python tracker ___ ___ Python-bugs-list

[issue35703] Underscores in numeric literals cannot be before or after decimal (.)

2019-01-10 Thread Yoong Hor Meng
Change by Yoong Hor Meng : -- stage: -> resolved status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing

[issue35705] libffi support is not there for windows on ARM64

2019-01-10 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : https://bugs.python.org/issue33125#msg314311 seems to be a related ticket that tracks this. -- nosy: +steve.dower, xtreak, zach.ware ___ Python tracker

[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace

2019-01-10 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +11030 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace

2019-01-10 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I made https://github.com/python/cpython/pull/11501 to fix this problem. After my patch: ❯ ./python.exe -m test test_doctest test_doctest Run tests sequentially 0:00:00 load avg: 1.82 [1/2] test_doctest 0:00:02 load avg: 1.82 [2/2] test_doctest ==

[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace

2019-01-10 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +11030, 11031, 11032 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue35698] Division by 2 in statistics.median

2019-01-10 Thread Jonathan Fine
Jonathan Fine added the comment: I read PEP 450 as saying that statistics.py can be used by "any secondary school student". This is not true for most Python libraries. In this context, the difference between a float and an int is important. Consider statistics.median([2] * n) As a

[issue35674] Expose os.posix_spawnp()

2019-01-10 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: Now that there is consesus, I am working on a PR for this. -- ___ Python tracker ___ ___

[issue35705] libffi support is not there for windows on ARM64

2019-01-10 Thread ossdev
Change by ossdev : -- keywords: +patch pull_requests: +11036 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue35661] Store the venv prompt in pyvenv.cfg

2019-01-10 Thread Cheryl Sabella
Cheryl Sabella added the comment: Currently, the prompt is enclosed in parentheses, both in the venv and when storing: PS N:\projects\cpython> python -m venv testvenv --prompt=" prompt with spaces " Running Release|Win32 interpreter... PS N:\projects\cpython> .\testvenv\Scripts\activate

[issue27682] wsgiref BaseHandler / SimpleHandler can raise additional errors when handling an error

2019-01-10 Thread Lorcán Mc Donagh
Change by Lorcán Mc Donagh : -- nosy: +lorcan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35698] Division by 2 in statistics.median

2019-01-10 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: > As a secondary school student, knowing the definition of median, I might > expect the value to be 2, for any n > 0. The secondary school student would be wrong, wouldn't he? The median of a set is not expected to be a part of the set. Especially for ints

[issue33498] pathlib.Path wants an rmtree method

2019-01-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I am against this. shutil provides higher level API than pathlib, and pathlib should not depend on shutil. pathlib.Path represents a path, and its methods usually does involve filesystem operations, or involve just a single filesystem operation.

[issue35708] lib2to3 failed to convert as refactor's fixes not search.pyc files

2019-01-10 Thread Nj Hsiong
New submission from Nj Hsiong : python3's lib2to3 would fail in silence if python3 and its packages are installed as compiled .pyc files. Root cause is in Lib/lib2to3/refactor.py, the function get_all_fix_names only searches '.py' fix names. =below is workaround= ---

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

2019-01-10 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: time.sleep() is probably not the only function to have such a bug. Maybe __int__() should default to: def __int__(self): return int(self.__float__()) when __float__ is defined and not __int__. Nick Coghlan suggested something similar for __int__

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

2019-01-10 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch, patch pull_requests: +11053, 11054 stage: -> patch review ___ Python tracker ___

[issue26669] time.localtime(float("NaN")) does not raise a ValueError on all platforms

2019-01-10 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11049, 11050, 11051, 11052 stage: backport needed -> patch review ___ Python tracker ___

[issue26669] time.localtime(float("NaN")) does not raise a ValueError on all platforms

2019-01-10 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11049, 11050, 11051 stage: backport needed -> patch review ___ Python tracker ___ ___

[issue35698] Division by 2 in statistics.median

2019-01-10 Thread STINNER Victor
STINNER Victor added the comment: I suggest to close the issue as "not a bug". IMHO statistics.median() respects the defintion of the mathematical median function. -- ___ Python tracker

[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace

2019-01-10 Thread STINNER Victor
STINNER Victor added the comment: > Finally, since the the port to 3.6 was a mistake, I will revert that. I wrote PR 11499 but I closed it because PR #11501 has been merged, but yeah, maybe a revert is the best option for 3.6. No problem, the status change of the 3.6 branch is very new, and

[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace

2019-01-10 Thread miss-islington
miss-islington added the comment: New changeset 1cbd17c6987afc48c16caa7ccc7d19b01fbd39f2 by Miss Islington (bot) in branch '3.7': bpo-24746: Fix doctest failures when running the testsuite with -R (GH-11501) https://github.com/python/cpython/commit/1cbd17c6987afc48c16caa7ccc7d19b01fbd39f2

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

2019-01-10 Thread AVINASH MISHRA
AVINASH MISHRA added the comment: hey i am a total newbie to open source contribution. can you help me understand this issue and can i help solve this issue? -- nosy: +AVINASH MISHRA ___ Python tracker

[issue35698] Division by 2 in statistics.median

2019-01-10 Thread Jonathan Fine
Jonathan Fine added the comment: Here's the essence of a patch. Suppose the input is Python integers, and the output is a mathematical integer. In this case we can make the output a Python integer by using the helper function >>> def wibble(p, q): ... if type(p) == type(q) == int and

[issue35708] lib2to3 failed to convert as refactor's fixes not search.pyc files

2019-01-10 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list mailing list

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

2019-01-10 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +11053 stage: -> patch review ___ Python tracker ___ ___

[issue26669] time.localtime(float("NaN")) does not raise a ValueError on all platforms

2019-01-10 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11049 stage: backport needed -> patch review ___ Python tracker ___ ___

[issue26669] time.localtime(float("NaN")) does not raise a ValueError on all platforms

2019-01-10 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11049, 11050 stage: backport needed -> patch review ___ Python tracker ___ ___

[issue35702] clock_gettime: Add new identifier CLOCK_UPTIME_RAW for Darwin

2019-01-10 Thread STINNER Victor
STINNER Victor added the comment: New changeset 572168a016ece1b7346695eb7289190c46f1ae55 by Victor Stinner (Joannah Nanjekye) in branch 'master': bpo-35702: Add new identifier time.CLOCK_UPTIME_RAW for macOS 10.12 (GH-11503)

[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace

2019-01-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +11044, 11045, 11046 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace

2019-01-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +11044, 11045 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace

2019-01-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +11044 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace

2019-01-10 Thread Senthil Kumaran
Senthil Kumaran added the comment: Hi All, It was my mistake to merge this in into 3.6, I didn't realize 3.6 was in bugfix mode now. Also I went by the versions (previously) set in this bpo issue. For the regression caused in refleaks, I think, Pablo's patch will fix it, and I am verifying

[issue33498] pathlib.Path wants an rmtree method

2019-01-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: Indeed there is no reason to put all useful path informations under the Path class. Writing method calls instead of function calls is not an ideal. -- resolution: -> rejected stage: patch review -> resolved status: open -> closed

[issue35470] A deadly decref in _PyImport_FindExtensionObjectEx()

2019-01-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +11047, 11048 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35470] A deadly decref in _PyImport_FindExtensionObjectEx()

2019-01-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +11047 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35698] Division by 2 in statistics.median

2019-01-10 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: This does not do what you want: >>> class MyInt(int): pass >>> wibble(MyInt(4), MyInt(2)) 2.0 and a patch is only needed if something is broken. I'm with vstinner of the opinion that nothing is broken and vote to close this issue. --

[issue35709] test_ssl fails on Fedora 29: test_min_max_version()

2019-01-10 Thread STINNER Victor
New submission from STINNER Victor : test_ssl fails on Fedora 29: vstinner@apu$ ./python -m test test_ssl -m test_min_max_version -v == CPython 3.8.0a0 (heads/pytime_inf:aaea5b25d1, Jan 10 2019, 17:40:16) [GCC 8.2.1 20181215 (Red Hat 8.2.1-6)] ==

[issue26669] time.localtime(float("NaN")) does not raise a ValueError on all platforms

2019-01-10 Thread STINNER Victor
STINNER Victor added the comment: I wrote PR 11507 to raise ValueError rather than OverflowError for -inf and +inf. -- ___ Python tracker ___

[issue33498] pathlib.Path wants an rmtree method

2019-01-10 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch, patch, patch, patch pull_requests: +11040, 11041, 11042, 11043 stage: -> patch review ___ Python tracker ___

[issue33498] pathlib.Path wants an rmtree method

2019-01-10 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch, patch pull_requests: +11040, 11041 stage: -> patch review ___ Python tracker ___

[issue33498] pathlib.Path wants an rmtree method

2019-01-10 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch, patch, patch pull_requests: +11040, 11041, 11042 stage: -> patch review ___ Python tracker ___

[issue33498] pathlib.Path wants an rmtree method

2019-01-10 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +11040 stage: -> patch review ___ Python tracker ___ ___

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

2019-01-10 Thread Jeroen Demeyer
New submission from Jeroen Demeyer : This used to work correctly in Python 2: class Half(object): def __float__(self): return 0.5 import time time.sleep(Half()) With Python 3.6, one gets instead Traceback (most recent call last): File "test.py", line 6, in

[issue35470] A deadly decref in _PyImport_FindExtensionObjectEx()

2019-01-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 89c4f90df97f6039325e354167e8f507bf199fd9 by Serhiy Storchaka (Zackery Spytz) in branch 'master': bpo-35470: Fix a reference counting bug in _PyImport_FindExtensionObjectEx(). (GH-11128)

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

2019-01-10 Thread Rémi Lapeyre
Change by Rémi Lapeyre : -- nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2019-01-10 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: See #33039 for the proposed change to __int__. -- ___ Python tracker ___ ___ Python-bugs-list

[issue35470] A deadly decref in _PyImport_FindExtensionObjectEx()

2019-01-10 Thread miss-islington
miss-islington added the comment: New changeset 3e3d57d8490b729a80c8cd9e90475dec122dfe9e by Miss Islington (bot) in branch '3.7': bpo-35470: Fix a reference counting bug in _PyImport_FindExtensionObjectEx(). (GH-11128)

[issue35470] A deadly decref in _PyImport_FindExtensionObjectEx()

2019-01-10 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.6 ___ Python tracker ___

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

2019-01-10 Thread STINNER Victor
STINNER Victor added the comment: The problem comes from the private C function _PyTime_FromObject() of Python/pytime.c. This function must use the proper conversion to minimize the precision loss. Lib/test/test_time.py contains a lot of tests on conversions from different types and ensure

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

2019-01-10 Thread STINNER Victor
STINNER Victor added the comment: PR 11507 is not directly related to this issue, see bpo-26669. But I wrote this PR when trying to fix this issue :-) -- ___ Python tracker

[issue35702] clock_gettime: Add new identifier CLOCK_UPTIME_RAW for Darwin

2019-01-10 Thread STINNER Victor
STINNER Victor added the comment: Joannah Nanjekye added time.CLOCK_UPTIME_RAW to the master branch (future Python 3.8). We don't add feature to stable versions (like 3.7), so I close the issue. Thanks Ricardo Fraile for the report, I wasn't aware of this clock ;-) Note: Until Python 3.8

[issue35709] test_ssl fails on Fedora 29: test_min_max_version()

2019-01-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Seems related https://bugs.python.org/issue35045 -- nosy: +xtreak ___ Python tracker ___

[issue35045] test_min_max_version (test.test_ssl.ContextTests) fails on Fedora 29+ and openssl 1.1.1

2019-01-10 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +11055 stage: -> patch review ___ Python tracker ___ ___

[issue35710] Make dataclasses.field() accept another name for __init__ field's name

2019-01-10 Thread Rémi Lapeyre
New submission from Rémi Lapeyre : When creating a class, I sometimes wish to get this behavior: def MyClass: def __init__(self, param): self._param = param def __repr__(self): return f"MyClass(param={self._param})" Unless I'm making a mistaking,

[issue35045] test_min_max_version (test.test_ssl.ContextTests) fails on Fedora 29+ and openssl 1.1.1

2019-01-10 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch, patch pull_requests: +11055, 11056 stage: -> patch review ___ Python tracker ___

[issue35045] test_min_max_version (test.test_ssl.ContextTests) fails on Fedora 29+ and openssl 1.1.1

2019-01-10 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch, patch, patch pull_requests: +11055, 11056, 11057 stage: -> patch review ___ Python tracker ___

[issue35045] test_min_max_version (test.test_ssl.ContextTests) fails on Fedora 29+ and openssl 1.1.1

2019-01-10 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +11061, 11062, 11063 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue35045] test_min_max_version (test.test_ssl.ContextTests) fails on Fedora 29+ and openssl 1.1.1

2019-01-10 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +11061, 11062 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35698] Division by 2 in statistics.median

2019-01-10 Thread Brett Cannon
Change by Brett Cannon : -- nosy: +steven.daprano ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35698] [statistics] Division by 2 in statistics.median

2019-01-10 Thread Brett Cannon
Change by Brett Cannon : -- title: Division by 2 in statistics.median -> [statistics] Division by 2 in statistics.median ___ Python tracker ___

[issue35702] clock_gettime: Add new identifier CLOCK_UPTIME_RAW for Darwin

2019-01-10 Thread Ricardo Fraile
Ricardo Fraile added the comment: Impressive response time, thanks team! -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue35045] test_min_max_version (test.test_ssl.ContextTests) fails on Fedora 29+ and openssl 1.1.1

2019-01-10 Thread STINNER Victor
Change by STINNER Victor : -- versions: -Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35045] test_min_max_version (test.test_ssl.ContextTests) fails on Fedora 29+ and openssl 1.1.1

2019-01-10 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +11061 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32146] multiprocessing freeze_support needed outside win32

2019-01-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: I'm sorry about not seeing your PR before. Would you like to update it against current git master? (note I'm not thrilled by the use of the "ast" module; I hope we can change the command-line args so that this isn't needed) --

[issue32146] multiprocessing freeze_support needed outside win32

2019-01-10 Thread STINNER Victor
STINNER Victor added the comment: New changeset bab4bbb4c9cd5d25ede21a1b8c99d56e3b8dae9d by Victor Stinner (Bo Bayles) in branch 'master': bpo-32146: Add documentation about frozen executables on Unix (GH-5850) https://github.com/python/cpython/commit/bab4bbb4c9cd5d25ede21a1b8c99d56e3b8dae9d

[issue32146] multiprocessing freeze_support needed outside win32

2019-01-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +11064 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32146] multiprocessing freeze_support needed outside win32

2019-01-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +11064, 11065 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35701] [uuid] 3.8 breaks weak references for UUIDs

2019-01-10 Thread Brett Cannon
Change by Brett Cannon : -- title: 3.8 needlessly breaks weak references for UUIDs -> [uuid] 3.8 breaks weak references for UUIDs ___ Python tracker ___

[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace

2019-01-10 Thread Senthil Kumaran
Change by Senthil Kumaran : -- pull_requests: +11067 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace

2019-01-10 Thread Senthil Kumaran
Change by Senthil Kumaran : -- versions: +Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32146] multiprocessing freeze_support needed outside win32

2019-01-10 Thread miss-islington
miss-islington added the comment: New changeset b9cd38f928f7eb4e18ad4b63e5c49c05c626c33e by Miss Islington (bot) in branch '3.7': bpo-32146: Add documentation about frozen executables on Unix (GH-5850) https://github.com/python/cpython/commit/b9cd38f928f7eb4e18ad4b63e5c49c05c626c33e

[issue35709] test_ssl fails on Fedora 29: test_min_max_version()

2019-01-10 Thread STINNER Victor
STINNER Victor added the comment: Oh right, it's a duplicate of bpo-35045. -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> test_min_max_version (test.test_ssl.ContextTests) fails on Fedora 29+ and openssl 1.1.1

[issue35698] Division by 2 in statistics.median

2019-01-10 Thread Jonathan Fine
Jonathan Fine added the comment: It might be better in my sample code to write isinstance(p, int) instead of type(p) == int This would fix Rémi's example. (I wanted to avoid thinking about (False // True).) For median([1, 1]), I am not claiming that 1.0 is wrong and 1 is right. I'm

[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace

2019-01-10 Thread Senthil Kumaran
Change by Senthil Kumaran : -- pull_requests: +11058 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

  1   2   >