[issue40393] Auto-response from Python Help points to Python 2 reference

2020-04-26 Thread J Arun Mani


New submission from J Arun Mani :

In the auto-response sent by python-help-boun...@python.org, at some 
intermediate paragraphs:
...
The most comprehensive overview of python.org help resources is at

http://www.python.org/about/help/

The Python FAQ is available at

http://docs.python.org/2/faq/index.html

and it has answers to many questions that people ask, possibly...

The link : http://docs.python.org/2/faq/index.html points to Python 2 
resources, please change it to point Python 3 FAQ, i.e. 
https://docs.python.org/3/faq/index.html

The `http` in links can also be changed to `https. It doesn't help anyway as 
the link automatically takes to `https` sites.
Thanks.

--
components: email
messages: 367305
nosy: J Arun Mani, barry, r.david.murray
priority: normal
severity: normal
status: open
title: Auto-response from Python Help points to Python 2 reference
type: enhancement

___
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 OhBonsai


Change by OhBonsai :


--
components: +Library (Lib) -Documentation
nosy:  -docs@python

___
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 Lewis Ball


New submission from Lewis Ball :

The usage of difflib.SequenceMatcher.find_longest_match could be simplified for 
the most common use case (finding the longest match between the entirety of the 
two strings) by taking default args.

At the moment you have to do:

>>> from difflib import SequenceMatcher
>>> a, b = 'foo bar', 'foo baz'
>>> s = SequenceMatcher(a=a, b=b)
>>> s.find_longest_match(0, len(a), 0, len(b))
Match(a=0, b=0, size=6)

but with default args the final line could be simplified to just:

>>> s.find_longest_match()
Match(a=0, b=0, size=6)

which seems to be much cleaned and more readable.


I'd suggest updating the code so that the function signature becomes:

find_longest_match(alo=None, ahi=None, blo=None, bhi=None)

which is consistent with the current docstring of "Find longest matching block 
in a[alo:ahi] and b[blo:bhi]." as `a[None:None]` is the whole of `a`.

I think this would only be a minor code change, and if it is something that 
would be useful I'd be happy to have a go at a PR.

--
components: Library (Lib)
messages: 367306
nosy: Lewis Ball
priority: normal
severity: normal
status: open
title: difflib.SequenceMatcher.find_longest_match default arguments
type: enhancement

___
Python tracker 

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



[issue40395] Scripts folder is Empty in python 3.8.2 for Windows 7.

2020-04-26 Thread BenTen Jan


New submission from BenTen Jan :

I downloaded python 3.8.2 which is the latest version of python for windows. 
Run as admin , changed path of installation though its getting  empty Scripts 
folder. though setup shows successful.

Please find attached log files from my %temp% folder.

Thanks Regards
Ben

--
components: Installation
files: Installation Log.zip
messages: 367307
nosy: BenTen Jan
priority: normal
severity: normal
status: open
title: Scripts folder is Empty in python 3.8.2 for Windows 7.
versions: Python 3.8
Added file: https://bugs.python.org/file49093/Installation Log.zip

___
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 Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +tim.peters

___
Python tracker 

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



[issue40395] Scripts folder is Empty in python 3.8.2 for Windows 7.

2020-04-26 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
components: +Windows
nosy: +paul.moore, steve.dower, tim.golden, zach.ware

___
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


New submission from Serhiy Storchaka :

Currently typing functions get_origin(), get_args() and get_type_hints() do not 
support GenericAlias.

>>> from typing import *
>>> get_origin(List[int])

>>> get_origin(list[int])
>>> get_args(List[int])
(,)
>>> get_args(list[int])
()
>>> def foo(x: List[ForwardRef('X')], y: list[ForwardRef('X')]) -> None: ...
>>> 
>>> 
>>>  
... 

 
>>> class X: ...
... 
>>> get_type_hints(foo)
{'x': typing.List[__main__.X], 'y': list[ForwardRef('X')], 'return': }

The proposed PR fixes this.

--
components: Library (Lib)
messages: 367308
nosy: gvanrossum, levkivskyi, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Support GenericAlias in typing
type: enhancement
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



[issue40396] Support GenericAlias in typing

2020-04-26 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
keywords: +patch
pull_requests: +19039
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/19718

___
Python tracker 

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



[issue27562] Import error encodings (Windows xp compatibility)

2020-04-26 Thread Zachary Ware


Zachary Ware  added the comment:

As 2.7 has now reached end-of-life and with it the last version to support 
Windows XP, 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



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

2020-04-26 Thread Zachary Ware


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



[issue12503] "with" statement error message is more confusing in Py2.7

2020-04-26 Thread Zachary Ware


Zachary Ware  added the comment:

As 2.7 has 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



[issue40397] Refactor typing._GenericAlias

2020-04-26 Thread Serhiy Storchaka


New submission from Serhiy Storchaka :

typing._GenericAlias represents two different types: user defined (like 
List[int]) and special (like List). They have different behavior, and common 
methods contain special cases.

The proposed PR rewrites the implementation in more object-oriented paradigm: 
different classes for different behavior. _GenericAlias is split on three 
classes: user defined (it may be replaced with GenericAlias in future), 
special, and the base class for common methods. Its subclasses are also split 
on classes for special types Tuple and Callable and for parametrized Callable[] 
and Annotated[]. The work is not finished yet and the code is still complex.

--
components: Library (Lib)
messages: 367312
nosy: gvanrossum, levkivskyi, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Refactor typing._GenericAlias
type: enhancement
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



[issue40397] Refactor typing._GenericAlias

2020-04-26 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
keywords: +patch
pull_requests: +19040
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/19719

___
Python tracker 

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



[issue39010] ProactorEventLoop raises unhandled ConnectionResetError

2020-04-26 Thread Segev Finer


Change by Segev Finer :


--
nosy: +Segev Finer

___
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


New submission from Serhiy Storchaka :

>>> from typing import *
>>> get_args(Callable)
Traceback (most recent call last):
  File "", line 1, in 
  File "/home/serhiy/py/cpython/Lib/typing.py", line 1412, in get_args
if get_origin(tp) is collections.abc.Callable and res[0] is not Ellipsis:
IndexError: tuple index out of range

What is the correct behavior?

--
components: Library (Lib)
messages: 367313
nosy: gvanrossum, levkivskyi, serhiy.storchaka
priority: normal
severity: normal
status: open
title: get_args(Callable) fails
type: behavior
versions: 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



[issue40372] doctest example programs should exit 1 if any test fails

2020-04-26 Thread Rémi Lapeyre

Change by Rémi Lapeyre :


--
nosy: +remi.lapeyre, tim.peters
versions:  -Python 2.7, Python 3.5, Python 3.6

___
Python tracker 

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



[issue8536] Support new features of ZLIB 1.2.7

2020-04-26 Thread Zachary Ware


Zachary Ware  added the comment:

In the intervening 8 years since there was last activity in this issue, zlib 
1.2.11 has been released and probably has even more new features.  However, I 
think rather than looking for new features to implement, we should create 
specific issues to implement new features as use cases for them come up; 
chances are, some of these have already happened without reference to this 
isuse.  As such, I'm going to go ahead and close this issue.

--
nosy: +zach.ware
resolution:  -> postponed
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



[issue15408] os.fork/os.popen behaviour change between 2.7 and 3.2

2020-04-26 Thread Zachary Ware


Zachary Ware  added the comment:

Given that you both nearly agreed to "wont fix" 8 years ago and 2.7 is now EOL, 
I'm going to go ahead and close the issue that way :)

--
nosy: +zach.ware
resolution:  -> wont fix
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



[issue40399] Program hangs if process created right after adding object to a Queue

2020-04-26 Thread Delgan


New submission from Delgan :

Hi.

I have a very basic program:
- one multiprocessing SimpleQueue
- one consumer thread
- one loop:
  - add one item to the queue
  - create a new process with itself add one item to the queue
  - wait for the process to end

For some unknown reason, it will hangs after some time. 

I know the docs said:

> This means that if you try joining that process you may get a deadlock unless 
> you are sure that all items which have been put on the queue have been 
> consumed. Similarly, if the child process is non-daemonic then the parent 
> process may hang on exit when it tries to join all its non-daemonic children.

That's why I added "time.sleep(1)" inside the process, to make sure all items 
added by the child process are consumed. You can remove it and the hang will 
happen faster.


I'm using Python 3.8.2 on Linux. Forcing program to terminate with Ctrl+C 
(twice):

^CTraceback (most recent call last):
  File "bug.py", line 23, in 
p.join()
  File "/usr/lib/python3.8/multiprocessing/process.py", line 149, in join
res = self._popen.wait(timeout)
  File "/usr/lib/python3.8/multiprocessing/popen_fork.py", line 47, in wait
return self.poll(os.WNOHANG if timeout == 0.0 else 0)
  File "/usr/lib/python3.8/multiprocessing/popen_fork.py", line 27, in poll
pid, sts = os.waitpid(self.pid, flag)
KeyboardInterrupt
^CError in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/lib/python3.8/multiprocessing/popen_fork.py", line 27, in poll
pid, sts = os.waitpid(self.pid, flag)
KeyboardInterrupt

--
components: Library (Lib)
files: bug.py
messages: 367317
nosy: Delgan
priority: normal
severity: normal
status: open
title: Program hangs if process created right after adding object to a Queue
type: behavior
versions: Python 3.8
Added file: https://bugs.python.org/file49094/bug.py

___
Python tracker 

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



[issue17268] Context managers written as C types no longer work in Python 2.7

2020-04-26 Thread Zachary Ware


Zachary Ware  added the comment:

As 2.7 has reached EOL, I'm going to go ahead and close 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



[issue18024] dbm module fails to build on SLES11SP1 using 2.7.5 source

2020-04-26 Thread Zachary Ware


Zachary Ware  added the comment:

As 2.7 has now reached EOL, I'm going to go ahead and close the issue.  Sorry 
this never got attention, but I'm glad you found a workaround!

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



[issue18567] Python 2.7.5 CENTOS6 Error building dbm using bdb

2020-04-26 Thread Zachary Ware


Zachary Ware  added the comment:

Sorry this issue never got attention, but Python 2.7 has now reached 
end-of-life and with it the _bsddb module.  As such, I'm going to go ahead and 
close 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



[issue18936] 2.7 distutils getopt chokes on unicode option names

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



[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



[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



[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



[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



[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



[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



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



[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



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



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



[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



[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



[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



[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



[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



[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



[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


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


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



[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



[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



[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



[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



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



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



[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



[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



[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



[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



[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



[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



[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



[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



[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



[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



[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



[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



[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



[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



[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



[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



[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



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


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



[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



[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



[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



[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



[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



[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



[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



[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



[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



[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


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: +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



[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



[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



[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



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



[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



[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



[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



[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



[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



[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



[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



  1   2   >