[issue42721] Using of simple dialogs without default root window

2020-12-25 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue42734] Outdated CodeType call in "bogus_code_obj.py"

2020-12-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: To be honest, I was not sure that replace() exists in 3.8 and I was too lazy to write different code for different versions. Next time when bogus_code_obj.py become outdated again we will use replace(). -- resolution: -> fixed stage: patch rev

[issue15303] Minor revision to the method in Tkinter

2020-12-25 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10 -Python 3.6 ___ Python tracker <https://bugs.python.or

[issue35728] Tkinter font nametofont requires default root

2020-12-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 36a779e64c580519550aa6478c5aa8c58b8fa7b6 by Desmond Cheong in branch 'master': bpo-35728: Add root parameter to tkinter.font.nametofont() (GH-23885) https://github.com/python/cpython/commit/36a779e64c580519550aa6478c5aa8

[issue39171] Missing default root in tkinter simpledialog.py

2020-12-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Issue42721 made possible to use these dialogs without default root window. A temporary hidden root window is created for the time of life of a dialog and it is not set as default root window. Positioning dialog wit5hout parent was improved in issue42685

[issue39177] In tkinter, simple dialogs, askstrings, etc. with flexible coordinates and no viewable parent.

2020-12-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Issue42685 improved positioning of dialog windows. Now they are centered at the parent window or screen if there is no parent. It corresponds to behavior of Tk message boxes. Issue42721 made dialogs be usable without default root window. Temporary hidden

[issue38649] tkinter messagebox is sloppy

2020-12-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I agree that there is a problem. tkinter.messagebox is poorly documented. Different functions can return True, False, None or the name of the button, and it is not specified which function what returns. Set of acceptable values for type and icon are not

[issue42318] [tkinter] surrogate pairs in Tcl/Tk string when pasting an emoji in a text widget

2020-12-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 4d840e428ab1a2712f219c5e4008658cbe15892e by Miss Islington (bot) in branch '3.8': [3.8] bpo-42318: Fix support of non-BMP characters in Tkinter on macOS (GH-23281). (GH-23784) (GH-23787) https://github.com/python/cpyt

[issue42318] [tkinter] surrogate pairs in Tcl/Tk string when pasting an emoji in a text widget

2020-12-25 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue42737] PEP 563: drop annotations for complex assign targets

2020-12-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Alternatively it could be evaluated in global scope. All names are globals (non-global names do not work in MyPy in any case), yield and await are forbidden outside function. It will still perform run-time check which was an initial intention

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

2020-12-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The pitfall of PyType_FromModuleAndSpec() is that it makes types instantiable by default if tp_new is not provided. Created objects can crash when you try to use them because they are not properly initialized. When there was few uses of

[issue42749] test_tcl failed on 32-bit POWER6 AIX 3.9: big int issue with 9223372036854775808

2020-12-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Interesting that static version is 8.4, but pathlevel is 8.5.9. It means that Tkinter is built with older version of headers and does not support bignum type, but dynamically linked to newer library which can create bignum objects. There is a problem with

[issue42749] test_tcl failed on 32-bit POWER6 AIX 3.9: big int issue with 9223372036854775808

2020-12-26 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +22802 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23955 ___ Python tracker <https://bugs.python.org/issu

[issue42735] "trace_at_recursion_limit.py" should be removed from "Python/Lib/test/crashers"

2020-12-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The initial issue6717 is still open. Are you sure that the bug was fixed rater than that the crasher is outdated? -- ___ Python tracker <https://bugs.python.org/issue42

[issue42750] tkinter.Variable equality consistency

2020-12-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It will break existing code which depends on the current behavior. I don't see a problem with comparing variables by name. -- ___ Python tracker <https://bugs.python.org/is

[issue42737] PEP 563: drop annotations for complex assign targets

2020-12-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Do we still need to represent annotation as a subtree in AST? Or make it just a string? -- ___ Python tracker <https://bugs.python.org/issue42

[issue42737] PEP 563: drop annotations for complex assign targets

2020-12-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: About the difference in behavior. Currently: >>> (1/0).numerator: int Traceback (most recent call last): File "", line 1, in ZeroDivisionError: division by zero >>> x[0]: int Traceback (most recent call last): File "

[issue42750] tkinter.Variable equality consistency

2020-12-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: a = tk.IntVar(name='a') b = tk.IntVar(name='a') assert a == b # they refers to the same variable assert a is not b # but they are different objects a.set(42); assert b.get() == a.get() == 42 # yes, it is the same variable c = tk.IntVa

[issue42749] test_tcl failed on 32-bit POWER6 AIX 3.9: big int issue with 9223372036854775808

2020-12-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset b02ad2458bc127a7afdeef414fa68c9a7f1f32af by Serhiy Storchaka in branch 'master': bpo-42749: Fix testing bignum if Tkinter is compiled with Tk 8.4 and dynamic linked with Tk >= 8.5 (GH-23955) https://github.com/python/c

[issue42749] test_tcl failed on 32-bit POWER6 AIX 3.9: big int issue with 9223372036854775808

2020-12-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 9d7c5ab6a4ae9d69b39bd16c3195bf6405ddc2d1 by Miss Islington (bot) in branch '3.8': bpo-42749: Fix testing bignum if Tkinter is compiled with Tk 8.4 and dynamic linked with Tk >= 8.5 (GH-23955) (GH-23962) https://github.com/p

[issue42749] test_tcl failed on 32-bit POWER6 AIX 3.9: big int issue with 9223372036854775808

2020-12-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The test should be fixed now, but there is a configuration issue. -- nosy: +Michael.Felt versions: +Python 3.10, Python 3.8 ___ Python tracker <https://bugs.python.org/issue42

[issue42749] test_tcl failed on 32-bit POWER6 AIX 3.9: big int issue with 9223372036854775808

2020-12-27 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +22811 pull_request: https://github.com/python/cpython/pull/23966 ___ Python tracker <https://bugs.python.org/issue42

[issue42759] Take into acount a Tcl interpreter when compare variables and fonts

2020-12-27 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Currently instances of tkinter.Variable and tkinter.font.Font are considered equal when they have the same name even if they belong to different Tcl interpreters. But Tcl interpreters are isolated, and variables and fonts in different interpreters refer

[issue42759] Take into acount a Tcl interpreter when compare variables and fonts

2020-12-27 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +22813 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23968 ___ Python tracker <https://bugs.python.org/issu

[issue42750] tkinter.Variable equality inconsistency

2020-12-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: You confuse variable and its value. tkinter.Variable is not a data container like list. It is a reference to external resource, Tcl variable, which contains value. If different Variable instances refer to different Tcl variables, they are different, even

[issue32825] warn user of creation of multiple Tk instances

2020-12-28 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue42768] super().__new__() of list expands arguments

2020-12-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Your problem is with list.__init__ method. It expects at most one argument. tuple does not have specialized __init__ method, it inherits it from object. All work is done in tuple.__new__. list does not have specialized __new__ method, it inherits it from

[issue42772] randrange() mishandles step when stop is None

2020-12-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Another solution is to use an identity test for the step argument Should I restore that optimization in issue37319? -- ___ Python tracker <https://bugs.python.org/issu

[issue42754] Unpacking of literals inside other literals should be optimised away by the compiler

2020-12-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I do not think there are serious raesons for adding this optimization. The Python compiler was intentionally made simple for maintainability. Constant folding supports only base arithmetic and bits operations because they are often used in constant

[issue35134] Add a new Include/cpython/ subdirectory for the "CPython API" with implementation details

2020-12-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Victor, could you please add README files in directories cpython and internals? It is not clear what headers are considered more private. -- ___ Python tracker <https://bugs.python.org/issue35

[issue42747] Remove Py_TPFLAGS_HAVE_VERSION_TAG flag?

2020-12-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I don't think that it was right thing to break binary compatibility. It virtually buried the stable ABI. -- nosy: +serhiy.storchaka ___ Python tracker <https://bugs.python.org/is

[issue42749] test_tcl failed on 32-bit POWER6 AIX 3.9: big int issue with 9223372036854775808

2020-12-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 156b7f7052102ee1633a18e9a136ad8c38f66db0 by Serhiy Storchaka in branch 'master': bpo-42749: Use dynamic version to test for unsupported bignum in Tk (GH-23966) https://github.com/python/cpython/commit/156b7f7052102ee1633a18e9a136ad

[issue42759] Take into acount a Tcl interpreter when compare variables and fonts

2020-12-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 1df56bc0597a051c13d53514e120e9b6764185f8 by Serhiy Storchaka in branch 'master': bpo-42759: Fix equality comparison of Variable and Font in Tkinter (GH-23968) https://github.com/python/cpython/commit/1df56bc0597a051c13d53514e120e9

[issue16396] Importing ctypes.wintypes on Linux gives a ValueError instead of an ImportError

2020-12-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 71d73900ebd4a93a64dae9d2fbef4337fa975e66 by Miss Islington (bot) in branch '3.9': bpo-16396: fix BPO number in changelog (GH-23951) (GH-23956) https://github.com/python/cpython/commit/71d73900ebd4a93a64dae9d2fbef4337fa975e66 -

[issue41781] Typos in typing.py

2020-12-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset c1af128f5a5893839536453dcc8b2ed7b95b3c3a by Ross in branch 'master': bpo-41781: Fix typo in internal function name in typing (GH-23957) https://github.com/python/cpython/commit/c1af128f5a5893839536453dcc8b2ed7b95b3c3a -

[issue38435] Start the deprecation cycle for subprocess preexec_fn

2020-12-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Would not be more consistent with other parameters to name the new parameter "pgid" or "process_group"? And why not use None as default, like for user and group? -- nosy: +serhiy.storchaka __

[issue42728] Typo in documentation: importlib.metadata

2020-12-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +brett.cannon, eric.snow, ncoghlan ___ Python tracker <https://bugs.python.org/issue42728> ___ ___ Python-bugs-list mailin

[issue42700] xml.parsers.expat.errors description of codes/messages is flipped

2020-12-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 84402eb11086f97d31164aaa23e7238da3464f41 by Michael Wayne Goodman in branch 'master': bpo-42700: Swap descriptions in pyexpat.errors (GH-23876) https://github.com/python/cpython/commit/84402eb11086f97d31164aaa23e723

[issue42673] Optimize round_size for rehashing

2020-12-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Since no benchmarking data was provided, I suggest to close this issue. We do not accept optimization changes without evidences of performance boost. -- status: open -> pending ___ Python tracker <

[issue42655] Fix subprocess extra_groups gid conversion

2020-12-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 0159e5efeebd12b3cf365c8569ca000eac7cb03e by Jakub KulĂ­k in branch 'master': bpo-42655: Fix subprocess extra_groups gid conversion (GH-23762) https://github.com/python/cpython/commit/0159e5efeebd12b3cf365c8569ca000eac7cb03e -

[issue40956] Use Argument Clinic in sqlite3

2020-12-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 84d79cfda947f6bc28a5aa11db8055aa40a6b03a by Erlend Egeberg Aasland in branch 'master': bpo-40956: Convert _sqlite3.Row to Argument Clinic (GH-23964) https://github.com/python/cpython/commit/84d79cfda947f6bc28a5aa11db8055

[issue41224] Document is_annotate() in symtable and update doc strings

2020-12-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 2edfc86f69d8a74f4821974678f664ff94a9dc22 by Andre Delfino in branch 'master': bpo-41224: Add versionadded for Symbol.is_annotated (GH-23861) https://github.com/python/cpython/commit/2edfc86f69d8a74f4821974678f664ff94a9dc22 -

[issue41224] Document is_annotate() in symtable and update doc strings

2020-12-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The method was added in 3.6. Please backport documentation changes to 3.9 and 3.8. -- stage: resolved -> needs patch status: closed -> open versions: +Python 3.8, Python 3.9 -Python 3.10 ___ Python t

[issue42700] xml.parsers.expat.errors description of codes/messages is flipped

2020-12-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your contribution Michael. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.6, Python 3.7 ___ Python tracker <https://bugs.python.or

[issue42655] Fix subprocess extra_groups gid conversion

2020-12-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your contribution Jakub. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue42779] pow() of huge input does not complete

2020-12-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Are you sure that this is a time of calculating pow() and not the time of calculating decimal representation of the result? On my computer: >>> t = time(); a = pow(c, 2**14+1); time()-t 11.957276344299316 >>> t = time(); a = pow(c,

[issue42749] test_tcl failed on 32-bit POWER6 AIX 3.9: big int issue with 9223372036854775808

2020-12-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: test_tcl is passed: https://buildbot.python.org/all/#/builders/330/builds/228 . -- ___ Python tracker <https://bugs.python.org/issue42

[issue42779] pow() of huge input does not complete

2020-12-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The computational complexity of algorithm used to convert integer to decimals is proportional to the cube of the size of the number. It is known issue. There are better algorithms (perhaps gmpy2 uses them), but they benefit only extremely large numbers

[issue42789] Do not skip test_curses on non-tty

2020-12-30 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Currently many tests in test_curses are skipped if sys.__stdout__ is not attached to terminal. All tests are ran only when run them manually, and without using pager. This leads to passing bugs, like in issue42694. The proposed PR makes tests always ran

[issue42789] Do not skip test_curses on non-tty

2020-12-30 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +22851 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24009 ___ Python tracker <https://bugs.python.org/issu

[issue42790] test.regrtest outputs to stdout instead of stderr

2020-12-30 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : unittest outputs progress and summary to stderr, but test.regrtest outputs it to stdout. Except that it outputs progress to stderr if option -W is used. It caused some problems with test_curses, because curses uses stdout, and when re-attach it to other

[issue40631] PEG Parser: Cannot used starred expression in parenthesised expr

2020-12-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Parenthesis can be added around expression. But `*a` is not an expression (as well as `+`, `or`, `1:5`, you cannot surround them with parenthesis). -- nosy: +serhiy.storchaka ___ Python tracker <ht

[issue42793] Bug of round function

2020-12-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It works as documented. https://docs.python.org/3/library/functions.html#round -- nosy: +serhiy.storchaka resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracke

[issue42794] test_nntplib fails on CI

2020-12-31 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Since yesterday ALL PRs are blocked by failing test_nntplib. For example https://github.com/python/cpython/runs/1629664606?check_suite_focus=true: == ERROR: test_descriptions

[issue39068] Base 85 encoding initialization race condition

2020-12-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 9655434cca5dfbea97bf6d355aec028e840b289c by Brandon Stansbury in branch 'master': bpo-39068: Fix race condition in base64 (GH-17627) https://github.com/python/cpython/commit/9655434cca5dfbea97bf6d355aec028e840b289c -

[issue26407] csv.writer.writerows masks exceptions from __iter__

2020-12-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +22861 pull_request: https://github.com/python/cpython/pull/24021 ___ Python tracker <https://bugs.python.org/issue26

[issue39068] Base 85 encoding initialization race condition

2020-12-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +22862 pull_request: https://github.com/python/cpython/pull/24022 ___ Python tracker <https://bugs.python.org/issue39

[issue36589] Incorrect error handling in curses.update_lines_cols()

2020-12-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +22863 pull_request: https://github.com/python/cpython/pull/24023 ___ Python tracker <https://bugs.python.org/issue36

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

2020-12-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +22864 pull_request: https://github.com/python/cpython/pull/24024 ___ Python tracker <https://bugs.python.org/issue41

[issue42425] Possible leak in initialization of errmap for OSError

2020-12-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +22865 pull_request: https://github.com/python/cpython/pull/24025 ___ Python tracker <https://bugs.python.org/issue42

[issue42794] test_nntplib fails on CI

2020-12-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: On my computer tests are passed. They are only failed on CI. -- ___ Python tracker <https://bugs.python.org/issue42

[issue42759] Take into acount a Tcl interpreter when compare variables and fonts

2020-12-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +22866 pull_request: https://github.com/python/cpython/pull/24026 ___ Python tracker <https://bugs.python.org/issue42

[issue41224] Document is_annotate() in symtable and update doc strings

2020-12-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 7a7f3e0d6a197c81fff83ad777c74324ceb4198f by Andre Delfino in branch '3.9': [3.9] bpo-41224: Add versionadded for Symbol.is_annotated (GH-23861). (GH-24017) https://github.com/python/cpython/commit/7a7f3e0d6a197c81fff83ad777c743

[issue41224] Document is_annotate() in symtable and update doc strings

2020-12-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset bc15cdbc6eb112cb72acf189769ecd539dd45652 by Andre Delfino in branch '3.8': [3.8] bpo-41224: Add versionadded for Symbol.is_annotated (GH-23861). (GH-24016) https://github.com/python/cpython/commit/bc15cdbc6eb112cb72acf189769ecd

[issue42393] Raise overflow errors iso. deprecation warnings in socket.htons and socket.ntohs (was deprecated in 3.7)

2020-12-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset f4936ad1c4d0ae1948e428aeddc7d3096252dae4 by Erlend Egeberg Aasland in branch 'master': bpo-42393: Raise OverflowError iso. DeprecationWarning on overflow in socket.ntohs and socket.htons (GH-23980) https://github.com/python/cpyt

[issue42393] Raise overflow errors iso. deprecation warnings in socket.htons and socket.ntohs (was deprecated in 3.7)

2020-12-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue41224] Document is_annotate() in symtable and update doc strings

2020-12-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.7 ___ Python tracker <https://bugs.python.or

[issue42794] test_nntplib fails on CI

2021-01-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The test was passed on my computer because test.test_nntplib.NetworkedNNTP_SSLTests was skipped because of the configuration of SSL on Ubuntu 20.04 (see issue41561). After using custom openssl.cnf I get the same errors. $ OPENSSL_CONF=~/py/openssl.cnf

[issue42759] Take into acount a Tcl interpreter when compare variables and fonts

2021-01-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset e3a9adba329681b1b73b7223515e71e94fc35e12 by Serhiy Storchaka in branch '3.8': [3.8] bpo-42759: Fix equality comparison of Variable and Font in Tkinter (GH-23968) (GH-24026) https://github.com/python/cpyt

[issue42425] Possible leak in initialization of errmap for OSError

2021-01-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 1a544e1dcf8e0880ee35ce78a7f90fc4e5c98c4f by Serhiy Storchaka in branch '3.8': [3.8] bpo-42425: Fix possible leak in initialization of errmap for OSError (GH-23446). (GH-24025) https://github.com/python/cpyt

[issue36589] Incorrect error handling in curses.update_lines_cols()

2021-01-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 187785e2fa2050156a6eda93fb2da31db13f07a6 by Serhiy Storchaka in branch '3.8': [3.8] bpo-36589: Fix the error handling in curses.update_lines_cols(). (GH-12766) (GH-24023) https://github.com/python/cpyt

[issue39068] Base 85 encoding initialization race condition

2021-01-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset b863607d303a87e8680149361ac987328b35ca5f by Serhiy Storchaka in branch '3.8': [3.8] bpo-39068: Fix race condition in base64 (GH-17627) (GH-24022) https://github.com/python/cpython/commit/b863607d303a87e8680149361ac987

[issue26407] csv.writer.writerows masks exceptions from __iter__

2021-01-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 6dffa67b98f78ae41b596f84478f3379f55d4d03 by Serhiy Storchaka in branch '3.8': [3.8] bpo-26407: Do not mask errors in csv. (GH-20536) (GH-24021) https://github.com/python/cpython/commit/6dffa67b98f78ae41b596f84478f33

[issue39068] Base 85 encoding initialization race condition

2021-01-01 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.8, Python 3.9 -Python 3.6 ___ Python tracker <https://bugs.python.or

[issue26407] csv.writer.writerows masks exceptions from __iter__

2021-01-01 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue42759] Take into acount a Tcl interpreter when compare variables and fonts

2021-01-01 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue42805] broken pygame integration into wxpython

2021-01-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Pygame and wxpython are not parts of the stdlib. Please use an appropriate bug tracker. -- nosy: +serhiy.storchaka resolution: -> third party stage: -> resolved status: open -> closed ___ Pytho

[issue42425] Possible leak in initialization of errmap for OSError

2021-01-02 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +22891 pull_request: https://github.com/python/cpython/pull/24057 ___ Python tracker <https://bugs.python.org/issue42

[issue42425] Possible leak in initialization of errmap for OSError

2021-01-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 7695d832565914efcedcc885feb129f5102aec90 by Serhiy Storchaka in branch '3.9': [3.9] bpo-42425: Fix possible leak in initialization of errmap for OSError (GH-23446). (GH-24057) https://github.com/python/cpyt

[issue42809] Improve pickle tests for recursive data

2021-01-02 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- versions: +Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.org/issue42809> ___ ___ Python-bugs-list mailin

[issue42809] Improve pickle tests for recursive data

2021-01-02 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : The proposed PR extends tests for pickling recursive structures. The code is now more generic and covers more corner cases (found during work on issue36694). -- components: Tests messages: 384220 nosy: alexandre.vassalotti, serhiy.storchaka

[issue42809] Improve pickle tests for recursive data

2021-01-02 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +22894 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24060 ___ Python tracker <https://bugs.python.org/issu

[issue42425] Possible leak in initialization of errmap for OSError

2021-01-02 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue42809] Improve pickle tests for recursive data

2021-01-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset a25011be8c6f62cb903befe6295d57f0bd30 by Serhiy Storchaka in branch 'master': bpo-42809: Improve pickle tests for recursive data. (GH-24060) https://github.com/python/cpython/commit/a25011be8c6f62cb903befe629

[issue42789] Do not skip test_curses on non-tty

2021-01-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 607501abb488fb37e33cf9d35260ab7baefa192f by Serhiy Storchaka in branch 'master': bpo-42789: Don't skip curses tests on non-tty. (GH-24009) https://github.com/python/cpython/commit/607501abb488fb37e33cf9d35

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

2021-01-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Tests test_zip_pickle_stability and test_zip_pickle_strict_stability look excessively strict. Why did we need them if there are other pickle tests? They prevent implementing optimizations like in issue36694. -- nosy: +serhiy.storchaka

[issue42789] Do not skip test_curses on non-tty

2021-01-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I guess I should merge a PR for issue42681 first. -- ___ Python tracker <https://bugs.python.org/issue42789> ___ ___ Pytho

[issue38308] Add optional weighting to statistics.harmonic_mean()

2021-01-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 66136768615472a8d1a18b5018095b9737dbab8c by Zackery Spytz in branch 'master': bpo-38308: Fix the "versionchanged" for the *weights* of harmonic_mean() (GH-23919) https://github.com/p

[issue42816] Add str.split_iter function

2021-01-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Issue17343 mentions also a separate method str.itersplit, so I close this issue as a duplicate. -- nosy: +serhiy.storchaka resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Add a version of str.split w

[issue42817] timedelta zeropadding hh

2021-01-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Why should it be zeropadded to 2? It is likely this option was considered when that code was added, and rejected. -- nosy: +serhiy.storchaka ___ Python tracker <https://bugs.python.org/issue42

[issue42789] Do not skip test_curses on non-tty

2021-01-03 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +22910 pull_request: https://github.com/python/cpython/pull/24076 ___ Python tracker <https://bugs.python.org/issue42

[issue42681] mistake in curses documentation

2021-01-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 1470edd6131c29b8a09ce012cdfee3afa269d553 by Serhiy Storchaka in branch 'master': bpo-42681: Fix range checks for color and pair numbers in curses (GH-23874) https://github.com/python/cpython/commit/1470edd6131c29b8a09ce012cdfee3

[issue42789] Do not skip test_curses on non-tty

2021-01-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 0303008ebceb6ac6035cd9722d1393267304171d by Serhiy Storchaka in branch '3.9': [3.9] bpo-42789: Don't skip curses tests on non-tty. (GH-24009) (GH-24076) https://github.com/python/cpython/commit/0303008ebceb6ac6035cd9722

[issue42681] mistake in curses documentation

2021-01-03 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +22911 pull_request: https://github.com/python/cpython/pull/24077 ___ Python tracker <https://bugs.python.org/issue42

[issue42789] Do not skip test_curses on non-tty

2021-01-03 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +22912 pull_request: https://github.com/python/cpython/pull/24078 ___ Python tracker <https://bugs.python.org/issue42

[issue42681] Incorrect range checks/documentation in curses

2021-01-03 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- title: mistake in curses documentation -> Incorrect range checks/documentation in curses ___ Python tracker <https://bugs.python.org/issu

[issue42789] Do not skip test_curses on non-tty

2021-01-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 645174abe0d13cce2cb339cc80b095ad484428ea by Serhiy Storchaka in branch '3.8': [3.8] [3.9] bpo-42789: Don't skip curses tests on non-tty. (GH-24009) (GH-24076) (GH-24078) https://github.com/python

[issue42681] Incorrect range checks/documentation in curses

2021-01-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset b0ee2b492dbf550fbd2a63b82de0a4dc9d67f32e by Serhiy Storchaka in branch '3.9': [3.9] bpo-42681: Fix range checks for color and pair numbers in curses (GH-23874). (GH-24077) https://github.com/python/cpyt

[issue42681] Incorrect range checks/documentation in curses

2021-01-03 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +22913 pull_request: https://github.com/python/cpython/pull/24079 ___ Python tracker <https://bugs.python.org/issue42

[issue42681] Incorrect range checks/documentation in curses

2021-01-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 82794cacc6073af9bc2b792a5ee21397f4c9037f by Serhiy Storchaka in branch '3.8': [3.8] [3.9] bpo-42681: Fix range checks for color and pair numbers in curses (GH-23874). (GH-24077) (GH-24079) https://github.com/python/cpyt

<    27   28   29   30   31   32   33   34   35   36   >