Change by Serhiy Storchaka :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
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
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
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
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
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
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
Change by Serhiy Storchaka :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
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
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
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
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
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
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
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 "
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
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
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
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
Change by Serhiy Storchaka :
--
pull_requests: +22811
pull_request: https://github.com/python/cpython/pull/23966
___
Python tracker
<https://bugs.python.org/issue42
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
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
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
Change by Serhiy Storchaka :
--
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
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
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
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
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
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
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
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
-
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
-
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
__
Change by Serhiy Storchaka :
--
nosy: +brett.cannon, eric.snow, ncoghlan
___
Python tracker
<https://bugs.python.org/issue42728>
___
___
Python-bugs-list mailin
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
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
<
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
-
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
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
-
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
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
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
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,
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
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
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
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
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
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
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
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
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
-
Change by Serhiy Storchaka :
--
pull_requests: +22861
pull_request: https://github.com/python/cpython/pull/24021
___
Python tracker
<https://bugs.python.org/issue26
Change by Serhiy Storchaka :
--
pull_requests: +22862
pull_request: https://github.com/python/cpython/pull/24022
___
Python tracker
<https://bugs.python.org/issue39
Change by Serhiy Storchaka :
--
pull_requests: +22863
pull_request: https://github.com/python/cpython/pull/24023
___
Python tracker
<https://bugs.python.org/issue36
Change by Serhiy Storchaka :
--
pull_requests: +22864
pull_request: https://github.com/python/cpython/pull/24024
___
Python tracker
<https://bugs.python.org/issue41
Change by Serhiy Storchaka :
--
pull_requests: +22865
pull_request: https://github.com/python/cpython/pull/24025
___
Python tracker
<https://bugs.python.org/issue42
Serhiy Storchaka added the comment:
On my computer tests are passed. They are only failed on CI.
--
___
Python tracker
<https://bugs.python.org/issue42
Change by Serhiy Storchaka :
--
pull_requests: +22866
pull_request: https://github.com/python/cpython/pull/24026
___
Python tracker
<https://bugs.python.org/issue42
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
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
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
Change by Serhiy Storchaka :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Serhiy Storchaka :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.7
___
Python tracker
<https://bugs.python.or
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
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
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
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
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
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
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
Change by Serhiy Storchaka :
--
resolution: -> fixed
stage: commit review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Serhiy Storchaka :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
Change by Serhiy Storchaka :
--
pull_requests: +22891
pull_request: https://github.com/python/cpython/pull/24057
___
Python tracker
<https://bugs.python.org/issue42
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
Change by Serhiy Storchaka :
--
versions: +Python 3.8, Python 3.9
___
Python tracker
<https://bugs.python.org/issue42809>
___
___
Python-bugs-list mailin
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
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
Change by Serhiy Storchaka :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
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
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
Serhiy Storchaka added the comment:
I guess I should merge a PR for issue42681 first.
--
___
Python tracker
<https://bugs.python.org/issue42789>
___
___
Pytho
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
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
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
Change by Serhiy Storchaka :
--
pull_requests: +22910
pull_request: https://github.com/python/cpython/pull/24076
___
Python tracker
<https://bugs.python.org/issue42
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
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
Change by Serhiy Storchaka :
--
pull_requests: +22911
pull_request: https://github.com/python/cpython/pull/24077
___
Python tracker
<https://bugs.python.org/issue42
Change by Serhiy Storchaka :
--
pull_requests: +22912
pull_request: https://github.com/python/cpython/pull/24078
___
Python tracker
<https://bugs.python.org/issue42
Change by Serhiy Storchaka :
--
title: mistake in curses documentation -> Incorrect range checks/documentation
in curses
___
Python tracker
<https://bugs.python.org/issu
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
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
Change by Serhiy Storchaka :
--
pull_requests: +22913
pull_request: https://github.com/python/cpython/pull/24079
___
Python tracker
<https://bugs.python.org/issue42
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
3101 - 3200 of 25874 matches
Mail list logo