[issue35587] Python 3.7.2 Embed - zipimport.ZipImportError (Cannot load python37.zip)

2018-12-25 Thread embed372
Change by embed372 : -- components: +Library (Lib) -Build ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue34897] distutils test errors when CXX is not set

2018-12-25 Thread Nick Coghlan
Nick Coghlan added the comment: New changeset 259c159fc1faab0dd631d20374842dc0d6a9f145 by Nick Coghlan (Michael Felt) in branch 'master': bpo-34897: avoid distutils test error when CXX is not set (GH-9706) https://github.com/python/cpython/commit/259c159fc1faab0dd631d20374842dc0d6a9f145 ---

[issue34711] Lib/http/server.py: Return HTTPStatus.NOT_FOUND if path.endswith(/) and not a directory

2018-12-25 Thread Nick Coghlan
Nick Coghlan added the comment: New changeset 2062a20641febad5eb9c18d74e1cfb4d7a6e53ed by Nick Coghlan (Michael Felt) in branch 'master': bpo-34711: Return HTTPStatus.NOT_FOUND if path.endswith('/') and not a directory (GH-9687) https://github.com/python/cpython/commit/2062a20641febad5eb9c18

[issue35587] Python 3.7.2 Embed - zipimport.ZipImportError (Cannot load python37.zip)

2018-12-25 Thread embed372
Change by embed372 : -- type: compile error -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue35587] Python 3.7.2 Embed - zipimport.ZipImportError (Cannot load python37.zip)

2018-12-25 Thread embed372
Change by embed372 : -- type: crash -> compile error ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue35587] Python 3.7.2 Embed - zipimport.ZipImportError (Cannot load python37.zip)

2018-12-25 Thread embed372
Change by embed372 : -- title: Python 3.7.2 Embed - zipimport.ZipImportError -> Python 3.7.2 Embed - zipimport.ZipImportError (Cannot load python37.zip) ___ Python tracker ___

[issue35587] Python 3.7.2 Embed - zipimport.ZipImportError

2018-12-25 Thread embed372
New submission from embed372 : [zip file] =--- python37.zip . # Uncomment to run site.main() automatically #import site Fatal Python error: initfsencoding: unable to load the fil

[issue34897] distutils test errors when CXX is not set

2018-12-25 Thread Michael Felt
Change by Michael Felt : -- pull_requests: +10576 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue34897] distutils test errors when CXX is not set

2018-12-25 Thread Michael Felt
Change by Michael Felt : -- pull_requests: +10576, 10577 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue35586] Open pyexpat compilation, Make shows error(missing separator)

2018-12-25 Thread kbengine
New submission from kbengine : Python3.7.2 My compilation steps: 1. Modify Modules/Setup.dist, open pyexpat pyexpat expat/xmlparse.c expat/xmlrole.c expat/xmltok.c pyexpat.c -I$(srcdir)/Modules/expat -DHAVE_EXPAT_CONFIG_H -DXML_POOR_ENTROPY=1 -DUSE_PYEXPAT_CAPI 2. ./configure 3. make Makefile:

[issue27643] test_ctypes fails on AIX with xlc

2018-12-25 Thread Nick Coghlan
Nick Coghlan added the comment: New changeset 22462da70c1ae015a60a7b821547bc6d2b5bc265 by Nick Coghlan (Michael Felt) in branch 'master': bpo-27643 - skip test_ctypes test case with XLC compiler. (GH-5164) https://github.com/python/cpython/commit/22462da70c1ae015a60a7b821547bc6d2b5bc265 ---

[issue11192] test_socket error on AIX

2018-12-25 Thread Nick Coghlan
Nick Coghlan added the comment: New changeset 5661459f5f508ea4bd24c13cbc861543f283147e by Nick Coghlan (Michael Felt) in branch 'master': bpo-11192: Skip unsupported cases in test_socket on AIX (GH-8954) https://github.com/python/cpython/commit/5661459f5f508ea4bd24c13cbc861543f283147e -

[issue24053] Define EXIT_SUCCESS and EXIT_FAILURE constants in sys

2018-12-25 Thread Emmanuel Arias
Emmanuel Arias added the comment: Hi Elliot! > It seems like a no-brainer to add these, they reduce magic number use and > improve the accessibility of Python to people coming from C. I would love to > add these if everyone is OK with it. Sound great. But IMO I think that this can be solved

[issue35228] Index search in CHM help crashes viewer

2018-12-25 Thread Ma Lin
Ma Lin added the comment: I solved this thoroughly: Format disk C: and install a clean Windows 10. Don't forget to backup important files in C:\Users\\ folder. -- ___ Python tracker

[issue29886] links between binascii.{un,}hexlify / bytes.{,to}hex

2018-12-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +10573, 10574 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue29886] links between binascii.{un,}hexlify / bytes.{,to}hex

2018-12-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +10573, 10574, 10575 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue29886] links between binascii.{un,}hexlify / bytes.{,to}hex

2018-12-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +10573 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue29886] links between binascii.{un,}hexlify / bytes.{,to}hex

2018-12-25 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +10570, 10571 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29886] links between binascii.{un,}hexlify / bytes.{,to}hex

2018-12-25 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +10570 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue29886] links between binascii.{un,}hexlify / bytes.{,to}hex

2018-12-25 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +10570, 10571, 10572 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue35585] Speedup Enum lookup

2018-12-25 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: -> ethan.furman nosy: +ethan.furman ___ Python tracker ___ ___ Python-bugs-list mailing

[issue35585] Speedup Enum lookup

2018-12-25 Thread Andrew Svetlov
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +10568 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-

[issue35585] Speedup Enum lookup

2018-12-25 Thread Andrew Svetlov
Change by Andrew Svetlov : -- keywords: +patch, patch pull_requests: +10568, 10569 stage: -> patch review ___ Python tracker ___ __

[issue35585] Speedup Enum lookup

2018-12-25 Thread Andrew Svetlov
New submission from Andrew Svetlov : Construction enums by-value (e.g. http.HTTPStatus(200)) performs two dict lookups: if value in cls._value2member_map_: return cls._value2member_map_[value] Changing the code to just return cls._value2member_map_[value] with catching KeyErro

[issue35565] Add detail to an assertion failure message in wsgiref

2018-12-25 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue35565] Add detail to an assertion failure message in wsgiref

2018-12-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset b6af23ebf9d6667fa222e804f045735289b4527f by Raymond Hettinger in branch 'master': Revert "bpo-35565: Add detail to assertion failure message in wsgiref" (GH-11317) https://github.com/python/cpython/commit/b6af23ebf9d6667fa222e804f045735289b4

[issue35565] Add detail to an assertion failure message in wsgiref

2018-12-25 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +10565 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue35565] Add detail to an assertion failure message in wsgiref

2018-12-25 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +10565, 10566, 10567 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue35565] Add detail to an assertion failure message in wsgiref

2018-12-25 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +10565, 10566 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35565] Add detail to an assertion failure message in wsgiref

2018-12-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 5ef4fc241aea6759ef3f55b1ef564aebc492a0db by Raymond Hettinger (Cheryl Sabella) in branch 'master': bpo-35565: Add detail to assertion failure message in wsgiref (GH-11293) https://github.com/python/cpython/commit/5ef4fc241aea6759ef3f55b1ef564

[issue35584] Wrong statement about ^ in howto/regex.rst

2018-12-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: The caret has several meanings: * Generally, it is a beginning of string: r'^bol' * When MULTILINE is on, it is a beginning of line: r'^bos' * Escaped with a backslash, it is just a caret: r'a\^b' * Immediately after a left bracket, it inverts a characte

[issue35584] Wrong statement about ^ in howto/regex.rst

2018-12-25 Thread Julien Palard
New submission from Julien Palard : In howto/regex.rst I read: > '^' outside a character class will simply match the '^' character. Which looks wrong, '^' is the "begin anchor", it's a metacharacter that typically won't match '^'. I propose to simply remove the statement, if nobody finds a b

[issue35579] Typo in in asyncio-task documentation

2018-12-25 Thread Julien Palard
Julien Palard added the comment: Looks like you can (no one objected to it). -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue35579] Typo in in asyncio-task documentation

2018-12-25 Thread Andrew Svetlov
Andrew Svetlov added the comment: Sure! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue34055] IDLE Shell: check syntax before smart indent

2018-12-25 Thread Cheryl Sabella
Cheryl Sabella added the comment: This code in editor.py controls the text that is parsed for smart indenting: if not self.context_use_ps1: for context in self.num_context_lines: startat = max(lno - context, 1) startatindex = r

[issue35485] Mac: tkinter windows turn black while resized

2018-12-25 Thread Ned Deily
Ned Deily added the comment: It depends what version of Tcl/Tk is used and on what version of macOS the Tk is built on. I believe there were problems with versions of Tk bout on 10.14 Mojave that have been fixed perhaps in the latest version of Tk. Kevin May know more. It’s not a problem for

[issue35485] Mac: tkinter windows turn black while resized

2018-12-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: https://stackoverflow.com/questions/53923262/pyenv-installed-version-opening-idle-in-black-screen reports that with 3.6.7 in a venv running on Mac Mohave (with 3.7.2 installed), IDLE opens with a black screen. Is there another report like this? --

[issue35583] (glibc2.28/MIPS32EL) python 3.7.x interpreter segmentation fault (3.6.x/2.7.x compile fine)

2018-12-25 Thread Gagan
Change by Gagan : -- title: python 3.7.x interpreter segmentation fault (3.6.x/2.7.x compile fine) -> (glibc2.28/MIPS32EL) python 3.7.x interpreter segmentation fault (3.6.x/2.7.x compile fine) ___ Python tracker

[issue35583] python 3.7.x interpreter segmentation fault (3.6.x/2.7.x compile fine)

2018-12-25 Thread Gagan
New submission from Gagan : Hello everyone. I am currently trying to compile Python 3.7.x on a MIPS(el, little endian; 32 bit) platform, and I am having issues producing a functioning interpreter to continue the compilation. I have no issue compiling either 2.7.x or 3.6.x versions on this ma

[issue32070] Clarify the behavior of the staticmethod builtin

2018-12-25 Thread Andrés Delfino
Andrés Delfino added the comment: Also see #34085 that deals with the same issue in functions.rst. -- nosy: +adelfino ___ Python tracker ___ ___

[issue35579] Typo in in asyncio-task documentation

2018-12-25 Thread Vaibhav Gupta
Vaibhav Gupta added the comment: I am totally new to the community here and would like to start with a easy issue. Can i make a PR for this? -- nosy: +Vaibhav Gupta ___ Python tracker __

[issue23867] Argument Clinic: inline parsing code for 1-argument functions

2018-12-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See issue35582 for next step. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue35582] Argument Clinic: inline parsing code for functions with only positional parameters

2018-12-25 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch, patch, patch pull_requests: +10562, 10563, 10564 stage: -> patch review ___ Python tracker ___ __

[issue35582] Argument Clinic: inline parsing code for functions with only positional parameters

2018-12-25 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch, patch pull_requests: +10562, 10563 stage: -> patch review ___ Python tracker ___

[issue35582] Argument Clinic: inline parsing code for functions with only positional parameters

2018-12-25 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +10562 stage: -> patch review ___ Python tracker ___ ___ Python-bug

[issue35582] Argument Clinic: inline parsing code for functions with only positional parameters

2018-12-25 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : This is a continuation of issue23867. The proposed PR makes Argument Clinic inlining parsing code for functions with only positional parameters, i.e. functions that use PyArg_ParseTuple() and _PyArg_ParseStack() now. This saves time for parsing format st

[issue34823] libffi detection doesn’t work in my setup

2018-12-25 Thread Daniel Fetchinson
Daniel Fetchinson added the comment: It seems there is a way to fix this: https://mail.python.org/pipermail/python-list/2018-December/738568.html LDFLAGS=`pkg-config --libs-only-L libffi` ./configure Would be nice to document this or make the build system find the libraries and headers in a

[issue35581] Document @typing.type_check_only

2018-12-25 Thread Sebastian Rittau
Change by Sebastian Rittau : -- keywords: +patch, patch pull_requests: +10559, 10560 stage: -> patch review ___ Python tracker ___

[issue35581] Document @typing.type_check_only

2018-12-25 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +gvanrossum, levkivskyi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue35581] Document @typing.type_check_only

2018-12-25 Thread Sebastian Rittau
Change by Sebastian Rittau : -- keywords: +patch, patch, patch pull_requests: +10559, 10560, 10561 stage: -> patch review ___ Python tracker ___ __

[issue35581] Document @typing.type_check_only

2018-12-25 Thread Sebastian Rittau
Change by Sebastian Rittau : -- keywords: +patch pull_requests: +10559 stage: -> patch review ___ Python tracker ___ ___ Python-bug

[issue35581] Document @typing.type_check_only

2018-12-25 Thread Sebastian Rittau
New submission from Sebastian Rittau : Document @typing.type_check_only per https://github.com/python/typing/issues/597. -- assignee: docs@python components: Documentation messages: 332508 nosy: docs@python, srittau priority: normal severity: normal status: open title: Document @typing

[issue23867] Argument Clinic: inline parsing code for 1-argument functions

2018-12-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 32d96a2b5bc3136d45a66adbdb45fac351b520ce by Serhiy Storchaka in branch 'master': bpo-23867: Argument Clinic: inline parsing code for a single positional parameter. (GH-9689) https://github.com/python/cpython/commit/32d96a2b5bc3136d45a66adbdb4

[issue35578] Add test for Argument Clinic converters

2018-12-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 74d914ecd595536531ded9ba5203e653f0d80e1e by Serhiy Storchaka in branch '3.7': [3.7] bpo-35578: Add an example file for testing Argument Clinic converters. (GH-11306) (GH-11311) https://github.com/python/cpython/commit/74d914ecd595536531ded9ba

[issue20180] Derby #11: Convert 50 sites to Argument Clinic across 9 files

2018-12-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 65ce60aef150776f884715b4315a10a0d6ae769e by Serhiy Storchaka in branch 'master': bpo-20180: Simplify char_converter in Argument Clinic. (GH-9828) https://github.com/python/cpython/commit/65ce60aef150776f884715b4315a10a0d6ae769e -- _

[issue35578] Add test for Argument Clinic converters

2018-12-25 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +10556, 10557, 10558 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue35578] Add test for Argument Clinic converters

2018-12-25 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +10556 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue35578] Add test for Argument Clinic converters

2018-12-25 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +10556, 10557 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35578] Add test for Argument Clinic converters

2018-12-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 837c7dc1ede18748e1a7a8e77ed117c03a086a94 by Serhiy Storchaka in branch 'master': bpo-35578: Add an example file for testing Argument Clinic converters. (GH-11306) https://github.com/python/cpython/commit/837c7dc1ede18748e1a7a8e77ed117c03a086a