[issue35983] tp_dealloc trashcan shouldn't be called for subclasses

2019-05-15 Thread Ned Deily
Change by Ned Deily : -- versions: -Python 2.7, Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36925] python3.7.3 can't work after MacOS upgrade from v10.14.4 to v10.14.5

2019-05-15 Thread wuwentao
wuwentao added the comment: 1.my python3 is /usr/local/bin/python3, it's a link to Python3.7.3 2. I have downloaded the Mac OS install pkg file from our website, get the same result 3. my env don'T set PYTHON env , just default value 4. also tried reinstall many times with brew ,got the same

[issue36015] streamhandler cannot represent streams with an integer as name

2019-05-15 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 78dd781ef4d41dfefad53aa3bc52c39b0d443b19 by Vinay Sajip (Miss Islington (bot)) in branch '3.7': bpo-36015: Handle StreamHandler representaton of stream with an integer name (GH-11908) (GH-13183)

[issue36929] Other Python _io implementations may not expose _io in their type names

2019-05-15 Thread Maxwell Bernstein
Maxwell Bernstein added the comment: I have the beginnings of a PR to patch the test suite to make the prefix optional, if anybody is interested. -- ___ Python tracker ___

[issue36921] Deprecate yield from and @coroutine in asyncio

2019-05-15 Thread Andrew Svetlov
Change by Andrew Svetlov : -- pull_requests: +13257 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34288] Declare sethostname in socketmodule.c for SOLARIS

2019-05-15 Thread John Harrison
John Harrison added the comment: On Solaris 10 i386 I successfully built _socket on 3.7.3 by patching *in* a Solaris test (by cloning the test for the INET_ADDRSTRLEN definition currently on line 268) rather than by patching away the _AIX ifdef $ diff -u ../socketmodule.c

[issue36799] Typo in ctypes documentation

2019-05-15 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: New changeset 4fd7f56ee78a07ebadf034affc2e36db14c85c00 by Stéphane Wirtel in branch '3.7': [3.7] bpo-36799: Fix typo in ctypes.rst (GH-13104) (GH-13341) https://github.com/python/cpython/commit/4fd7f56ee78a07ebadf034affc2e36db14c85c00 --

[issue36919] Exception from 'compile' reports a newline char not present in input

2019-05-15 Thread Brett Cannon
Brett Cannon added the comment: I don't think it's option C. As for whether A or B I don't know. Wouldn't hurt to ask on python-dev if no one comes forward with a more authoritative answer. -- ___ Python tracker

[issue33135] Define field prefixes for the various config structs

2019-05-15 Thread STINNER Victor
STINNER Victor added the comment: In the master branch, the C function config_read_cmdline() uses: * cmdline_warnoptions: -W command line arguments * env_warnoptions: PYTHONWARNINGS environment variable The config_init_warnoptions() uses these 2 list and combine it with other options,

[issue36917] ast.NodeVisitor no longer calls visit_Str

2019-05-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is not a new case. This is exactly the same problem which has already been fixed in multiple other projects. Could you show your real code Anthony? In all known opensource examples (astroid, pyflakes, genshi, chameleon, mako) the compatibility fix is

[issue34648] Confirm the types of parameters of traceback.format_list and traceback.StackSummary.from_list post-3.5

2019-05-15 Thread Aaron Hall
Change by Aaron Hall : -- nosy: +Aaron Hall ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36927] traceback docstrings should explicitly state return values instead of referring to other functions

2019-05-15 Thread Aaron Hall
New submission from Aaron Hall : I've written three (or more) answers on Stack Overflow about how to use the functions in the traceback module, and I code Python all day long. Embarrassing confession: I just recommended the wrong traceback function in email to fix the incorrect usage of

[issue36928] linkt threading.settrace to sys.settrace

2019-05-15 Thread Stefan Hölzl
New submission from Stefan Hölzl : The documentation of sys.settrace suggest to call it from every created thread to enable tracing within threads. I would suggest to add a link to threading.settrace which automatically sets a trace function for every by threading module created thread. link

[issue36799] Typo in ctypes documentation

2019-05-15 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: New changeset 133fc89ca02b51b8d5b87556d94f1382c4ed72c1 by Stéphane Wirtel (Yavor Konstantinov) in branch 'master': bpo-36799: Fix typo in ctypes.rst (GH-13104) https://github.com/python/cpython/commit/133fc89ca02b51b8d5b87556d94f1382c4ed72c1 --

[issue36926] Implement methoddescr_call without _PyMethodDef_RawFastCallDict

2019-05-15 Thread Jeroen Demeyer
Change by Jeroen Demeyer : -- keywords: +patch pull_requests: +13254 stage: -> patch review ___ Python tracker ___ ___

[issue36928] linkt threading.settrace to sys.settrace

2019-05-15 Thread SilentGhost
SilentGhost added the comment: Would you care to submit a PR implementing this fix? There are some guidelines available at https://devguide.python.org/pullrequest/ -- nosy: +SilentGhost stage: -> needs patch type: -> behavior versions: +Python 3.7 -Python 3.9

[issue36929] Other Python _io implementations may not expose _io in their type names

2019-05-15 Thread Maxwell Bernstein
Change by Maxwell Bernstein : -- keywords: +patch pull_requests: +13258 stage: -> patch review ___ Python tracker ___ ___

[issue36799] Typo in ctypes documentation

2019-05-15 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- pull_requests: +13253 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36926] Implement methoddescr_call without _PyMethodDef_RawFastCallDict

2019-05-15 Thread Jeroen Demeyer
New submission from Jeroen Demeyer : Once PEP 590 is implemented, it makes sense to focus on using the new "vectorcall" calling convention, which is essentially what is currently FastCallKeywords. To simplify things, it would also be good to use FastCallDict in as few places as possible and

[issue36928] linkt threading.settrace to sys.settrace

2019-05-15 Thread Stefan Hölzl
Change by Stefan Hölzl : -- keywords: +patch pull_requests: +13255 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue36015] streamhandler cannot represent streams with an integer as name

2019-05-15 Thread Vinay Sajip
Change by Vinay Sajip : -- resolution: not a bug -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue27987] obmalloc's 8-byte alignment causes undefined behavior

2019-05-15 Thread STINNER Victor
STINNER Victor added the comment: New changeset f24a9f3bf42709fb97b954b6dd6f90853967712e by Victor Stinner in branch '2.7': bpo-27987: pymalloc: align by 16bytes on 64bit platform (GH-12850) (GH-13319) https://github.com/python/cpython/commit/f24a9f3bf42709fb97b954b6dd6f90853967712e

[issue36799] Typo in ctypes documentation

2019-05-15 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: If I have no news from miss-islington about the backport of this PR, I will do it manually. -- ___ Python tracker ___

[issue36927] traceback docstrings should explicitly state return values instead of referring to other functions

2019-05-15 Thread SilentGhost
SilentGhost added the comment: The doc strings were never updated in #17911. Would you like to submit a PR for these changes? (guidelines are available at https://devguide.python.org/pullrequest/) Perhaps, you could include similar changes in Doc/library/traceback.rst ? -- nosy:

[issue36929] Other Python _io implementations may not expose _io in their type names

2019-05-15 Thread Maxwell Bernstein
Change by Maxwell Bernstein : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8400] zipimporter find_module fullname mis-documented

2019-05-15 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This still exists after zipimport rewrite in Python with 3.8 . Is this a documentation issue or an enhancement to be made as noted in msg109467 ? -- nosy: +serhiy.storchaka, xtreak versions: +Python 3.7, Python 3.8 -Python 3.4, Python 3.5,

[issue36929] Other Python _io implementations may not expose _io in their type names

2019-05-15 Thread Maxwell Bernstein
New submission from Maxwell Bernstein : For a vanishingly small number of internal types, CPython sets the tp_name slot to mod_name.type_name, either in the PyTypeObject or the PyType_Spec. There are a few minor places where this surfaces: * Custom repr functions for those types (some of which

[issue36917] ast.NodeVisitor no longer calls visit_Str

2019-05-15 Thread Matthias Bussonnier
Matthias Bussonnier added the comment: > so my vote is to revert, keep the complexity in the compiler and out of user > code Playing Devil advocate here, but the complexity depends on what transformations user want to do; with the current state of 3.8, a user that wants to visit all

[issue36917] ast.NodeVisitor no longer calls visit_Str

2019-05-15 Thread Anthony Sottile
Anthony Sottile added the comment: The simplest case is just the addition of an `isinstance` check: https://github.com/asottile/dead/blob/85f5edbb84b5e118beab4be3346a630e41418a02/dead.py#L165-L170 class V(ast.NodeVisitor): def visit_Str(self, node): ... def

[issue36920] inspect.getcallargs sees optional arg to builtin as required

2019-05-15 Thread Brett Cannon
Brett Cannon added the comment: Also note that inspect.getcallargs() has been deprecated since Python 3.5: https://docs.python.org/3/library/inspect.html#inspect.getcallargs. Since the function is deprecated I'm closing as "won't fix". -- nosy: +brett.cannon resolution: -> wont fix

[issue36906] Compile time textwrap.dedent() equivalent for str or bytes literals

2019-05-15 Thread Gregory P. Smith
Gregory P. Smith added the comment: Thanks, it's actually good to see this being a feature accepted in other languages. -- priority: low -> normal ___ Python tracker ___

[issue36786] "make install" should run compileall in parallel

2019-05-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset 1a2dd82f56bd813aacc570e172cefe55a8a41504 by Antoine Pitrou in branch 'master': bpo-36786: Run compileall in parallel during "make install" (GH-13078) https://github.com/python/cpython/commit/1a2dd82f56bd813aacc570e172cefe55a8a41504 --

[issue34509] Starting to use gcc-8 on CI

2019-05-15 Thread Zachary Ware
Zachary Ware added the comment: We do now have at least one builder using GCC 8 (ware-gentoo-x86) and one using GCC 9 (cstratak-fedora), so I'm closing the issue. Thanks for bringing this up, and sorry it fell through the cracks for a while! -- resolution: -> fixed stage: patch

[issue36930] Windows proxy settings automatically used ... partly

2019-05-15 Thread Immo Wetzel
New submission from Immo Wetzel : I do run python 2.7/3.7 on a windows 7 host. This host is AD managed. As part of the group policy the internet settings are set to automatically proxy configuration. The configuration works. cos IE and Chrome can reach external and internal hosts. Some of the

[issue35926] Need openssl 1.1.1 support on Windows for ARM and ARM64

2019-05-15 Thread Steve Dower
Steve Dower added the comment: New changeset fb7e7505ed1337bf40fa7b8b68317d1e86675a86 by Steve Dower (Paul Monson) in branch 'master': bpo-35926: Add support for OpenSSL 1.1.1b on Windows (GH-11779) https://github.com/python/cpython/commit/fb7e7505ed1337bf40fa7b8b68317d1e86675a86

[issue32947] Support OpenSSL 1.1.1

2019-05-15 Thread Benjamin Peterson
Benjamin Peterson added the comment: Was using OpenSSL to verify hostnames intentionally not backported? -- ___ Python tracker ___

[issue26707] plistlib fails to parse bplist with 0x80 UID values

2019-05-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset c981ad16b0f9740bd3381c96b4227a1faa1a88d9 by Serhiy Storchaka (Jon Janzen) in branch 'master': bpo-26707: Enable plistlib to read UID keys. (GH-12153) https://github.com/python/cpython/commit/c981ad16b0f9740bd3381c96b4227a1faa1a88d9

[issue34616] implement "Async exec"

2019-05-15 Thread Yury Selivanov
Yury Selivanov added the comment: I'll be working on CPython on Friday. Will take a look at your PR first thing. -- ___ Python tracker ___

[issue33123] Path.unlink should have a missing_ok parameter

2019-05-15 Thread miss-islington
miss-islington added the comment: New changeset d9e006bcefe6fac859b1b5d741725b9a91991044 by Miss Islington (bot) (‮zlohhcuB treboR) in branch 'master': bpo-33123: pathlib: Add missing_ok parameter to Path.unlink (GH-6191)

[issue33123] Path.unlink should have a missing_ok parameter

2019-05-15 Thread Antoine Pitrou
Change by Antoine Pitrou : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue36511] Add Windows ARM32 buildbot

2019-05-15 Thread miss-islington
miss-islington added the comment: New changeset 4f820723c86c94f857d8d8de47a3c28f985946bd by Miss Islington (bot) (Paul Monson) in branch 'master': bpo-36511: Windows arm32 buildbot changes (remove extra space) (GH-13351)

[issue36932] asyncio-task.rst could use proper deprecated-removed directive

2019-05-15 Thread Matthias Bussonnier
Change by Matthias Bussonnier : -- keywords: +patch pull_requests: +13260 stage: -> patch review ___ Python tracker ___ ___

[issue36932] asyncio-task.rst could use proper deprecated-removed directive

2019-05-15 Thread Matthias Bussonnier
Change by Matthias Bussonnier : -- assignee: -> docs@python components: +Documentation nosy: +docs@python versions: +Python 3.8 ___ Python tracker ___

[issue36917] ast.NodeVisitor no longer calls visit_Str

2019-05-15 Thread Anthony Sottile
Anthony Sottile added the comment: > You can not use the same implementation of the visitor for Num, Str, > NameConstant and Ellipsis, because all these classes use different attribute > for saving the value ah yes, this is true -- maybe the better change would be to just add `@property

[issue34616] implement "Async exec"

2019-05-15 Thread Matthias Bussonnier
Matthias Bussonnier added the comment: > I'll be working on CPython on Friday. Will take a look at your PR first thing. Thanks, let me know if the is anything I can do for you in exchange; also thanks again for sitting with me and stepping me through the things at PyCon. --

[issue36931] json lib doesnt want to load from file

2019-05-15 Thread Justin Rose
New submission from Justin Rose : when I run the included file i get an error that looks like: Traceback (most recent call last): File "/home/justin/Desktop/pkmn/main.py", line 10, in expansion = json.load(expan_list) File "/usr/lib/python3.6/json/__init__.py", line 296, in load

[issue36932] asyncio-task.rst could use proper deprecated-removed directive

2019-05-15 Thread Matthias Bussonnier
New submission from Matthias Bussonnier : SOme place in the documentation do not use the Deprected-remove directive (which is nice as it has a consistent pharing and is easy to search for), and deprecation warnings do not always have the version since deprecation which could be improved.

[issue36511] Add Windows ARM32 buildbot

2019-05-15 Thread Steve Dower
Steve Dower added the comment: New changeset 67ff6a103a1184b572750c30e231968c963e72f8 by Steve Dower (Paul Monson) in branch 'master': bpo-36511: Windows ARM32 buildbot changes (GH-12917) https://github.com/python/cpython/commit/67ff6a103a1184b572750c30e231968c963e72f8 --

[issue36933] sys.set_coroutine_wrapper documented as to be removed in 3.8 (still there)

2019-05-15 Thread Matthias Bussonnier
New submission from Matthias Bussonnier : See issue32591 It was deprecated in 3.7, so maybe removed only in 3.9? -- components: Interpreter Core messages: 342615 nosy: mbussonn priority: normal severity: normal status: open title: sys.set_coroutine_wrapper documented as to be removed

[issue34616] implement "Async exec"

2019-05-15 Thread Matthias Bussonnier
Matthias Bussonnier added the comment: I see the 3.8 feature freeze seem to be end of next-week; do you think that async-exec (gh-13148) has a chance of getting in ? I'm happy to do modification to the PR but would need some more reviews. I'm happy to take some other tasks of your plate is

[issue36917] ast.NodeVisitor no longer calls visit_Str

2019-05-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: You can not use the same implementation of the visitor for Num, Str, NameConstant and Ellipsis, because all these classes use different attribute for saving the value (Ellipsis does not have it at all). For the same reasons you can not just pass the

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

2019-05-15 Thread Michael Blahay
Michael Blahay added the comment: PR 13203 is still waiting for merge -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue26707] plistlib fails to parse bplist with 0x80 UID values

2019-05-15 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue36511] Add Windows ARM32 buildbot

2019-05-15 Thread Steve Dower
Steve Dower added the comment: Going to leave this in commit review for a bit, in case hitting merge suddenly flushes out some reviews :) -- stage: patch review -> commit review ___ Python tracker

[issue36511] Add Windows ARM32 buildbot

2019-05-15 Thread Paul Monson
Change by Paul Monson : -- pull_requests: +13262 stage: commit review -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue36931] json lib doesnt want to load from file

2019-05-15 Thread Zachary Ware
Zachary Ware added the comment: You're passing in a filename, not a file-like object (see https://docs.python.org/3/library/json.html#json.load). Instead, you'll want something like: with open(filename) as f: json_data = json.load(f) Please note that this is not a help forum; in

[issue36934] C API Function PyLong_AsDouble Returning Wrong Value

2019-05-15 Thread Farhan Sajjad
Farhan Sajjad added the comment: Thanks for your input Tim. Here is what I understand: 1. In Python 3, int can be arbitrarily large. 2. C double data type can hold very large numbers, and the number tested here is quite small compared to the max. It even fits fine in a long long int. 3. Quite

[issue31171] multiprocessing.BoundedSemaphore of 32-bit python could not work while cross compiling on linux platform

2019-05-15 Thread Hongxu Jia
Change by Hongxu Jia : -- pull_requests: +13264 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36934] C API Function PyLong_AsDouble Returning Wrong Value

2019-05-15 Thread Farhan Sajjad
New submission from Farhan Sajjad : Found this rather obscure behavior where certain 64 bit numbers are changing (probably losing precision somewhere down the call chain) if converted from PyLong to double using the PyLong_AsDouble C API function. TO REPRODUCE: #define __SIZEOF_STRS__ 512

[issue36934] C API Function PyLong_AsDouble Returning Wrong Value

2019-05-15 Thread Tim Peters
Tim Peters added the comment: Note that this pure Python gives the same result: >>> "%.0f" % float(1639873214337061279) '1639873214337061376' That's not surprising: int -> float conversion is limited to the precision of a Python float, which is a C double, which is almost certainly just 53

[issue36934] C API Function PyLong_AsDouble Returning Wrong Value

2019-05-15 Thread Tim Peters
Tim Peters added the comment: It sounds like you need to read an introduction (any!) to computer floating-point formats. The relevant part in the output you showed is this: mant_dig=53 As on almost other current machines, your platform's floating point format is restricted to 53 bits of

[issue18911] minidom does not encode correctly when calling Document.writexml

2019-05-15 Thread Windson Yang
Windson Yang added the comment: I added a PR for like this: .. note:: You should specify the "xmlcharrefreplace" error handler when open a file with specified encoding:: writer = open( filename, "w", encoding="utf-8",

[issue18911] minidom does not encode correctly when calling Document.writexml

2019-05-15 Thread Windson Yang
Change by Windson Yang : -- keywords: +patch pull_requests: +13263 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue36935] bpo-35813 introduced usage of the deprecated PyErr_SetFromWindowsErrWithUnicodeFilename() function

2019-05-15 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +13265 stage: -> patch review ___ Python tracker ___ ___

[issue32947] Support OpenSSL 1.1.1

2019-05-15 Thread Christian Heimes
Christian Heimes added the comment: Yes, the feature requires OpenSSL 1.0.2 and a more recent version of LibreSSL. 2.7 and 3.6 branches still target platforms with ancient versions of OpenSSL (e.g. Ubuntu 14.04 has 1.0.1f + patches). People were complain A LOT, because there were not able

[issue2818] pulldom cannot handle xml file with large external entity properly

2019-05-15 Thread Cheryl Sabella
Change by Cheryl Sabella : -- nosy: +scoder versions: +Python 3.8 -Python 3.2, Python 3.3, Python 3.4 ___ Python tracker ___ ___

[issue36829] Add sys.unraisablehook() to custom how "unraisable exceptions" are logged

2019-05-15 Thread STINNER Victor
STINNER Victor added the comment: I started a thread on python-dev to discuss the issue: https://mail.python.org/pipermail/python-dev/2019-May/157436.html -- ___ Python tracker

[issue36925] python3.7.3 can't work after MacOS upgrade from v10.14.4 to v10.14.5

2019-05-15 Thread wuwentao
wuwentao added the comment: Hi we may found the root cause from the McAfee log file, as we have too many computer have the same result in our company, it may caused by McAfee AntiVirus software auto upgrade to new version and new policy , all of our McAfee AntiVirus have ATP feature

[issue36935] bpo-35813 introduced usage of the deprecated PyErr_SetFromWindowsErrWithUnicodeFilename() function

2019-05-15 Thread Zackery Spytz
New submission from Zackery Spytz : In e895de3e7f3cc2f7213b87621cfe9812ea4343f0 / bpo-35813, the deprecated function PyErr_SetFromWindowsErrWithUnicodeFilename() was added in two functions in Modules/_winapi.c. This function was deprecated in 3.3 (and all occurrences of it were removed).

[issue36564] Infinite loop with short maximum line lengths in EmailPolicy

2019-05-15 Thread Paul Ganssle
Change by Paul Ganssle : -- nosy: +maxking, msapiro ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36934] C API Function PyLong_AsDouble Returning Wrong Value

2019-05-15 Thread Farhan Sajjad
Farhan Sajjad added the comment: Maybe I need to go back and understand why this loss of precision is taking place for the int->float conversion, and why for certain numbers. Also, it does not work in Python 2. Please disregard the previous message. -- resolution: -> not a bug

[issue36920] inspect.getcallargs sees optional arg to builtin as required

2019-05-15 Thread SilentGhost
Change by SilentGhost : -- nosy: +yselivanov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26122] Isolated mode doesn't ignore PYTHONHASHSEED

2019-05-15 Thread Christian Heimes
Christian Heimes added the comment: Is there a way to fix the issue in 3.7 and earlier? We might consider it a security issue. -- ___ Python tracker ___

[issue36923] Implemented __str__ for zip and map objects

2019-05-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It will fail for infinite and very large iterables. It can cause performing unexpected operations. Examples: zip(itertools.count(), itertools.repeat(None)) zip(file1, file2) In general, the repr of the iterator should not change it state. But

[issue36923] Implemented __str__ for zip and map objects

2019-05-15 Thread SilentGhost
SilentGhost added the comment: This would exhaust the object, seems like a rather unfortunate side effect. I don't think this suggestion has any chance of being accepted, do feel free to take it to python-ideas to demonstrate that benefits outweigh the downsides. -- nosy:

[issue36919] Exception from 'compile' reports a newline char not present in input

2019-05-15 Thread SilentGhost
SilentGhost added the comment: I don't think a roundtrip is guaranteed by the parser, only producing an equivalent input. -- nosy: +SilentGhost, benjamin.peterson, brett.cannon, yselivanov title: Exception form 'compile' reports a newline char not present in input -> Exception from

[issue36921] Deprecate yield from and @coroutine in asyncio

2019-05-15 Thread Andrew Svetlov
Change by Andrew Svetlov : -- components: asyncio nosy: asvetlov, yselivanov priority: normal severity: normal status: open title: Deprecate yield from and @coroutine in asyncio versions: Python 3.8 ___ Python tracker

[issue36922] Implement Py_TPFLAGS_METHOD_DESCRIPTOR

2019-05-15 Thread Jeroen Demeyer
New submission from Jeroen Demeyer : The new flag Py_TPFLAGS_METHOD_DESCRIPTOR proposed in PEP 590 is meant for classes whose instances behave like unbound methods. In other words, it's meant for objects supporting the LOAD_METHOD optimization. There are two such classes in CPython: function

[issue36345] Doc: make serve uses http.server instead of Tools/scripts/server.py

2019-05-15 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- title: Deprecate Tools/scripts/serve.py in favour of python -m http.server -d -> Doc: make serve uses http.server instead of Tools/scripts/server.py ___ Python tracker

[issue36920] inspect.getcallargs sees optional arg to builtin as required

2019-05-15 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This not reproducible on master and seems to fixed as part of PEP 570 related changes. Bisecting gives me d5d2b4546939b98244708e5bb0cfccd55b99d244 . Before d5d2b4546939b98244708e5bb0cfccd55b99d244 it produces an internal index error. I can

[issue36916] Swallow unhandled exception report introduced by 36802

2019-05-15 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue36921] Deprecate yield from and @coroutine in asyncio

2019-05-15 Thread Andrew Svetlov
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +13246 stage: -> patch review ___ Python tracker ___ ___

[issue1875] "if 0: return" not raising SyntaxError

2019-05-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The drawback of compiling the dead code is adding cells for unneeded constants and local variables. Also it can create less optimal code for jumps. -- ___ Python tracker

[issue36923] Implemented __str__ for zip and map objects

2019-05-15 Thread Augustin PROLONGEAU
New submission from Augustin PROLONGEAU : I think this would help development a lot. Below an example of how i would see the function written for zip: def __str__(self): return str((*self,)) # And for __repr__ function def __repr__(self): return f'zip{str(self)}' -- messages:

[issue1875] "if 0: return" not raising SyntaxError

2019-05-15 Thread Armin Rigo
Change by Armin Rigo : -- nosy: -arigo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1875] "if 0: return" not raising SyntaxError

2019-05-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: >The drawback of compiling the dead code is adding cells for unneeded constants >and local variables. Also it can create less optimal code for jumps. Is unlikely that this situation arises often enough that this is a concern. We would be sacrificing

[issue27987] obmalloc's 8-byte alignment causes undefined behavior

2019-05-15 Thread Inada Naoki
Change by Inada Naoki : -- pull_requests: +13247 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27987] obmalloc's 8-byte alignment causes undefined behavior

2019-05-15 Thread Inada Naoki
Change by Inada Naoki : -- pull_requests: +13248 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36826] ast_unparser.c doesn't handle := expressions

2019-05-15 Thread Batuhan
Batuhan added the comment: I have patch, i'm going to submit it. -- nosy: +BTaskaya ___ Python tracker ___ ___ Python-bugs-list

[issue36319] Erro 0xC0000374 on windows 10

2019-05-15 Thread Bernd Meiners
Bernd Meiners added the comment: Microsoft Windows [Version 10.0.17763.437] (c) 2018 Microsoft Corporation. Alle Rechte vorbehalten. C:\Users\bmx>python Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or

[issue36917] ast.NodeVisitor no longer calls visit_Str

2019-05-15 Thread Anthony Sottile
Anthony Sottile added the comment: spent some more time thinking about this and I think we should strongly consider reverting. simplification in the core interpreter should not be weighed lightly against complexity and breaking changes for users. the change is also unfortunate because it

[issue36925] python3.7.3 can't work after MacOS upgrade from v10.14.4 to v10.14.5

2019-05-15 Thread Ned Deily
Ned Deily added the comment: Thanks for the report but I am unable to reproduce the behavior you describe on another v10.14.5 system using any of the current python.org 3.7.3 macOS python binary, a built-from-source 3.7.3+, or a MacPorts 3.7.3 with either libedit or GNU readline. First, I

[issue36925] python3.7.3 can't work after MacOS upgrade from v10.14.4 to v10.14.5

2019-05-15 Thread wuwentao
New submission from wuwentao : Hi My python3.7.3 works well in MacOS v10.14.4 yesterday, today I have upgrade my MacOS to v10.14.5, after upgrade,I just found python3 and pip3 can't works, all the command will be run as a background program, but not foreground program. but MacOS builtin

[issue36930] Windows proxy settings automatically used ... partly

2019-05-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: As far as I can see, this issue has nothing to do with IDLE as such. Someone else should decide if this is a bug report or an enhancement request. -- assignee: terry.reedy -> components: -IDLE stage: -> test needed versions: +Python 3.8 -Python

[issue36930] Windows proxy settings automatically used ... partly

2019-05-15 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: -terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35926] Need openssl 1.1.1 support on Windows for ARM and ARM64

2019-05-15 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +13261 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36922] Implement Py_TPFLAGS_METHOD_DESCRIPTOR

2019-05-15 Thread Jeroen Demeyer
Change by Jeroen Demeyer : -- keywords: +patch pull_requests: +13250 stage: -> patch review ___ Python tracker ___ ___

[issue33135] Define field prefixes for the various config structs

2019-05-15 Thread Batuhan
Batuhan added the comment: +1 from me. But i dont understand why this issue triaged as "needs patch". Isn't it should be discussed first? -- nosy: +BTaskaya ___ Python tracker

[issue36567] DOC: manpage directive doesn't create hyperlink

2019-05-15 Thread Batuhan
Change by Batuhan : -- keywords: +patch pull_requests: +13251 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue36567] DOC: manpage directive doesn't create hyperlink

2019-05-15 Thread Batuhan
Batuhan added the comment: *ups propsal = pr -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

  1   2   >