[issue27643] test_ctypes fails on AIX with xlc

2016-07-28 Thread Martin Panter
Martin Panter added the comment: The test seems to be comparing ctypes and native C bit-field structures, c_int and c_short versus native int and short. In general in C, if a bit-field has type “int” without a signed or unsigned qualifier, it is up to the implementation which mode is chosen.

[issue26462] Patch to enhance literal block language declaration

2016-07-28 Thread Martin Panter
Martin Panter added the comment: Okay, leaving this open for a 2.7 patch. BTW thanks for your work; I tried to tackle these warnings a while ago, but I didn’t know enough about Sphix/RST/etc. The 2.7 change should be fairly easy; I can give it a crack if you’re not that interested in 2.7.

[issue26462] Patch to enhance literal block language declaration

2016-07-28 Thread Martin Panter
Changes by Martin Panter : -- versions: +Python 2.7 ___ Python tracker ___ ___

[issue26462] Patch to enhance literal block language declaration

2016-07-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8bac90be by Martin Panter in branch '3.5': Issue #26462: Doc: reduce literal_block warnings, fix syntax highlighting. https://hg.python.org/cpython/rev/8bac90be New changeset 6fbb7c9d77c6 by Martin Panter in branch 'default': Issue #26462:

[issue17596] mingw: add wincrypt.h in Python/random.c

2016-07-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 11ed7c49f5df by Martin Panter in branch 'default': Issue #17596: MINGW: add wincrypt.h in Python/random.c https://hg.python.org/cpython/rev/11ed7c49f5df -- nosy: +python-dev ___ Python tracker

[issue17599] mingw: detect REPARSE_DATA_BUFFER

2016-07-28 Thread Martin Panter
Martin Panter added the comment: Leading underscore is a good idea. I have no idea if VC14 includes the structure, but I suspect if it was added with this name, we would know because it would cause the same conflict that Min GW caused. -- Added file:

[issue27397] email.message.Message.get_payload(decode=True) raises AssertionError that "should never happen"

2016-07-28 Thread Jami Lindh
Jami Lindh added the comment: In my opinion, this is still a clear case of "invalid input, raise an error", but I don't think AssertionError is the right one. Maybe just don't catch the unexpected binascii.Error and let it fly towards the user? I might go even one step further and just let

[issue27647] Update Windows build to Tcl/Tk 8.6.6

2016-07-28 Thread Zachary Ware
Zachary Ware added the comment: There have also been a few updates to 8.5 since we last updated the version we ship with 2.7; has there been anything in 8.5.15-19 that we should pick up? -- versions: +Python 2.7 -Python 3.6 ___ Python tracker

[issue17596] mingw: add wincrypt.h in Python/random.c

2016-07-28 Thread Martin Panter
Martin Panter added the comment: For the record, the first error without this patch is ../Python/random.c:26:1: error: unknown type name 'HCRYPTPROV' According to , the header to use is , but we use

[issue27648] Message of webbrowser.py something wrong.

2016-07-28 Thread 김태환
New submission from 김태환: I'm using Python 3.5.1+ and Ubuntu 16.04. When I open new tab to Chrome using 'webbrowser.open()'. Some message prints next to shell prompt like below. ``` asd 저장소가 생성되었습니다... 첫 위키 페이지를 만들기 위해 Save Page 버튼을 눌러주세요! ['asd'] (Shell prompt) $ 기존 브라우저 세션에 새 창을 생성했습니다. ```

[issue17600] mingw: build-in windows modules (winreg)

2016-07-28 Thread Martin Panter
Martin Panter added the comment: Here is a quick merge with the current code. First concern: The patch adds special support if KEY_WOW64_64KEY is not defined, claiming to be for _WIN32_WINNT < 0x502, however these days I think Python dropped support for Windows XP etc, so we can probably drop

[issue17599] mingw: detect REPARSE_DATA_BUFFER

2016-07-28 Thread Eryk Sun
Eryk Sun added the comment: REPARSE_DATA_BUFFER is defined in the WDK filesystem header, km\ntifs.h. It's not defined in the user-mode SDK. -- nosy: +eryksun ___ Python tracker

[issue22645] Unable to install Python 3.4.2 amd64 on Windows 8.1 Update 1

2016-07-28 Thread Berker Peksag
Berker Peksag added the comment: This was marked as 'fixed' almost two years ago. I tried to install 3.4.3, uninstall 3.4.3 and install 3.4.4 again in Win 10 and it worked fine for me. I guess this was left open accidentally. -- nosy: +berker.peksag status: open -> closed

[issue27397] email.message.Message.get_payload(decode=True) raises AssertionError that "should never happen"

2016-07-28 Thread R. David Murray
R. David Murray added the comment: It might be better to add a character: that will produce garbage as the last byte, but that could serve as an alert that something is wrong...and we don't know if the extra character is at the end or at the beginning of the base64 encoded string, or if, as

[issue27641] Do not build Programs/_freeze_importlib when cross-compiling

2016-07-28 Thread Martin Panter
Martin Panter added the comment: Here is another possible option. It is still a bit of a hack, because the configure script inserts comments into the makefile, but this is already done e.g. with @EXPORT_MACOSX_DEPLOYMENT_TARGET@. The advantage is we get to keep the filenames of the

[issue9998] ctypes find_library should search LD_LIBRARY_PATH on Linux

2016-07-28 Thread Vinay Sajip
Vinay Sajip added the comment: I have updated the patch to apply against 3.6, and changed it to be more conservative: it only uses ld and LD_LIBRARY_PATH when trying to find a library if the existing gcc-based method fails. Seeing that this issue has been around for so long, I would really

[issue9998] ctypes find_library should search LD_LIBRARY_PATH on Linux

2016-07-28 Thread Vinay Sajip
Changes by Vinay Sajip : -- hgrepos: -130 ___ Python tracker ___ ___

[issue27646] yield from expression can be any iterable

2016-07-28 Thread Terry J. Reedy
New submission from Terry J. Reedy: https://docs.python.org/3/reference/expressions.html#yield-expressions says "When yield from is used, it treats the supplied expression as a subiterator. All values produced by that subiterator ...". To me "treats..expression as a subiterator" means that

[issue27645] Supporting native backup facility of SQLite

2016-07-28 Thread Lele Gaifax
Changes by Lele Gaifax : -- keywords: +patch Added file: http://bugs.python.org/file43928/issue27645.patch ___ Python tracker ___

[issue10910] pyport.h FreeBSD/Mac OS X "fix" causes errors in C++ compilation

2016-07-28 Thread Mihai Capotă
Changes by Mihai Capotă : -- nosy: +mihaic ___ Python tracker ___ ___ Python-bugs-list

[issue27645] Supporting native backup facility of SQLite

2016-07-28 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the patch! I haven't had a chance to review the patch yet, but we also need documentation updates to Doc/library/sqlite3.rst. -- nosy: +berker.peksag stage: -> patch review ___ Python tracker

[issue27639] UserList.__getitem__ doesn't account for slices

2016-07-28 Thread Anton Backer
Changes by Anton Backer : Removed file: http://bugs.python.org/file43924/581663cb2d4d.diff ___ Python tracker ___

[issue26852] add the '--enable-sourceless-distribution' option to configure

2016-07-28 Thread Xavier de Gaye
Xavier de Gaye added the comment: > About doko's note and your response: unless this patch does not install the > source (I haven't looked), the __pycache__ files *will* be rebuilt at > interpreter start, according to the text you quoted. Right, and since the source files are removed, the

<    1   2