[issue36176] Fix IDLE Autocomplete / Calltip Window Colors

2019-03-09 Thread Terry J. Reedy


Change by Terry J. Reedy :


--
keywords: +patch
pull_requests: +12247
stage: needs patch -> patch review

___
Python tracker 

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



[issue36176] Fix IDLE Autocomplete / Calltip Window Colors

2019-03-09 Thread Kristoffer Law


Kristoffer Law  added the comment:

Awesome, thanks.

Let me know if there is anything you'd like me to test, it looks like
you've already tested removing that variable.

On Sat, Mar 9, 2019, 20:35 Terry J. Reedy  wrote:

>
> Terry J. Reedy  added the comment:
>
> I presume that the folders have names I cannot see because they are white
> on white, even though the current directly name is black (on gray).  The
> effect of the dark screen theme seems inconsistent.
>
>   The open and save-as dialog boxes are provided by tk to either use or
> match the OS version.  (On Windows, I am fairly sure the native widget is
> being used.)  The tkinter wrappers are in its filedialog module. There are
> no color options.  So this is a tkinter or more likely, tk, issue.  This
> suggests to me that tcl/tk and KDE are not quite compatible.
>
> The search box (searchbase.py) uses ttk widgets.  It seems that ttk.Frame
> picks up its background color from the environment while the included ttk
> widgets do not.  The effect is a little strange, but at least the text,
> including the entered text is readable.  We could make the backgrounds
> consistent either by setting the frame 'white' or by conditionally using a
> dark theme (there might already be one) for the contained widgets.  This is
> a separate issue.
>
> The 3.7.3rc cutoff is in a couple of days so I will make a minimal PR to
> fix the overt bugs that we know about and can.
>
> --
>
> ___
> Python tracker 
> 
> ___
>

--

___
Python tracker 

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



[issue36253] Use after free in ctypes test suite

2019-03-09 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +amaury.forgeotdarc, belopolsky, gregory.p.smith, meador.inge

___
Python tracker 

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



[issue36176] Fix IDLE Autocomplete / Calltip Window Colors

2019-03-09 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

I presume that the folders have names I cannot see because they are white on 
white, even though the current directly name is black (on gray).  The effect of 
the dark screen theme seems inconsistent.

  The open and save-as dialog boxes are provided by tk to either use or match 
the OS version.  (On Windows, I am fairly sure the native widget is being 
used.)  The tkinter wrappers are in its filedialog module. There are no color 
options.  So this is a tkinter or more likely, tk, issue.  This suggests to me 
that tcl/tk and KDE are not quite compatible.

The search box (searchbase.py) uses ttk widgets.  It seems that ttk.Frame picks 
up its background color from the environment while the included ttk widgets do 
not.  The effect is a little strange, but at least the text, including the 
entered text is readable.  We could make the backgrounds consistent either by 
setting the frame 'white' or by conditionally using a dark theme (there might 
already be one) for the contained widgets.  This is a separate issue.  

The 3.7.3rc cutoff is in a couple of days so I will make a minimal PR to fix 
the overt bugs that we know about and can.

--

___
Python tracker 

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



[issue26018] documentation of ZipFile file name encoding

2019-03-09 Thread Windson Yang


Windson Yang  added the comment:

Please ignore the last message, the docs locate in 3.4 and 3.5

--

___
Python tracker 

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



[issue26018] documentation of ZipFile file name encoding

2019-03-09 Thread Windson Yang


Windson Yang  added the comment:

I can't find the Note in the current document

--
nosy: +Windson Yang
versions: +Python 3.4, Python 3.5 -Python 3.7, Python 3.8

___
Python tracker 

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



[issue35121] Cookie domain check returns incorrect results

2019-03-09 Thread Ned Deily


Ned Deily  added the comment:

OK, thanks for the initial report and a big thank you to @xtreak for the PR and 
following up on things.  The PR is now merged to master for 3.8.0 and 
backported as a security fix for release in 3.7.3 and 3.6.9.  Reassigning to 
Benjamin for a decision on backporting to 2.7.

--
assignee:  -> benjamin.peterson
stage: patch review -> commit review
versions: +Python 2.7

___
Python tracker 

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



[issue35121] Cookie domain check returns incorrect results

2019-03-09 Thread Ned Deily


Change by Ned Deily :


--
pull_requests:  -12244

___
Python tracker 

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



[issue33725] Python crashes on macOS after fork with no exec

2019-03-09 Thread Davin Potts


Davin Potts  added the comment:

As best as I can see, there is no magic bullet to help mitigate this.

At a minimum, I am convinced we need to update the documentation to describe 
this behavior on MacOS and recommend alternatives.

I continue to give serious thought to the idea of changing the default start 
method on MacOS from fork to spawn.  This would be a breaking change though one 
could argue MacOS has already undergone a breaking change.  Is such a change 
warranted?

The alternative (which does not seem all that appealing) is that we start 
encouraging everyone to first consider the start method before attempting to 
use multiprocessing even for their first time.  Providing sensible defaults is 
to be preferred, but changing the default to reflect a non-trivial change in 
the underlying platform is still not to be taken lightly.

--

___
Python tracker 

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



[issue35121] Cookie domain check returns incorrect results

2019-03-09 Thread Ned Deily


Ned Deily  added the comment:


New changeset b241af861b37e20ad30533bc0b7e2e5491cc470f by Ned Deily (Miss 
Islington (bot)) in branch '3.6':
bpo-35121: prefix dot in domain for proper subdomain validation (GH-10258) 
(GH-12260)
https://github.com/python/cpython/commit/b241af861b37e20ad30533bc0b7e2e5491cc470f


--

___
Python tracker 

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



[issue35121] Cookie domain check returns incorrect results

2019-03-09 Thread Ned Deily


Ned Deily  added the comment:


New changeset e5123d81ffb3be35a1b2767d6ced1a097aaf77be by Ned Deily (Miss 
Islington (bot)) in branch '3.7':
bpo-35121: prefix dot in domain for proper subdomain validation (GH-10258) 
(GH-12261)
https://github.com/python/cpython/commit/e5123d81ffb3be35a1b2767d6ced1a097aaf77be


--

___
Python tracker 

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



[issue18697] Unify arguments names in Unicode object C API documentation

2019-03-09 Thread Windson Yang


Change by Windson Yang :


--
versions:  -Python 2.7

___
Python tracker 

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



[issue18697] Unify arguments names in Unicode object C API documentation

2019-03-09 Thread Windson Yang


Change by Windson Yang :


--
versions: +Python 2.7, Python 3.4, Python 3.5

___
Python tracker 

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



[issue18697] Unify arguments names in Unicode object C API documentation

2019-03-09 Thread Windson Yang


Windson Yang  added the comment:

I agreed with @Matheus, it would be better than the current implementation

--
nosy: +Windson Yang
versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.4, Python 3.5

___
Python tracker 

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



[issue35121] Cookie domain check returns incorrect results

2019-03-09 Thread miss-islington


Change by miss-islington :


--
pull_requests: +12246

___
Python tracker 

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



[issue35121] Cookie domain check returns incorrect results

2019-03-09 Thread miss-islington


Change by miss-islington :


--
pull_requests: +12245

___
Python tracker 

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



[issue35121] Cookie domain check returns incorrect results

2019-03-09 Thread miss-islington


Change by miss-islington :


--
pull_requests: +12244

___
Python tracker 

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



[issue35121] Cookie domain check returns incorrect results

2019-03-09 Thread Ned Deily


Ned Deily  added the comment:


New changeset ca7fe5063593958e5efdf90f068582837f07bd14 by Ned Deily (Xtreak) in 
branch 'master':
bpo-35121: prefix dot in domain for proper subdomain validation (GH-10258)
https://github.com/python/cpython/commit/ca7fe5063593958e5efdf90f068582837f07bd14


--
nosy: +lukasz.langa

___
Python tracker 

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



[issue36244] Lock release fails under windows

2019-03-09 Thread Eryk Sun


Change by Eryk Sun :


--
superseder:  -> concurrent.futures.ProcessPoolExecutor does not work in venv on 
Windows

___
Python tracker 

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



[issue33725] Python crashes on macOS after fork with no exec

2019-03-09 Thread Ned Deily


Ned Deily  added the comment:

What's the status of this issue?  As far as I know, we haven't come up with any 
workaround (see msg331011 above) other than disabling our tests.  If we don't 
have anything better, at the very least we should add a warning to the 
documentation to avoid fork mode on macOS, no?

--
priority: normal -> critical
versions:  -Python 3.6

___
Python tracker 

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



[issue33725] Python crashes on macOS after fork with no exec

2019-03-09 Thread Ned Deily


Change by Ned Deily :


--
pull_requests:  -10551

___
Python tracker 

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



[issue33725] Python crashes on macOS after fork with no exec

2019-03-09 Thread Ned Deily


Change by Ned Deily :


--
pull_requests:  -10552

___
Python tracker 

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



[issue36252] update to Unicode 12

2019-03-09 Thread Benjamin Peterson


Benjamin Peterson  added the comment:

738c19f4c5475da186de03e966bd6648e5ced4c4

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



[issue33376] [pysqlite] Duplicate rows can be returned after rolling back a transaction

2019-03-09 Thread Benjamin Peterson


Benjamin Peterson  added the comment:

Sorry, wrong bug.

--
resolution: fixed -> 
status: closed -> open

___
Python tracker 

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



[issue33376] [pysqlite] Duplicate rows can be returned after rolling back a transaction

2019-03-09 Thread Benjamin Peterson


Benjamin Peterson  added the comment:


New changeset 738c19f4c5475da186de03e966bd6648e5ced4c4 by Benjamin Peterson in 
branch 'master':
closes bpo-33376: Update to Unicode 12.0.0. (GH-12256)
https://github.com/python/cpython/commit/738c19f4c5475da186de03e966bd6648e5ced4c4


--
nosy: +benjamin.peterson
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



[issue36253] Use after free in ctypes test suite

2019-03-09 Thread Ben Harper


Change by Ben Harper :


--
keywords: +patch
pull_requests: +12243
stage:  -> patch review

___
Python tracker 

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



[issue36253] Use after free in ctypes test suite

2019-03-09 Thread Ben Harper


New submission from Ben Harper :

When running the builtin test suite with address sanitizer enabled, one of the 
ctypes tests causes a use after free demonstrating the danger of using a 
reference to the inside of a deallocated buffer. This use is detected as an 
error by the address sanitizer and can be replicated with the following; a 
stack trace from the resulting failure is attached.

export ASAN_OPTIONS="detect_leaks=0"
make clean
./configure --with-address-sanitizer --with-pydebug
make
./python Lib/ctypes/test/test_stringptr.py StringPtrTestCase -v

--
components: Tests, ctypes
files: asan StringPtrTestCase.txt
messages: 337583
nosy: btharper
priority: normal
severity: normal
status: open
title: Use after free in ctypes test suite
type: behavior
versions: Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8
Added file: https://bugs.python.org/file48202/asan StringPtrTestCase.txt

___
Python tracker 

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



[issue33376] [pysqlite] Duplicate rows can be returned after rolling back a transaction

2019-03-09 Thread Benjamin Peterson


Change by Benjamin Peterson :


--
pull_requests: +12242

___
Python tracker 

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



[issue36252] update to Unicode 12

2019-03-09 Thread Benjamin Peterson


New submission from Benjamin Peterson :

http://blog.unicode.org/2019/03/announcing-unicode-standard-version-120.html

We need to update the databases.

--
assignee: benjamin.peterson
components: Unicode
messages: 337582
nosy: benjamin.peterson, ezio.melotti, vstinner
priority: normal
severity: normal
status: open
title: update to Unicode 12
type: enhancement
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



[issue36239] gettext: GNUTranslations doesn't parse properly comments in description

2019-03-09 Thread Julien Palard


Change by Julien Palard :


--
keywords: +patch
pull_requests: +12241
stage:  -> patch review

___
Python tracker 

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



[issue36241] MD5 checksum is not valid for v2.7.16 "Windows x86-64 MSI installer"

2019-03-09 Thread SilentGhost


Change by SilentGhost :


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



[issue36244] Lock release fails under windows

2019-03-09 Thread Konrad Ciecierski


Konrad Ciecierski  added the comment:

Yes, it is the same case.
Still, the current official (3.7.2) release is affected by this problem.

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



[issue36241] MD5 checksum is not valid for v2.7.16 "Windows x86-64 MSI installer"

2019-03-09 Thread Benjamin Peterson


Benjamin Peterson  added the comment:

That's correct.

--

___
Python tracker 

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



[issue36228] Support coercion of complex to float/int

2019-03-09 Thread Марат Нагаев

Марат Нагаев  added the comment:

Can I implement this methods?
@tim.peters

--

___
Python tracker 

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



[issue36241] MD5 checksum is not valid for v2.7.16 "Windows x86-64 MSI installer"

2019-03-09 Thread SilentGhost


SilentGhost  added the comment:

I still see 2fe86194bb4027be75b29852027f1a79 as checksum

--
nosy: +SilentGhost

___
Python tracker 

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



[issue36241] MD5 checksum is not valid for v2.7.16 "Windows x86-64 MSI installer"

2019-03-09 Thread Benjamin Peterson


Benjamin Peterson  added the comment:

I think everything is correct now?

--

___
Python tracker 

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



[issue35931] pdb: "debug print(" crashes with SyntaxError

2019-03-09 Thread daniel hahler


daniel hahler  added the comment:

Example of the API breakage:

```
/opt/python/3.8-dev/lib/python3.8/pdb.py:321: in _cmdloop
self.cmdloop()
/opt/python/3.8-dev/lib/python3.8/cmd.py:138: in cmdloop
stop = self.onecmd(line)
/opt/python/3.8-dev/lib/python3.8/pdb.py:418: in onecmd
return cmd.Cmd.onecmd(self, line)
/opt/python/3.8-dev/lib/python3.8/cmd.py:217: in onecmd
return func(arg)
pdb.py:699: in do_debug
return orig_do_debug(self, cmd)
/opt/python/3.8-dev/lib/python3.8/pdb.py:1097: in do_debug
code = compile(arg, "", "exec")
E   TypeError: compile() arg 1 must be a string, bytes or AST object
```

(via https://travis-ci.org/antocuni/pdb/jobs/504061679#L367)

--

___
Python tracker 

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



[issue35931] pdb: "debug print(" crashes with SyntaxError

2019-03-09 Thread Ned Deily


Change by Ned Deily :


--
nosy: +lukasz.langa, ned.deily
priority: normal -> release blocker

___
Python tracker 

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



[issue35931] pdb: "debug print(" crashes with SyntaxError

2019-03-09 Thread daniel hahler


daniel hahler  added the comment:

Bumping.

The first (merged) patch is not sufficient, and causes even an API breakage, 
because it disallows passing in a code object (via compile()) anymore.

A better fix is waiting at https://github.com/python/cpython/pull/12103, and 
should also get backported to for 3.7.3 then (or the first backport being 
reverted).

--
resolution: fixed -> 

___
Python tracker 

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



[issue36251] Invalid format specifiers in MatchObject and StdPrinter repr

2019-03-09 Thread Stephan Hohe


Change by Stephan Hohe :


--
keywords: +patch
pull_requests: +12240
stage:  -> patch review

___
Python tracker 

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



[issue36251] Invalid format specifiers in MatchObject and StdPrinter repr

2019-03-09 Thread Stephan Hohe


New submission from Stephan Hohe :

match_repr() and stdprinter_repr() contain calls to PyUnicode_FromFormat() with 
format specifiers that don't match the arguments.

See the upcoming pull request for details.

--
components: Interpreter Core, Regular Expressions
messages: 337574
nosy: ezio.melotti, mrabarnett, sth
priority: normal
severity: normal
status: open
title: Invalid format specifiers in MatchObject and StdPrinter repr
versions: Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8

___
Python tracker 

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



[issue13120] Default nosigint option to pdb.Pdb() prevents use in non-main thread

2019-03-09 Thread daniel hahler


daniel hahler  added the comment:

Just for reference: there is a similar issue with `interaction`: 
https://bugs.python.org/issue36250.

--
nosy: +blueyed

___
Python tracker 

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



[issue36250] pdb: interaction might cause "ValueError: signal only works in main thread"

2019-03-09 Thread daniel hahler


Change by daniel hahler :


--
keywords: +patch
pull_requests: +12239
stage:  -> patch review

___
Python tracker 

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



[issue36250] pdb: interaction might cause "ValueError: signal only works in main thread"

2019-03-09 Thread daniel hahler


New submission from daniel hahler :

This is similar to https://bugs.python.org/issue13120.

I have a patch for a fix already, but no test - will add a PR for it.


Fixed in pdbpp in https://github.com/antocuni/pdb/pull/143, which also has a 
test that demonstrates it.

--
components: Library (Lib)
messages: 337572
nosy: blueyed
priority: normal
severity: normal
status: open
title: pdb: interaction might cause "ValueError: signal only works in main 
thread"
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



[issue36176] Fix IDLE Autocomplete / Calltip Window Colors

2019-03-09 Thread Cheryl Sabella


Change by Cheryl Sabella :


Added file: https://bugs.python.org/file48201/searchdialogdark.png

___
Python tracker 

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



[issue36176] Fix IDLE Autocomplete / Calltip Window Colors

2019-03-09 Thread Cheryl Sabella


Cheryl Sabella  added the comment:

I didn't see an issue with a Gnome, so I installed KDE Plasma and switched to 
the dark theme.  I was able to recreate the issue for autocomplete.  When I 
tried 'open file', I also saw it there and I've attached a screen print showing 
how it looks on 'open file'.

Removing the 'bg=white' in autocomplete_w.py fixes the issue by changing  it to 
a gray background with the almost white text.  Of course that doesn't affect 
the 'open file' window.

I've also attached a screen print of what the search dialog looks like.

--
Added file: https://bugs.python.org/file48200/kdedarktheme.png

___
Python tracker 

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



[issue13120] Default nosigint option to pdb.Pdb() prevents use in non-main thread

2019-03-09 Thread daniel hahler


Change by daniel hahler :


--
pull_requests: +12238

___
Python tracker 

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



[issue36248] document about `or`, `and` operator.

2019-03-09 Thread SilentGhost


Change by SilentGhost :


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



[issue36247] zipfile - extract truncates (existing) file when bad password provided (zip encryption weakness)

2019-03-09 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

When you pass an incorrect password, it is not possible to guarantee that you 
will get an exception and the destination file will be kept unchanged. It is 
possible that you will get an incorrectly deciphered file without noticing.

I do not think that the zipfile code needs to be changed. If you want to keep 
the content of the target file in case of error, just extract the file into 
other place.

--
resolution:  -> not a bug

___
Python tracker 

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



[issue35746] [ssl][CVE-2019-5010] TALOS-2018-0758 Denial of Service

2019-03-09 Thread Larry Hastings


Larry Hastings  added the comment:

Can we close this now?

--

___
Python tracker 

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



[issue36248] document about `or`, `and` operator.

2019-03-09 Thread Windson Yang


Windson Yang  added the comment:

SilentGhost, I think you give a great example to explain this behavior. If the 
behavior is obvious to you, we can close this issue.

--

___
Python tracker 

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



[issue36029] Use title-case HTTP header fields

2019-03-09 Thread Julien Palard

Julien Palard  added the comment:

Closing as "not a bug" as discussed in the PR.

Anyway thanks Géry for the work on this, even if not merged it's appreciated!

--
resolution:  -> not a bug
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



[issue36216] urlsplit does not handle NFKC normalization

2019-03-09 Thread Jeremy Kloth


Jeremy Kloth  added the comment:

A missed print statement in the 2.7 patch is causing the tests to fail.

Line 647 of Lib/test/test_urlparse.py

--
nosy: +jkloth

___
Python tracker 

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



[issue36248] document about `or`, `and` operator.

2019-03-09 Thread SilentGhost


SilentGhost  added the comment:

Windson, it still is not clear what exactly you find unexpected in view of 
supplied links:

1 or 0 and 3
or has higher precedence than and, therefore it's evaluated first. It's first 
argument (1) is truthy, therefore it's returned. End of comparison.

0 or 1 and 3
starts the same, but now the second argument (1 and 3) needs evaluating and its 
return value (3) will be the end result. End of comparison.

I certainly think the suggested wording is a no go.

--
nosy: +SilentGhost

___
Python tracker 

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



[issue36248] document about `or`, `and` operator.

2019-03-09 Thread Windson Yang


Windson Yang  added the comment:

Thank you Serhiy, we did document here: 

> The expression x and y first evaluates x; if x is false, its value is 
> returned; otherwise, y is evaluated and the resulting value is returned.

> The expression x or y first evaluates x; if x is true, its value is returned; 
> otherwise, y is evaluated and the resulting value is returned.

Sorry, Steven. I should make it clear. I think the output of the example(1, 3) 
depends on the input order of number(1 or 0, 0 or 1) is not an expected 
behavior to me. Maybe we can add an example/note in the document. 

"Sometimes this will cause unexpected behavior when you put `or` and `and` 
together..."

--

___
Python tracker 

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



[issue35998] test_asyncio: test_start_tls_server_1() TimeoutError on Fedora 29

2019-03-09 Thread Open Close


Open Close  added the comment:

I updated my PC (OpenSSL 1.1.1b).
the same TimeoutError as before.

$ ./python -m test.pythoninfo | grep ssl
ssl.HAS_SNI: True
ssl.OPENSSL_VERSION: OpenSSL 1.1.1b  26 Feb 2019
ssl.OPENSSL_VERSION_INFO: (1, 1, 1, 2, 15)
ssl.OP_ALL: 0x8054
ssl.OP_NO_TLSv1_1: 0x1000

--

___
Python tracker 

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



[issue34956] _tkinter built on macOS 10.14 does not link to Tcl and Tk in /Library/Frameworks

2019-03-09 Thread Dmitrii Pasechnik


Dmitrii Pasechnik  added the comment:

On https://bugs.python.org/issue36231 I propose a way to build without creating 
any symlinks.

--
nosy: +dimpase

___
Python tracker 

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