[issue41672] imaplib: wrong return type documented

2020-09-05 Thread Dong-hee Na
Dong-hee Na added the comment: @norbertcyran Do you want to sand a patch that it update string to byte for this documentation? -- keywords: +newcomer friendly ___ Python tracker

[issue41731] test_cmd_line_script fails with verbosity level more than 1

2020-09-05 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : When verbosity level is more than 1 the test tries to print the script_exec_args passed to script. It fails when the tuple has more than 1 elements and is used in formatting with %r. The two tests fail as below : ./python -m test

[issue41730] Show deprecation warnings for tkinter.tix

2020-09-05 Thread wyz23x2
New submission from wyz23x2 : The tkinter.tix module was deprecated since Python 3.6, but nether DeprecationWarning nor PendingDeprecationWarning is warned. It should show a message and removal might be scheduled for 3.11/3.12. -- components: Tkinter messages: 376455 nosy: wyz23x2

[issue41723] doc: issue in a sentence in py_compile

2020-09-05 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset b6d2acb1b1a21f857c17cfb6e0e97a7b8bdc0171 by Benjamin Peterson in branch '3.9': [3.9] closes bpo-41723: Fix an error in the py_compile documentation. (GH-22118) https://github.com/python/cpython/commit/b6d2acb1b1a21f857c17cfb6e0e97a7b8bdc0171

[issue41723] doc: issue in a sentence in py_compile

2020-09-05 Thread miss-islington
miss-islington added the comment: New changeset 4e581d64b8aff3e2eda99b12f080c877bb78dfca by Miss Islington (bot) in branch '3.8': closes bpo-41723: Fix an error in the py_compile documentation. (GH-22110) https://github.com/python/cpython/commit/4e581d64b8aff3e2eda99b12f080c877bb78dfca

[issue41723] doc: issue in a sentence in py_compile

2020-09-05 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +21202 pull_request: https://github.com/python/cpython/pull/22118 ___ Python tracker ___

[issue41723] doc: issue in a sentence in py_compile

2020-09-05 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +21201 pull_request: https://github.com/python/cpython/pull/22117 ___ Python tracker

[issue41723] doc: issue in a sentence in py_compile

2020-09-05 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 5371a464ce88ffc88f3bb95cfd86f355b7d02953 by Zackery Spytz in branch 'master': closes bpo-41723: Fix an error in the py_compile documentation. (GH-22110) https://github.com/python/cpython/commit/5371a464ce88ffc88f3bb95cfd86f355b7d02953

[issue41729] test_winconsoleio fails and hangs on Windows

2020-09-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Running test -v test_winconsoleio showed that the hang is in test_cntl_z. With that commented out, I get failures in test_input (1st assert) and test_partial_reads and some bizarre console behavior. F:\dev\3x>python -m test -v test_winconsoleio Running

[issue41728] Debug logging when adding a TarFile object

2020-09-05 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +ethan.furman, lars.gustaebel ___ Python tracker ___ ___ Python-bugs-list mailing

[issue38585] defusedexpat not supported past python 3.3/3.4

2020-09-05 Thread Mariatta
Mariatta added the comment: Thanks for the report and thanks Zackery for the PR. -- nosy: +Mariatta resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue38325] [Windows] test_winconsoleio failures

2020-09-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: test_consoleio now fails and hangs for me. Issue 41729. -- nosy: +terry.reedy ___ Python tracker ___

[issue41729] test_winconsoleio fails and hangs on Windows

2020-09-05 Thread Terry J. Reedy
New submission from Terry J. Reedy : f:\dev\3x>python -m test test.test_winconsoleio Running Debug|Win32 interpreter... 0:00:00 Run tests sequentially 0:00:00 [1/1] test.test_winconsoleio ÄÄ^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z It quickly fails, prints seems garbage and several blanks lines,

[issue41728] Debug logging when adding a TarFile object

2020-09-05 Thread Elliott Balsley
Change by Elliott Balsley : -- keywords: +patch pull_requests: +21200 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22116 ___ Python tracker ___

[issue41728] Debug logging when adding a TarFile object

2020-09-05 Thread Elliott Balsley
Change by Elliott Balsley : -- title: Add logfile() when debug is True -> Debug logging when adding a TarFile object ___ Python tracker ___

[issue41728] Add logfile() when debug is True

2020-09-05 Thread Elliott Balsley
New submission from Elliott Balsley : When you add a TarInfo object created directly in memory, for example from a byte string, there is no debug logging available. `tarfile.add()` logs the name of each file added when debug level is 1 or higher. I think it would be a good idea to do the

[issue41724] SQLite returns "str" instead of "datetime.datetime" with aggregate queries.

2020-09-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: PARSE_DECLTYPES does not work for generated fields. sqlite3_column_decltype() just returns NULL. PARSE_COLNAMES works only when the column name contains the column type in square brackets. For generated fields sqlite3_column_name() returns the expression

[issue41724] SQLite returns "str" instead of "datetime.datetime" with aggregate queries.

2020-09-05 Thread Dennis Sweeney
Dennis Sweeney added the comment: Here's a reproducer. -- nosy: +Dennis Sweeney Added file: https://bugs.python.org/file49447/reproducer.py ___ Python tracker ___

[issue40318] Migrate to SQLite3 trace v2 API

2020-09-05 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue24464] "sqlite3_enable_shared_cache" deprecation warning when compiling with macOS system SQLite3

2020-09-05 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: The SQLite docs clearly states that using sqlite3_enable_shared_cache() is not recommended: "Shared cache is disabled by default. It is recommended that it stay that way. In other words, do not use this routine. This interface continues to be

[issue40318] Migrate to SQLite3 trace v2 API

2020-09-05 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 7f331c898a36d937c66ba93f86d2a445c96d382e by Erlend Egeberg Aasland in branch 'master': bpo-40318: Migrate to SQLite3 trace v2 API (GH-19581) https://github.com/python/cpython/commit/7f331c898a36d937c66ba93f86d2a445c96d382e --

[issue30646] SQLite: sqlite3_enable_shared_cache() is deprecated

2020-09-05 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: A little bit too fast with my previous comment; just disregard that suggestion. Maybe we should just disable the sqlite3.enable_shared_cache() method if we are running on macOS, since it will only result in a misuse error anyway. --

[issue38240] assertCountEqual is horribly misleading, sounds like only counts are being compared

2020-09-05 Thread Vitaly Kruglikov
Vitaly Kruglikov added the comment: Well, when you do tab-completion in unit tests on `self.` and `assertCountEqual` pops up, it sure sounds a lot like it's going to compare just the count of the items. The point is that the name of the function is not self-documenting, hence "misleading". A

[issue30646] SQLite: sqlite3_enable_shared_cache() is deprecated

2020-09-05 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: >From the SQLite docs https://sqlite.org/c3ref/enable_shared_cache.html: "Note: This method is disabled on MacOS X 10.7 and iOS version 5.0 and will always return SQLITE_MISUSE. On those systems, shared cache mode should be enabled per-database

[issue40318] Migrate to SQLite3 trace v2 API

2020-09-05 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- versions: +Python 3.10 -Python 3.8, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list

[issue38240] assertCountEqual is horribly misleading, sounds like only counts are being compared

2020-09-05 Thread Raymond Hettinger
Raymond Hettinger added the comment: This should stay closed as a duplicate. If you must, reopen of the original 27071, but it was closed for a reason. The majority of respondents voted for the status quo. Each alternative that was considered had its own share of problems. BTW, it is

[issue33802] Regression in logging configuration

2020-09-05 Thread Jakub Kulik
Change by Jakub Kulik : -- nosy: +kulikjak nosy_count: 7.0 -> 8.0 pull_requests: +21199 pull_request: https://github.com/python/cpython/pull/22040 ___ Python tracker ___

[issue36533] logging regression with threading + fork are mixed in 3.7.1rc2 (deadlock potential)

2020-09-05 Thread Jakub Kulik
Change by Jakub Kulik : -- nosy: +kulikjak nosy_count: 7.0 -> 8.0 pull_requests: +21198 pull_request: https://github.com/python/cpython/pull/22040 ___ Python tracker ___

[issue6721] Locks in the standard library should be sanitized on fork

2020-09-05 Thread Jakub Kulik
Change by Jakub Kulik : -- nosy: +kulikjak nosy_count: 27.0 -> 28.0 pull_requests: +21197 pull_request: https://github.com/python/cpython/pull/22040 ___ Python tracker ___

[issue41687] sendfile implementation is not compatible with Solaris

2020-09-05 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 8c0be6fd9101746235b63ddfb84106d1e9ca286b by Jakub Kulík in branch 'master': bpo-41687: Fix sendfile implementation to work with Solaris (#22040) https://github.com/python/cpython/commit/8c0be6fd9101746235b63ddfb84106d1e9ca286b -- nosy:

[issue41687] sendfile implementation is not compatible with Solaris

2020-09-05 Thread Yury Selivanov
Change by Yury Selivanov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> behavior ___ Python tracker ___

[issue38240] assertCountEqual is horribly misleading, sounds like only counts are being compared

2020-09-05 Thread Vitaly Kruglikov
Vitaly Kruglikov added the comment: Reopened per request from ammar2 -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue38240] assertCountEqual is horribly misleading, sounds like only counts are being compared

2020-09-05 Thread Vitaly Kruglikov
Vitaly Kruglikov added the comment: Re-opened, thanks! On Fri, Sep 20, 2019 at 3:01 PM Ammar Askar wrote: > > Ammar Askar added the comment: > > Hey Vitaly, not sure if you're the author of the original bug here: > https://bugs.python.org/issue27071 > > Could you re-open that so the

[issue38240] assertCountEqual is horribly misleading, sounds like only counts are being compared

2020-09-05 Thread Vitaly Kruglikov
Change by Vitaly Kruglikov : -- status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41727] Confusing presentation for configuration settings references

2020-09-05 Thread MegMM
New submission from MegMM : Priority: LOW Keywords: Documentation, Presentation of configuration settings Most of the documentation is excellent, but I'm running into a confusing method of referring to configuration settings in files. For instance on

[issue41724] SQLite returns "str" instead of "datetime.datetime" with aggregate queries.

2020-09-05 Thread Eric V. Smith
Eric V. Smith added the comment: [Adjusted title so that it displays correctly when not logged in. The text within less-than and greater-than was being dropped, probably because some piece of code didn't want to display unknown tags.] -- nosy: +eric.smith title: SQLite returns

[issue34556] Add --upgrade-deps to venv module

2020-09-05 Thread John Hagen
John Hagen added the comment: I noticed this new feature was not added to the Python 3.9 what's new: https://docs.python.org/3.9/whatsnew/3.9.html#venv Should it be? -- nosy: +John Hagen ___ Python tracker

[issue41654] Segfault when raising MemoryError

2020-09-05 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 6ae61959ec51a6b3dddc8e665ce6a7b8aeb26c04 by Pablo Galindo in branch '3.8': bpo-41654: Explicitly cast PyExc_MemoryError to PyTypeObject to avoid warning (GH-22102)

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

2020-09-05 Thread hai shi
Change by hai shi : -- title: Update the refcounts.dat of `PyType_FromModuleAndSpec` -> Update refcounts info of PyType_FromModuleAndSpec in refcounts.dat ___ Python tracker

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

2020-09-05 Thread hai shi
Change by hai shi : -- keywords: +patch pull_requests: +21196 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22112 ___ Python tracker ___

[issue41726] Update the refcounts.dat of `PyType_FromModuleAndSpec`

2020-09-05 Thread hai shi
New submission from hai shi : `PyType_FromModuleAndSpec` in docs doesn't show the info:`Return value: New reference.` -- assignee: docs@python components: Documentation messages: 376432 nosy: docs@python, petr.viktorin, shihai1991 priority: normal severity: normal status: open title:

[issue41218] PyCF_ALLOW_TOP_LEVEL_AWAIT + list comprehension set .CO_COROUTINE falg.

2020-09-05 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset a708ae7470cf0abc58a62853c25d9bbc977f8cd1 by Miss Islington (bot) in branch '3.9': bpo-41218: Improve the test cases for test_compile_top_level_await_no_coro (GH-21363) (GH-22109)

[issue41401] Using non-ascii that require UTF-8 breaks AIX testing

2020-09-05 Thread David Edelsohn
Change by David Edelsohn : -- nosy: +David.Edelsohn ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41659] PEG discrepancy on 'if {x} {a}: pass'

2020-09-05 Thread Lysandros Nikolaou
Change by Lysandros Nikolaou : -- keywords: +patch pull_requests: +21195 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/22111 ___ Python tracker

[issue41717] [AIX] test_io: files was modified by test_io: (@test_6488748_tmpæ) on POWER6 AIX 3.9

2020-09-05 Thread Stefan Krah
Stefan Krah added the comment: I think this is a duplicate of #41401. -- nosy: +skrah resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Using non-ascii that require UTF-8 breaks AIX testing ___ Python tracker

[issue41555] re.sub replaces twice

2020-09-05 Thread S. Zhang
S. Zhang added the comment: Thanks. On Mon, Aug 17, 2020 at 7:40 PM Pablo Galindo Salgado < rep...@bugs.python.org> wrote: > > Change by Pablo Galindo Salgado : > > > -- > resolution: -> not a bug > stage: -> resolved > status: open -> closed > >

[issue41723] doc: issue in a sentence in py_compile

2020-09-05 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch nosy: +ZackerySpytz nosy_count: 2.0 -> 3.0 pull_requests: +21194 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22110 ___ Python tracker

[issue41692] Deprecate immortal interned strings: PyUnicode_InternImmortal()

2020-09-05 Thread hai shi
hai shi added the comment: +1 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41725] bz2 would use a dedicated exception for data error

2020-09-05 Thread Michał Górny
New submission from Michał Górny : Currently, the bz2 extension functions raise a generic OSError() on BZ_DATA_ERROR and BZ_DATA_ERROR_MAGIC. When working on files, this makes it unnecessarily hard to catch compressor errors (i.e. invalid bz2 input file) without catching system I/O errors.

[issue41721] xlc: add -qalias=noansi -qmaxmem=-1

2020-09-05 Thread Stefan Krah
Change by Stefan Krah : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue40486] pathlib's iterdir doesn't specify what happens if directory content change

2020-09-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> enhancement versions: +Python 3.10, Python 3.8 ___ Python tracker

[issue41718] test.regrtest has way too many imports

2020-09-05 Thread Serhiy Storchaka
Serhiy Storchaka 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. For example: # Same for Process objects def get_multiprocessing_process__dangling(self): multiprocessing_process

[issue41724] SQLite returns instead of with aggregate queries.

2020-09-05 Thread Ravi Misra
New submission from Ravi Misra : I tested the timestamp column in SQLite with MAX/MIN queries. They return string values instead of datetime.datetime. -- components: C API messages: 376425 nosy: ravi-misra priority: normal severity: normal status: open title: SQLite returns instead