[issue42821] HTMLParser: subsequent duplicate attributes should be ignored

2021-01-04 Thread karl
New submission from karl : This comes up while working on issue 41748 browser input data:text/html,text browser output text Actual HTMLParser output see https://github.com/python/cpython/pull/24072#discussion_r551158342 ('starttag', 'div', [('class', 'bar'), ('class', 'foo')])] Expected H

[issue42681] Incorrect range checks/documentation in curses

2021-01-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 82794cacc6073af9bc2b792a5ee21397f4c9037f by Serhiy Storchaka in branch '3.8': [3.8] [3.9] bpo-42681: Fix range checks for color and pair numbers in curses (GH-23874). (GH-24077) (GH-24079) https://github.com/python/cpython/commit/82794cacc607

[issue41837] Upgrade installers to OpenSSL 1.1.1h

2021-01-04 Thread Ned Deily
Change by Ned Deily : -- keywords: +patch pull_requests: +22914 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24080 ___ Python tracker ___ __

[issue42361] Use Tcl/Tk 8.6.10 in build-installer.py when building on recent macOS

2021-01-04 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +22915 pull_request: https://github.com/python/cpython/pull/24081 ___ Python tracker ___ ___

[issue40636] Provide a strict form of zip (PEP-618) requiring same length inputs

2021-01-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: For other types we do not have such strict tests. We just test that pickling roundtrips (it is already tested for zip() in other tests). There are few tests that unpickling some exact byte strings produces the expected value, but these tests are in picklet

[issue41837] Upgrade installers to OpenSSL 1.1.1h

2021-01-04 Thread Ned Deily
Ned Deily added the comment: New changeset 14097a2785414c728d41d8d730a469a8c46ecdb9 by Ned Deily in branch 'master': bpo-41837: Update macOS installer build to use OpenSSL 1.1.1i. (GH-24080) https://github.com/python/cpython/commit/14097a2785414c728d41d8d730a469a8c46ecdb9 -- __

[issue41837] Upgrade installers to OpenSSL 1.1.1h

2021-01-04 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 7.0 -> 8.0 pull_requests: +22916 pull_request: https://github.com/python/cpython/pull/24083 ___ Python tracker _

[issue41837] Upgrade installers to OpenSSL 1.1.1h

2021-01-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +22917 pull_request: https://github.com/python/cpython/pull/24084 ___ Python tracker ___ __

[issue41837] Upgrade installers to OpenSSL 1.1.1i

2021-01-04 Thread Ned Deily
Change by Ned Deily : -- title: Upgrade installers to OpenSSL 1.1.1h -> Upgrade installers to OpenSSL 1.1.1i ___ Python tracker ___ ___

[issue42789] Do not skip test_curses on non-tty

2021-01-04 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +22918 pull_request: https://github.com/python/cpython/pull/24085 ___ Python tracker ___

[issue42361] Use Tcl/Tk 8.6.10 in build-installer.py when building on recent macOS

2021-01-04 Thread Ned Deily
Ned Deily added the comment: New changeset a38e04b566879a5040ea97428d7ee4331d76513f by Ned Deily in branch 'master': bpo-42361: Update macOS installer build to use Tcl/Tk 8.6.11 (GH-24081) https://github.com/python/cpython/commit/a38e04b566879a5040ea97428d7ee4331d76513f --

[issue42361] Use Tcl/Tk 8.6.10 in build-installer.py when building on recent macOS

2021-01-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +22919 pull_request: https://github.com/python/cpython/pull/24086 ___ Python tracker ___ __

[issue42789] Do not skip test_curses on non-tty

2021-01-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: On other hand, it was impossible to write correct tests for issue42681 while tests were skipped on buildbots. I spent the whole day yesterday debugging and backporting that changes (some tests failed only on one particular builtbot). So it was right to ena

[issue42584] Upgrade macOS and Windows installers to use SQLite 3.34.0

2021-01-04 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : Removed file: https://bugs.python.org/file49694/0001-Add-simple-validation-CI.patch ___ Python tracker ___ _

[issue42584] Upgrade macOS and Windows installers to use SQLite 3.34.0

2021-01-04 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : Added file: https://bugs.python.org/file49718/0001-Add-simple-validation-CI.patch ___ Python tracker ___ ___

[issue42361] Use Tcl/Tk 8.6.10 in build-installer.py when building on recent macOS

2021-01-04 Thread miss-islington
miss-islington added the comment: New changeset cb882f97bc142380460ea519829dc4baf0eb01f2 by Miss Islington (bot) in branch '3.9': bpo-42361: Update macOS installer build to use Tcl/Tk 8.6.11 (GH-24081) https://github.com/python/cpython/commit/cb882f97bc142380460ea519829dc4baf0eb01f2 ---

[issue41837] Upgrade installers to OpenSSL 1.1.1i

2021-01-04 Thread Ned Deily
Ned Deily added the comment: New changeset f24ac455521e46bf9f6c7971aec0e4abec4451c4 by Miss Islington (bot) in branch '3.8': bpo-41837: Update macOS installer build to use OpenSSL 1.1.1i. (GH-24080) (#24084) https://github.com/python/cpython/commit/f24ac455521e46bf9f6c7971aec0e4abec4451c4

[issue41837] Upgrade installers to OpenSSL 1.1.1i

2021-01-04 Thread Ned Deily
Ned Deily added the comment: New changeset 76489dd2998ac70ffb300d612792a7238c03438c by Miss Islington (bot) in branch '3.9': bpo-41837: Update macOS installer build to use OpenSSL 1.1.1i. (GH-24080) (GH-24083) https://github.com/python/cpython/commit/76489dd2998ac70ffb300d612792a7238c03438c

[issue42789] Do not skip test_curses on non-tty

2021-01-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset b6fc0c406e6b4b86f59b1390142f35da0e364927 by Serhiy Storchaka in branch 'master': bpo-42789: Enable using /dev/tty in test_curses. (GH-24085) https://github.com/python/cpython/commit/b6fc0c406e6b4b86f59b1390142f35da0e364927 -- __

[issue42789] Do not skip test_curses on non-tty

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

[issue42681] Incorrect range checks/documentation in curses

2021-01-04 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +22920 pull_request: https://github.com/python/cpython/pull/24089 ___ Python tracker ___

[issue42692] Build fails on macOS when compiler doesn't define __has_builtin

2021-01-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +22921 pull_request: https://github.com/python/cpython/pull/24090 ___ Python tracker ___ __

[issue42692] Build fails on macOS when compiler doesn't define __has_builtin

2021-01-04 Thread miss-islington
miss-islington added the comment: New changeset df21f502fdccec234282bf0a211af979fd23def4 by Joshua Root in branch 'master': bpo-42692: fix __builtin_available check on older compilers (GH-23873) https://github.com/python/cpython/commit/df21f502fdccec234282bf0a211af979fd23def4 -- nos

[issue42692] Build fails on macOS when compiler doesn't define __has_builtin

2021-01-04 Thread Ned Deily
Ned Deily added the comment: New changeset eedeaef1f22d27264ce9b031da80fe2485e85e69 by Miss Islington (bot) in branch '3.9': bpo-42692: fix __builtin_available check on older compilers (GH-23873) (GH-24090) https://github.com/python/cpython/commit/eedeaef1f22d27264ce9b031da80fe2485e85e69 -

[issue42692] Build fails on macOS when compiler doesn't define __has_builtin

2021-01-04 Thread Ned Deily
Ned Deily added the comment: Thanks for the PR! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue28937] str.split(): allow removing empty strings (when sep is not None)

2021-01-04 Thread Zackery Spytz
Zackery Spytz added the comment: I am working on this issue. -- assignee: -> ZackerySpytz nosy: +ZackerySpytz versions: +Python 3.10 -Python 3.8 ___ Python tracker ___ __

[issue42810] Nested if/else gets phantom else trace (3.10)

2021-01-04 Thread Mark Shannon
Change by Mark Shannon : -- keywords: +patch pull_requests: +22922 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24091 ___ Python tracker ___ ___

[issue42587] memoryview rely on _Bool undefined behavior (test_buffer fails on Python built with GCC 11)

2021-01-04 Thread STINNER Victor
STINNER Victor added the comment: The Fedora package gcc-11.0.0-0.11 includes https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=3e60ddeb8220ed388819bb3f14e8caa9309fd3c2 fix for the https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98190 bug. -- ___ Python

[issue42587] memoryview rely on _Bool undefined behavior (test_buffer fails on Python built with GCC 11)

2021-01-04 Thread STINNER Victor
STINNER Victor added the comment: "PPC64LE Fedora Rawhide LTO 3.x" buildbot is back to green. test.pythoninfo now says: CC.version: gcc (GCC) 11.0.0 20201223 (Red Hat 11.0.0-0) -- resolution: -> fixed stage: -> resolved status: open -> closed __

[issue42246] Implement PEP 626 -- Precise line numbers for debugging

2021-01-04 Thread Mark Shannon
Change by Mark Shannon : -- pull_requests: +22923 pull_request: https://github.com/python/cpython/pull/24094 ___ Python tracker ___

[issue42822] Missing backslashes in documentation for 3.8 and 3.9

2021-01-04 Thread Julien Palard
Change by Julien Palard : -- keywords: +patch pull_requests: +22924 stage: commit review -> patch review pull_request: https://github.com/python/cpython/pull/24093 ___ Python tracker _

[issue42822] Missing backslashes in documentation for 3.8 and 3.9

2021-01-04 Thread Julien Palard
New submission from Julien Palard : This is just to track the issue, initially reported here: https://github.com/python/python-docs-theme/issues/63 Then discussed here: https://github.com/python/cpython/pull/23827#issuecomment-753598860 Then reverted: - in 3.8 https://github.com/python/cpyth

[issue42822] Missing backslashes in documentation for 3.8 and 3.9

2021-01-04 Thread Julien Palard
Change by Julien Palard : -- pull_requests: +22925 pull_request: https://github.com/python/cpython/pull/24092 ___ Python tracker ___ ___

[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2021-01-04 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- pull_requests: +22926 pull_request: https://github.com/python/cpython/pull/24095 ___ Python tracker ___

[issue42739] Crash when try to disassemble bogus code object

2021-01-04 Thread Mark Shannon
Mark Shannon added the comment: dis is able to handle code with no line numbers. >>> def f(): pass ... >>> co = f.__code__.replace(co_linetable=b'\xff') >>> list(co.co_lines()) [] >>> import dis >>> dis.dis(co) 0 LOAD_CONST 0 (None) 2 RETURN_VALUE The proble

[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2021-01-04 Thread STINNER Victor
STINNER Victor added the comment: New changeset c8a87addb1fa35dec79ed8f227eba3694fc36234 by Mohamed Koubaa in branch 'master': bpo-1635741: Port pyexpat to multi-phase init (PEP 489) (GH-2) https://github.com/python/cpython/commit/c8a87addb1fa35dec79ed8f227eba3694fc36234 -- ___

[issue12806] argparse: Hybrid help text formatter

2021-01-04 Thread David Steele
David Steele added the comment: For those looking for a solution now, see https://pypi.org/project/argparse-formatter/ -- ___ Python tracker ___ _

[issue41798] [C API] Revisit usage of the PyCapsule C API with multi-phase initialization API

2021-01-04 Thread hai shi
Change by hai shi : -- pull_requests: +22927 pull_request: https://github.com/python/cpython/pull/24096 ___ Python tracker ___ ___ P

[issue42541] Tkinter colours wrong on MacOS universal2

2021-01-04 Thread E. Paine
E. Paine added the comment: Note: Tcl/Tk 8.6.11 was released a few days ago (thanks Kevin/Marc!). -- ___ Python tracker ___ ___ Pyt

[issue42584] Upgrade macOS and Windows installers to use SQLite 3.34.0

2021-01-04 Thread Steve Dower
Steve Dower added the comment: Honestly, keeping a CI run alive is more work than just doing the extract and push myself. I know this means it feels like you can't do as much yourself to speed up the integration, but it really isn't going to slow it down that much. FWIW, any core dev can mer

[issue42819] readline 8.1 bracketed paste

2021-01-04 Thread FX Coudert
FX Coudert added the comment: This bug is present in all versions since the 3.6 branch at least, but was only triggered when users' readline settings explicitly enabled bracketed-paste. Previous reports: https://bugs.python.org/issue32019 and https://bugs.python.org/issue39820 Longer discuss

[issue42823] Incorrect frame.f_lineno when frame.f_trace is set

2021-01-04 Thread Mark Shannon
New submission from Mark Shannon : The logic for frame.f_lineno assumes that the internal C field will be updated when f_trace is set, but that is incorrect. Consequently, the following code import sys def print_line(): print(sys._getframe(1).f_lineno) def test(): print_line() sy

[issue42824] get_type_hints throws for local class reference

2021-01-04 Thread Fabian.M
New submission from Fabian.M : The following code throws with "NameError: name 'Nested' is not defined". For reference, it works well when moving class definitions out of the local scope. import typing T = typing.TypeVar('T') def test(): class Nested(typing.Generic[T]): pass

[issue42825] Optimization opportunity on Windows

2021-01-04 Thread Austin Lamb
New submission from Austin Lamb : I noticed that CPython and the various libraries built out of the repo aren't using the "/OPT:REF" linker optimization on Windows. This optimization allows the linker to throw away dead/unreachable code, resulting in a substantial decrease in binary size. T

[issue42826] typing.Iterable does not need__getitem__() method

2021-01-04 Thread Peter Pavlinič
New submission from Peter Pavlinič : https://docs.python.org/3.10/glossary.html#term-iterable -- assignee: docs@python components: Documentation messages: 384334 nosy: docs@python, peter.pavlinic priority: normal severity: normal status: open title: typing.Iterable does not need__getitem

[issue42826] typing.Iterable does not need __getitem__() method

2021-01-04 Thread Peter Pavlinič
Peter Pavlinič added the comment: In documentation it is written that typing.Iterable can be implemented with __getitem__() method that implements Sequence semantics. That is not correct. link: https://docs.python.org/3.79/glossary.html#term-iterable -- title: typing.Iterable does n

[issue42826] typing.Iterable does not need __getitem__() method

2021-01-04 Thread Peter Pavlinič
Peter Pavlinič added the comment: In documentation it is written that typing.Iterable can be implemented with __getitem__() method that implements Sequence semantics. That is not correct. link: /glossary.html#term-iterable -- ___ Python tracker

[issue28937] str.split(): allow removing empty strings (when sep is not None)

2021-01-04 Thread Guido van Rossum
Guido van Rossum added the comment: Excellent! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue40636] Provide a strict form of zip (PEP-618) requiring same length inputs

2021-01-04 Thread Guido van Rossum
Guido van Rossum added the comment: Sounds good, go for it. I assume @brandtbucher won't mind. -- ___ Python tracker ___ ___ Python

[issue42825] Optimization opportunity on Windows

2021-01-04 Thread Austin Lamb
Change by Austin Lamb : -- keywords: +patch pull_requests: +22928 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24098 ___ Python tracker ___

[issue40636] Provide a strict form of zip (PEP-618) requiring same length inputs

2021-01-04 Thread Brandt Bucher
Brandt Bucher added the comment: Yep, fine by me. I can remove them later today (unless Serhiy beats me to it). -- ___ Python tracker ___ _

[issue42810] Nested if/else gets phantom else trace (3.10)

2021-01-04 Thread Mark Shannon
Mark Shannon added the comment: New changeset 127dde591686816e379d1add015304e6b9fb6954 by Mark Shannon in branch 'master': bpo-42810: Mark jumps at end of if and try statements as artificial. (GH-24091) https://github.com/python/cpython/commit/127dde591686816e379d1add015304e6b9fb6954 --

[issue42541] Tkinter colours wrong on MacOS universal2

2021-01-04 Thread Marc Culler
Marc Culler added the comment: Well, actually the release was announced today. There was one bug fix which did not make it into the release but could possibly affect Python, due to the fact that Python is installed as a framework, and frameworks to not have icons. I can supply a (1-line) pa

[issue42823] Incorrect frame.f_lineno when frame.f_trace is set

2021-01-04 Thread Mark Shannon
Change by Mark Shannon : -- keywords: +patch pull_requests: +22930 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24099 ___ Python tracker ___ ___

[issue42803] Traced line number is wrong for "if not __debug__"

2021-01-04 Thread Mark Shannon
Change by Mark Shannon : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-

[issue42810] Nested if/else gets phantom else trace (3.10)

2021-01-04 Thread Mark Shannon
Change by Mark Shannon : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue41463] Avoid duplicating jump information from opcode.py in compile.c

2021-01-04 Thread Mark Shannon
Mark Shannon added the comment: I don't think we want to backport it -- stage: patch review -> resolved status: pending -> closed ___ Python tracker ___ __

[issue42541] Tkinter colours wrong on MacOS universal2

2021-01-04 Thread Ronald Oussoren
Ronald Oussoren added the comment: W.r.t. building on 10.9: until very recently (trunk and 3.9.1) Python didn’t check for symbol availability at runtime. Building on 10.9 is basically a workaround for that. The, for now experimental, “universal2” installer for 3.9.1 is build on Big Sur and

[issue42826] typing.Iterable does not need __getitem__() method

2021-01-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I do not know how is it related to typing.Iterable and I have not found any mention of typing.Iterable on the provided link, but an iterable object can be implemented with __getitem__ method. -- nosy: +serhiy.storchaka

[issue42824] get_type_hints throws for local class reference

2021-01-04 Thread Guido van Rossum
Guido van Rossum added the comment: This is a known limitation. To get this to work you have to pass globals() and locals(): typing.get_type_hints(Test, globals(), locals()) -- nosy: +gvanrossum resolution: -> wont fix stage: -> resolved status: open -> closed

[issue42811] Update docs for importlib.util.resolve_name() to use __spec__ instead of __package__

2021-01-04 Thread Yair Frid
Change by Yair Frid : -- keywords: +patch nosy: +Fongeme nosy_count: 1.0 -> 2.0 pull_requests: +22931 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/24100 ___ Python tracker

[issue1043134] Add preferred extensions for MIME types

2021-01-04 Thread Florian Bruhin
Florian Bruhin added the comment: I think this has been fixed in Python 3.7+ via https://github.com/python/cpython/pull/14375 - at least for a couple of types. Comparing Python 3.6 with the current state, the following changed (which can be used as an "override" dict before calling mimetypes

[issue42541] Tkinter colours wrong on MacOS universal2

2021-01-04 Thread Ned Deily
Ned Deily added the comment: As Ronald notes, as of 3.9.1, we are for the immediate future providing two macOS installer variants: the traditional 10.9+ Intel-64 variant that is built on 10.9 and includes Tk 8.6.8 and the new "experimental" 10.9+ "universal2" (Apple Silicon and Intel-64) var

[issue42827] Multiline eval with assignment to function call segfaults

2021-01-04 Thread Julien Palard
New submission from Julien Palard : Tested in 3.9.0 and master (127dde5916): $ cat test.py eval( """[file for str(file) in [] ] """ ) $ ./python test.py python: Parser/pegen.c:149: byte_offset_to_character_offset: Assertion `col_offset >= 0 && (unsigned long)col_offset <= strlen(str)' fai

[issue42827] Multiline eval with assignment to function call segfaults

2021-01-04 Thread STINNER Victor
STINNER Victor added the comment: Reproducer as a single line: compile("[file for str(file) in []\n]", "string", "exec") -- components: +Interpreter Core keywords: +3.9regression nosy: +lys.nikolaou, vstinner versions: +Python 3.9 ___ Python tracke

[issue42827] pegen parser: Multiline eval with assignment to function call: assertion failed

2021-01-04 Thread STINNER Victor
Change by STINNER Victor : -- title: Multiline eval with assignment to function call segfaults -> pegen parser: Multiline eval with assignment to function call: assertion failed ___ Python tracker _

[issue29708] support reproducible Python builds

2021-01-04 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue17343] Add a version of str.split which returns an iterator

2021-01-04 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue42827] pegen parser: Multiline eval with assignment to function call: assertion failed

2021-01-04 Thread Julien Palard
Julien Palard added the comment: According to git bisect it come from 01ece63d42b830df106948db0aefa6c1ba24416a, thanks Victor for adding Lysandros, you had a good feeling :) -- ___ Python tracker __

[issue42584] Upgrade macOS and Windows installers to use SQLite 3.34.0

2021-01-04 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: > FWIW, any core dev can merge SQLite updates for Windows (if they're satisfied > there are no issues). A CI check would indicate that there are no issues. The PoC CI is just a short bash script wrapped in GitHub's workflow syntax. I'd be happy to mai

[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2021-01-04 Thread STINNER Victor
STINNER Victor added the comment: New changeset 0b858cdd5d114f0890b11b6c4d6559d0ceb468ab by Erlend Egeberg Aasland in branch 'master': bpo-1635741: Convert _multibytecodec to multi-phase init (GH-24095) https://github.com/python/cpython/commit/0b858cdd5d114f0890b11b6c4d6559d0ceb468ab --

[issue42818] AttributeError: 'zipimporter' object has no attribute 'find_spec'

2021-01-04 Thread J.D. Rudie
J.D. Rudie added the comment: Is this an issue with zipimporter, or an issue with a version of setuptools? On the latest version of setuptools, find_spec reverts to find_module, which should be implemented in the 3.9 version of zipimporter unless I'm misunderstanding the issue. -- n

[issue42093] Add opcode cache for LOAD_ATTR

2021-01-04 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks! Do you have any plans for further inline caches? I was wondering if we could reverse the situation for slots again by adding slots support to the LOAD_ATTR opcode inline cache... -- nosy: +gvanrossum ___

[issue40810] sqlite3 test CheckTraceCallbackContent fails for sqlite v3.7.3 through 3.7.14.1

2021-01-04 Thread miss-islington
miss-islington added the comment: New changeset f7f0ed59bcc41ed20674d4b2aa443d3b79e725f4 by Erlend Egeberg Aasland in branch 'master': bpo-40810: Fix CheckTraceCallbackContent for SQLite pre 3.7.15 (GH-20530) https://github.com/python/cpython/commit/f7f0ed59bcc41ed20674d4b2aa443d3b79e725f4

[issue40810] sqlite3 test CheckTraceCallbackContent fails for sqlite v3.7.3 through 3.7.14.1

2021-01-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +22933 pull_request: https://github.com/python/cpython/pull/24104 ___ Python tracker ___ __

[issue40810] sqlite3 test CheckTraceCallbackContent fails for sqlite v3.7.3 through 3.7.14.1

2021-01-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +22934 pull_request: https://github.com/python/cpython/pull/24105 ___ Python tracker ___ __

[issue40810] sqlite3 test CheckTraceCallbackContent fails for sqlite v3.7.3 through 3.7.14.1

2021-01-04 Thread Guido van Rossum
Guido van Rossum added the comment: Please ping this issue if the backports don't auto-merge after the tests pass, or if the tests fail. -- nosy: +gvanrossum ___ Python tracker _

[issue40822] Drop support for SQLite pre 3.7.15

2021-01-04 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing

[issue40810] sqlite3 test CheckTraceCallbackContent fails for sqlite v3.7.3 through 3.7.14.1

2021-01-04 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- pull_requests: +22935 pull_request: https://github.com/python/cpython/pull/24106 ___ Python tracker ___ __

[issue40810] sqlite3 test CheckTraceCallbackContent fails for sqlite v3.7.3 through 3.7.14.1

2021-01-04 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: > +1 for dropping support for < 3.7.15 in master. We should fix or skip tests > in maintenance branches. PR's for fixing the tests in 3.9 and 3.8 are now awaiting merge. PR for dropping support for SQLite pre 3.7.15 in master is opened. --

[issue40810] sqlite3 test CheckTraceCallbackContent fails for sqlite v3.7.3 through 3.7.14.1

2021-01-04 Thread miss-islington
miss-islington added the comment: New changeset 0ccac5ff587d7637854e5d3e75f0f9a8f5528e59 by Miss Islington (bot) in branch '3.8': bpo-40810: Fix CheckTraceCallbackContent for SQLite pre 3.7.15 (GH-20530) https://github.com/python/cpython/commit/0ccac5ff587d7637854e5d3e75f0f9a8f5528e59 -

[issue40810] sqlite3 test CheckTraceCallbackContent fails for sqlite v3.7.3 through 3.7.14.1

2021-01-04 Thread miss-islington
miss-islington added the comment: New changeset 80e5732d31bb7362c7b647acc618df701b3ae951 by Miss Islington (bot) in branch '3.9': bpo-40810: Fix CheckTraceCallbackContent for SQLite pre 3.7.15 (GH-20530) https://github.com/python/cpython/commit/80e5732d31bb7362c7b647acc618df701b3ae951 -

[issue42827] pegen parser: Multiline eval with assignment to function call: assertion failed

2021-01-04 Thread Lysandros Nikolaou
Lysandros Nikolaou added the comment: Thanks for letting us know, Julien! I've identified the bug and where it comes from and I'll probably work on it tomorrow. -- ___ Python tracker ___

[issue4714] print opcode stats at the end of pybench runs

2021-01-04 Thread Guido van Rossum
Change by Guido van Rossum : -- resolution: -> out of date stage: patch review -> resolved status: languishing -> closed ___ Python tracker ___

[issue36675] Doctest directives and comments missing from code samples

2021-01-04 Thread Anthony Sottile
Anthony Sottile added the comment: should the minimum sphinx version be bumped and/or this reverted: https://github.com/python/cpython/blob/f7f0ed59bcc41ed20674d4b2aa443d3b79e725f4/Doc/conf.py#L48 this change breaks, for example, sphinx 1.8.5 while building for ubuntu 20.04 The directive use

[issue25258] HtmlParser doesn't handle void element tags correctly

2021-01-04 Thread karl
karl added the comment: The parsing rules for tokenization of html are at https://html.spec.whatwg.org/multipage/parsing.html#tokenization In the stack of open elements, there are specific rules for certain elements. https://html.spec.whatwg.org/multipage/parsing.html#special from a DOM poi

[issue42827] pegen parser: Multiline eval with assignment to function call: assertion failed

2021-01-04 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +22936 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24107 ___ Python tracker __

[issue25258] HtmlParser doesn't handle void element tags correctly

2021-01-04 Thread karl
karl added the comment: I wonder if the confusion comes from the name. The HTMLParser is kind of a tokenizer more than a full HTML parser, but that's probably a detail. It doesn't create a DOM Tree which you can access, but could help you to build a DOM Tree (!= DOM Document object) https:/

[issue42093] Add opcode cache for LOAD_ATTR

2021-01-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > Thanks! Do you have any plans for further inline caches? Yeah, we are experimenting with some ideas here: https://bugs.python.org/issue42115. > I was wondering if we could reverse the situation for slots again by adding > slots support to the LOA

[issue42115] Caching infrastructure for the evaluation loop: specialised opcodes

2021-01-04 Thread Guido van Rossum
Change by Guido van Rossum : -- nosy: +Guido.van.Rossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue42804] Unable to compile the cpython code x86 windows

2021-01-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: >From the evidence presented, the problem building 3.8 on Win 10 is not with >our build code. I therefore believe that this should be closed as '3rd-party' >and that Sunny should inquire on python-list about the permission problem. >However, I marked this

[issue42093] Add opcode cache for LOAD_ATTR

2021-01-04 Thread Guido van Rossum
Guido van Rossum added the comment: Hm, I was thinking to recognize the specific type of descriptor used by slots and cache only that. Though we would still have to consider updates to C.__dict__ (that's handled by looking at the dict version right?). --

[issue42826] typing.Iterable does not need __getitem__() method

2021-01-04 Thread Josh Rosenberg
Josh Rosenberg added the comment: As Serhiy says, the glossary term for an iterable is not the same as the documentation for typing.Iterable (which at this point is largely defined in terms of collections.abc.Iterable). True, collections.abc.Iterable does not detect classes that iterate via

[issue42819] readline 8.1 bracketed paste

2021-01-04 Thread Dustin Rodrigues
Change by Dustin Rodrigues : -- keywords: +patch pull_requests: +22937 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24108 ___ Python tracker ___

[issue40636] Provide a strict form of zip (PEP-618) requiring same length inputs

2021-01-04 Thread Brandt Bucher
Change by Brandt Bucher : -- pull_requests: +22938 pull_request: https://github.com/python/cpython/pull/24109 ___ Python tracker ___ ___

[issue27820] Possible bug in smtplib when initial_response_ok=False

2021-01-04 Thread Pandu E POLUAN
Pandu E POLUAN added the comment: Okay, I finally figured out what's wrong. This piece of code in `test_smtplib.py`: if self.smtp_state == self.AUTH: line = self._emptystring.join(self.received_lines) print('Data:', repr(line), file=smtpd.DEBUGSTREAM)

[issue40810] sqlite3 test CheckTraceCallbackContent fails for sqlite v3.7.3 through 3.7.14.1

2021-01-04 Thread Brandt Bucher
Change by Brandt Bucher : -- nosy: +brandtbucher nosy_count: 6.0 -> 7.0 pull_requests: +22939 pull_request: https://github.com/python/cpython/pull/24110 ___ Python tracker ___

[issue40810] sqlite3 test CheckTraceCallbackContent fails for sqlite v3.7.3 through 3.7.14.1

2021-01-04 Thread Brandt Bucher
Brandt Bucher added the comment: It looks like the markup in the NEWS entry broke Travis on master. I guess that's one downside of Travis not being a required job anymore. -- ___ Python tracker

[issue40810] sqlite3 test CheckTraceCallbackContent fails for sqlite v3.7.3 through 3.7.14.1

2021-01-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +22940 pull_request: https://github.com/python/cpython/pull/24111 ___ Python tracker ___ __

[issue40810] sqlite3 test CheckTraceCallbackContent fails for sqlite v3.7.3 through 3.7.14.1

2021-01-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +22941 pull_request: https://github.com/python/cpython/pull/24112 ___ Python tracker ___ __

  1   2   >