[issue32631] IDLE: revise zzdummy.py

2021-01-04 Thread Terry J. Reedy


Change by Terry J. Reedy :


--
pull_requests: +22944
pull_request: https://github.com/python/cpython/pull/24114

___
Python tracker 

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



[issue42681] Incorrect range checks/documentation in curses

2021-01-04 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
pull_requests: +22943
pull_request: https://github.com/python/cpython/pull/24113

___
Python tracker 

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



[issue32631] IDLE: revise zzdummy.py

2021-01-04 Thread Terry J. Reedy


Terry J. Reedy  added the comment:


New changeset e40e2a2cc94c554e7e245a8ca5a7432d31a95766 by Cheryl Sabella in 
branch 'master':
bpo-32631: IDLE: Enable zzdummy example extension module (GH-14491)
https://github.com/python/cpython/commit/e40e2a2cc94c554e7e245a8ca5a7432d31a95766


--

___
Python tracker 

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



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

2021-01-04 Thread Cheryl Sabella


Change by Cheryl Sabella :


--
nosy: +cheryl.sabella
nosy_count: 7.0 -> 8.0
pull_requests: +22942
pull_request: https://github.com/python/cpython/pull/14491

___
Python tracker 

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



[issue42681] Incorrect range checks/documentation in curses

2021-01-04 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:


New changeset 59f9b4e4509be67494f3d45489fa55523175ff69 by Serhiy Storchaka in 
branch 'master':
bpo-42681: Fix test_curses failures related to color pairs (GH-24089)
https://github.com/python/cpython/commit/59f9b4e4509be67494f3d45489fa55523175ff69


--

___
Python tracker 

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



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

2021-01-04 Thread Brandt Bucher


Brandt Bucher  added the comment:


New changeset 27f9dafc2ba51864a9bc2fe5d6293eb4fd887bce by Brandt Bucher in 
branch 'master':
bpo-40636: Remove overly-strict zip pickling tests (GH-24109)
https://github.com/python/cpython/commit/27f9dafc2ba51864a9bc2fe5d6293eb4fd887bce


--

___
Python tracker 

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



[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 

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



[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 

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



[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 

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



[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 

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



[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)
self.received_lines = []
try:
self.auth_object(line)
except ResponseException as e:
self.smtp_state = self.COMMAND
self.push('%s %s' % (e.smtp_code, e.smtp_error))
return

The last "return" is over-indented.

--

___
Python tracker 

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



[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 

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



[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 

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



[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 __getitem__, only via __iter__ (the docs are 
quite clear on this), but such __getitem__ based classes are still iterable in 
the broad sense of the term used in the glossary.

--
nosy: +josh.r
resolution:  -> not a bug
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



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

--

___
Python tracker 

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



[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 for 'Window' and will give our Windows experts a few 
>days to add something before closing.

--
components: +Windows
nosy: +paul.moore, steve.dower, terry.reedy, 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



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



[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 LOAD_ATTR opcode inline cache...

I think we can do it as long as we can detect easily if a given descriptor is 
immutable. The problem of mutability is this code:

class Descriptor:
pass

class C:
def __init__(self):
self.x = 1
x = Descriptor()

def f(o):
return o.x

o = C()
for i in range(1):
assert f(o) == 1

Descriptor.__get__ = lambda self, instance, value: 2
Descriptor.__set__ = lambda *args: None

print(f(o))

In this case, if we do not skip the cache for mutable descriptors, the code 
will not reflect the new result (2 instead of 1). __slots__ are immutable 
descriptors so we should be good as long as we can detect them.

--

___
Python tracker 

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



[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://html.spec.whatwg.org/multipage/parsing.html#overview-of-the-parsing-model

> Implementations that do not support scripting do not have to actually create 
> a DOM Document object, but the DOM tree in such cases is still used as the 
> model for the rest of the specification.

--

___
Python tracker 

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



[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 

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



[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 point of view, there is indeed no difference in between 


https://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A%3Cimg%20src%3D%22somewhere%22%3E%3Cimg%20src%3D%22somewhere%22%2F%3E

--
nosy: +karlcow

___
Python tracker 

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



[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 used here requires sphinx>=3.2.0

I notice some other attempts have been made to make the docs more compatible 
with sphinx 1.x in this release as well so there might be conflicting 
directions here: 
https://github.com/python/cpython/commit/b63a620014b67a6e63d10783149c41baaf59def8

--
nosy: +Anthony Sottile

___
Python tracker 

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



[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 

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



[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 

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



[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


--

___
Python tracker 

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



[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


--

___
Python tracker 

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



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

--

___
Python tracker 

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



[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 

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



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



[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 

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



[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 

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



[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 

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



[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


--
nosy: +miss-islington

___
Python tracker 

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



[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

___
Python tracker 

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



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

--
nosy: +rudiejd

___
Python tracker 

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



[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


--

___
Python tracker 

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



[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 maintain it, 
FWIW. On the other hand, adding a CI check is not super important for me :)

https://sqlite.org/versionnumbers.html:
"[…] the current tarball naming conventions only reserve two digits for the Y 
and so the naming format for downloads will need to be revised in about 2030."

--

___
Python tracker 

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



[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 

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



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



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



[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 

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



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

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



[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)' failed.
Fatal Python error: Aborted

Current thread 0x7f6454cfe280 (most recent call first):
  File "/home/mdk/clones/python/cpython/test.py", line 1 in 
Aborted (core dumped)

(Adding Guido and Pablo to nosy as, IIRC, you're interested in parser things :))

--
messages: 384348
nosy: gvanrossum, mdk, pablogsal
priority: normal
severity: normal
status: open
title: Multiline eval with assignment to function call segfaults
type: crash
versions: Python 3.10

___
Python tracker 

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



[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) variant built on macOS 11 which included Tk 
8.6.10. As the new universal2 variant gains more exposure over the next 
releases of 3.9.x, we hope to migrate to that being the recommended variant and 
start to deprecate the traditional 10.9 variant for 3.9.x.  For 3.10 
pre-releases, we are now only providing the "universal2" variant; the next 
alpha release. 3.10.0a4, should be available very shortly and its macOS 
installer is built with the just released Tk 8.6.11. I have only run some 
preliminary tests at the moment and there do seem to be some changes and 
possible regressions in our tests when using 8.6.11 instead of 8.6.10 but I 
will investigate further over the next day or so and open issues as needed. 
Feel free to download 3.10.
 0a4 and test away!

I did not see any issues with missing icons; with a Python framework build, 
Python and IDLE both run under app bundles with supplied icons amd that still 
seems to be working. Things may well be different for non-framework builds but 
they were before, too.

--

___
Python tracker 

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



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

"application/manifest+json": ".webmanifest",  # not None
"application/octet-stream": ".bin",  # not .a
"application/postscript": ".ps",  # not .ai
"application/vnd.ms-excel": ".xls",  # not .xlb
"application/vnd.ms-powerpoint": ".ppt",  # not .pot
"application/wasm": ".wasm",  # not None
"application/x-hdf5": ".h5",  # not None
"application/xml": ".xsl",  # not .rdf
"audio/mpeg": ".mp3",  # not .mp2
"image/jpeg": ".jpg",  # not .jpe
"image/tiff": ".tiff",  # not .tif
"text/html": ".html",  # not .htm
"text/plain": ".txt",  # not .bat
"video/mpeg": ".mpeg",  # not .m1v

--
nosy: +The Compiler

___
Python tracker 

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



[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 

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



[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

___
Python tracker 

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



[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

___
Python tracker 

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



[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 includes Tk 8.6.10 (and we’ll track Tk releases now that we have a more 
modern build system).

--

___
Python tracker 

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



[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 

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



[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 

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



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



[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 

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



[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) patch if needed.  To 
test, import tkinter, create a tkinter.Tk object and open the "About Python" 
menu.  If the icon displayed on the About dialog looks like a folder then you 
need the patch.

Please let me know what happens when switching to dark mode.  My concern
arises from my understanding that python is being built with a macOS 10.9 SDK, 
which does not understand dark mode.  I don't know what will happen when 
running that code on a system which does support dark mode.  Since Tk can be 
build on Big Sur with a minimum target of 10.9 (and I recommend doing so) I 
think it should be OK. There may be warnings when linking _tkinter.so though.

I do not understand why the 10.9 SDK is needed, since I recently built Python 
3.9.0 on Big Sur, with a minimum target of 10.9, and did not see any 
significant issues.  (Well, maybe A few warnings from the posix module need 
investigation.)

--

___
Python tracker 

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



[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


--

___
Python tracker 

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



[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 

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



[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 

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



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



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



[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 

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



[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 not need__getitem__() method -> typing.Iterable 
does not need __getitem__() method

___
Python tracker 

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



[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__() method
type: enhancement
versions: Python 3.10

___
Python tracker 

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



[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.  That in turn also reduces the amount of Disk I/O that 
must be done to get these binaries in memory (which can be meaningful on 
spinning hard drives that are still rather common), and the reference set of 
applications using Python.

I'll send a PR for this shortly, just filing the issue to be able to reference 
it in the PR.

--
components: Windows
messages: 384333
nosy: Austin-Lamb, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Optimization opportunity on Windows
type: performance
versions: Python 3.10

___
Python tracker 

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



[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

class Test(typing.Generic[T]):
  nested: Nested[T]

typing.get_type_hints(Test) # this throws

test()

--
components: Library (Lib)
messages: 384332
nosy: Fabian.M
priority: normal
severity: normal
status: open
title: get_type_hints throws for local class reference
type: behavior
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



[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()
sys._getframe(0).f_trace = True
print_line()
print_line()

test()

prints
7
8
8

it should print
7
9
10


Fixing this is required by PEP 626, but it should be fixed anyway.

--
assignee: Mark.Shannon
messages: 384331
nosy: Mark.Shannon
priority: normal
severity: normal
status: open
title: Incorrect frame.f_lineno when frame.f_trace is set

___
Python tracker 

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



[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 discussion (on a more extensive 
feature request) at https://bugs.python.org/issue38747

The new factor is that readline 8.1 now enables bracketed-paste by default. So 
the broken behaviour is seen for Python built with the latest readline, with no 
specific setting.

Python should probably in the long term be improved to handle bracketed-paste, 
which will make a nicer user experience. But in the short term, it should 
communication with readline to disable bracketed-paste at runtime, and restore 
the previous behaviour.

--
nosy: +fxcoudert

___
Python tracker 

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



[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 merge SQLite updates for Windows (if they're satisfied 
there are no issues). It's only OpenSSL that relies on running a signed build.

--

___
Python tracker 

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



[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 

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



[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 

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



[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 

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



[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


--

___
Python tracker 

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



[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 problem with the example Serhiy gives is that the line number table does 
not end in a sentinel value.

You shouldn't be creating code objects unless you really know what you are 
doing. I.e. never.

For manually created code objects that don't respect the invariants, any 
behavior is acceptable IMO.

--
assignee:  -> Mark.Shannon

___
Python tracker 

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



[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 

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



[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 

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



[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/cpython/pull/24093
- in 3.9 https://github.com/python/cpython/pull/24092

I edited the revert to keep only relevant parts, as only a few bits of the 
commit were causing troubles.

Issue is: Sphinx 2 and Sphinx 3 have incompatible handling of backslahes, 
fixing them for Sphinx 3 in Python 3.10, then backporting to 3.8 and 3.9 which 
use Sphinx 2 caused an issue: `\n` for example are rendered as `n`, easy to 
notice in the documentaion of print:

print(*objects, sep=' ', end='n', file=sys.stdout, flush=False)¶

As migration to Sphinx 3 was hard (done for Python 3.10 documentation), it 
won't be backported to 3.8 and 3.9, which will still be built using Sphinx 2, 
so some bits had to be reverted for the doc to display the backslash of `\n`.

--
assignee: mdk
components: Documentation
messages: 384324
nosy: adelfino, mdk
priority: normal
severity: normal
stage: commit review
status: open
title: Missing backslashes in documentation for 3.8 and 3.9
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



[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 

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



[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 

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



[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

___
Python tracker 

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



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

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



[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 

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



[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 

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



[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 

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



[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


--

___
Python tracker 

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



[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 

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



[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


--
nosy: +miss-islington

___
Python tracker 

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



[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 

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



[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 

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



[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


--

___
Python tracker 

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



[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


--

___
Python tracker 

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



[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


--

___
Python tracker 

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



[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


--

___
Python tracker 

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



[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 

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



[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 

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



[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 enable tests first.

--

___
Python tracker 

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



[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 

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



[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


--

___
Python tracker 

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



[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 

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



[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 

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



[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 

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



[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 

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



  1   2   >