[issue28884] Python 3.5.2 non-segfaulting bugs (from PyPy)

2020-12-05 Thread mattip


mattip  added the comment:

No, my bad, B6 passes now on CPython

--

___
Python tracker 

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



[issue28884] Python 3.5.2 non-segfaulting bugs (from PyPy)

2020-12-05 Thread mattip


mattip  added the comment:

It seems (B6) is still failing (both on PyPy3.7 and on CPython3.8.6)

--
nosy: +mattip

___
Python tracker 

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



[issue21627] Concurrently closing files and iterating over the open files directory is not well specified

2020-12-05 Thread Irit Katriel


Irit Katriel  added the comment:

I can't find _posixsubmodules.c or _close_open_fd_range_safe in the codebase. 
Is this issue out of date?

--
nosy: +iritkatriel
resolution:  -> out of date
status: open -> pending

___
Python tracker 

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



[issue17612] hooks/mail.py requires [smtp] host to be set, despite a comment to the contrary

2020-12-05 Thread Eric V. Smith


Change by Eric V. Smith :


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



[issue42579] Solution from gh#python/cpython#13236 unnecessarily binds building of documentation to the latest version of Sphinx

2020-12-05 Thread Matej Cepl


Change by Matej Cepl :


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

___
Python tracker 

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



[issue42579] Solution from gh#python/cpython#13236 unnecessarily binds building of documentation to the latest version of Sphinx

2020-12-05 Thread Matej Cepl


New submission from Matej Cepl :

I think the solution in gh#python/cpython#13236 is the suboptimal one, because 
it makes Python dependent on the latest version of Sphinx unnecessarily. There 
are many situations where Python can be built on the older platform and it is 
too bothersome to require update of Sphinx (and all its dependencies) as well.

--
assignee: docs@python
components: Documentation
messages: 382585
nosy: docs@python, mcepl, pablogsal
priority: normal
severity: normal
status: open
title: Solution from gh#python/cpython#13236 unnecessarily binds building of 
documentation to the latest version of Sphinx
versions: Python 3.10, Python 3.6, 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



[issue42433] mailbox.mbox fails on non ASCII characters

2020-12-05 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

3.7 only gets security fixes.  If and when someone merges something, that 
person will decide whether to backport.

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



[issue17243] The changes made for issue 4074 should be documented

2020-12-05 Thread Irit Katriel


Irit Katriel  added the comment:

I think this has been fixed here in PR21703.

--
nosy: +iritkatriel
resolution:  -> duplicate
status: open -> pending
superseder:  -> Python Devguide differs from python docs

___
Python tracker 

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



[issue42575] Suggest to add an LinkedList data structure to python

2020-12-05 Thread Dennis Sweeney


Dennis Sweeney  added the comment:

I'll add that for 98% of the use cases of a linked list (where you just want 
fast access at the ends), you can use a `collections.deque` instead, and it 
will be faster (fewer dereferences) and more memory-efficient (fewer pointers 
to store).

In the remaining 2% where a linked list is genuinely better (say in CPython's 
internal garbage collector), you're in a situation where you are already 
holding a node and you want to delete it or insert around it in constant time. 
(If you need to do a linear scan before deleting things, list comprehensions 
will already do what you need). In such situations, the construction is highly 
specialized for the application, so it's difficult to generalize the 
construction to an abstract data structure -- in particular, the "data" may 
need to access the next/previous "data" directly. It's also not inaccessibly 
hard to re-do every time you need it.

--
nosy: +Dennis Sweeney

___
Python tracker 

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



[issue42433] mailbox.mbox fails on non ASCII characters

2020-12-05 Thread Florian Klink


Florian Klink  added the comment:

Based on https://bugs.python.org/issue42433#msg382169 I added back the versions 
that bug is present.

The PR is up to and appropriately linked (I think?) - let me know if there's 
anything left to be done from my side.

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



[issue17612] hooks/mail.py requires [smtp] host to be set, despite a comment to the contrary

2020-12-05 Thread Irit Katriel


Irit Katriel  added the comment:

This seems out of date (pre github?)  I couldn't find that comment in the 
current codebase.

--
nosy: +iritkatriel
status: open -> pending

___
Python tracker 

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



[issue38780] SysLogHandler crash atexit

2020-12-05 Thread Jason R. Coombs


Jason R. Coombs  added the comment:

Erlend, inspired by your patches, I created 
https://github.com/python/cpython/pull/23661/commits/e9723003d49c722d57a69e5016b442d4d752fc6d,
 which uses a NullSocket instance instead of None, allowing the 
behavior-suppression to be encapsulated in a single place and swapped out by 
creation of a proper socket instance.

I do believe this approach addresses the issue. Are you still willing to put 
together a test case or more?

--

___
Python tracker 

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



[issue42576] Passing keyword arguments to types.GenericAlias causes a hard crash

2020-12-05 Thread Guido van Rossum


Guido van Rossum  added the comment:

Thanks for the quick fix!

--

___
Python tracker 

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



[issue38780] SysLogHandler crash atexit

2020-12-05 Thread Jason R. Coombs


Change by Jason R. Coombs :


--
pull_requests: +22527
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/23661

___
Python tracker 

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



[issue38780] SysLogHandler crash atexit

2020-12-05 Thread Jason R. Coombs


Change by Jason R. Coombs :


--
versions: +Python 3.10 -Python 2.7, Python 3.7

___
Python tracker 

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



[issue38780] SysLogHandler crash atexit

2020-12-05 Thread Jason R. Coombs


Jason R. Coombs  added the comment:

I've applied the patches and pushed them to 
https://github.com/jaraco/cpython/tree/bugfix/bpo-38780.

```
cpython master $ http 
https://bugs.python.org/file48933/0001-bpo-38780-Harden-socket-use-in-logging.handlers.patch
 | git apply
cpython master $ git commit -a -m "bpo-38780: Initialize self.socket to None 
early in __init__() and check for None in close() and e
mit()" --author "Erlend E. Aasland " --date '28 Feb 
2020 22:38:12 +0100'
[master e05b7d6c52] bpo-38780: Initialize self.socket to None early in 
__init__() and check for None in close() and emit()
 Author: Erlend E. Aasland 
 Date: Fri Feb 28 22:38:12 2020 +0100
 1 file changed, 7 insertions(+), 2 deletions(-)
cpython master $ http https://bugs.python.org/file48934/0002-Improve-emit.patch 
| git apply
cpython master $ git commit -a -m "bpo-38780: Address uncertainty in handling 
of emit() case." --author "Erlend E. Aasland " --date '28 Feb 2020 23:22:58 +0100'
[master 045b6381b5] bpo-38780: Address uncertainty in handling of emit() case.
 Author: Erlend E. Aasland 
 Date: Fri Feb 28 23:22:58 2020 +0100
 1 file changed, 7 insertions(+), 5 deletions(-)
cpython master $ git checkout -b bugfix/bpo-38780
Switched to a new branch 'bugfix/bpo-38780'
cpython bugfix/bpo-38780 $ gpj
To https://github.com/jaraco/cpython
 * [new branch]bugfix/bpo-38780 -> bugfix/bpo-38780
 * [new tag]   v3.10.0a2 -> v3.10.0a2
Branch 'bugfix/bpo-38780' set up to track remote branch 'bugfix/bpo-38780' from 
'jaraco'.
```

--

___
Python tracker 

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



[issue38780] SysLogHandler crash atexit

2020-12-05 Thread Jason R. Coombs


Jason R. Coombs  added the comment:

I'll take a look at the patch and convert it to a PR.

--
assignee:  -> jaraco

___
Python tracker 

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



[issue42577] Unhelpful syntax error when expression spans multiple lines

2020-12-05 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> duplicate
superseder:  -> Line number of SyntaxError

___
Python tracker 

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



[issue42578] Add tip when encountering UnicodeDecode/EncodeError in open()

2020-12-05 Thread Steven D'Aprano


Steven D'Aprano  added the comment:

"Maybe a helpful tip can be added to the error message."

What sort of helpful tip do you have in mind?

Remember that the error doesn't occur when the file is opened, but some time 
later.

--
nosy: +steven.daprano

___
Python tracker 

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



[issue42576] Passing keyword arguments to types.GenericAlias causes a hard crash

2020-12-05 Thread Ken Jin


Change by Ken Jin :


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



[issue42576] Passing keyword arguments to types.GenericAlias causes a hard crash

2020-12-05 Thread miss-islington


miss-islington  added the comment:


New changeset d5c029b1a9b47737efb8966f804d28b99a2de239 by Miss Islington (bot) 
in branch '3.9':
bpo-42576: Raise TypeError when passing in keyword arguments to GenericAlias 
(GH-23656)
https://github.com/python/cpython/commit/d5c029b1a9b47737efb8966f804d28b99a2de239


--

___
Python tracker 

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



[issue42576] Passing keyword arguments to types.GenericAlias causes a hard crash

2020-12-05 Thread miss-islington


miss-islington  added the comment:


New changeset 804d6893b801e8f30318afc38c20d4d0e6161db3 by kj in branch 'master':
bpo-42576: Raise TypeError when passing in keyword arguments to GenericAlias 
(GH-23656)
https://github.com/python/cpython/commit/804d6893b801e8f30318afc38c20d4d0e6161db3


--
nosy: +miss-islington

___
Python tracker 

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



[issue42576] Passing keyword arguments to types.GenericAlias causes a hard crash

2020-12-05 Thread miss-islington


Change by miss-islington :


--
pull_requests: +22526
pull_request: https://github.com/python/cpython/pull/23659

___
Python tracker 

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



[issue42578] Add tip when encountering UnicodeDecode/EncodeError in open()

2020-12-05 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

4 of 5 linked questions do not have relation to open(). Half of them are Python 
2 specific, and other half is Windows specific and should be fixed in recent 
Python releases on new Windows.

--
nosy: +serhiy.storchaka

___
Python tracker 

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



[issue42576] Passing keyword arguments to types.GenericAlias causes a hard crash

2020-12-05 Thread Guido van Rossum


Guido van Rossum  added the comment:

Oh, this looks like I copied the wrong idiom. Good catch!

--

___
Python tracker 

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



[issue5054] CGIHTTPRequestHandler.run_cgi() HTTP_ACCEPT improperly parsed

2020-12-05 Thread Senthil Kumaran


Senthil Kumaran  added the comment:

This was also resolved in 3.10 https://github.com/python/cpython/pull/23638

--

___
Python tracker 

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



[issue5054] CGIHTTPRequestHandler.run_cgi() HTTP_ACCEPT improperly parsed

2020-12-05 Thread Senthil Kumaran


Change by Senthil Kumaran :


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



[issue5054] CGIHTTPRequestHandler.run_cgi() HTTP_ACCEPT improperly parsed

2020-12-05 Thread miss-islington


miss-islington  added the comment:


New changeset b630ca7bc13ba9bdf95cd7dce0ac8e1578fb53a0 by Miss Islington (bot) 
in branch '3.9':
[3.9] bpo-5054: CGIHTTPRequestHandler.run_cgi() HTTP_ACCEPT improperly parsed 
(GH-23638) (GH-23657)
https://github.com/python/cpython/commit/b630ca7bc13ba9bdf95cd7dce0ac8e1578fb53a0


--

___
Python tracker 

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



[issue42578] Add tip when encountering UnicodeDecode/EncodeError in open()

2020-12-05 Thread wyz23x2


Change by wyz23x2 :


--
title: Add tip when encountering UnicodeDecode/Encode Error in open() -> Add 
tip when encountering UnicodeDecode/EncodeError in open()

___
Python tracker 

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



[issue42578] Add tip when encountering UnicodeDecode/Encode Error in open()

2020-12-05 Thread wyz23x2


wyz23x2  added the comment:

>>> (1,)(2, 3)
:1: SyntaxWarning: 'tuple' object is not callable; perhaps you missed a 
comma?

--

___
Python tracker 

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



[issue42578] Add tip when encountering UnicodeDecode/Encode Error in open()

2020-12-05 Thread wyz23x2


New submission from wyz23x2 :

Programmers often stumble over UnicodeDecode/EncodeError during open(), and 
especially beginners don't know what to do.
There are lots of questions on Stackoverflow:
https://stackoverflow.com/questions/16528468/while-reading-file-on-python-i-got-a-unicodedecodeerror-what-can-i-do-to-resol
https://stackoverflow.com/questions/38186847/python-line-replace-returns-unicodeencodeerror
https://stackoverflow.com/questions/3224268/python-unicode-encode-error
https://stackoverflow.com/questions/50331257/python3-unicodeencodingerror
https://stackoverflow.com/questions/24717808/python-cant-write-to-file-unicodeencodeerror
..
Maybe a helpful tip can be added to the error message.
We have done this before:
>>> (1,)(2, 3)  
>>>   :1: SyntaxWarning: 
>>> 'tuple' object is not callable; perhaps you missed a comma?
>>> print 3 
>>> 
  File "", line 1
  
print 3 

  ^ 
  SyntaxError: Missing parentheses 
in call to 'print'. Did you mean print(3)?

--
components: IO
messages: 382567
nosy: wyz23x2
priority: normal
severity: normal
status: open
title: Add tip when encountering UnicodeDecode/Encode Error in open()
versions: Python 3.10, Python 3.9

___
Python tracker 

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



[issue42577] Unhelpful syntax error when expression spans multiple lines

2020-12-05 Thread Christoph Reiter


New submission from Christoph Reiter :

I don't know if the bug tracker is the right place for this, please point me to 
the right place if not.

Someone faced to the following code (simplified example here) and asked for 
help:

```
if 3:
if 1:
print(((123))

if 2:
print(123)
```

This results in the following error:

```
File "error.py", line 5
  if 2:
  ^
SyntaxError: invalid syntax
```

which is very confusing to users not familiar with generator expressions.

I'm wondering if python could improve syntax errors in this case by adding more 
context, like point to where it started parsing the current thing and where it 
gave up instead to just the later.

--
messages: 382566
nosy: lazka
priority: normal
severity: normal
status: open
title: Unhelpful syntax error when expression spans multiple lines
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



[issue5054] CGIHTTPRequestHandler.run_cgi() HTTP_ACCEPT improperly parsed

2020-12-05 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 7.0 -> 8.0
pull_requests: +22525
pull_request: https://github.com/python/cpython/pull/23657

___
Python tracker 

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



[issue42576] Passing keyword arguments to types.GenericAlias causes a hard crash

2020-12-05 Thread Ken Jin


Change by Ken Jin :


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

___
Python tracker 

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



[issue42576] Passing keyword arguments to types.GenericAlias causes a hard crash

2020-12-05 Thread Ken Jin


New submission from Ken Jin :

I noticed that passing keyword arguments to types.GenericAlias's __new__ causes 
the interpreter to hard crash and exit due to an assertion failure:

import types
types.GenericAlias(bad=float)


Result:
Assertion failed: PyTuple_CheckExact(kwnames), file 
\cpython\Python\getargs.c, line 2767

A simple fix is to just use _PyArg_NoKeywords instead of _PyArg_NoKwnames. 

Looking through the rest of the C code, it seems that apart from GenericAlias, 
only vectorcalls for various builtins use _PyArg_NoKwnames. However, they don't 
seem to be affected by the bug.

--
components: Interpreter Core
messages: 382565
nosy: gvanrossum, kj
priority: normal
severity: normal
status: open
title: Passing keyword arguments to types.GenericAlias causes a hard crash
versions: Python 3.10, Python 3.9

___
Python tracker 

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



[issue42573] Installation of Python 3.9 failing with message "User cancelled installation"

2020-12-05 Thread Ronald Oussoren


Change by Ronald Oussoren :


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



[issue42573] Installation of Python 3.9 failing with message "User cancelled installation"

2020-12-05 Thread Ronald Oussoren


New submission from Ronald Oussoren :

Which OS and version are you trying to install on?

--
nosy: +ronaldoussoren

___
Python tracker 

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



[issue30459] PyList_SET_ITEM could be safer

2020-12-05 Thread STINNER Victor


Change by STINNER Victor :


--
pull_requests: +22523
pull_request: https://github.com/python/cpython/pull/23654

___
Python tracker 

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



[issue30459] PyList_SET_ITEM could be safer

2020-12-05 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset 556d97f473fa538cef780f84bd29239ecf57d9c5 by Zackery Spytz in 
branch 'master':
bpo-30459: Cast the result of PyList_SET_ITEM() to void (GH-19975)
https://github.com/python/cpython/commit/556d97f473fa538cef780f84bd29239ecf57d9c5


--

___
Python tracker 

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



[issue30459] PyList_SET_ITEM could be safer

2020-12-05 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

I prefer PR 19975 to PR 23645. It solves the initial issue and is much simpler.

--

___
Python tracker 

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



[issue30459] PyList_SET_ITEM could be safer

2020-12-05 Thread Espie Marc


Espie Marc  added the comment:

On Sat, Dec 05, 2020 at 01:28:33AM +, STINNER Victor wrote:
> 
> STINNER Victor  added the comment:
> 
> I propose to merge my PR 23645 change right now. If it breaks too many C 
> extensions, we still have time before Python 3.10.0 final scheduled at 
> Monday, 2021-10-04, to revert the change.
> 
> 
> "if (obj == NULL || PyList_SET_ITEM (l, i, obj) < 0)"
> 
> Well, this is obviously a bug in py-qt4 and it's a good thing to get a 
> compiler error on such code. I guess that the intent was to use 
> PyList_SetItem().
> 
> It's also an issue for Python implementation other than CPython which does 
> not behave exactly like CPython C API. I prefer to fix the C API to make it 
> respect its own documentation (return "void").
> 
> 
> Espie Marc: "Well, there is not going to be a lot of breakage. This problem 
> is the only instance I've encountered in the full OpenBSD ports tree."
> 
> Oh, thanks for providing this very useful feedback! That's very promising.
> 
> Did you report the issue to py-qt4 upstream? If yes, can you please copy here 
> the link to your report?

I'm sorry, it's been so long ago, I can't remember.

I've been dealing with 10s of other bugs since.

--

___
Python tracker 

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



[issue42575] Suggest to add an LinkedList data structure to python

2020-12-05 Thread Steven D'Aprano


Steven D'Aprano  added the comment:

The class you have provided is awkward to use, random access is inefficient, it 
is not compatible with lists or offer a sequence API, it's not subscriptable or 
iterable, the API exposes an unnecessary "Proxy" class, and the API is more 
like what I would expect from Java code than Python code.

But even if every one of those problems was fixed, there is still the question, 
why would somebody choose this LinkedList instead of the fast, efficient 
built-in list? What advantages does this have?

--
nosy: +steven.daprano

___
Python tracker 

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