[issue12202] Check status returns in msilib.SummaryInformation.GetProperty()

2017-11-18 Thread Berker Peksag
Change by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker ___ ___

[issue12382] [msilib] Obscure exception message when trying to open a non-existent MSI database

2017-11-18 Thread Berker Peksag
Change by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker ___ ___

[issue12239] msilib VT_EMPTY SummaryInformation properties raise an error (suggest returning None)

2017-11-18 Thread Berker Peksag
Change by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker ___ ___

[issue1104] msilib.SummaryInfo.GetProperty() truncates the string by one character

2017-11-18 Thread Berker Peksag
Change by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker ___ ___

[issue1102] Add support for _msi.Record.GetString() and _msi.Record.GetInteger()

2017-11-18 Thread Berker Peksag
Berker Peksag added the comment: I've opened PR 4459 to fix this. Here's a simple reproducer I adapted from the script uploaded by uday kiran in issue 32064. -- nosy: +berker.peksag, uday kiran versions: +Python 3.6, Python 3.7 -Python 3.4, Python 3.5

[issue32064] python msilib view.fetch is not returning none

2017-11-18 Thread Berker Peksag
Berker Peksag added the comment: Issue 1102 is still open so this bug is not fixed yet. I've just opened PR 4459 to fix it. -- nosy: +berker.peksag resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Add support for

[issue1102] Add support for _msi.Record.GetString() and _msi.Record.GetInteger()

2017-11-18 Thread Berker Peksag
Change by Berker Peksag : -- keywords: +patch pull_requests: +4396 ___ Python tracker ___

[issue31875] Error 0x80070642: Failed to install MSI package.

2017-11-18 Thread Nick Coghlan
Change by Nick Coghlan : -- keywords: +patch pull_requests: +4395 stage: -> patch review ___ Python tracker ___

[issue32022] Python crashes with mutually recursive code

2017-11-18 Thread Jesse Bakker
Jesse Bakker added the comment: On linux x86-64 with python 3.6.3 and python 3.7.0a2+ I get a RecursionError: maximum recursion depth exceeded. -- nosy: +Jesse Bakker ___ Python tracker

[issue32071] Add py.test-like "-k" test selection to unittest

2017-11-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: I think this would be a useful enhancement. Feel free to open a PR. I haven't looked at your implementation, but you'll also need to add tests for it. -- nosy: +ezio.melotti, michael.foord, pitrou, rbcollins stage: -> needs patch

[issue32073] Add copy_directory_metadata parameter to shutil.copytree

2017-11-18 Thread desbma
Change by desbma : -- keywords: +patch pull_requests: +4394 stage: -> patch review ___ Python tracker ___

[issue32072] Issues with binary plists

2017-11-18 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +4393 stage: -> patch review ___ Python tracker ___

[issue32073] Add copy_directory_metadata parameter to shutil.copytree

2017-11-18 Thread desbma
New submission from desbma : I am sometimes using shutil.copytree to copy a directory to a destination that does not support setting metadata (like MTP mounts of Android devices). Using the copy_function parameter allows passing shutil.copy or a custom function to ignore

[issue32072] Issues with binary plists

2017-11-18 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : plistlib creates a new objects when read references instead of using already read object. As result it doesn't preserve identity: >>> import plistlib >>> a = [['spam']]*2 >>> a[0] is a[1] True >>> b =

[issue32071] Add py.test-like "-k" test selection to unittest

2017-11-18 Thread Jonas H.
Jonas H. added the comment: Just to be clear, the current implementation is limited to substring matches. It doesn't support py.test like "and/or" combinators. (Actually, py.test uses 'eval' to support arbitrary patterns.) So say we have test case SomeClass test_foo

[issue32067] Deprecate accepting unrecognized braces in regular expressions

2017-11-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Since this will require changing regular expressions in several places in the stdlib I have chosen emitting PendingDeprecationWarning and long deprecation period. But I'm now not sure that this is a good idea. Non-escaped

[issue32071] Add py.test-like "-k" test selection to unittest

2017-11-18 Thread Jonas H.
New submission from Jonas H. : I'd like to add test selection based on parts of the test class/method name to unittest. Similar to py.test's "-k" option: https://docs.pytest.org/en/latest/example/markers.html#using-k-expr-to-select-tests-based-on-their-name Here's a proof of

[issue32067] Deprecate accepting unrecognized braces in regular expressions

2017-11-18 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +4392 stage: -> patch review ___ Python tracker ___

[issue32070] Clarify the behavior of the staticmethod builtin

2017-11-18 Thread Jesse SHapiro
New submission from Jesse SHapiro : It looks like the original staticmethod docstring might have been based on the classmethod docstring, and it seems like the current description might not be accurate. Current string: ...It can be called either on the class (e.g.

[issue32004] Allow specifying code packing order in audioop adpcm functions

2017-11-18 Thread MosesofEgypt
MosesofEgypt added the comment: Changed type to behavior as this is more of a bug fix than an enhancement. -- type: enhancement -> behavior ___ Python tracker

[issue32031] Do not use the canonical path in pydoc test_mixed_case_module_names_are_lower_cased

2017-11-18 Thread Xavier de Gaye
Change by Xavier de Gaye : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue32031] Do not use the canonical path in pydoc test_mixed_case_module_names_are_lower_cased

2017-11-18 Thread Xavier de Gaye
Xavier de Gaye added the comment: New changeset ebfaa71c2e8c018f72c179395dafaf06dcaf29e2 by xdegaye in branch 'master': bpo-32031: Fix pydoc `test_mixed_case_module_names_are_lower_cased` (GH-4441)

[issue32069] Drop loop._make_legacy_ssl_transport

2017-11-18 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.6 ___ Python tracker

[issue29185] test_distutils fails on Android API level 24

2017-11-18 Thread Xavier de Gaye
Change by Xavier de Gaye : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue29185] test_distutils fails on Android API level 24

2017-11-18 Thread Xavier de Gaye
Xavier de Gaye added the comment: New changeset d34d8fc24f23ccff5de03c9277da5acbbdc30e90 by xdegaye in branch 'master': bpo-29185: Fix `test_distutils` failures on Android (GH-4438) https://github.com/python/cpython/commit/d34d8fc24f23ccff5de03c9277da5acbbdc30e90

[issue29184] skip tests of test_socketserver when bind() raises PermissionError (non-root user on Android)

2017-11-18 Thread Xavier de Gaye
Change by Xavier de Gaye : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue29184] skip tests of test_socketserver when bind() raises PermissionError (non-root user on Android)

2017-11-18 Thread Xavier de Gaye
Xavier de Gaye added the comment: New changeset 9001d1f438e968f4d327313e0a95a49f22e724f4 by xdegaye in branch 'master': bpo-29184: Skip test_socketserver tests on PermissionError raised by Android (GH-4387)

[issue32059] detect_modules() in setup.py must also search the sysroot paths

2017-11-18 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: +brett.cannon, martin.panter, twouters ___ Python tracker ___

[issue32069] Drop loop._make_legacy_ssl_transport

2017-11-18 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +4390 ___ Python tracker ___

[issue32069] Drop loop._make_legacy_ssl_transport

2017-11-18 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 51d546ae4d563fde608e23c9c337fefd7e95c93f by Andrew Svetlov in branch 'master': bpo-32069: Drop legacy SSL transport (#4451) https://github.com/python/cpython/commit/51d546ae4d563fde608e23c9c337fefd7e95c93f --

[issue32059] detect_modules() in setup.py must also search the sysroot paths

2017-11-18 Thread Xavier de Gaye
Change by Xavier de Gaye : -- keywords: +patch pull_requests: +4389 stage: needs patch -> patch review ___ Python tracker ___

[issue1647489] zero-length match confuses re.finditer()

2017-11-18 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- components: +Library (Lib) nosy: +ezio.melotti type: -> behavior ___ Python tracker ___

[issue1647489] zero-length match confuses re.finditer()

2017-11-18 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- assignee: niemeyer -> serhiy.storchaka nosy: +serhiy.storchaka versions: +Python 3.6, Python 3.7 ___ Python tracker

[issue32069] Drop loop._make_legacy_ssl_transport

2017-11-18 Thread Andrew Svetlov
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +4388 stage: -> patch review ___ Python tracker ___

[issue32069] Drop loop._make_legacy_ssl_transport

2017-11-18 Thread Yury Selivanov
Yury Selivanov added the comment: +1 -- ___ Python tracker ___ ___ Python-bugs-list

[issue32069] Drop loop._make_legacy_ssl_transport

2017-11-18 Thread Andrew Svetlov
New submission from Andrew Svetlov : It uses `wrap_socket` and exists only for backward compatibility with Python without ssl.MemoryBIO, which is Python 3.4 Let's cut it out from Python 3.7 and 3.6 -- it's safe, pretty sure. -- components: Library (Lib),

[issue31943] Add asyncio.Handle.cancelled() method

2017-11-18 Thread Marat Sharafutdinov
Change by Marat Sharafutdinov : -- versions: +Python 3.7 -Python 3.6 ___ Python tracker ___

[issue32068] textpad from curses package isn't handling backspace key

2017-11-18 Thread Slava Bacherikov
New submission from Slava Bacherikov : textpad isn't handling backspace key on my system and seems on others too. When I press backspace key, terminal sends `ascii.DEL` (127) and it isn't handled by textpad. I've attached patch that fixes this, should I also create PR for

[issue31943] Add asyncio.Handle.cancelled() method

2017-11-18 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___

[issue31630] math.tan has poor accuracy near pi/2 on OpenBSD and NetBSD

2017-11-18 Thread Stefan Krah
Stefan Krah added the comment: I found an unused i386 box with OpenBSD and Linux (so no VM): A C program with tan(1.5707963267948961) is wrong on both systems. fdlibm (directly from netlib.org) is correct on both systems. Both OS versions are relatively old, so I cannot

[issue32067] Deprecate accepting unrecognized braces in regular expressions

2017-11-18 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- title: Deprecate accepting -> Deprecate accepting unrecognized braces in regular expressions ___ Python tracker

[issue32067] Deprecate accepting

2017-11-18 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Currently `{m}`, `{m,n}`, `{m,}` and `{,n}` where m and n are non-negative decimal numbers are accepted in regular expressions as quantifiers that mean repeating the previous RE from m (0 by default) to n (infinity by default)

[issue31630] math.tan has poor accuracy near pi/2 on OpenBSD and NetBSD

2017-11-18 Thread Stefan Krah
Stefan Krah added the comment: Tim has mentioned the high quality of fdlibm, and indeed I cannot reproduce the issue: wget -r http://www.netlib.org/fdlibm/ Then build libm with or without optimizations, with or without -m32, gcc or clang. Then compile a C program

[issue32050] Deprecated python3 -x option

2017-11-18 Thread STINNER Victor
STINNER Victor added the comment: Ok, I will update the doc instead of deprecating the option. -- ___ Python tracker ___

[issue32050] Deprecated python3 -x option

2017-11-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It seems to me that the best way is to add the following line at the start of the script: @path\to\python -x %0 %* & exit /b Or @py -3 -x %0 %* & exit /b -- ___ Python