[issue33216] [3.5] Wrong order of stack for CALL_FUNCTION_VAR and CALL_FUNCTION_VAR_KW

2018-05-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Sorry. I have attracted your attention, and this was the only purpose of this mark. You are aware of this issue now, and the further fate of it is up to you. -- ___ Python tracker

[issue33216] [3.5] Wrong order of stack for CALL_FUNCTION_VAR and CALL_FUNCTION_VAR_KW

2018-05-24 Thread Larry Hastings
Larry Hastings added the comment: Marking an issue as "Release Blocker" is completely inappropriate for "I'd like to see this documentation change get into the next bugfix release." Our Python Dev Guide discusses priority, here:

[issue31453] Debian Sid/Buster: Cannot enable TLS 1.0/1.1 with PROTOCOL_TLS

2018-05-24 Thread Ned Deily
Ned Deily added the comment: Christian, ping again: can this be closed? In any case, it would not seem to be a "deferred blocker"; downgrading to "critical". Please close or update, thanks! -- priority: deferred blocker -> critical

[issue33618] Support TLS 1.3

2018-05-24 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2.7 is okay, too. The next release isn't for a while, so it'll have time to bake. -- ___ Python tracker

[issue32694] Can no longer specify OpenSSL locations with CPPFLAGS / LDFLAGS ?

2018-05-24 Thread Ned Deily
Ned Deily added the comment: At the PyCon US sprints, we looked into this and updated the Developer's Guide with suggestions for how to configure a build on macOS with either Homebrew or MacPorts for either 3.7+ or earlier. It is not an ideal solution so I want to keep this

[issue31368] Add os.preadv() and os.pwritev()

2018-05-24 Thread Ned Deily
Ned Deily added the comment: As far as I can tell, this issue is still open only because of the original desire to expand the original documentation. YoSTEALTH produced PR 5447 based on Victor's original doc update PR. In the meantime, the current 3.7 docs have been

[issue33611] Fatal Python error: Py_Initialize: unable to load the file system codec

2018-05-24 Thread INADA Naoki
INADA Naoki added the comment: I feel your message is just a complaint, not issue report. You didn't report any concrete information about your environment. (e.g. How did you install Python, which bash do you use, `env` output, `which python` output, etc...) Your

Re: Usenet Gateway

2018-05-24 Thread Gregory Ewing
Ned Batchelder wrote: On 5/23/18 12:03 PM, Gene Heskett wrote: Brain damaged by facebook, AOL, M$, Google, yahoo yadda yadda into thinking that webmail and forums are the only game in town? Please avoid accusing others of being brain damaged, even if it was meant in a humorous context. :(

[issue33627] test-complex of test_numeric_tower.test_complex() crashes intermittently on Ubuntu buildbots

2018-05-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: Those two builders are using Ubuntu 14.04 specifically (with different CPU architectures). I couldn't reproduce on my 16.04 machine. Perhaps something odd on 14.04? Do we have builds with Adress Sanatizer or Undefined Behavior Sanitizer?

[issue33605] Detect accessing event loop from a different thread outside of _debug

2018-05-24 Thread Hrvoje Nikšić
Hrvoje Nikšić added the comment: I would definitely not propose or condone sacrificing performance. Part of the reason why I suggested the check is that it can be done efficiently - it is literally a comparison of two integers, both of which are obtained trivially. I would

[issue33631] [ValueError] _strptime.py can't handle 12-hr format strings using '0' instead of '12' for noon and midnight

2018-05-24 Thread Ammar Askar
Ammar Askar added the comment: 0 is excluded because it is not a valid hour in the 12 hour clock. 0:39pm is not a valid time on a 12 hour clock. After 11am you reach 12pm, then 1pm. See the table on the right here: https://en.wikipedia.org/wiki/12-hour_clock Your data

[issue31106] os.posix_fallocate() generate exception with errno 0

2018-05-24 Thread Ned Deily
Ned Deily added the comment: Considering we have already shipped this fix in 3.6.5, I guess we can live without a NEWS entry at this point -> closing this issue. -- priority: deferred blocker -> stage: patch review -> resolved status: open -> closed

[issue33631] [ValueError] _strptime.py can't handle 12-hr format strings using '0' instead of '12' for noon and midnight

2018-05-24 Thread CatPaw Freed
New submission from CatPaw Freed : I have to process some data which date was specified in 12-hour format, eg. 9/24/2017 0:39:41 PM. I call datetime.datetime.strptime with "%m/%d/%Y %I:%M:%S %p" format. However, it throws me an error [File "C:\Python27\lib\_strptime.py",

[issue33622] Fix errors handling in the garbage collector

2018-05-24 Thread Antoine Pitrou
Change by Antoine Pitrou : -- priority: normal -> low ___ Python tracker ___ ___

[issue33619] libffi detection via pkg-config is broken

2018-05-24 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 03c0d2e1f272c7c6df5f6066a6abc222ff61073a by Benjamin Peterson (Chih-Hsuan Yen) in branch 'master': closes bpo-33619: Fix libffi detection by regenerating ./configure (GH-7075)

[issue33621] repr(threading._DummyThread) always fails.

2018-05-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: Can you post the actual exception you are getting? Here I have: >>> import threading >>> repr(threading._DummyThread()) '<_DummyThread(Dummy-1, started daemon 140345620215552)>' -- nosy: +pitrou

Re: how to get INDEX count, or last number of Index

2018-05-24 Thread bartc
On 24/05/2018 03:37, Terry Reedy wrote: On 5/23/2018 8:46 PM, bartc wrote: On 24/05/2018 00:44, Terry Reedy wrote: On 5/23/2018 5:56 PM, Rob Gaddi wrote: On 05/23/2018 02:51 PM, asa32s...@gmail.com wrote: s = "kitti" 0,1,2,3,4 k,i,t,t,i how do i retrieve '4'. i know i can do a len(s)-1,

[issue33609] Document that dicts preserve insertion order

2018-05-24 Thread INADA Naoki
Change by INADA Naoki : -- keywords: +patch pull_requests: +6729 stage: needs patch -> patch review ___ Python tracker ___

[issue33462] reversible dict

2018-05-24 Thread INADA Naoki
INADA Naoki added the comment: I'm not sure it's worth enough for adding more builtin classes. Adding builtin class means Python interpreter core makes more fat, slow to start, and hard to maintain. -- ___ Python tracker

[issue33462] reversible dict

2018-05-24 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: This change does add built-in types but I think it's a reasonable expectation as a python user to be able to do reversed(dict(a=1, b=20) since the order is know defined in the specifications. It seems inconsistent to have an order on

[issue33631] [ValueError] _strptime.py can't handle 12-hr format strings using '0' instead of '12' for noon and midnight

2018-05-24 Thread CatPaw Freed
CatPaw Freed added the comment: Thanks for answering my question and giving me a solution. This issue has been dawned on me that these convention are quite strange. I feel confused when thinking of 12:00am/pm vs 0:00am/pm. (@_@) (^~^) --

[issue33632] undefined behaviour: signed integer overflow in threadmodule.c

2018-05-24 Thread Antoine Pitrou
New submission from Antoine Pitrou : Modules/_threadmodule.c:52:47: runtime error: signed integer overflow: 2387971499048 + 92233720360 cannot be represented in type 'long' -- components: Library (Lib) messages: 317545 nosy: pitrou priority: normal severity:

[issue33462] reversible dict

2018-05-24 Thread INADA Naoki
INADA Naoki added the comment: > I think it's a reasonable expectation as a python user to be able to do > reversed(dict(a=1, b=20) since the order is know defined in the > specifications. I agree about "reasonable expectation". But I'm interested in is it really

[issue33621] repr(threading._DummyThread) always fails.

2018-05-24 Thread Fabio Zadrozny
Fabio Zadrozny added the comment: Actually, I tried on a more recent version of Python 3.6 (3.6.5) and it doesn't happen there (so, just happens in 3.6.0 -- i.e.: in the old conda env I had around). Sorry for the noise. Closing issue as it's already fixed.

[issue33462] reversible dict

2018-05-24 Thread INADA Naoki
INADA Naoki added the comment: > Rémi Lapeyre added the comment: > >> I think it's a reasonable expectation as a python user to be able to do reversed(dict(a=1, b=20) since the order is know defined in the specifications. > > I agree about

Some Issues on Tagging Text

2018-05-24 Thread subhabangalore
I have a text as, "Hawaii volcano generates toxic gas plume called laze PAHOA: The eruption of Kilauea volcano in Hawaii sparked new safety warnings about toxic gas on the Big Island's southern coastline after lava began flowing into the ocean and setting off a chemical reaction. Lava haze is

[issue33633] smtplib msg['To] = appends instead of assigning

2018-05-24 Thread Xavier Bonaventura
New submission from Xavier Bonaventura : The behavior when you assign an email to 'To' is counter intuitive. When you do: msg['To'] = 'f...@mail.com' this appends the email instead of really assigning it. This is because the assignment operator is overwritten.

[issue33462] reversible dict

2018-05-24 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: >> I think it's a reasonable expectation as a python user to be able to do >> reversed(dict(a=1, b=20) since the order is know defined in the >> specifications. > I agree about "reasonable expectation". But I'm interested in is it

[issue33621] repr(threading._DummyThread) always fails.

2018-05-24 Thread Fabio Zadrozny
Fabio Zadrozny added the comment: Python 3.6.0 |Continuum Analytics, Inc.| (default, Dec 23 2016, 11:57:41) [MSC v.1900 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import threading >>>

[issue33632] undefined behaviour: signed integer overflow in threadmodule.c

2018-05-24 Thread Martin Panter
Martin Panter added the comment: Looks like this is what my thread.patch was fixing in . You’re welcome to use my patch, but I won’t have time to work on it myself. -- nosy: +martin.panter

[issue33632] undefined behaviour: signed integer overflow in threadmodule.c

2018-05-24 Thread STINNER Victor
STINNER Victor added the comment: > Modules/_threadmodule.c:52:47: runtime error: signed integer overflow: > 2387971499048 + 92233720360 cannot be represented in type 'long' How do you reproduce the issue? The thread module should limit the maximum timeout to

[issue33622] Fix errors handling in the garbage collector

2018-05-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +6730 ___ Python tracker ___

[issue33622] Fix errors handling in the garbage collector

2018-05-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 301e3cc8a5bc68c5347ab6ac6f83428000d31ab2 by Serhiy Storchaka in branch 'master': bpo-33622: Fix issues with handling errors in the GC. (GH-7078)

[issue33530] Implement Happy Eyeball in asyncio

2018-05-24 Thread twisteroid ambassador
Change by twisteroid ambassador : -- keywords: +patch pull_requests: +6733 stage: -> patch review ___ Python tracker

[issue33611] Fatal Python error: Py_Initialize: unable to load the file system codec

2018-05-24 Thread STINNER Victor
STINNER Victor added the comment: Slava doesn't seem to want to provide any useful information to debug his event, whereas Naoki asked multiple times gently. I also dislike Slava's tone in answers, trolling Python 3 doesn't help to fix your issue... There are millions of

[issue32493] UUID Module - FreeBSD build failure

2018-05-24 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- stage: needs patch -> patch review ___ Python tracker ___

[issue33635] OSError when using pathlib.Path.rglob() to list device files

2018-05-24 Thread Victor Domingos
New submission from Victor Domingos : This method fails with an error when it finds a character or block device (like those found in /dev on macOS). However, in the same machine, with the same Python version, the alternative os.walk() performs basically the same

Re: Usenet Gateway

2018-05-24 Thread Steven D'Aprano
On Thu, 24 May 2018 05:44:26 -0600, Michael Torrie wrote: > I agree web forums really suck for any kind of multi-user conversation. Oh good. Because the Python core-devs are talking about moving to Github's web interface instead of email. Because Github is the future :-)

[issue28547] Python to use Windows Certificate Store

2018-05-24 Thread Jean-Philippe Landry
Change by Jean-Philippe Landry : -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker

[issue33622] Fix errors handling in the garbage collector

2018-05-24 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +6732 ___ Python tracker ___ ___

[issue33633] smtplib msg['To] = appends instead of assigning

2018-05-24 Thread Xavier Bonaventura
Xavier Bonaventura added the comment: I've seen that in the documentation is quite clear with it. The question would be if the print should behave different, it is quite difficult to debug if not. __setitem__(name, val) Add a header to the message with field name

[issue33636] Unexpected behavior with * and arrays

2018-05-24 Thread nathan rogers
New submission from nathan rogers : https://repl.it/repls/ColorfulFlusteredPercent Here you can see the unexpected behavior I was speaking of. This behavior is NOT useful compared to the expected behavior. If I reference position 0 in the array, I expect position 0

[issue33630] test_posix: TestPosixSpawn fails on PPC64 Fedora 3.x

2018-05-24 Thread twisteroid ambassador
Change by twisteroid ambassador : -- keywords: +patch pull_requests: +6734 stage: -> patch review ___ Python tracker

[issue32493] UUID Module - FreeBSD build failure

2018-05-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Is AIX big-endian? On *BSD systems uuid_t is a structure of integers with platform-depending endianess. Thus on little-endian platform UUID should be called with the bytes_le argument. This doesn't fix test on OpenBSD and

[issue32947] Support OpenSSL 1.1.1

2018-05-24 Thread Christian Heimes
Christian Heimes added the comment: 3.7 and 3.8 support OpenSSL 1.1.1-pre7-dev. For 3.6 and 2.7 I have to backport some test fixes and documentation. I prefer to wait until both TLS 1.3 and OpenSSL 1.1.1 have been finalized. Once 1.1.1 is out, I'll fix the outstanding

[issue32493] UUID Module - FreeBSD build failure

2018-05-24 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +6735 stage: needs patch -> patch review ___ Python tracker

[issue33636] Unexpected behavior with * and arrays

2018-05-24 Thread nathan rogers
nathan rogers added the comment: Can anyone give me a legitimate answer as to why this would be expected behavior? When at any point would you ever need that? If the list is local, you already have the thing. If it isn't local, you can pass it to a function by

Salabim version 2.2.22 released

2018-05-24 Thread Ruud van der Ham
We have released version 2.2.22 of salabim. Salabim is a discrete event simulation package that supports the process description methods, queues, monitors, statistical distributions, resources and powerful animation. See www.salabim.org for details. --

[issue33622] Fix errors handling in the garbage collector

2018-05-24 Thread miss-islington
miss-islington added the comment: New changeset 2fe940c727802ad54cff9486c658bc38743f7bfc by Miss Islington (bot) in branch '3.7': bpo-33622: Fix issues with handling errors in the GC. (GH-7078)

Re: Usenet Gateway

2018-05-24 Thread Chris Green
Michael Torrie wrote: > Comparing to IMAP and Thunderbird: > > On 05/23/2018 04:39 PM, Chris Green wrote: > > Well from other comments here it seems I'm not alone but anyway:- > > > > Proper threading etc. is built in > > check. > > > > > It's automatically

[issue33635] OSError when using pathlib.Path.rglob() to list device files

2018-05-24 Thread Victor Domingos
Change by Victor Domingos : -- components: +IO, macOS nosy: +ned.deily, ronaldoussoren ___ Python tracker ___

Re: Usenet Gateway

2018-05-24 Thread Grant Edwards
On 2018-05-24, Michael Torrie wrote: > On 05/23/2018 12:03 PM, Grant Edwards wrote: >> But IMO email pales in comparison to NNTP when there are more than a >> few messages per day per group. > > This is not my experience at all. I used to use Usenet back in the day, > but for

[issue33636] Unexpected behavior with * and arrays

2018-05-24 Thread nathan rogers
nathan rogers added the comment: [[], [], [], [], []] How is it expected behavior in python, that when I update position 0, it decides to update positions 1-infinity as well? That is nonsense, and there is not a use case for this behavior. If you have already

[issue33622] Fix errors handling in the garbage collector

2018-05-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset f0e04b2ae27a4da940a76ae522f0438f80ce5d5a by Serhiy Storchaka in branch '3.6': [3.6] bpo-33622: Fix issues with handling errors in the GC. (GH-7078) (GH-7095)

[issue31453] Debian Sid/Buster: Cannot enable TLS 1.0/1.1 with PROTOCOL_TLS

2018-05-24 Thread Christian Heimes
Christian Heimes added the comment: The problem no longer affects Python 3.7 and 3.8. It may affects Python 3.6 and 2.7 if Debian to decide to disable TLS 1.0 and 1.1 again. If Debian uses the new OpenSSL 1.1.0 API to disable the protocols, then I have to backport

[issue33611] Fatal Python error: Py_Initialize: unable to load the file system codec

2018-05-24 Thread STINNER Victor
STINNER Victor added the comment: msg317525, s (sm): "Guys, (...)" In the future please use gender-neutral words such as "folks" and "y'all" instead of "guys". Thanks. -- ___ Python tracker

[issue33625] Release GIL for grp.getgr{nam, gid} and pwd.getpw{nam, uid}

2018-05-24 Thread William Grzybowski
William Grzybowski added the comment: I have updated the PR to used the re-entrant versions. Let me know what you guys think. Thanks! -- title: Disable GIL on getpwnam and getpwuid -> Release GIL for grp.getgr{nam,gid} and pwd.getpw{nam,uid}

Re: Usenet Gateway

2018-05-24 Thread Chris Green
José María Mateos wrote: > On Thu, May 24, 2018, at 09:10, Chris Green wrote: > > > Yes I can mark an entire thread as "read" in IMAP. > > > > > A *thread* yes, but not a whole list. I.e. if you read this using > > mail/IMAP you can mark a thread read but you can't mark

[issue33611] Fatal Python error: Py_Initialize: unable to load the file system codec

2018-05-24 Thread s
s added the comment: :) sure. if you want to close it - it's up to you. if you however, want to fix it, please tell me what information do you need me to provide. I don't think my tone was bad/offensive. ...and it's still a bug, regardless of my tone or anything else. and

[issue33611] Fatal Python error: Py_Initialize: unable to load the file system codec

2018-05-24 Thread Ned Deily
Ned Deily added the comment: > PYTHONPATH=/usr/local/lib/python2.7/site-packages That looks pretty suspicious right there. It's pulling in 2.7 modules. Normally you should never need to set PYTHONPATH in a shell initialization script, like .profile, rarely elsewhere.

Scripts not downloading Version 3.6.5

2018-05-24 Thread Chester Davies via Python-list
Hi! Yesterday I downloaded the latest version of Python, after some fiddling around with some command line, getting Python to open files etc, it wasn't able to find various pillows, so after a while, I decided to call it a night. I went to finish it off today, and discovered my computer had

[issue33355] Windows 10 buildbot: 15 min timeout on test_mmap.test_large_filesize()

2018-05-24 Thread Ned Deily
Ned Deily added the comment: The Windows7 buildbot now runs the test suite with the "largefile" resource disabled and no longer timed out on test_mmap. So that immediate problem is now resolved. Before closing the issue, it would be good to discuss whether we should do the

[issue33396] IDLE: Improve and document help doc viewer

2018-05-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Point 1 is #33397. -- ___ Python tracker ___ ___

[issue33633] smtplib msg['To] = appends instead of assigning

2018-05-24 Thread R. David Murray
R. David Murray added the comment: smtplib doesn't define any behavior for messages. I presume you are talking about the email library? Vis the print behavior, dict-style lookup is defined to return the first matching header. If you want to see all of them, you can

[issue33636] Unexpected behavior with * and arrays

2018-05-24 Thread Mark Dickinson
Mark Dickinson added the comment: @nanthil: If you want to discuss the reasons behind this design decision further, I'd suggest asking on one of the mailing lists, e.g. https://mail.python.org/mailman/listinfo/python-list This is not the right forum for this discussion.

[issue33637] pip cannot build extensions for debug Python

2018-05-24 Thread Ivan Pozdeev
New submission from Ivan Pozdeev : (the output is for 2.7 head; for master, it's the same save for paths, library versions and DeprecationWarning's) >python.bat -m ensurepip Running Debug|x64 interpreter... Looking in links: c:\users\sasha\appdata\local\temp\tmpiysoby

Scripts not downloading Version 3.6.5

2018-05-24 Thread Chester Davies via Python-list
Hi! Yesterday I downloaded the latest version of Python, after some fiddling around with some command line, getting Python to open files etc, it wasn't able to find various pillows, so after a while, I decided to call it a night. I went to finish it off today, and discovered my computer had

[issue32493] UUID Module - FreeBSD build failure

2018-05-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: PR 7099 is an alternate solution. I uses uuid_enc_be() which is not part of the DCE 1.1 RPC specification but exists on all *BSD. Both solutions gives the same result on *BSD and AIX. I have no idea what solution is

[issue33610] IDLE: Make multiple improvements to CodeContext

2018-05-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: With #33628 merged, I consider the next priorities to be 5. #22703 (overt bug, highest), 7, and 8, to make the feature more usable. 10. is a vague speculative feature that would use get_indent_firstword but would actually be for the editor.

[issue33610] IDLE: Make multiple improvements to CodeContext

2018-05-24 Thread Cheryl Sabella
Cheryl Sabella added the comment: I've started looking at #22703, more specifically, I've been trying to recreate it. Since the config changes in 3.6/3.7 where the flag was removed from config dialog, the code context needs to be turned on explicitly for each

[issue33623] Fix possible SIGSGV when asyncio.Future is created in __del__

2018-05-24 Thread Yury Selivanov
Yury Selivanov added the comment: > Then we should find what callable is NULL and fix the place where it is > called. _PyObject_FastCallDict() should never be called with NULL. My understanding is that the interpreter is being shutdown and half of the objects are freed.

[issue33638] condition lock not re-acquired

2018-05-24 Thread christof
New submission from christof : Hello, I have a simple code which triggers a timeout if a task did not complete import asyncio async def task_timeout(): condition = asyncio.Condition() with await condition: try: await

[issue33638] condition lock not re-acquired

2018-05-24 Thread christof
christof added the comment: In my previous comment, what I want to implement is not a timeout for a task to complete but more precisely a timeout triggered if the coroutine was not wake up by a notify on the condition. -- ___

[issue33614] Compilation of Python fails on AMD64 Windows8.1 Refleaks 3.x

2018-05-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think the underlying issue is not fixed still. Adding new symbols in python3.def will break this buildbot (as well as users worktrees) again. -- ___ Python tracker

[issue33614] Compilation of Python fails on AMD64 Windows8.1 Refleaks 3.x

2018-05-24 Thread Ned Deily
Ned Deily added the comment: Sorry, I *did* close the issue prematurely; thanks for noticing! -- ___ Python tracker ___

List replication operator

2018-05-24 Thread Steven D'Aprano
Python has a sequence replication operator: py> [1, 2]*3 [1, 2, 1, 2, 1, 2] Unfortunately, it is prone to a common "gotcha": py> x = [[]]*5 # make a multi-dimensional list py> x [[], [], [], [], []] py> x[0].append(1) py> x [[1], [1], [1], [1], [1]] The reason for this behaviour is that *

Re: List replication operator

2018-05-24 Thread Rob Gaddi
On 05/24/2018 11:17 AM, Steven D'Aprano wrote: Python has a sequence replication operator: py> [1, 2]*3 [1, 2, 1, 2, 1, 2] Unfortunately, it is prone to a common "gotcha": py> x = [[]]*5 # make a multi-dimensional list py> x [[], [], [], [], []] py> x[0].append(1) py> x [[1], [1], [1], [1],

[issue30773] async generator receives wrong value when shared between coroutines

2018-05-24 Thread Yury Selivanov
Yury Selivanov added the comment: Thanks Jan. Thanks a lot for a short script to reproduce this bug. The actual problem here is that asynchronous generators don't control their 'asend' and 'athrow' coroutines in any way. So if you have two of them iterating *in

[issue33629] test_importlib creates a coredump on AMD64 FreeBSD 10.x Shared 3.7

2018-05-24 Thread Brett Cannon
Change by Brett Cannon : -- nosy: +ncoghlan, petr.viktorin ___ Python tracker ___ ___

[issue33174] error building the _sha3 module with Intel 2018 compilers

2018-05-24 Thread William Scullin
William Scullin added the comment: Hi Kenneth: I can recreate this issue on Haswell, Skylake-X, and KNL running SLES 12, Clear Linux, and Centos 7.5. I've tried 18.1 and 18.2. It's still present across the board with Intel C/C++ 18.0.2.199. On the Centos 7.5.1804 image,

[issue33614] Compilation of Python fails on AMD64 Windows8.1 Refleaks 3.x

2018-05-24 Thread Steve Dower
Steve Dower added the comment: Considering we didn't change anything in the sources, I wouldn't expect it to be fixed. It doesn't have to block 3.7 if Ned's okay with it, but I'd like to keep this open and fix the build scripts. -- resolution: fixed ->

[issue33355] Windows 10 buildbot: 15 min timeout on test_mmap.test_large_filesize()

2018-05-24 Thread David Bolen
David Bolen added the comment: For my buildbots, I suspect win8/win10 should be ok at this point. Among any other changes their local disk appears to be an SSD now, which makes a big difference. I observed steady 250-300MB/s write I/O for the duration of the mmap test,

[issue30773] async generator receives wrong value when shared between coroutines

2018-05-24 Thread Yury Selivanov
Yury Selivanov added the comment: Thanks, I'll look into adding ag_running properly. -- ___ Python tracker ___

[issue33636] Unexpected behavior with * and arrays

2018-05-24 Thread Steven D'Aprano
Steven D'Aprano added the comment: Nathan, the bug tracker is not the place to debate Python behaviour. For the purposes of the bug tracker, all we need say is that it is documented behaviour and not a bug. If you want to change that behaviour, there is a process

[issue33637] pip cannot build extensions for debug Python

2018-05-24 Thread Ivan Pozdeev
Ivan Pozdeev added the comment: >one will see all the variables and call hierarchy and be able to step through the code. With optimizations, the current line jumps unpredictably, and some lines can't be visited because they're optimized away. --

[issue30773] async generator receives wrong value when shared between coroutines

2018-05-24 Thread Yury Selivanov
Change by Yury Selivanov : -- assignee: -> yselivanov components: +Interpreter Core -asyncio priority: normal -> high versions: +Python 3.8 ___ Python tracker

Re: List replication operator

2018-05-24 Thread Ned Batchelder
On 5/24/18 2:17 PM, Steven D'Aprano wrote: Python has a sequence replication operator: py> [1, 2]*3 [1, 2, 1, 2, 1, 2] Unfortunately, it is prone to a common "gotcha": py> x = [[]]*5 # make a multi-dimensional list py> x [[], [], [], [], []] py> x[0].append(1) py> x [[1], [1], [1], [1],

[issue22703] Idle Code Context: separate changing current and future editors

2018-05-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: [In #33610, msg317601, Cheryl Sabella wrote, copying here:] I've started looking at #22703, more specifically, I've been trying to recreate it. Since the config changes in 3.6/3.7 where the flag was removed from config dialog, the code

[issue32493] UUID Module - FreeBSD build failure

2018-05-24 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +6736 ___ Python tracker ___ ___

[issue33636] Unexpected behavior with * and arrays

2018-05-24 Thread R. David Murray
R. David Murray added the comment: I wrote up a response before Mark closed the issue, so despite his excellent no discussion suggestion I'm going to post it for the edification of anyone reading the issue later rather than waste the work :) Nathan: this is *long*

[issue33612] Assertion failure in PyThreadState_Clear

2018-05-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for fixing this Victor! -- ___ Python tracker ___

[issue30773] async generator receives wrong value when shared between coroutines

2018-05-24 Thread Nathaniel Smith
Nathaniel Smith added the comment: My thoughts: https://bugs.python.org/issue32526#msg309783 -- ___ Python tracker ___

Re: List replication operator

2018-05-24 Thread MRAB
On 2018-05-24 20:12, Ned Batchelder wrote: On 5/24/18 2:17 PM, Steven D'Aprano wrote: Python has a sequence replication operator: py> [1, 2]*3 [1, 2, 1, 2, 1, 2] Unfortunately, it is prone to a common "gotcha": py> x = [[]]*5 # make a multi-dimensional list py> x [[], [], [], [], []] py>

[issue33622] Fix errors handling in the garbage collector

2018-05-24 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +6731 ___ Python tracker ___ ___

[issue33634] Buildbot configuration issue on Windows7 buildbots

2018-05-24 Thread STINNER Victor
STINNER Victor added the comment: The configuration change is to fix bpo-33355. -- ___ Python tracker ___

[issue32706] test_check_hostname() of test_ftplib started to fail randomly

2018-05-24 Thread STINNER Victor
STINNER Victor added the comment: Oh. I forgot about this change. The test is still skipped :-( -- ___ Python tracker ___

[issue22703] Idle Code Context: separate changing current and future editors

2018-05-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: An experienced non-CS computer user I asked does not like 'toggle x' or 'switch x', but would like whichever of 'show x' and 'hide x' is appropriate (rather than both). For breakpoints, this would mean one menu entry, either 'set

[issue22703] Idle Code Context menu entrie(s)

2018-05-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Changing title since 'separation' has already been done. Adding a user configuration option is a separate issue. -- title: Idle Code Context: separate changing current and future editors -> Idle Code Context menu entrie(s)

[issue33610] IDLE: Make multiple improvements to CodeContext

2018-05-24 Thread Cheryl Sabella
Cheryl Sabella added the comment: For item 7 - #33642. -- dependencies: +IDLE: Use variable number of lines in CodeContext ___ Python tracker

cleaner version of variable, new line

2018-05-24 Thread asa32sd23
hi just seeing if there is a cleaner way to write this. s1= "kitti" s2= 'kitti' i= 3 print(s1+ "\n" + "="*i + "^" + "\n" +s2) > kitti ===^ kitti -- https://mail.python.org/mailman/listinfo/python-list

  1   2   3   >