[issue39966] mock 3.9 bug: Wrapped objects without __bool__ raise exception

2020-04-26 Thread Chris Withers
Chris Withers added the comment: I'd go with your instincts on what to do next, I'd have a slight preference to keeping behaviour the same as it was in 3.8 if the changes for 3.9 cause more problems. That leaves us no worse off than we were before, and with the opportunity to improve from th

[issue40272] ModuleNotFoundEror thrown by system python while accessing it specifically via venv python

2020-04-26 Thread Ned Deily
Ned Deily added the comment: Without more information, in particular, a reproducible test case, we can only speculate what might be going on. Suggest you try using some of the debugging tools Python includes, starting with invoking your virtualenv python with the -vv flag. As described here

[issue40404] Python quit unexpectedly

2020-04-26 Thread Ned Deily
Ned Deily added the comment: Thanks for the additional info but that still does not really narrow things down much. You don't say how you upgraded Python (from where, from what previous version) nor how you obtained NumPy or Juypter. If you didn't already, I would suggest trying to upgrade a

[issue40404] Python quit unexpectedly

2020-04-26 Thread Joseph
Joseph added the comment: Sorry I should've added more context. I recently re-installed python on my computer and started getting these errors. It's hard to pinpoint when I get the error exactly, but I find it happens when I shutdown a Jupyter notebook. I'm wondering if this may be alluded t

[issue40404] Python quit unexpectedly

2020-04-26 Thread Ned Deily
Ned Deily added the comment: I'm sorry you are seeing that crash but I'm afraid it is difficult to know exactly what is going here without more information. It appears you are using a Python 3.7.7 from Homebrew along with NumPy and other similar third-party packages from somewhere. The macOS

[issue15028] PySys_SetArgv escapes quotes in argv[]

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: Lacking a response from the OP, I'm closing the issue. -- nosy: +zach.ware resolution: -> not a bug stage: -> resolved status: languishing -> closed ___ Python tracker _

[issue7101] tarfile: OSError with TarFile.add(..., recursive=True) about non-existing file

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: I agree with Sandro; this should be handled at application level. -- nosy: +zach.ware resolution: -> not a bug stage: -> resolved status: languishing -> closed ___ Python tracker

[issue22866] ssl module in 2.7 should provide a way to configure default context options

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: With 2.7 now EOL, I'm closing the issue. -- nosy: +zach.ware resolution: -> out of date stage: needs patch -> resolved status: pending -> closed ___ Python tracker __

[issue15426] On a x86_64 Linux workstation, the build-from-source is borked.

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: This appears to have likely been addressed by bpo-1294959 and/or other issues over the years. -- nosy: +zach.ware stage: patch review -> resolved status: pending -> closed ___ Python tracker

[issue8940] *HTTPServer need a summary page with API inheritance table

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: Lacking a clearer description of exactly what should be changed and with an official warning in the docs against using the http.server module in production, I'm going to go ahead and close the issue (which happened to be the last issue with "languishing" statu

[issue40404] Python quit unexpectedly

2020-04-26 Thread Joseph
New submission from Joseph : Process: Python [91080] Path: /usr/local/Cellar/python/3.7.7/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python Identifier:Python Version: 3.7.7 (3.7.7) Code Type:

[issue15192] test_bufio failures on Win64 buildbot

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: I've not seen this issue on that worker for a very long time; closing the issue. -- nosy: +zach.ware resolution: -> out of date stage: -> resolved status: pending -> closed ___ Python tracker

[issue11955] 3.3 : test_argparse.py fails 'make test'

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: As we've not seen any issues with this on the buildbots, I'm going ahead and closing it. -- nosy: +zach.ware resolution: -> fixed stage: needs patch -> resolved status: pending -> closed ___ Python tracker

[issue29640] _PyThreadState_Init and fork race leads to inconsistent key list

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: As 2.7 is now EOL, I'm closing the issue. -- nosy: +zach.ware resolution: -> out of date stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue30967] Crash in PyThread_ReInitTLS() in the child process after os.fork() on CentOS 6.5 (Python 2.7.13)

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: Sorry we didn't really reach a conclusion here, Thomas, but as 2.7 is now EOL I'm going ahead and closing the issue. -- nosy: +zach.ware resolution: -> out of date stage: -> resolved status: open -> closed ___ Pyth

[issue18493] make profile-opt fails with pre-existing python2.7 in path

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: This was fixed in 3.x in 2015 and later backported to 2.7 in 2017. Thanks for the report, Claudio, and I'm sorry nobody noticed this earlier or we could have fixed the issue two years earlier! -- nosy: +zach.ware resolution: -> fixed stage: -> resol

[issue31297] Unpickleable ModuleImportError in unittest patch not backported to 2.7

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: With 2.7 now EOL, I'm closing the issue. -- nosy: +zach.ware resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue27435] ctypes library loading and AIX - also for 2.7.X (and later)

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: Thanks Michael, finally getting it closed :) -- nosy: +zach.ware resolution: -> out of date stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue34884] Python may load incorrect libraries when embedding the macOS system python 2.7

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: With 2.7 now at end-of-life, I'm closing this issue. Thanks for the report anyway, Tim! -- nosy: +zach.ware resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue14418] Document differences in SocketServer between Python 2.6 and 2.7

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: Since Python 2.7 is now at end-of-life, I'm closing the issue. -- nosy: +zach.ware resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue26326] Named entity "vertical line" missed in 2.7 htmlentitydefs.py

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: With 2.7 now at end-of-life, I'm closing the issue. Thanks for the report anyway! -- nosy: +zach.ware resolution: -> out of date stage: test needed -> resolved status: open -> closed ___ Python tracker

[issue40394] difflib.SequenceMatcher.find_longest_match default arguments

2020-04-26 Thread Tim Peters
Tim Peters added the comment: Sounds good to me, Lewis - thanks! Note, though, that alo and blo should default to 0. `None` is best reserved for cases where the default value needs to be computed at runtime. But alo == blo == 0 apply to all possible instances. --

[issue26652] Cannot install Python 2.7.11 on Windows Server 2008 R2

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: Sorry this didn't get any attention before now, but as 2.7 is now EOL there's nothing we could fix for this, so I'm closing the issue. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Pyt

[issue26697] tkFileDialog crash on askopenfilename Python 2.7 64-bit Win7

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: As 2.7 is now EOL, I'm closing the issue. Thanks for the report anyway, Eric, and I'm sorry we didn't get it looked into before now. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Pyth

[issue26665] pip is not bootstrapped by default on 2.7

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: As 2.7 is now EOL, I'm closing the issue. Thanks for the report anyway, Axel! -- nosy: +zach.ware resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue16058] ConfigParser no longer deepcopy compatible in 2.7

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: With 2.7 now EOL, I'm closing the issue. -- nosy: +zach.ware resolution: fixed -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___

[issue29846] ImportError: Symbol not found: __PyCodecInfo_GetIncrementalDecoder when building 2.7.x on macOS

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: As this appears to be specific to Python 2.7 which has now reached end-of-life, I'm closing the issue. Thanks for the report anyway, and I'm sorry we couldn't get it a bit more straightened out before EOL! -- nosy: +zach.ware resolution: -> out of da

[issue30882] Built-in list disappeared from Python 2.7 intersphinx inventory

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: As Python 2.7 has now reached end-of-life, I'm closing the issue. -- nosy: +zach.ware resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___

[issue33500] Python TKinter for Mac on latest 2.7.15 still extremely slow vs Windows

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: As Python 2.7 has now reached end-of-life, I'm closing the issue. -- nosy: +zach.ware resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___

[issue33732] Python 2.7.15: xml.sax.parse() closes file objects passed to it

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: Hi Gibson, I'm sorry this issue didn't get any attention before Python 2.7 reached EOL, but as that milestone has now passed I'm closing the issue. Thank you for the report anyway! -- nosy: +zach.ware resolution: -> out of date stage: -> resolved s

[issue31391] Forward-port test_xpickle from 2.7 to 3.x

2020-04-26 Thread Zachary Ware
Change by Zachary Ware : -- keywords: +newcomer friendly versions: +Python 3.9 -Python 3.7 ___ Python tracker ___ ___ Python-bugs-li

[issue34836] test_ssl.test_default_ecdh_curve needs no tls1.3 flag in 2.7, for now

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: This seems to have been fixed, so I'm closing it as such. With 2.7 at EOL, this would be closed anyway, but "fixed" sounds nicer :) -- nosy: +zach.ware resolution: -> fixed stage: patch review -> resolved status: open -> closed __

[issue29006] 2.7.13 _sqlite more prone to "database table is locked"

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: As far as I can tell from the commit history associated with this issue this seems to have not been a bug, so I'm closing it. If anyone disagrees, please reopen :) -- nosy: +zach.ware resolution: -> not a bug stage: needs patch -> resolved status: op

[issue40348] Programming FAQ about "What is delegation?": Fix typos

2020-04-26 Thread miss-islington
miss-islington added the comment: New changeset 9412f4d1ad28d48d8bb4725f05fd8f8d0daf8cd2 by Miss Islington (bot) in branch '3.8': bpo-40348: Fix typos in the programming FAQ (GH-19729) https://github.com/python/cpython/commit/9412f4d1ad28d48d8bb4725f05fd8f8d0daf8cd2 --

[issue33586] 2.7.15 missing release notes on download page

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: Superseded by the pythondotorg issue. -- nosy: +zach.ware stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue40348] Programming FAQ about "What is delegation?": Fix typos

2020-04-26 Thread miss-islington
miss-islington added the comment: New changeset 25def5f2187154ccb6d75751f395a949f4726b1c by Miss Islington (bot) in branch '3.7': bpo-40348: Fix typos in the programming FAQ (GH-19729) https://github.com/python/cpython/commit/25def5f2187154ccb6d75751f395a949f4726b1c --

[issue31474] [2.7] Fix -Wnonnull and -Wint-in-bool-context warnings

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: This seems to have been fixed but never closed? Closing it now anyway due to EOL :) -- nosy: +zach.ware resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue22559] [2.7] Backport ssl.MemoryBIO to Python 2.7 - PEP 546

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: With PEP 546 withdrawn/rejected and 2.7 at EOL, I'm closing the issue. -- nosy: +zach.ware resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker _

[issue40348] Programming FAQ about "What is delegation?": Fix typos

2020-04-26 Thread miss-islington
miss-islington added the comment: New changeset caf1aadf3d020f742ba3d7fcf678ca700224914b by Zackery Spytz in branch 'master': bpo-40348: Fix typos in the programming FAQ (GH-19729) https://github.com/python/cpython/commit/caf1aadf3d020f742ba3d7fcf678ca700224914b -- nosy: +miss-islin

[issue40348] Programming FAQ about "What is delegation?": Fix typos

2020-04-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +19053 pull_request: https://github.com/python/cpython/pull/19731 ___ Python tracker ___ __

[issue40348] Programming FAQ about "What is delegation?": Fix typos

2020-04-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +19052 pull_request: https://github.com/python/cpython/pull/19730 ___ Python tracker ___ __

[issue21031] [patch] Add AlpineLinux to the platform module's supported distributions list

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: As `linux_distribution` was removed in 3.8 (bpo-28167), I'm closing the issue. Thanks for the patch anyway, Elizabeth, and I'm sorry it didn't end up better! -- nosy: +zach.ware resolution: -> out of date stage: patch review -> resolved status: langui

[issue40403] pdb does not drop into debugger upon SyntaxError caused by ast.literal_eval

2020-04-26 Thread Kerrick Staley
New submission from Kerrick Staley : Summary: When you call ast.literal_eval on a string that does not contain valid Python code, it raises a SyntaxError. This causes pdb to exit instead of stopping execution at the point that the SyntaxError was raised. To reproduce: 1. Create a Python file

[issue17126] test_gdb fails

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: As Python 2.7 has now reached end-of-life, I'm closing the issue. gdb support has seen some significant changes in the interim anyway; it's entirely possible that this was actually fixed in 2.7 before it died :) -- nosy: +zach.ware resolution: -> out

[issue23137] Python 2.7.9 test_gdb fails on CentOS 7

2020-04-26 Thread Zachary Ware
Change by Zachary Ware : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python

[issue23137] Python 2.7.9 test_gdb fails on CentOS 7

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: As Python 2.7 has reached end-of-life, I'm closing this issue. As Martin mentioned, this looks likely to be a duplicate of bpo-17126 anyway. -- nosy: +zach.ware ___ Python tracker

[issue38387] Document PyDoc_STRVAR and PyDoc_STR macros

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: New changeset 70ba81459eeb5818848f86b65cdf78feb86f9612 by Zachary Ware in branch '3.7': [3.7] bpo-38387: Formally document PyDoc_STRVAR and PyDoc_STR macros (GH-16607) (GH-19728) https://github.com/python/cpython/commit/70ba81459eeb5818848f86b65cdf78feb86f9612

[issue38387] Document PyDoc_STRVAR and PyDoc_STR macros

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: New changeset ca5649c4c1ab260c8ceb8a57ec703c06e2707986 by Zachary Ware in branch '3.8': [3.8] bpo-38387: Formally document PyDoc_STRVAR and PyDoc_STR macros (GH-16607) (GH-19727) https://github.com/python/cpython/commit/ca5649c4c1ab260c8ceb8a57ec703c06e2707986

[issue14759] BSDDB license missing from liscense page in 2.7.

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: As Python 2.7 has reached end-of-life and the bsddb module is not shipped with Python 3, I'm closing the issue. -- nosy: +zach.ware resolution: -> out of date stage: needs patch -> resolved status: open -> closed __

[issue40348] Programming FAQ about "What is delegation?": Fix typos

2020-04-26 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch nosy: +ZackerySpytz nosy_count: 3.0 -> 4.0 pull_requests: +19051 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19729 ___ Python tracker

[issue38387] Document PyDoc_STRVAR and PyDoc_STR macros

2020-04-26 Thread Zachary Ware
Change by Zachary Ware : -- pull_requests: +19050 pull_request: https://github.com/python/cpython/pull/19728 ___ Python tracker ___

[issue38387] Document PyDoc_STRVAR and PyDoc_STR macros

2020-04-26 Thread Zachary Ware
Change by Zachary Ware : -- pull_requests: +19049 pull_request: https://github.com/python/cpython/pull/19727 ___ Python tracker ___

[issue38387] Document PyDoc_STRVAR and PyDoc_STR macros

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: Thanks for the patch! -- resolution: -> fixed stage: -> resolved status: open -> closed title: Document PyDoc_STRVAR -> Document PyDoc_STRVAR and PyDoc_STR macros versions: +Python 3.7, Python 3.8, Python 3.9 ___ Py

[issue38387] Document PyDoc_STRVAR

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: New changeset b54e46cb57ebac5c525a9a6be241412cd57bc935 by Brad Solomon in branch 'master': bpo-38387: Formally document PyDoc_STRVAR and PyDoc_STR macros (GH-16607) https://github.com/python/cpython/commit/b54e46cb57ebac5c525a9a6be241412cd57bc935 -- n

[issue40402] multiprocessing/connection.py broken handle

2020-04-26 Thread Maxi
New submission from Maxi : ## Sorry if this is not properly created, my first time here ## I'm experiencing random Exceptions originating in multiprocessing/connection.py:368 where the handle seems to be broken: Apr 25 19:39:44 app python[26282]: File "/usr/lib/python3.5/multiprocessing/ma

[issue16117] python2.7.3 struct misaligned when returned

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: As Python 2.7 has now reached end-of-life, I'm closing the issue. If you can still reproduce this issue in a modern version of Python (3.6-3.8), please reopen it and hopefully we can get someone who understands what's going on to actually look at it :) -

[issue40401] pythoncore.vcxproj fails to load due to duplicated "..\Include\pyhash.h"

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: Thanks for the patch :) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue40401] pythoncore.vcxproj fails to load due to duplicated "..\Include\pyhash.h"

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: New changeset a494caa14bfa412af77792007c34274902fabb7b by Ammar Askar in branch 'master': bpo-40401: Remove duplicate pyhash.h include from pythoncore.vcxproj (GH-19725) https://github.com/python/cpython/commit/a494caa14bfa412af77792007c34274902fabb7b ---

[issue10417] [2.7] unittest triggers UnicodeEncodeError with non-ASCII character in the docstring of the test function

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: With 2.7 now EOL, I'm closing the issue. -- nosy: +zach.ware resolution: -> out of date stage: test needed -> resolved status: open -> closed ___ Python tracker _

[issue36803] Getting a lot of runtime misaligned address error while building python 2.7.6 with UBSAN

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: As Python 2.7 has reached EOL, I'm closing this issue. However, if you can reproduce the problem with a modern version of Python (3.6-3.8), please reopen it and adjust the versions field appropriately. -- nosy: +zach.ware resolution: -> out of date s

[issue26360] Deadlock in thread.join on Python 2.7/macOS

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: As 2.7 is now EOL, I'm closing the issue. -- nosy: +zach.ware resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___

[issue38959] Parboil -- OpenMP CUTCP performance regression when upgrade from python 2.7.15 to 2.7.17

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: Hi Jiebin, Sorry that nobody was able to respond to this before the end of support for 2.7. However, that version is now EOL, and as such I'm closing this issue. -- nosy: +zach.ware resolution: -> out of date stage: -> resolved status: open -> close

[issue25463] 2.7.10 glibc double free detected

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: As Python 2.7 is now at end-of-life, I'm closing this issue. If you can still reproduce the problem with a modern version of Python (3.6-3.8), please reopen it. -- nosy: +zach.ware resolution: -> out of date stage: -> resolved status: open -> closed

[issue24616] 'make install' fails installation of man pages for Python 2.7.10 on Unixware 7.1.4

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: At a guess, the version of `make` used in your environment was not able to handle a comment. However, Python 2.7 has now reached end-of-life and as such I'm closing this issue. If you can still reproduce the issue with a modern version of Python (3.6-3.8) we

[issue24182] test_tcl assertion failure, 2.7, Win 7

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: As 2.7 is EOL and 3.x use Tcl/Tk 8.6.x, I'm closing this issue. -- nosy: +zach.ware resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue22583] C stack overflow in the Python 2.7 compiler

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: As 2.7 has reached EOL, I'm closing this issue. -- nosy: +zach.ware resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker _

[issue22912] urlretreive locks up in 2.7.8

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: As 2.7 has reached EOL, I'm closing this issue. -- nosy: +zach.ware resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker _

[issue22863] https://docs.python.org/ should make a true 2.7.8 version available

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: As 2.7 is now EOL, I'm closing this issue. -- nosy: +zach.ware resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker __

[issue17904] bytes should be listed as built-in function for 2.7

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: As 2.7 has now reached EOL, I'm closing the issue. -- nosy: +zach.ware resolution: -> out of date stage: patch review -> resolved status: open -> closed ___ Python tracker __

[issue21615] Curses bug report for Python 2.7 and Python 3.2

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: Hi Richard, sorry it too so long for anyone to respond to this issue! It's been long enough that I'm going to assume that this has long since been fixed or worked around. However, if you can still reproduce this with a modern version of Python (3.6-3.8), do

[issue40387] queue example is a sketch

2020-04-26 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue40387] queue example is a sketch

2020-04-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 179f22c3b786ce9baa3445923f8f9708dfa5d5b7 by Miss Islington (bot) in branch '3.8': bpo-40387: Improve queue join() example. (GH-19724) (GH-19726) https://github.com/python/cpython/commit/179f22c3b786ce9baa3445923f8f9708dfa5d5b7 -- _

[issue40387] queue example is a sketch

2020-04-26 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +19048 pull_request: https://github.com/python/cpython/pull/19726 ___ Python tracker _

[issue40387] queue example is a sketch

2020-04-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 88499f15f547ccf7b15d37b0eaf51cc40bad5c39 by Raymond Hettinger in branch 'master': bpo-40387: Improve queue join() example. (GH-19724) https://github.com/python/cpython/commit/88499f15f547ccf7b15d37b0eaf51cc40bad5c39 --

[issue40384] IDLE: Wrong highlighting when \n follows def/class

2020-04-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: For me, on Mac, only the 3rd 'def', on line 4, changes to blue, the default highlight for defined names (those immediately following 'def' or 'class'). This is because deleting the '#' causes recoloring from there onward, and IDLE's handling of newlines af

[issue40387] queue example is a sketch

2020-04-26 Thread Santiago Blanco
Santiago Blanco added the comment: That is pretty clear! Thank you Raymond. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue31122] SSLContext.wrap_socket() throws OSError with errno == 0

2020-04-26 Thread Dima Tisnek
Dima Tisnek added the comment: I know Christian is very busy, so what can I do to have this patch reviewed? * it's concise * there's a reproducer -- ___ Python tracker ___ ___

[issue40388] random.choice integer overflow v3.5.2

2020-04-26 Thread Raymond Hettinger
Change by Raymond Hettinger : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40394] difflib.SequenceMatcher.find_longest_match default arguments

2020-04-26 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: -> tim.peters ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue40401] pythoncore.vcxproj fails to load due to duplicated "..\Include\pyhash.h"

2020-04-26 Thread Ammar Askar
Change by Ammar Askar : -- keywords: +patch pull_requests: +19047 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19725 ___ Python tracker ___

[issue40387] queue example is a sketch

2020-04-26 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +19046 pull_request: https://github.com/python/cpython/pull/19724 ___ Python tracker ___ ___

[issue40401] pythoncore.vcxproj fails to load due to duplicated "..\Include\pyhash.h"

2020-04-26 Thread Ammar Askar
New submission from Ammar Askar : The pythoncore project currently fails to load in Visual Studio with: cpython\PCbuild\pythoncore.vcxproj : error : Cannot load project with duplicated project items: ..\Include\pyhash.h is included as 'ClInclude' and as 'ClInclude' item types. Looks l

[issue40387] queue example is a sketch

2020-04-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'm thinking of simplifying the example to focus on its core goal of demonstrating how to enqueue tasks and then wait for them to be finished: import threading, queue q = queue.Queue() def worker(): while True: item = q.ge

[issue40334] PEP 617: new PEG-based parser

2020-04-26 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +19045 pull_request: https://github.com/python/cpython/pull/19723 ___ Python tracker ___ ___

[issue39791] New `files()` api from importlib_resources.

2020-04-26 Thread Jason R. Coombs
Change by Jason R. Coombs : -- keywords: +patch pull_requests: +19044 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19722 ___ Python tracker ___

[issue40383] weakref class name are hardcoded in reprs

2020-04-26 Thread Tal Einat
Change by Tal Einat : -- nosy: -taleinat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue40334] PEP 617: new PEG-based parser

2020-04-26 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +19043 pull_request: https://github.com/python/cpython/pull/19721 ___ Python tracker ___ ___

[issue40396] Support GenericAlias in typing

2020-04-26 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue40398] get_args(Callable) fails

2020-04-26 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +19042 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19720 ___ Python tracker ___

[issue16275] test_ctypes fails on Solaris 10 SPARC 2.7 (nitrogen/s10) (Sun C compiler)

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: As 2.7 is EOL and the bundled copy of libffi no longer exists, I'm closing the issue. -- nosy: +zach.ware resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue40398] get_args(Callable) fails

2020-04-26 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: Oh my, this looks like another bug. I don't have Python 3.8 at hand so just tried `typing_inspect` on Python 3.6. I think this may be caused by the "double use" of _GenericAlias for which you opened your WIP PR. -- _

[issue13733] Change required to sysconfig.py for Python 2.7.2 on OS/2

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: As Python 2.7 is now EOL and was the last remaining version to support OS/2, I'm closing the issue. -- nosy: +zach.ware resolution: -> out of date stage: test needed -> resolved status: open -> closed ___ Python tra

[issue40398] get_args(Callable) fails

2020-04-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: get_args(List) == (T,) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40398] get_args(Callable) fails

2020-04-26 Thread Guido van Rossum
Guido van Rossum added the comment: Agreed, that's better! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40398] get_args(Callable) fails

2020-04-26 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: I think it should return empty tuple: First, for consistency with other things like get_args(Tuple) == () and get_args(List) == (). Second, although Callable is equivalent to Callable[..., Any] in the static world, authors of some runtime checkers might wan

[issue40400] Mac build-installer.py doesn't support new plist format

2020-04-26 Thread Ned Deily
Change by Ned Deily : -- assignee: -> ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue40396] Support GenericAlias in typing

2020-04-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 68b352a6982f51e19bf9b9f4ae61b34f5864d131 by Serhiy Storchaka in branch 'master': bpo-40396: Support GenericAlias in the typing functions. (GH-19718) https://github.com/python/cpython/commit/68b352a6982f51e19bf9b9f4ae61b34f5864d131 --

[issue40400] Mac build-installer.py doesn't support new plist format

2020-04-26 Thread h2a10
New submission from h2a10 : when you run cpython/Mac/BuildScript/build-installer.py with python 3.9.0 it failed with the following error from plistlib import Plist ImportError: cannot import name 'Plist' from 'plistlib' -- components: macOS messages: 367325 nosy: h2a10, ned.deily, ron

[issue37518] Python-2.7.16 fails to build with --enable-shared

2020-04-26 Thread Willie Lopez
Willie Lopez added the comment: Thank you anyway. I was able to finally resolve the issue, which did turn out to be the environment variable PYTHONPATH. When compiling python from source, that variable must be empty (not null). After emptying the string value the compilation worked. This pr

[issue40387] queue example it does not work

2020-04-26 Thread Santiago Blanco
Santiago Blanco added the comment: I am trying to help, if you want I change something of my PR tell me what. I think most people need concrete examples to learn anything, but I may be wrong. I consider that a note will not change anything. -- __

  1   2   >