[issue41730] Show deprecation warnings for tkinter.tix

2020-09-06 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The removal was suggested before but not merged in https://bugs.python.org/issue31371 -- nosy: +gpolo, serhiy.storchaka, xtreak ___ Python tracker ___

[issue41732] Custom iterator to memoryview - performance improvement

2020-09-06 Thread Diogo Flores
New submission from Diogo Flores : Hi, Here's a patch that adds an iterator to memoryview, which makes iterating over memoryview objs considerably faster. The following values result from a compilation with debug ON. W

[issue41732] Custom iterator to memoryview - performance improvement

2020-09-06 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +skrah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue41732] Custom iterator to memoryview - performance improvement

2020-09-06 Thread Diogo Flores
Change by Diogo Flores : -- keywords: +patch pull_requests: +21203 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22119 ___ Python tracker ___ ___

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

2020-09-06 Thread STINNER Victor
STINNER Victor added the comment: New changeset 63f102fe079ecb5cb7b921a1cf8bce4077a9d7e2 by Mohamed Koubaa in branch 'master': bpo-1635741: Port _sha1, _sha512, _md5 to multiphase init (GH-21818) https://github.com/python/cpython/commit/63f102fe079ecb5cb7b921a1cf8bce4077a9d7e2 -- _

[issue38325] [Windows] test_winconsoleio failures

2020-09-06 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue41718] test.regrtest has way too many imports

2020-09-06 Thread STINNER Victor
STINNER Victor added the comment: > You could save/restore this data only when corresponded modules was imported, > like it was done in clear_caches() in refleak.py. It was my first idea, but some large modules like multiprocessing and asyncio are only imported by tested when the test file i

[issue30646] SQLite: sqlite3_enable_shared_cache() is deprecated

2020-09-06 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue41718] test.regrtest has way too many imports

2020-09-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > > Yes, but they should be imported after running the test. Note that the > default value in the example was changed from None to set(). -- ___ Python tracker ___

[issue41733] ContextVar get value is unexpected

2020-09-06 Thread Jason Chen
New submission from Jason Chen : import asyncio from contextvars import * var = ContextVar('VarTest', default=None) def get_var(tag=None): obj = var.get() if obj is None: obj = object() var.set(obj) print(f'{tag=}: get_var result is {obj=}') return obj async de

[issue28850] Regression in Python 3: Subclassing PrettyPrinter.format doesn't work anymore

2020-09-06 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +patch nosy: +iritkatriel nosy_count: 7.0 -> 8.0 pull_requests: +21205 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/22120 ___ Python tracker

[issue28850] Regression in Python 3: Subclassing PrettyPrinter.format doesn't work anymore

2020-09-06 Thread Irit Katriel
Irit Katriel added the comment: This issue only impacts container objects where the len(repr(o)) is less than width. If the length is greater than width, containers are handled by a different code path which is covered by a unit test and works correctly. For this case, indeed it works in P

[issue41672] imaplib: wrong return type documented

2020-09-06 Thread Norbert Cyran
Norbert Cyran added the comment: @ericsmith Sure, I can create a PR and link it here when I'm done. -- ___ Python tracker ___ ___

[issue41571] Implement thread-related commands in pdb

2020-09-06 Thread Bar Harel
Change by Bar Harel : -- nosy: +bar.harel ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

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

2020-09-06 Thread Bar Harel
Change by Bar Harel : -- nosy: +bar.harel ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

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

2020-09-06 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: See also https://bugs.python.org/issue41571 -- nosy: +pablogsal ___ Python tracker ___ ___

[issue41734] Refactor b32{encode,decode} tests

2020-09-06 Thread Filipe Laíns
New submission from Filipe Laíns : As discussed in https://github.com/python/cpython/pull/20441, these tests could be improved by using the same format of the b32hex{encode,decode} tests. -- components: Tests messages: 376468 nosy: FFY00, p-ganssle priority: normal severity: normal stat

[issue41734] Refactor b32{encode,decode} tests

2020-09-06 Thread Filipe Laíns
Change by Filipe Laíns : -- keywords: +patch pull_requests: +21206 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22122 ___ Python tracker ___

[issue41513] High accuracy math.hypot()

2020-09-06 Thread Raymond Hettinger
Change by Raymond Hettinger : Removed file: https://bugs.python.org/file49398/test_hypot_commutativity.py ___ Python tracker ___ ___ Python-

[issue41513] High accuracy math.hypot()

2020-09-06 Thread Raymond Hettinger
Change by Raymond Hettinger : Added file: https://bugs.python.org/file49448/test_hypot_commutativity.py ___ Python tracker ___ ___ Python-bu

[issue41513] High accuracy math.hypot()

2020-09-06 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +21207 pull_request: https://github.com/python/cpython/pull/22123 ___ Python tracker ___ ___

[issue41713] _signal module leak: test_interpreters leaked [1424, 1422, 1424] references

2020-09-06 Thread mohamed koubaa
mohamed koubaa added the comment: Sounds like there needs to be some python-wide global state that perhaps the signal module wraps rather than owns. I could try to prototype it if you agree -- nosy: +koubaa ___ Python tracker

[issue41513] High accuracy math.hypot()

2020-09-06 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 67c998de24985b36498b0fdac68d1beceb43aba7 by Raymond Hettinger in branch 'master': bpo-41513: Expand comments and add references for a better understanding (GH-22123) https://github.com/python/cpython/commit/67c998de24985b36498b0fdac68d1beceb

[issue41729] test_winconsoleio fails and hangs on Windows

2020-09-06 Thread Eryk Sun
Eryk Sun added the comment: > ÄÄ^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z I don't know why Steve made write_input (PC/_testconsole.c) set wRepeatCount in each KeyEvent record to 10. Maybe it was a typo. Previous console implementations have ignored the repeat count, so it wasn't an issue. test_ctrl_z che

[issue38306] High level API for loop.run_in_executor(None, ...)?

2020-09-06 Thread Guido van Rossum
Guido van Rossum added the comment: Really closing. -- nosy: +gvanrossum stage: -> resolved status: open -> closed ___ Python tracker ___

[issue41735] Thread locks in zlib module may go wrong in rare case

2020-09-06 Thread Ma Lin
New submission from Ma Lin : The code in zlib module: self->zst.next_in = data->buf; // set next_in ... ENTER_ZLIB(self); // acquire thread lock `self->zst` is a `z_stream` struct defined in zlib, used to record states of a compress/decompress stream: typedef struct z_stre

[issue41735] Thread locks in zlib module may go wrong in rare case

2020-09-06 Thread Ma Lin
Change by Ma Lin : -- keywords: +patch pull_requests: +21208 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22126 ___ Python tracker ___ _