[issue41815] SQLite: segfault if backup called on closed database

2020-09-19 Thread miss-islington


miss-islington  added the comment:


New changeset bfee9fad84531a471fd7864e88947320669f68e2 by Peter McCormick in 
branch 'master':
bpo-41815: SQLite: segfault if backup called on closed database (GH-22322)
https://github.com/python/cpython/commit/bfee9fad84531a471fd7864e88947320669f68e2


--
nosy: +miss-islington

___
Python tracker 

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



[issue41815] SQLite: segfault if backup called on closed database

2020-09-19 Thread Peter McCormick


Peter McCormick  added the comment:

Updated sample script, thanks to @aeros for catching the omission:

```
import sqlite3
target = sqlite3.connect(':memory:')
source = sqlite3.connect(':memory:')
source.close()
source.backup(target)
```

--

___
Python tracker 

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



[issue41818] Lib/pty.py major revision

2020-09-19 Thread Soumendra Ganguly


Soumendra Ganguly  added the comment:

Makes sense. I will happily make a change of terminology in the pypty2 
repository after the most desirable alternative is determined based on the 
choice of the majority. I think 'mother/son' sounds cute while still retaining 
the same initials as before; people used to the older
terminology will find this easy to remember. Terminology such as parent/child 
and server/client might make it a little confusing.

--

___
Python tracker 

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



[issue41815] SQLite: segfault if backup called on closed database

2020-09-19 Thread Kyle Stanley


Change by Kyle Stanley :


--
nosy: +ghaering

___
Python tracker 

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



[issue41815] SQLite: segfault if backup called on closed database

2020-09-19 Thread Kyle Stanley


Kyle Stanley  added the comment:

With this being a segfault that's simple to replicate under normal 
circumstances, I've elevated the priority to release blocker. I'll wait on the 
release manager (Lukasz) for explicit approval for backporting to 3.9 and 3.8, 
with both branches being in the release candidate phase.

(The attached PR looks to be ready to be merged as well, after a Misc/NEWS 
entry is added by the author. See 
https://github.com/python/cpython/pull/22322#pullrequestreview-492167467 for 
details.)

--
nosy: +aeros, lukasz.langa
priority: normal -> release blocker
versions:  -Python 3.7

___
Python tracker 

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



[issue41726] Update refcounts info of PyType_FromModuleAndSpec in refcounts.dat

2020-09-19 Thread hai shi


hai shi  added the comment:

Hi, petr. Can you help me merge this PR to 3.9 too?

--

___
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

2020-09-19 Thread mohamed koubaa


Change by mohamed koubaa :


--
pull_requests: +21372
pull_request: https://github.com/python/cpython/pull/22328

___
Python tracker 

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



[issue19915] int.bit_at(n) - Accessing a single bit in O(1)

2020-09-19 Thread pmp-p


Change by pmp-p :


--
nosy: +pmpp

___
Python tracker 

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



[issue27139] Increased test coverage for statistics.median_grouped

2020-09-19 Thread Raymond Hettinger


Change by Raymond Hettinger :


--
resolution:  -> out of date
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

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



[issue19915] int.bit_at(n) - Accessing a single bit in O(1)

2020-09-19 Thread Raymond Hettinger


Raymond Hettinger  added the comment:

If someone does develop an interest in this, feel free to re-open. 
 
Personally, I'm sure that I would use int.bit_at() but only once every five 
years ;-)   Also, it would be only half a solution unless accompanied by 
int.replace_bit_at().

--
resolution:  -> rejected
stage: needs patch -> resolved
status: open -> closed

___
Python tracker 

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



[issue41818] Lib/pty.py major revision

2020-09-19 Thread Kyle Stanley


Kyle Stanley  added the comment:

In addition to the above, if a major revision is made to pty, I'd suggest also 
addressing the issue of "master/slave" terminology, and replace it with 
something comparable like "parent/child". There's an open devguide issue 
(https://github.com/python/devguide/issues/605) to more explicitly state terms 
to avoid, and support for avoiding usage of "slave/master" seems 
uncontroversial (especially in any new code).

--
nosy: +aeros

___
Python tracker 

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



[issue9146] Segfault in hashlib in OpenSSL FIPS mode using non-FIPS-compliant hashes, if "ssl" imported before "hashlib"

2020-09-19 Thread Gregory P. Smith


Change by Gregory P. Smith :


--
stage: backport needed -> resolved
status: open -> closed

___
Python tracker 

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



[issue37408] [DOC] Precise that Tarfile "format" argument only concerns writing.

2020-09-19 Thread Gregory P. Smith


Change by Gregory P. Smith :


--
resolution:  -> fixed
stage: backport needed -> resolved
status: open -> closed

___
Python tracker 

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



[issue28694] tkinter interface to fontchooser

2020-09-19 Thread Mark Roseman


Mark Roseman  added the comment:

I've put together the first cut of a wrapper that tries to smooth over some of 
the non-essential differences in implementation details across platforms, while 
still respecting essential platform conventions. It also works around a few 
bugs I discovered along the way.

It includes the wrapper class itself, a minimal demo, a more realistic demo, 
and the notes about current behaviour of the underlying Tk widget on different 
platforms.

Current snapshot is at 
https://github.com/roseman/tkdocs/blob/fontchooser/fontchooser.py

Obviously, this borrows hugely from previous snapshots by Lance and Elisha. 
Thanks!

If you get a chance to try it out, would appreciate feedback if this is on the 
right track or not.

--

___
Python tracker 

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



[issue41494] Adds window resizing support to Lib/pty.py [ SIGWINCH ]

2020-09-19 Thread Soumendra Ganguly


Soumendra Ganguly  added the comment:

Reopening to indicate that this issue has not been resolved. However, this 
thread should not be used anymore. Use this instead: 
https://bugs.python.org/issue41818

--
status: closed -> open

___
Python tracker 

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



[issue41818] Lib/pty.py major revision

2020-09-19 Thread Soumendra Ganguly


New submission from Soumendra Ganguly :

The current pty library has the following issues:

  1. Does not set slave termios. Documented in the source.

  2. Does not set initial slave window size. Documented in the source. Does not 
handle SIGWINCH. See bpo-41494, bpo-41541. This is essential in the following 
practical scenarios: i. creating split windows/panes while using a terminal 
multiplexer; ii. when resizing GUI terminal emulator window, especially 
relevant when using tiling window managers; iii. resizing an ansi-term window 
created inside a GNU Emacs frame.

  3. Does not perform signal handling. Signals must be blocked during sensitive 
portions of code.

  4. Hangs on FreeBSD. See bpo-26228.

  5. Includes deprecated functions pty.master_open(), pty.slave_open().

  6. In pty.fork(), the fallback code should try using TIOCSCTTY first. It is 
still using the old method of opening a tty to make it the controlling tty. 
Currently even SysV based systems provide TIOCSCTTY. See 
https://stackoverflow.com/questions/51593530/code-explanation-for-glibc-login-tty-function-openttyname-immediately-f

The current version of pty.spawn() uses pty.fork() internally. However, 
pty.fork() closes slave and only returns (pid, master_fd). To update winsize, 
access to slave is necessary. Further, slave termios must be properly set. The 
proposed modifications do this by implementing a login_tty(3) based function ( 
tty.login() ), and using that in pty.spawn() instead of pty.fork(). tty.login() 
tries TIOCSCTTY before falling back to the old SysV method because Python 
currently does not provide an interface to the native login_tty(3).

  7. tty.setraw() is called right after tty.tcgetattr(). This increases 
redundancy of code because tty.setraw() itself makes an identical 
tty.tcgetattr() call.

  8. Requires testing/porting to more platforms. Solaris, Illumos, macOS, 
Cygwin, etc. Windows ConPTY?

  9. There should be an option in pty.spawn() to turn off slave's ECHO flag. 
For example, when it is being used in a pipe. See 
https://github.com/karelzak/util-linux/commit/1eee1acb245a8b724e441778dfa9b858465bf7e5
 and 
https://github.com/karelzak/util-linux/commit/75ccd75a2fa1194c6415c47b0024a438e26f1ad7#diff-3834a3d25eeaf20d9d0dcb05a46995f6

  10. Tests are incomplete. Tests consider OSes such as Tru64 but not 
{Free/Net/Open/...}BSD.

Find ongoing work here: https://github.com/8vasu/pypty2

--
components: FreeBSD, Library (Lib), Tests, Windows, macOS
messages: 377195
nosy: koobs, ned.deily, paul.moore, ronaldoussoren, soumendra, steve.dower, 
tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Lib/pty.py major revision
versions: Python 3.10, 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



[issue35286] wrong result for difflib.SequenceMatcher

2020-09-19 Thread Irit Katriel


Irit Katriel  added the comment:

Can this issue be closed? It looks like Boris simply misunderstood the 
semantics of difflib, which Raymond has clarified.

--
components: +Library (Lib)
nosy: +iritkatriel

___
Python tracker 

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



[issue37963] No URL for docs of pth files

2020-09-19 Thread Irit Katriel


Change by Irit Katriel :


--
assignee:  -> docs@python
components: +Documentation
nosy: +docs@python

___
Python tracker 

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



[issue39524] Escape sequences in doc string of ast._pad_whitespace

2020-09-19 Thread Irit Katriel


Irit Katriel  added the comment:

The backport of the patch to 3.8 has failed.

--
nosy: +iritkatriel

___
Python tracker 

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



[issue28657] cmd.Cmd.get_help() implementation can't see do_*() methods added dynamically by setattr()

2020-09-19 Thread Tal Einat


Tal Einat  added the comment:

I agree with Raymond's reasoning on this.

Following the discussion, I'm closing this as wontfix.

Thanks to everyone involved for the detailed, clear and focused discussion.

--
nosy: +taleinat
resolution:  -> wont fix
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



[issue41811] pstats.SortKey enum is broken

2020-09-19 Thread Ethan Furman


Change by Ethan Furman :


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



[issue41811] pstats.SortKey enum is broken

2020-09-19 Thread Ethan Furman


Ethan Furman  added the comment:


New changeset 488e3eb70d24d5ce55ae0d7aed13a3721d3eb8a1 by Miss Islington (bot) 
in branch '3.8':
bpo-41811: create SortKey members using first given value (GH-22316) (GH-22326)
https://github.com/python/cpython/commit/488e3eb70d24d5ce55ae0d7aed13a3721d3eb8a1


--

___
Python tracker 

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



[issue37827] IDLE: Have the shell mimic terminal handling of \r and \b control characters in outputs

2020-09-19 Thread Tal Einat


Tal Einat  added the comment:

I will highlight the fact that IDLE's shell currently allows no way of showing 
a progress indicator, beyond extremely simple bar that only fill up from left 
to right, without any indication of the rightmost limit, a percentage 
indicator, or a rotating progress indicator. Specifically, all common progress 
indicator libraries do not work properly in IDLE.

This is a true detriment to interactive work.

--

___
Python tracker 

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



[issue41811] pstats.SortKey enum is broken

2020-09-19 Thread Ethan Furman


Ethan Furman  added the comment:


New changeset 0e4d526de47eae24b75f3623cd56bb0453fc8c74 by Miss Islington (bot) 
in branch '3.9':
bpo-41811: create SortKey members using first given value (GH-22316) (GH-22325)
https://github.com/python/cpython/commit/0e4d526de47eae24b75f3623cd56bb0453fc8c74


--

___
Python tracker 

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



[issue41817] Incorrect types in tkinter.EventType Enum

2020-09-19 Thread Ethan Furman


New submission from Ethan Furman :

Several of the EventType members, such as Key, are actually tuples instead of 
strings.  I suspect the comma was accidentally left in place when EventType was 
created from a different data structure.

Switching the Enum type to the new StrEnum fixes the problem.  (It will be 
merged in in the next couple days.)

--
components: Library (Lib)
messages: 377188
nosy: ethan.furman, gpolo, serhiy.storchaka, terry.reedy
priority: normal
severity: normal
stage: needs patch
status: open
title: Incorrect types in tkinter.EventType Enum
versions: Python 3.10, 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



[issue40534] ShUtil doc deficiencies

2020-09-19 Thread Irit Katriel


Irit Katriel  added the comment:

for copy and copy2 it doesn't say anything about what happens if dst exists. 

for copy file, copy tree and move it does.

--
assignee:  -> docs@python
components: +Documentation
nosy: +docs@python, iritkatriel

___
Python tracker 

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



[issue37849] IDLE: Completion window misplaced when shown above current line

2020-09-19 Thread Tal Einat


Change by Tal Einat :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
type:  -> behavior

___
Python tracker 

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



[issue41816] need StrEnum in enum.py

2020-09-19 Thread Ethan Furman


New submission from Ethan Furman :

Due to the nature of `str`, if an Enum tries to mixin the str type, all of it's 
members will be strings -- even if they didn't start out that way:

  class MyStrEnum(str, Enum):
 tuple = 'oops',
 okay = 'correct'

  >>> list(MyStrEnum)
  [, MyStrEnum.okay: 'correct'>]

The StrEnum class will have a check to ensure that each value was already a 
string, or can be converted to a string via

  str(bytes, encoding, errors)

--
assignee: ethan.furman
components: Library (Lib)
messages: 377186
nosy: barry, eli.bendersky, ethan.furman, serhiy.storchaka, terry.reedy
priority: normal
severity: normal
stage: needs patch
status: open
title: need StrEnum in enum.py
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



[issue40430] ast.Slice is no longer a subclass of ast.slice

2020-09-19 Thread Irit Katriel


Irit Katriel  added the comment:

Looks like the answer is: it is a deliberate change, not a bug. Should this 
issue be closed?

--
components: +Library (Lib)
nosy: +iritkatriel

___
Python tracker 

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



[issue33689] Blank lines in .pth file cause a duplicate sys.path entry

2020-09-19 Thread Tal Einat


Tal Einat  added the comment:

Thanks for bringing this up again Malcolm, for the original Patch Ammar, and 
for the work on the PR Ido!

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.10 -Python 3.6

___
Python tracker 

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



[issue33689] Blank lines in .pth file cause a duplicate sys.path entry

2020-09-19 Thread Tal Einat


Tal Einat  added the comment:


New changeset 0c71a66b53f6ea262aa5a60784c8c625ae0bb98c by idomic in branch 
'master':
bpo-33689: Blank lines in .pth file cause a duplicate sys.path entry (GH-20679)
https://github.com/python/cpython/commit/0c71a66b53f6ea262aa5a60784c8c625ae0bb98c


--

___
Python tracker 

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



[issue40530] distutils/cygwinccompiler.py doesn't support recent msvc versions

2020-09-19 Thread Irit Katriel


Change by Irit Katriel :


--
components: +Distutils
nosy: +dstufft, eric.araujo

___
Python tracker 

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



[issue37827] IDLE: Have the shell mimic terminal handling of \r and \b control characters in outputs

2020-09-19 Thread Tal Einat


Tal Einat  added the comment:

As the creator of this issue, I'm reverting the name back to the original, 
since I did not propose to add a new "mode" to the IDLE shell.

Such a proposal could be a separate issue.

I'm unfortunately going to mark close this as "rejected". If in the future 
there is interest in this again, it may be reopened.

--
resolution:  -> rejected
stage: patch review -> resolved
status: open -> closed
title: IDLE Shell: add a terminal mode that responds to \a, \b, and \r -> IDLE: 
Have the shell mimic terminal handling of \r and \b control characters in 
outputs

___
Python tracker 

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



[issue1678077] improve telnetlib.Telnet so option negotiation becomes easie

2020-09-19 Thread Georg Brandl


Change by Georg Brandl :


--
nosy:  -georg.brandl

___
Python tracker 

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



[issue19915] int.bit_at(n) - Accessing a single bit in O(1)

2020-09-19 Thread Georg Brandl


Change by Georg Brandl :


--
nosy:  -georg.brandl

___
Python tracker 

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



[issue1249749] Encodings and aliases do not match runtime

2020-09-19 Thread Georg Brandl


Change by Georg Brandl :


--
nosy:  -georg.brandl

___
Python tracker 

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



[issue1105770] null source chars handled oddly by tokenize

2020-09-19 Thread Georg Brandl


Change by Georg Brandl :


--
nosy:  -georg.brandl

___
Python tracker 

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



[issue1611944] sndhdr.what() does not recognize wav file

2020-09-19 Thread Georg Brandl


Change by Georg Brandl :


--
nosy:  -georg.brandl

___
Python tracker 

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



[issue919238] Recursive variable definition causes sysconfig infinite loop

2020-09-19 Thread Georg Brandl


Change by Georg Brandl :


--
nosy:  -georg.brandl

___
Python tracker 

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



[issue11105] Compiling evil ast crashes interpreter

2020-09-19 Thread Georg Brandl


Change by Georg Brandl :


--
nosy:  -georg.brandl

___
Python tracker 

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



[issue26053] regression in pdb output between 2.7 and 3.5

2020-09-19 Thread Georg Brandl


Change by Georg Brandl :


--
nosy:  -georg.brandl

___
Python tracker 

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



[issue22107] tempfile module misinterprets access denied error on Windows

2020-09-19 Thread Georg Brandl


Change by Georg Brandl :


--
nosy:  -georg.brandl

___
Python tracker 

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



[issue25467] Put “deprecated” warnings first

2020-09-19 Thread Georg Brandl


Change by Georg Brandl :


--
nosy:  -georg.brandl

___
Python tracker 

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



[issue22577] local variable changes lost after pdb jump command

2020-09-19 Thread Georg Brandl


Change by Georg Brandl :


--
nosy:  -georg.brandl

___
Python tracker 

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



[issue1823] Possible to set invalid Content-Transfer-Encoding on email.mime.multipart.MIMEMultipart

2020-09-19 Thread Georg Brandl


Change by Georg Brandl :


--
nosy:  -georg.brandl

___
Python tracker 

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



[issue20119] pdb c(ont(inue)) optional one-time-only breakpoint (like perl debugger)

2020-09-19 Thread Georg Brandl


Change by Georg Brandl :


--
nosy:  -georg.brandl

___
Python tracker 

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



[issue18280] Documentation is too personalized

2020-09-19 Thread Georg Brandl


Change by Georg Brandl :


--
nosy:  -georg.brandl

___
Python tracker 

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



[issue26794] curframe can be None in pdb.py

2020-09-19 Thread Georg Brandl


Change by Georg Brandl :


--
nosy:  -georg.brandl

___
Python tracker 

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



[issue24160] Pdb sometimes raises exception when trying to remove a breakpoint defined in a different debugger session

2020-09-19 Thread Georg Brandl


Change by Georg Brandl :


--
nosy:  -georg.brandl

___
Python tracker 

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



[issue23163] pdb docs need to contain a statement on threads/multithreaded debugging

2020-09-19 Thread Georg Brandl


Change by Georg Brandl :


--
nosy:  -georg.brandl

___
Python tracker 

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



[issue41134] distutils.dir_util.copy_tree FileExistsError when updating symlinks

2020-09-19 Thread Irit Katriel


Change by Irit Katriel :


--
components: +Distutils
nosy: +dstufft, eric.araujo
type:  -> behavior

___
Python tracker 

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



[issue19081] zipimport behaves badly when the zip file changes while the process is running

2020-09-19 Thread Georg Brandl


Change by Georg Brandl :


--
nosy:  -georg.brandl

___
Python tracker 

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



[issue41755] Docs: Please remove `from distutils.core import setup`

2020-09-19 Thread Irit Katriel


Change by Irit Katriel :


--
components: +Distutils

___
Python tracker 

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



[issue26214] textwrap should minimize number of breaks in extra long words

2020-09-19 Thread Georg Brandl


Change by Georg Brandl :


--
nosy:  -georg.brandl

___
Python tracker 

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



[issue34798] pprint ignores the compact parameter for dicts

2020-09-19 Thread Irit Katriel


Change by Irit Katriel :


--
assignee:  -> docs@python
components: +Documentation
nosy: +docs@python

___
Python tracker 

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



[issue26214] textwrap should minimize number of breaks in extra long words

2020-09-19 Thread Irit Katriel


Change by Irit Katriel :


--
components: +Library (Lib)

___
Python tracker 

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



[issue33689] Blank lines in .pth file cause a duplicate sys.path entry

2020-09-19 Thread Tal Einat


Tal Einat  added the comment:

This is certainly a bug fix, but since it may break backwards-compatibility in 
delicate ways, I'm not going to backport it to earlier versions. Expect this to 
land in 3.10.

--

___
Python tracker 

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



[issue41277] documentation: os.setxattr() errno EEXIST and ENODATA

2020-09-19 Thread Irit Katriel


Change by Irit Katriel :


--
assignee:  -> docs@python
components: +Documentation
nosy: +docs@python

___
Python tracker 

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



[issue41513] High accuracy math.hypot()

2020-09-19 Thread Raymond Hettinger


Change by Raymond Hettinger :


--
pull_requests: +21371
pull_request: https://github.com/python/cpython/pull/22327

___
Python tracker 

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



[issue41811] pstats.SortKey enum is broken

2020-09-19 Thread Ethan Furman


Ethan Furman  added the comment:


New changeset ae0d2a33ec05aece939a959d36fcf1df1e210a08 by Ethan Furman in 
branch 'master':
bpo-41811: create SortKey members using first given value (GH-22316)
https://github.com/python/cpython/commit/ae0d2a33ec05aece939a959d36fcf1df1e210a08


--

___
Python tracker 

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



[issue41811] pstats.SortKey enum is broken

2020-09-19 Thread miss-islington


Change by miss-islington :


--
pull_requests: +21370
pull_request: https://github.com/python/cpython/pull/22326

___
Python tracker 

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



[issue41811] pstats.SortKey enum is broken

2020-09-19 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 1.0 -> 2.0
pull_requests: +21369
pull_request: https://github.com/python/cpython/pull/22325

___
Python tracker 

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



[issue41561] test_ssl fails in Ubuntu 20.04: test_min_max_version_mismatch

2020-09-19 Thread Tal Einat


Tal Einat  added the comment:

Likewise here on Ubuntu 20.04:

(True, True, True, True)
-1
-2

--

___
Python tracker 

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



[issue37490] poor documentation for .startswith, .endswith

2020-09-19 Thread Irit Katriel


Change by Irit Katriel :


--
assignee:  -> docs@python
components: +Documentation
nosy: +docs@python

___
Python tracker 

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



[issue41810] Consider reintroducing `types.EllipsisType` for the sake of typing

2020-09-19 Thread Guido van Rossum


Guido van Rossum  added the comment:

> Would not be better to make MyPy supporting type(Ellipsis)? It would work 
> also on Python versions older than 3.10.

That would be quite complicated. There is no place in annotations where a 
function call is currently supported, so I'd prefer not to go there.

> Also, could not Literal[Ellipsis] be used as annotation?

Alas, it currently doesn't work (PEP 586 only allows specific types, and type 
checkers have implemented it exactly). Making it work would be more complicated 
than the proposal -- once it exists in types.py, it's trivial to add support to 
mypy.

IMO ideally, eventually, all "hidden" built-in types ought to be exposed 
somewhere, unless they are truly implementation details -- but since Ellipsis 
is a first-class singleton object, I don't see how its type could be an 
implementation detail. (Its name is actually clearly visible  in 
repr(type(Ellipsis)).)

Note that we have started exporting the types of other constructs through 
types.py, e.g. type(int|str) is types.Union, and type(list[str]) is 
types.GenericAlias. This is revealed in their repr().

--

___
Python tracker 

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



[issue35328] Set a environment variable for venv prompt

2020-09-19 Thread Mathias Fredriksson


Change by Mathias Fredriksson :


--
pull_requests: +21368
pull_request: https://github.com/python/cpython/pull/22324

___
Python tracker 

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



[issue28694] tkinter interface to fontchooser

2020-09-19 Thread Mark Roseman


Mark Roseman  added the comment:

For future reference, if anyone is wondering why the font chooser is so 
complicated to use in a way that makes sense across platforms, here is its 
current behaviour...

>From the manual:
 - configure -font is the font currently shown or font shown when dialog is 
initially shown (neither guaranteed on all platforms)
 - implementation-dependent which actions result in callback being called and 
event being sent

Windows
 - modal; show blocks until dismissed, cannot interact with other windows
 - ok/cancel
 - apply button added if a command option is specified
 - with command (apply button present)
 - if apply: callback generated with font currently set in dialog, event 
generated [configure -font is NOT updated]
 - if ok: callback generated with font in dialog, dialog closed, event 
generated, configure -font not updated
 - if no command (no apply button)
 - on ok, get event, configure -font not updated (correct, since dialog not 
visible)
 - fontchange event not generated if option is set in code

X11
 - not modal; show returns immediately, can interact with other windows
 - ok/cancel
 - apply button added if a command option is specified
 - with command (apply button present):
 - if apply: callback generated with font currently set in dialog, event 
generated [configure -font is NOT updated)
 - if ok: callback generated with font in dialog, dialog closed; no event, 
configure -font NOT updated
 - with no command (no apply button):
 - no event generated, configure -font NOT updated
 - fontchnaged event generated if option is set in code, configure -font updated
 - configure -font never updated by user interaction
 - conclusion: need to set command, hold onto current value returned

macOS
 - no ok/cancel buttons, works like a palette
 - non-modal; show returns immediately, can interact with other windows
 - BUG:can appear when tk first loaded (sometimes..)
- happens when left open on previous launches and program exited abnormally 
e.g. ctl-C in terminal
- ~/Library/Saved Application State/com.tcltk.wish.savedState/windows.plist 
still holds font chooser
- if so, -visible initially is false, but is true after idle... no 
intervening <> event
- will segfault if set options e.g. font
- workaround: hide on startup
 - fontchange event generated on every change in dialog, configure -font 
updated to font in dialog
 - fontchange event generated when option set in code, configure -font updated 
to font in dialog
 - command callback (if specified) invoked on every change from user (not in 
code), configure -font updated

--

___
Python tracker 

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



[issue41815] SQLite: segfault if backup called on closed database

2020-09-19 Thread Roundup Robot


Change by Roundup Robot :


--
nosy: +python-dev
nosy_count: 1.0 -> 2.0
pull_requests: +21367
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/22322

___
Python tracker 

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



[issue41815] SQLite: segfault if backup called on closed database

2020-09-19 Thread Peter McCormick


New submission from Peter McCormick :

Attempting to backup a closed database will trigger segfault:

```
target = sqlite.connect(':memory:')
source = sqlite.connect(":memory:")
source.close()
source.backup(target)
```

--
files: fix.patch
keywords: patch
messages: 377176
nosy: pdmccormick
priority: normal
severity: normal
status: open
title: SQLite: segfault if backup called on closed database
type: crash
versions: Python 3.10, Python 3.7, Python 3.8, Python 3.9
Added file: https://bugs.python.org/file49464/fix.patch

___
Python tracker 

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



[issue35328] Set a environment variable for venv prompt

2020-09-19 Thread Mathias Fredriksson


Mathias Fredriksson  added the comment:

I believe GH-21587 does not fully address this issue because VIRTUAL_ENV_PROMPT 
is being conditionally set only if VIRTUAL_ENV_DISABLE_PROMPT is unset. Shell 
prompts must set VIRTUAL_ENV_DISABLE_PROMPT to non-empty to prevent venv from 
hijacking PS1. I'm one of the maintainers of the Pure prompt for zsh, and it 
would be great if VIRTUAL_ENV_PROMPT could always be set, just as VIRTUAL_ENV 
is too.

--
nosy: +mafredri

___
Python tracker 

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



[issue41561] test_ssl fails in Ubuntu 20.04: test_min_max_version_mismatch

2020-09-19 Thread Bug Reporter


Bug Reporter  added the comment:

In case it's needed:
TLSVersion.MAXIMUM_SUPPORTED == -1
TLSVersion.MINIMUM_SUPPORTED == -2

--

___
Python tracker 

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



[issue12800] 'tarfile.StreamError: seeking backwards is not allowed' when extract symlink

2020-09-19 Thread Tal Einat


Tal Einat  added the comment:

See also another duplicate of this issue, issue40049.

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



[issue41561] test_ssl fails in Ubuntu 20.04: test_min_max_version_mismatch

2020-09-19 Thread Bug Reporter


Bug Reporter  added the comment:

(True, True, True, True)
TLSVersion.MAXIMUM_SUPPORTED
TLSVersion.MINIMUM_SUPPORTED

--

___
Python tracker 

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



[issue41814] Mismatch between the manipulation of `sys.path` by `runpy` and by the Python command-line interface

2020-09-19 Thread Géry

New submission from Géry :

Nicholas, I have noticed that `runpy.run_path` alters `sys.path` as expected 
for a file_path argument which is a valid `sys.path` entry (typically a 
directory or zip file). That is to say it adds the file_path argument to the 
beginning of `sys.path`, like `python `.

However, I have also noticed that `runpy.run_path` does not alter `sys.path` as 
expected for a file_path argument which is a Python source or bytecode file 
path. That is to say it does not add the *parent path* of the file_path 
argument to the beginning of `sys.path`, contrary to `python `.

Likewise, I have also noticed that `runpy.run_module` (with the alter_sys 
argument set to `True` of course) does not alter `sys.path` as expected. That 
is to say it does not add the path of the *current directory* to the beginning 
of `sys.path`, contrary to `python -m `.

Only the first of the three previous `sys.path` manipulations is documented in 
https://docs.python.org/3/library/runpy.html though, so the `runpy` 
implementation is at least compliant with its specification. So is the mismatch 
between the manipulation of `sys.path` by `runpy` and by the Python 
command-line interface a specification bug or is it the intended behaviour?

--
components: Library (Lib)
messages: 377171
nosy: maggyero, ncoghlan
priority: normal
severity: normal
status: open
title: Mismatch between the manipulation of `sys.path` by `runpy` and by the 
Python command-line interface
type: behavior
versions: Python 3.8

___
Python tracker 

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



[issue40049] tarfile cannot extract from stdin

2020-09-19 Thread Tal Einat


Tal Einat  added the comment:

This is actually a duplicate of issue12800, which itself describe precisely the 
same issue as in issue10761, which was fixed but then the fix was lost in a bad 
merge.

I'm closing this, as discussion should happen on the original issues.

--
resolution:  -> duplicate
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



[issue30166] Import command-line parsing modules only when needed

2020-09-19 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
stage: backport needed -> resolved
status: open -> closed

___
Python tracker 

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



[issue40838] inspect.getsourcefile documentation doesn't mention it can return None

2020-09-19 Thread Irit Katriel


Change by Irit Katriel :


--
assignee:  -> docs@python
components: +Documentation
nosy: +docs@python
type:  -> behavior

___
Python tracker 

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



[issue41810] Consider reintroducing `types.EllipsisType` for the sake of typing

2020-09-19 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

Would not be better to make MyPy supporting type(Ellipsis)? It would work also 
on Python versions older than 3.10.

Also, could not Literal[Ellipsis] be used as annotation?

--

___
Python tracker 

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



[issue41813] Clarify specification of object.__await__

2020-09-19 Thread Paolo Lammens

Paolo Lammens  added the comment:

The proposed addition (see attached PR) is the following note:

   .. note::

  The language doesn't place any restriction on the type or value of the 
objects
  yielded by the iterator returned by :meth:`__await__`, as this is 
specific to
  the implementation of the event loop that will be managing the 
:term:`awaitable`
  object. In the case of :mod:`asyncio`, user code should always be using 
other
  :term:`coroutines `, :mod:`asyncio` Tasks, Futures, and other
  :mod:`asyncio` objects to implement :meth:`__await__`, yielding objects 
from
  these, and never yielding objects directly—as the kind of objects that 
the event
  loop expects are considered a private implementation detail of 
:mod:`asyncio`.

--

___
Python tracker 

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



[issue41810] Consider reintroducing `types.EllipsisType` for the sake of typing

2020-09-19 Thread Guido van Rossum

Guido van Rossum  added the comment:

Let’s do this.

--

___
Python tracker 

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



[issue29334] ssl.SSLObject method getpeercert() is buggy, do_handshake() is strange

2020-09-19 Thread Benjamin Peterson


Change by Benjamin Peterson :


--
resolution:  -> fixed
stage: backport needed -> resolved
status: open -> closed

___
Python tracker 

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



[issue29887] test_normalization doesn't work

2020-09-19 Thread Benjamin Peterson


Change by Benjamin Peterson :


--
resolution:  -> fixed
stage: backport needed -> resolved
status: open -> closed

___
Python tracker 

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



[issue41813] Clarify specification of object.__await__

2020-09-19 Thread Paolo Lammens


Change by Paolo Lammens :


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

___
Python tracker 

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



[issue41813] Clarify specification of object.__await__

2020-09-19 Thread Paolo Lammens


New submission from Paolo Lammens :

The current specification of object.__await__ is just:

> `object.__await__(self)`
>
> Must return an iterator. Should be used to implement awaitable objects. For 
> instance, `asyncio.Future` implements this method to be compatible with the 
> await expression.

This is pretty vague leaves the doubt of *what* objects is the iterator 
expected to yield (and how the value of the yielded object affects the 
management of the awaitable object).

Although the vagueness is probably on purpose (since this isn't tied to any 
particular event loop implementation, so it can be an arbitrary iterable), I 
think it's worthwhile adding a note clarifying this aspect.

I originally posed this question on StackOverflow: 
https://stackoverflow.com/q/63964011/6117426

--
assignee: docs@python
components: Documentation
messages: 377166
nosy: docs@python, plammens
priority: normal
severity: normal
status: open
title: Clarify specification of object.__await__

___
Python tracker 

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



[issue41810] Consider reintroducing `types.EllipsisType` for the sake of typing

2020-09-19 Thread Bas van Beek


Bas van Beek  added the comment:

If you're asking whether or not one can infer the return type of 
`type(Ellipsis)` then yes. 
In such case the inferred type is `builtins.ellipsis`, which is a private 
stub-only class (see the referenced typeshed issue in my original post).

If you're asking if a valid annotation can be constructed from `type(Ellipsis)` 
then the answer is unfortunately no (see below for a few examples).

```
EllipsisType = type(Ellipsis)

# Both examples are considered invalid
def func1(a: type(Ellipsis): ...
def func2(a: EllipsisType): ...

```

--

___
Python tracker 

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



[issue41775] IDLE: change Shell window title

2020-09-19 Thread Tal Einat


Change by Tal Einat :


--
nosy:  -taleinat

___
Python tracker 

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



[issue9146] Segfault in hashlib in OpenSSL FIPS mode using non-FIPS-compliant hashes, if "ssl" imported before "hashlib"

2020-09-19 Thread Irit Katriel


Irit Katriel  added the comment:

Looks like this is complete and can be closed.

--
nosy: +iritkatriel

___
Python tracker 

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



[issue29887] test_normalization doesn't work

2020-09-19 Thread Irit Katriel


Irit Katriel  added the comment:

Looks like this is complete and can be closed.

--
nosy: +iritkatriel

___
Python tracker 

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



[issue37408] [DOC] Precise that Tarfile "format" argument only concerns writing.

2020-09-19 Thread Irit Katriel


Irit Katriel  added the comment:

I think this is complete and can now be closed.

--
nosy: +iritkatriel

___
Python tracker 

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



[issue30974] Update os.samefile docstring to match documentation

2020-09-19 Thread Irit Katriel


Irit Katriel  added the comment:

Since backport to 2.7 is no longer relevant, I think this issue can be closed.

--
nosy: +iritkatriel

___
Python tracker 

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



[issue41812] Broken link on documentation header

2020-09-19 Thread Tomohiko Kinebuchi


Change by Tomohiko Kinebuchi :


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

___
Python tracker 

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



[issue29334] ssl.SSLObject method getpeercert() is buggy, do_handshake() is strange

2020-09-19 Thread Irit Katriel


Irit Katriel  added the comment:

Backport to 2.7 is no longer relevant, so I think this issue can be closed.

--
nosy: +iritkatriel

___
Python tracker 

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



[issue30166] Import command-line parsing modules only when needed

2020-09-19 Thread Irit Katriel


Irit Katriel  added the comment:

Looks like the backport was done and this issue can be closed.

--
nosy: +iritkatriel

___
Python tracker 

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



[issue41812] Broken link on documentation header

2020-09-19 Thread Henk-Jaap Wagenaar


Henk-Jaap Wagenaar  added the comment:

I can confirm this seems to happen, link to reproduce (click on 
"Documentation"):

https://docs.python.org/ja/3/index.html

It redirects to:

https://docs.python.org/ja/index.html

which is a 404

--
nosy: +cryvate

___
Python tracker 

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



[issue41812] Broken link on documentation header

2020-09-19 Thread Tomohiko Kinebuchi


Tomohiko Kinebuchi  added the comment:

the link "Documentation" on the head of the top page leads 404 pages.

--

___
Python tracker 

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



[issue41812] Broken link on documentation header

2020-09-19 Thread Tomohiko Kinebuchi


New submission from Tomohiko Kinebuchi :

the link "Documentation" on the head of the top page leads 404 pages.

--
assignee: docs@python
components: Documentation
files: Screen Shot 2020-09-11 at 22.10.37.png
messages: 377156
nosy: cocoatomo, docs@python
priority: normal
severity: normal
status: open
title: Broken link on documentation header
versions: Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9
Added file: https://bugs.python.org/file49463/Screen Shot 2020-09-11 at 
22.10.37.png

___
Python tracker 

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



[issue41561] test_ssl fails in Ubuntu 20.04: test_min_max_version_mismatch

2020-09-19 Thread Christian Heimes


Christian Heimes  added the comment:

It's starting to look like a misconfiguration in either Ubuntu's OpenSSL build 
or your system. has_tls_version() checks compile time options and runtime 
configuration options. It should detect that TLS 1.1 and 1.0 are not available. 
"[SSL] internal error" also points to an unusual error condition that should 
never be triggered by these tests.

Please run this on your system:

import ssl
print((ssl.HAS_TLSv1, ssl.HAS_TLSv1_1, ssl.HAS_TLSv1_2, ssl.HAS_TLSv1_3))
print(ssl.SSLContext().maximum_version)
print(ssl.SSLContext().minimum_version)

--

___
Python tracker 

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



[issue39385] Add an assertNoLogs context manager to unittest TestCase

2020-09-19 Thread Mark Dickinson


Change by Mark Dickinson :


--
nosy: +mark.dickinson
nosy_count: 8.0 -> 9.0
pull_requests: +21362
pull_request: https://github.com/python/cpython/pull/22317

___
Python tracker 

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



[issue41811] pstats.SortKey enum is broken

2020-09-19 Thread Ethan Furman


Change by Ethan Furman :


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

___
Python tracker 

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



[issue41810] Consider reintroducing `types.EllipsisType` for the sake of typing

2020-09-19 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

Can not `type(Ellipsis)` be used for typing too?

--
nosy: +gvanrossum, levkivskyi, serhiy.storchaka

___
Python tracker 

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



  1   2   >