[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 to the fact that python has been incorrectly 
installed on my computer.

--
status: pending -> open

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 crash trace indicates that the crash 
occurred within the system dynamic loader, dyld, while apparently being called 
to find a function pointer for Python's import machinery (in 
_PyImport_FindSharedFuncptr) to dynamically link to. But with a standard 
non-debug build of Python, it's not really possible to figure out what was 
being called and exactly why. Without a reproducible test case, there is 
nothing much more we can do and, even so, it's pretty unlikely to be a problem 
in Python itself, more likely some combination of incompatibly-built C or C++ 
extension modules, environment variable, etc.  Also, without knowing any 
context here, e.g. was this something that worked before you did some upgrade, 
etc, it makes it even harde
 r for anyone to speculate.  If you can provide a simple test case, starting 
with how you installed everything and the exact steps to reproduce, somebody 
here *might* be able to give a better hint but you will likely get better help 
if you submit all that information to another forum that specializes in macOS 
NumPy, if nowhere else, StackOverflow.  Good luck!

--
status: open -> pending

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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" status).

--
nosy: +zach.ware
resolution:  -> rejected
stage: needs patch -> resolved
status: languishing -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: X86-64 (Native)
Parent Process:bash [87533]
User ID:   501

Date/Time: 2020-04-27 11:30:31.044 +0800
OS Version:Mac OS X 10.15.4 (19E287)
Report Version:12
Bridge OS Version: 4.4 (17P4281)
Anonymous UUID:2D923F70-DF15-0C75-5925-921AC7A6B975

Sleep/Wake UUID:   54C528EC-278D-4E97-9EA5-75A516A5B4EA

Time Awake Since Boot: 43 seconds
Time Since Wake:   4500 seconds

System Integrity Protection: enabled

Crashed Thread:0  Dispatch queue: com.apple.main-thread

Exception Type:EXC_CRASH (SIGQUIT)
Exception Codes:   0x, 0x
Exception Note:EXC_CORPSE_NOTIFY

Termination Signal:Quit: 3
Termination Reason:Namespace SIGNAL, Code 0x3
Terminating Process:   tmux [3601]

Application Specific Information:
dyld: in dlopen()

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   dyld0x00011591f899 
ImageLoader::trieWalk(unsigned char const*, unsigned char const*, char const*) 
+ 177
1   dyld0x000115929410 
ImageLoaderMachOCompressed::findShallowExportedSymbol(char const*, ImageLoader 
const**) const + 112
2   dyld0x000115923085 
ImageLoaderMachO::findExportedSymbol(char const*, bool, char const*, 
ImageLoader const**) const + 37
3   dyld0x00011591e513 
ImageLoader::weakBindOld(ImageLoader::LinkContext const&) + 1485
4   dyld0x00011591c1ef 
ImageLoader::link(ImageLoader::LinkContext const&, bool, bool, bool, 
ImageLoader::RPathChain const&, char const*) + 333
5   dyld0x00011590e93f 
dyld::link(ImageLoader*, bool, bool, ImageLoader::RPathChain const&, unsigned 
int) + 161
6   dyld0x000115918d77 dlopen_internal + 477
7   libdyld.dylib   0x7fff7043dd8a dlopen + 171
8   org.python.python   0x00010c9eef11 
_PyImport_FindSharedFuncptr + 301
9   org.python.python   0x00010c9cdd7a 
_PyImport_LoadDynamicModuleWithSpec + 495
10  org.python.python   0x00010c9cd8f0 _imp_create_dynamic 
+ 309
11  org.python.python   0x00010c922b0e 
_PyMethodDef_RawFastCallDict + 549
12  org.python.python   0x00010c92211f 
_PyCFunction_FastCallDict + 41
13  org.python.python   0x00010c9b0e12 
_PyEval_EvalFrameDefault + 7738
14  org.python.python   0x00010c9b82cd 
_PyEval_EvalCodeWithName + 1698
15  org.python.python   0x00010c922424 
_PyFunction_FastCallKeywords + 212
16  org.python.python   0x00010c9b7ad9 call_function + 737
17  org.python.python   0x00010c9b0a47 
_PyEval_EvalFrameDefault + 6767
18  org.python.python   0x00010c922830 
function_code_fastcall + 106
19  org.python.python   0x00010c9b7ad9 call_function + 737
20  org.python.python   0x00010c9b0a2e 
_PyEval_EvalFrameDefault + 6742
21  org.python.python   0x00010c922830 
function_code_fastcall + 106
22  org.python.python   0x00010c9b7ad9 call_function + 737
23  org.python.python   0x00010c9b0ae2 
_PyEval_EvalFrameDefault + 6922
24  org.python.python   0x00010c922830 
function_code_fastcall + 106
25  org.python.python   0x00010c9b7ad9 call_function + 737
26  org.python.python   0x00010c9b0ae2 
_PyEval_EvalFrameDefault + 6922
27  org.python.python   0x00010c922830 
function_code_fastcall + 106
28  org.python.python   0x00010c9b7ad9 call_function + 737
29  org.python.python   0x00010c9b0ae2 
_PyEval_EvalFrameDefault + 6922
30  org.python.python   0x00010c9b82cd 
_PyEval_EvalCodeWithName + 1698
31  org.python.python   0x00010c922424 
_PyFunction_FastCallKeywords + 212
32  org.python.python   0x00010c9b7ad9 call_function + 737
33  org.python.python   0x00010c9b0ae2 
_PyEval_EvalFrameDefault + 6922
34  org.python.python   0x00010c922830 
function_code_fastcall + 106
35  org.python.python   0x00010c9b7ad9 call_function + 737
36  org.python.python   0x00010c9b0a47 
_PyEval_EvalFrameDefault + 6767
37  org.python.python   0x00010c922830 
function_code_fastcall + 106
38  org.python.python 

[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 date
stage: test needed -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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-islington

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: languishing -> closed
versions: +Python 3.5 -Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 foo.py with these contents:

import ast
ast.literal_eval('')

2. Run python -m pdb foo.py
3. Type 'c' and hit enter.

Expected behavior:
pdb drops into a shell in ast.py at the point where the SyntaxError occurred.

Actual behavior:
The program exits, and a SyntaxError traceback is displayed.

System configuration:
Python 3.8.2 on Arch Linux.

--
components: Library (Lib)
messages: 367363
nosy: Kerrick Staley
priority: normal
severity: normal
status: open
title: pdb does not drop into debugger upon SyntaxError caused by 
ast.literal_eval
type: behavior
versions: Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 of date
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--
nosy: +zach.ware

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/managers.py", line 716, in _callmethod
Apr 25 19:39:44 app python[26282]: conn.send((self._id, methodname, args, 
kwds))
Apr 25 19:39:44 app python[26282]:   File 
"/usr/lib/python3.5/multiprocessing/connection.py", line 206, in send
Apr 25 19:39:44 app python[26282]: 
self._send_bytes(ForkingPickler.dumps(obj))
Apr 25 19:39:44 app python[26282]:   File 
"/usr/lib/python3.5/multiprocessing/connection.py", line 404, in _send_bytes
Apr 25 19:39:44 app python[26282]: self._send(header + buf)
Apr 25 19:39:44 app python[26282]:   File 
"/usr/lib/python3.5/multiprocessing/connection.py", line 368, in _send
Apr 25 19:39:44 app python[26282]: n = write(self._handle, buf)
Apr 25 19:39:44 app python[26282]: TypeError: an integer is required (got type 
NoneType)

Not sure if there is something wrong at OS level, but I think a 
self._check_closed() before that line would help.

--
messages: 367355
nosy: maxicooper
priority: normal
severity: normal
status: open
title: multiprocessing/connection.py broken handle
type: crash
versions: Python 3.5

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 :)

--
nosy: +zach.ware
resolution:  -> out of date
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 can consider reopening the issue, but as 
UnixWare is not a supported platform the chances of anyone else being able to 
track down the issue and supply a patch are pretty slim.

--
nosy: +zach.ware
resolution:  -> out of date
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 please reopen the issue and attach some code 
that shows what's going on.

--
nosy: +zach.ware
resolution:  -> out of date
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 after 'def' or 'class' is buggy. I presume that you 
see the same.

I most concerned with correctly highlighting correct code.  It may be ambiguous 
what to do with incorrect code.  If one types 'def name' or 'class name' to 
start a line, name is colored blue as a definition name.  If name happens to be 
misspelled to match a keyword, should it be colored as a keyword?  Maybe, but 
in this context, it will not function as such.  Perhaps it should be 
immediately colored as a syntax error (default red), instead of waiting for an 
explicit syntax check.  But this an innovation for IDLE and should be a 
different issue from this one.

If there is a newline between def/class and the name, python sees it as a space 
if escaped with '\' but a syntax error if not.  IDLE effectively does the 
opposite.  The idprog in idlelib.colorizer uses \s, which matches a bare 
newline, among other things, but not 'backslash newline'.I intend to 
replace '\s' with alternatives legal in this context.

def\
name ...  # Name should be blue, at least after multiline recolor.

def
name ...  # 'def\n' is error; name should not be blue ever.

--
stage:  -> needs patch
title: IDLE: Undesired highlight -> IDLE: Wrong highlighting when \n follows 
def/class
versions: +Python 3.7, Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 like 
https://github.com/python/cpython/commit/c5fc15685202cda73f7c3f5c6f299b0945f58508#diff-fc48a1700be0140b57a172ea101297de
 accidentally introduced a duplicate for "..\Include\pyhash.h"

--
components: Windows
messages: 367334
nosy: ammar2, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: pythoncore.vcxproj fails to load due to duplicated "..\Include\pyhash.h"
type: compile error
versions: Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.get()
print(f'Working on {item}')
print(f'Finished {item}')
q.task_done()

# turn-on the worker thread
worker_thread = threading.Thread(target=worker)
worker_thread.daemon = True
worker_thread.start()

# send thirty task requests to the worker
for item in range(30):
q.put(item)
print('All task requests sent\n', end='')

# block until all tasks are done
q.join()
print('All work completed')

--
assignee: docs@python -> rhettinger
title: queue example it does not work -> queue example is a sketch
versions:  -Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 want to distinguish whether a user wrote one or another.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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, ronaldoussoren
priority: normal
severity: normal
status: open
title: Mac build-installer.py doesn't support new plist format
type: compile error
versions: Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 probably has to do more with having two versions of python, the system and 
our application side. The env variable is always set on our dev and app 
servers. Not a good practice when compiling from source.

Thanks!

Willie Lopez
———-
willie.lo...@yahoo.com
970.481.8246

> On Apr 26, 2020, at 10:25 AM, Zachary Ware  wrote:
> 
> 
> Zachary Ware  added the comment:
> 
> Hi Willie,
> 
> Sorry this never got attention before 2.7 reached end-of-life, but as that 
> has now happened, I'm closing the issue.
> 
> That said, I suspect your issue here was with library search path; it wasn't 
> actually 2.7.5 that was installed by the install of 2.7.16, but rather it was 
> the system's 2.7.5 library that was loaded instead of the installation's 
> 2.7.16 due to the latter's directory being either not on the search path or 
> after the system's Python library location.  I'm not sure if there's really a 
> good way to have two separate patch versions of Python, both with shared 
> libraries rather than static, without winding up with some confusion about 
> which library should be loaded by which application.
> 
> --
> nosy: +zach.ware
> resolution:  -> out of date
> stage:  -> resolved
> status: open -> closed
> 
> ___
> Python tracker 
> 
> ___

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40398] get_args(Callable) fails

2020-04-26 Thread Guido van Rossum


Guido van Rossum  added the comment:

Maybe it could return (Ellipsis, Any) in that case. The most general form of 
Callable is Callable[..., Any] and that's that get_args() returns for that.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40275] test.support has way too many imports

2020-04-26 Thread hai shi


Change by hai shi :


--
pull_requests: +19041
pull_request: https://github.com/python/cpython/pull/19716

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16326] distutils build_ext fails to set library_dirs in 2.7.2 on Linux

2020-04-26 Thread Zachary Ware


Zachary Ware  added the comment:

Given that #18976 was said to have fixed this and is now closed as "fixed", and 
every tagged version is now EOL, I'm closing the issue.

--
nosy: +zach.ware
resolution:  -> out of date
stage: test needed -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



  1   2   >