[issue43652] Upgrade Windows tcl/tk to 8.6.11

2021-03-29 Thread Terry J. Reedy
New submission from Terry J. Reedy : #39017, PR 22405 was too late for 3.9, but the new Mac installer is already using 8.6.11. Serhiy, do you know any reason not to upgrade the Windows installer to 8.6.11 also? Steve, should a new PR with '10' replaced with '11, where '9' was replaced with

[issue39107] Upgrade Windows tcl/tk to 8.6.10

2021-03-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: #43652 is for 8.6.11. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue43647] Sudden crash displaying certain characters in tk widget

2021-03-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Closing as a duplicate. What's new here is that BMP chars can be affected also. I opened #43652 to upgrade Windows installer to 8.6.11 (though not needed for this) but I guess Linux users have to bug their distributor or learn to upgrade themselves. --

[issue42225] Tkinter hangs or crashes when displaying astral chars

2021-03-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: I closed #43647 as a duplicate of this. It reported that BMP chars can fail also. For instance, with "Noto Sans Mono", but not 'Dejavu Mono', the following crash. >>> '\u2705' '✅' >>> '\u270f' '✏' Unfortunately, as least on some *nix, the default tkFixedFon

[issue43647] Sudden crash displaying certain characters in tk widget

2021-03-29 Thread Mikhail
Mikhail added the comment: Yes, this is exactly the same problem as `issue42225`. I suspected it was a Tkinter problem, and also thought that Python might be under the hood catching C method call errors. But since you know about this problem, and in more detail than I have written here, th

[issue42225] Tkinter hangs or crashes when displaying astral chars

2021-03-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: At least it is not a regression caused by support of astral characters (issue13153). -- ___ Python tracker ___ ___

[issue43638] MacOS os.statvfs() has rollover for >4TB disks at each 4TB (32bit counter overflow?)

2021-03-29 Thread Ronald Oussoren
Ronald Oussoren added the comment: As you note in the title this is a 32-bit overflow in the statvfs system API, the struct it uses contains 32-bit values. -- ___ Python tracker

[issue43653] Typo in the random.shuffle docs

2021-03-29 Thread Matteo Bertucci
New submission from Matteo Bertucci : Hello! The current documentation for random.shuffle reads: > The optional argument random is a 0-argument function returning a random > float in [0.0, 1.0); by default, this is the function random(). I believe the range here should use matching symbols, u

[issue43653] Typo in the random.shuffle docs

2021-03-29 Thread Inada Naoki
Inada Naoki added the comment: https://en.wikipedia.org/wiki/Interval_(mathematics) See "Notations for intervals" section in the Wikipedia page. -- nosy: +methane ___ Python tracker

[issue37788] fix for bpo-36402 (threading._shutdown() race condition) causes reference leak

2021-03-29 Thread Zhipeng Xie
Zhipeng Xie <775350...@qq.com> added the comment: ping I also encountered this problem. Is there a fix now? -- nosy: +Zhipeng Xie ___ Python tracker ___ __

[issue43653] Typo in the random.shuffle docs

2021-03-29 Thread Matteo Bertucci
Change by Matteo Bertucci : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue43653] Typo in the random.shuffle docs

2021-03-29 Thread Matteo Bertucci
Matteo Bertucci added the comment: Oh I see, I was used to seeing open intervals using ]a, b[. All good then! -- ___ Python tracker ___ ___

[issue43654] IDLE: Applying settings disables tab completion

2021-03-29 Thread Terry J. Reedy
New submission from Terry J. Reedy : (Original report by Mikhail on #43647, running 3.9 on Linux; verified and extended by me running 3.10 on Windows.) Normally, "i" brings up a completion window with 'id', 'if', 'import', etc. Opening a Settings windows with Options => Configure IDLE and cl

[issue43638] MacOS os.statvfs() has rollover for >4TB disks at each 4TB (32bit counter overflow?)

2021-03-29 Thread Sander
Sander added the comment: OK. What would be a solution from/for Python to get the correct available space on a MacOS system? In SABnzbd we implemented a workaround with a direct call to MacOS C lib's statfs(). See https://github.com/sabnzbd/sabnzbd/blob/develop/sabnzbd/filesystem.py#L948-L9

[issue43647] Sudden crash displaying certain characters in tk widget

2021-03-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you for reporting. While I may have had tab not work after the dialog, I had never connected the two. Nor, AFAIK, was there an existing report. I verified, investigated more, and opened #43654. -- ___ Pytho

[issue43655] Tkinter: Not setting _NET_WM_WINDOW_TYPE on FileDialog

2021-03-29 Thread Patrick Melix
New submission from Patrick Melix : While trying to fix window behaviour in a python project (ASE: https://wiki.fysik.dtu.dk/ase/), I came across this problem: Tkinter does not set the _NET_WM_WINDOW_TYPE when using the FileDialog class or it's derivatives. I could not find a reason for this

[issue43655] Tkinter: Not setting _NET_WM_WINDOW_TYPE on FileDialog

2021-03-29 Thread Patrick Melix
Change by Patrick Melix : -- keywords: +patch pull_requests: +23810 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25061 ___ Python tracker ___ __

[issue42225] Tkinter hangs or crashes when displaying astral chars

2021-03-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: No, seems strictly a matter of complicated color, which is perhaps becoming more common. Firefox colors the checkbox (white checkmark on green field in a largish black square) but not the (smaller) pencil. I did not recognize either the FF or tk Windows pe

[issue43654] IDLE: Applying settings disables tab completion

2021-03-29 Thread Mikhail
Change by Mikhail : -- nosy: +tetelevm ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.or

[issue43433] xmlrpc.client ignores query in URI ("?action=xmlrpc2") since python-3.9

2021-03-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your reports OndrejPtak and frathgeber. Indeed, the behavior change was unintended. PR 25057 tries to to restore the old behavior. Query and fragment are now preserved in the server URL. But there are still minor differences. Empty query and

[issue43656] StackSummary.format fails if str(value) fails

2021-03-29 Thread Martin
New submission from Martin : With `capture_locals=True`, `StackSummary.format` prints the local variables for every frame: https://github.com/python/cpython/blob/4827483f47906fecee6b5d9097df2a69a293a85c/Lib/traceback.py#L440 This will fail, however, if string conversion fails. StackSummary.fo

[issue43656] StackSummary.format fails if str(value) fails

2021-03-29 Thread Martin
Martin added the comment: I have to correct myself: The conversion to string already happens during construction, in `FrameSummary.__init__`: https://github.com/python/cpython/blob/4827483f47906fecee6b5d9097df2a69a293a85c/Lib/traceback.py#L273 The issue remains as severe and the fix remains

[issue43655] Tkinter: Not setting _NET_WM_WINDOW_TYPE on FileDialog

2021-03-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your report and PR Patrick. I agree, it would be better to to set the "type" attribute to "dialog" for the FileDialog window. Tk does it for its dialog windows. But it is more complex. * It should be set not only for FileDialog, but for other

[issue43656] StackSummary.format fails if str(value) fails

2021-03-29 Thread Martin
Change by Martin : -- keywords: +patch pull_requests: +23812 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25062 ___ Python tracker ___ _

[issue40645] Use OpenSSL's HMAC API

2021-03-29 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Seems that commit 933dfd7504e521a27fd8b94d02b79f9ed08f4631 introduced some reference leaks: commit 933dfd7504e521a27fd8b94d02b79f9ed08f4631 Author: Christian Heimes Date: Sat Mar 27 14:55:03 2021 +0100 bpo-40645: use C implementation of HMAC (G

[issue43655] Tkinter: Not setting _NET_WM_WINDOW_TYPE on FileDialog

2021-03-29 Thread Patrick Melix
Patrick Melix added the comment: Thank you for your feedback Serhiy! I obviously totally forgot about compatibility issues with other OS... If you are already aware of this and working on a solution even better. Did I miss this during my search or is it not public anywhere yet? For now one

[issue40645] Use OpenSSL's HMAC API

2021-03-29 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: See for instance: https://buildbot.python.org/all/#/builders/75/builds/224 -- ___ Python tracker ___ _

[issue40645] Use OpenSSL's HMAC API

2021-03-29 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +23813 pull_request: https://github.com/python/cpython/pull/25063 ___ Python tracker ___ ___

[issue43510] PEP 597: Implemente encoding="locale" option and EncodingWarning

2021-03-29 Thread STINNER Victor
STINNER Victor added the comment: Yeah! Congrats INADA-san for implementing your PEP! -- ___ Python tracker ___ ___ Python-bugs-lis

[issue43593] pymalloc is not aware of Memory Tagging Extension (MTE) and crashes

2021-03-29 Thread ggardet
ggardet added the comment: With PYTHONMALLOC=malloc, gdb is not crashing anymore. Thanks for the workaround. pymalloc is not aware of MTE, so a SegFault occurs on any access to the memory since the check fails. -- ___ Python tracker

[issue43624] Add underscore as a decimal separator for string formatting

2021-03-29 Thread STINNER Victor
STINNER Victor added the comment: > On the other hand, I suppose it would be possible to have a feature flag that > can be used to disable decimal underscores in 3.10 to prevent test failures. > Just spitballing... I wrote PEP 606 -- Python Compatibility Version https://www.python.org/dev/p

[issue43636] test_descr fails randomly when executed with -R :

2021-03-29 Thread STINNER Victor
STINNER Victor added the comment: Is _PyType_Lookup() still faster after the fix? The optimization is mentioned at: https://docs.python.org/dev/whatsnew/3.10.html#optimizations -- ___ Python tracker ___

[issue37773] ValueError: I/O operation on closed file. in ZipFile destructor

2021-03-29 Thread STINNER Victor
STINNER Victor added the comment: > Victor, were there any changes in the garbage collector or interpreter > shutdown code in 3.8? I took some notes there: https://pythondev.readthedocs.io/finalization.html I proposed bpo-42671 "Make the Python finalization more deterministic" but it will b

[issue37773] ValueError: I/O operation on closed file. in ZipFile destructor

2021-03-29 Thread STINNER Victor
STINNER Victor added the comment: IMO ZipFile destructor should emit a ResourceWarning if it's not closed explicitly. Nothing in the Python specification gives you any warranty that destructors will be ever called... Depending on the Python implementation and depending on many things, you n

[issue37773] ValueError: I/O operation on closed file. in ZipFile destructor

2021-03-29 Thread STINNER Victor
STINNER Victor added the comment: FYI TextIOWrapper has a similar issue: bpo-17852. There was an attempt to fix the issue in 2017, but it had to be reverted. -- ___ Python tracker __

[issue25643] Python tokenizer rewriting

2021-03-29 Thread STINNER Victor
STINNER Victor added the comment: Oh, 6 years to fix this bug. Better late than never ;-) Thanks for reporting and for fixing it! -- ___ Python tracker ___ __

[issue43593] pymalloc is not aware of Memory Tagging Extension (MTE) and crashes

2021-03-29 Thread STINNER Victor
STINNER Victor added the comment: Can you please test if https://github.com/python/cpython/pull/14474 fix your issue? -- ___ Python tracker ___ __

[issue37448] obmalloc: radix tree for tracking arena address ranges

2021-03-29 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-43593 "pymalloc is not aware of Memory Tagging Extension (MTE) and crashes". -- ___ Python tracker ___

[issue42938] [security][CVE-2021-3177] ctypes double representation BoF

2021-03-29 Thread STINNER Victor
Change by STINNER Victor : -- Removed message: https://bugs.python.org/msg389639 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue42938] [security][CVE-2021-3177] ctypes double representation BoF

2021-03-29 Thread STINNER Victor
Change by STINNER Victor : -- Removed message: https://bugs.python.org/msg389638 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue26227] Windows: socket.gethostbyaddr(name) fails for non-ASCII hostname

2021-03-29 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue32146] multiprocessing freeze_support needed outside win32

2021-03-29 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue42988] [security] CVE-2021-3426: Information disclosure via pydoc -p: /getfile?key=path allows to read arbitrary file on the filesystem

2021-03-29 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 10.0 -> 11.0 pull_requests: +23814 pull_request: https://github.com/python/cpython/pull/25064 ___ Python tracker ___

[issue42988] [security] CVE-2021-3426: Information disclosure via pydoc -p: /getfile?key=path allows to read arbitrary file on the filesystem

2021-03-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +23815 pull_request: https://github.com/python/cpython/pull/25065 ___ Python tracker ___ __

[issue42988] [security] CVE-2021-3426: Information disclosure via pydoc -p: /getfile?key=path allows to read arbitrary file on the filesystem

2021-03-29 Thread STINNER Victor
STINNER Victor added the comment: New changeset 9b999479c0022edfc9835a8a1f06e046f3881048 by Victor Stinner in branch 'master': bpo-42988: Remove the pydoc getfile feature (GH-25015) https://github.com/python/cpython/commit/9b999479c0022edfc9835a8a1f06e046f3881048 -- ___

[issue42988] [security] CVE-2021-3426: Information disclosure via pydoc -p: /getfile?key=path allows to read arbitrary file on the filesystem

2021-03-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +23816 pull_request: https://github.com/python/cpython/pull/25066 ___ Python tracker ___ __

[issue42988] [security] CVE-2021-3426: Information disclosure via pydoc -p: /getfile?key=path allows to read arbitrary file on the filesystem

2021-03-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +23817 pull_request: https://github.com/python/cpython/pull/25067 ___ Python tracker ___ __

[issue37788] fix for bpo-36402 (threading._shutdown() race condition) causes reference leak

2021-03-29 Thread Jason R. Coombs
Jason R. Coombs added the comment: No. The issue remains open. -- stage: -> needs patch versions: -Python 3.7 ___ Python tracker ___

[issue43657] shutil.rmtree fails on readonly files in Windows, onerror not called

2021-03-29 Thread Walter White
New submission from Walter White : shutil.rmtree fails on readonly files in Windows. Usually people are using the onerror callback to handle file permissions and retry, but that is not possible in this case because it is not triggerd. onerror is only triggered if a OSError is found. In my ca

[issue43657] shutil.rmtree fails on readonly files in Windows, onerror not called

2021-03-29 Thread Walter White
Walter White added the comment: Just saw: class PermissionError(OSError) -- ___ Python tracker ___ ___ Python-bugs-list mailin

[issue43657] shutil.rmtree fails on readonly files in Windows, onerror not called

2021-03-29 Thread Walter White
Change by Walter White : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue42988] [security] CVE-2021-3426: Information disclosure via pydoc -p: /getfile?key=path allows to read arbitrary file on the filesystem

2021-03-29 Thread miss-islington
miss-islington added the comment: New changeset 7e38d3309e0a5a7b9e23ef933aef0079c6e317f7 by Miss Islington (bot) in branch '3.8': bpo-42988: Remove the pydoc getfile feature (GH-25015) https://github.com/python/cpython/commit/7e38d3309e0a5a7b9e23ef933aef0079c6e317f7 --

[issue42988] [security] CVE-2021-3426: Information disclosure via pydoc -p: /getfile?key=path allows to read arbitrary file on the filesystem

2021-03-29 Thread miss-islington
miss-islington added the comment: New changeset ed753d94856213ae9fc028195f670e66a24e2334 by Miss Islington (bot) in branch '3.9': bpo-42988: Remove the pydoc getfile feature (GH-25015) https://github.com/python/cpython/commit/ed753d94856213ae9fc028195f670e66a24e2334 --

[issue40645] Use OpenSSL's HMAC API

2021-03-29 Thread miss-islington
miss-islington added the comment: New changeset 70cdf1812cf479c6b1cd7435a6fc0679ec1fb0da by Pablo Galindo in branch 'master': bpo-40645: Fix reference leak in the _hashopenssl extension (GH-25063) https://github.com/python/cpython/commit/70cdf1812cf479c6b1cd7435a6fc0679ec1fb0da --

[issue43657] shutil.rmtree fails on readonly files in Windows, onerror not called

2021-03-29 Thread Walter White
Walter White added the comment: I tried to add a try/except that handles a PermissionError to my onerror function. But that did not work. The doc on rmtree states Exceptions raised by onerror will not be caught. Does this mean I can't use try/exept inside of onerror? -- status: clo

[issue43433] xmlrpc.client ignores query in URI ("?action=xmlrpc2") since python-3.9

2021-03-29 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 7.0 -> 8.0 pull_requests: +23818 pull_request: https://github.com/python/cpython/pull/25068 ___ Python tracker _

[issue43433] xmlrpc.client ignores query in URI ("?action=xmlrpc2") since python-3.9

2021-03-29 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset c1b073a630bb731de18bb17afb2b8b1388b92a72 by Serhiy Storchaka in branch 'master': bpo-43433: Preserve query and fragment in the URL of the server in ServerProxy. (GH-25057) https://github.com/python/cpython/commit/c1b073a630bb731de18bb17afb2b8b1388

[issue43648] Remove redundant datefmt option in logging file config

2021-03-29 Thread miss-islington
miss-islington added the comment: New changeset 7bfd65eba73d013eee8789f2009c09c61c31b800 by Harry in branch 'master': bpo-43648: Remove redundant datefmt option in logging file config (GH-25051) https://github.com/python/cpython/commit/7bfd65eba73d013eee8789f2009c09c61c31b800 -- nos

[issue43648] Remove redundant datefmt option in logging file config

2021-03-29 Thread Vinay Sajip
Change by Vinay Sajip : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue43433] xmlrpc.client ignores query in URI ("?action=xmlrpc2") since python-3.9

2021-03-29 Thread miss-islington
miss-islington added the comment: New changeset 5334605035d38139a04189ecb3899f36702517b2 by Miss Islington (bot) in branch '3.9': bpo-43433: Preserve query and fragment in the URL of the server in ServerProxy. (GH-25057) https://github.com/python/cpython/commit/5334605035d38139a04189ecb3899f

[issue26300] "unpacked" bytecode

2021-03-29 Thread Mark Shannon
Mark Shannon added the comment: PEP 511 was rejected. The "peephole" optimizer now operates on the internal IR, not the bytecode. -- nosy: +Mark.Shannon resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue27129] Wordcode, part 2

2021-03-29 Thread Mark Shannon
Mark Shannon added the comment: frame.f_lasti and traceback.tb_lasti are best left as byte offsets. There is no guarantee that we won't go back to variable length instructions. For example, a "LONG_JUMP" instruction which is 4 bytes long and takes a 3 byte offset might well be a worthwhile ext

[issue27129] Wordcode, part 2

2021-03-29 Thread Mark Shannon
Change by Mark Shannon : -- pull_requests: +23819 pull_request: https://github.com/python/cpython/pull/25069 ___ Python tracker ___

[issue43624] Add underscore as a decimal separator for string formatting

2021-03-29 Thread Raymond Hettinger
Raymond Hettinger added the comment: I prefer Terry's original proposal which is backwards compatible and gives the user control over whether separator is to be applied to the fractional component. >>> format(12_34_56.12_34_56, '_._f') # Whole and fractional '123_456.123_456' >>> format

[issue43624] Add underscore as a decimal separator for string formatting

2021-03-29 Thread Eric V. Smith
Eric V. Smith added the comment: I agree with Raymond. We can't make a change that would modify existing program output. Which is unfortunate, but such is life. And I'd prefer to see groupings of 5 on the right, but I realize I might be in the minority. -- _

[issue42988] [security] CVE-2021-3426: Information disclosure via pydoc -p: /getfile?key=path allows to read arbitrary file on the filesystem

2021-03-29 Thread Ned Deily
Ned Deily added the comment: New changeset 7c2284f97d140c4e4a85382bfb3a42440be2464d by Miss Islington (bot) in branch '3.7': bpo-42988: Remove the pydoc getfile feature (GH-25015) (#25066) https://github.com/python/cpython/commit/7c2284f97d140c4e4a85382bfb3a42440be2464d --

[issue42988] [security] CVE-2021-3426: Information disclosure via pydoc -p: /getfile?key=path allows to read arbitrary file on the filesystem

2021-03-29 Thread Ned Deily
Ned Deily added the comment: New changeset 5b1e50256b6532667b6d31debc350f6c7d3f30aa by Miss Islington (bot) in branch '3.6': bpo-42988: Remove the pydoc getfile feature (GH-25015) (GH-25067) https://github.com/python/cpython/commit/5b1e50256b6532667b6d31debc350f6c7d3f30aa -- __

[issue38794] Setup: support linking openssl statically

2021-03-29 Thread William Woodruff
William Woodruff added the comment: Not to butt in too much, but I have a related use case that would benefit from being able to statically link to OpenSSL: I have an environment in which dynamic modules are acceptable, but where the entire Python install benefits from being relocatable and

[issue43658] implementations of the deprecated load_module import loader API, as prescribed by the documentation, are not thread safe

2021-03-29 Thread kale-smoothie
New submission from kale-smoothie : Unless I've misread or misunderstood, the documentation at https://docs.python.org/3/reference/import.html#loaders for the deprecated `load_module` method doesn't indicate any requirements or caveats for thread safe importing. As it stands, I think it is no

[issue43657] shutil.rmtree fails on readonly files in Windows, onerror not called

2021-03-29 Thread Walter White
Change by Walter White : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue35930] Raising an exception raised in a "future" instance will create reference cycles

2021-03-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +23822 pull_request: https://github.com/python/cpython/pull/25072 ___ Python tracker ___ __

[issue35930] Raising an exception raised in a "future" instance will create reference cycles

2021-03-29 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 1.0 -> 2.0 pull_requests: +23820 pull_request: https://github.com/python/cpython/pull/25070 ___ Python tracker _

[issue35930] Raising an exception raised in a "future" instance will create reference cycles

2021-03-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +23823 pull_request: https://github.com/python/cpython/pull/25073 ___ Python tracker ___ __

[issue35930] Raising an exception raised in a "future" instance will create reference cycles

2021-03-29 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: New changeset 32430aadadf6e012e39167d3c18a24e49fb84874 by Jesús Cea in branch 'master': bpo-35930: Raising an exception raised in a "future" instance will create reference cycles (#24995) https://github.com/python/cpython/commit/32430aadadf6e012e39167d3c18a2

[issue35930] Raising an exception raised in a "future" instance will create reference cycles

2021-03-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +23821 pull_request: https://github.com/python/cpython/pull/25071 ___ Python tracker ___ __

[issue43466] ssl/hashlib: Add configure option to set or auto-detect rpath to OpenSSL libs

2021-03-29 Thread Christian Heimes
Christian Heimes added the comment: There are now multiple ways to build Python with a custom OpenSSL build on Linux and BSD-like platforms: 1) Tools/ssl/multissltest.py 2) ./configure --with-openssl=/path/to/openssl --with-openssl-rpath=auto 3) undocumented hack from commit bacefbf41461ab703

[issue43659] AIX: test_curses crashes buildbot

2021-03-29 Thread Michael Felt
New submission from Michael Felt : Since issue42789 the AIX bot's have crashed - to the extent that the bot's did not even return results. Part of this has been resolved, for now, by using: $ export TERM=unknown $ buildbot start buildarea However, the test still crash because AIX default lib

[issue35930] Raising an exception raised in a "future" instance will create reference cycles

2021-03-29 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: New changeset dae1963cf38f730291126b7dadfda89ffb21cefd by Miss Islington (bot) in branch '3.8': bpo-35930: Raising an exception raised in a "future" instance will create reference cycles (GH-24995) (#25071) https://github.com/python/cpython/commit/dae1963cf3

[issue35930] Raising an exception raised in a "future" instance will create reference cycles

2021-03-29 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: New changeset d914813a7a9cee3b42e9c91f91ac491f3bbfe118 by Miss Islington (bot) in branch '3.9': bpo-35930: Raising an exception raised in a "future" instance will create reference cycles (GH-24995) (#25070) https://github.com/python/cpython/commit/d914813a7a

[issue35930] Raising an exception raised in a "future" instance will create reference cycles

2021-03-29 Thread Jesús Cea Avión
Change by Jesús Cea Avión : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue38794] Setup: support linking openssl statically

2021-03-29 Thread Christian Heimes
Christian Heimes added the comment: I introduced several build improvements for better support of custom OpenSSL builds in bpo-43466. The issue mentions a new, undocumented, and unsupported hack to create a shared extension modules with statically linked OpenSSL. The Modules/Setup.local tric

[issue43659] AIX: test_curses crashes buildbot

2021-03-29 Thread Michael Felt
Change by Michael Felt : -- keywords: +patch pull_requests: +23824 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25074 ___ Python tracker ___ ___

[issue43659] AIX: test_curses crashes buildbot

2021-03-29 Thread Michael Felt
Michael Felt added the comment: backports needed for 3.8 and 3.9 -- versions: +Python 3.8, Python 3.9 ___ Python tracker ___ ___ Py

[issue38794] Setup: support linking openssl statically

2021-03-29 Thread William Woodruff
William Woodruff added the comment: Cheers! No promises about not using the hack, but I *will* promise not to complain if it doesn't work for me :-) -- ___ Python tracker ___

[issue41906] logging.config.dictConfig does not work with callable filters

2021-03-29 Thread László Kiss Kollár
Change by László Kiss Kollár : -- nosy: +lkollar ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue43660] Segmentation fault when overriding sys.stderr

2021-03-29 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : This code crashes (reported by the one and only Matt Wozniski): import sys class MyStderr: def write(self, s): sys.stderr = None sys.stderr = MyStderr() 1/0 [1]34112 segmentation fault ./python.exe lel.py -- components: Inte

[issue43660] Segmentation fault when overriding sys.stderr

2021-03-29 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: The problem is that https://github.com/python/cpython/blob/master/Python/pythonrun.c#L1074 doesn't take a strong reference to sys.stderr but code underneath can potentially release the GIL and remove the reference that keeps the object alive. ---

[issue43657] shutil.rmtree fails on readonly files in Windows, onerror not called

2021-03-29 Thread Eryk Sun
Eryk Sun added the comment: > The doc on rmtree states > Exceptions raised by onerror will not be caught. > Does this mean I can't use try/exept inside of onerro rmtree() does not call onerror() in a try/except statement. An exception raised in onerror() will propagate to the scope that call

[issue43660] Segmentation fault when overriding sys.stderr

2021-03-29 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +23825 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25075 ___ Python tracker __

[issue43636] test_descr fails randomly when executed with -R :

2021-03-29 Thread Dino Viehland
Dino Viehland added the comment: @vstinner - The fix doesn't change the behavior of _PyType_Lookup and instead just fixes a previous unrelated bug. The condition will typically ever be hit once (at startup) as it's very unlikely that versions will wrap, so there should be no performance dif

[issue43631] Update to OpenSSL 1.1.1k

2021-03-29 Thread Brad Warren
Change by Brad Warren : -- nosy: +bmw ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org

[issue43659] AIX: test_curses crashes buildbot

2021-03-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset c8b5738810516df5722caf049003e9b319427bec by Michael Felt in branch 'master': bpo-43659: Fix test_curses on AIX (GH-25074) https://github.com/python/cpython/commit/c8b5738810516df5722caf049003e9b319427bec -- nosy: +serhiy.storchaka

[issue43659] AIX: test_curses crashes buildbot

2021-03-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +23827 pull_request: https://github.com/python/cpython/pull/25077 ___ Python tracker ___ __

[issue43659] AIX: test_curses crashes buildbot

2021-03-29 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +23826 pull_request: https://github.com/python/cpython/pull/25076 ___ Python tracker _

[issue43661] api-ms-win-core-path-l1-1.0.dll, redux of 40740 (which has since been closed)

2021-03-29 Thread Tom Kacvinsky
New submission from Tom Kacvinsky : Even though bpo#40740 has been closed, I wanted to re-raise the issue as this affects me. There are only two functions that come from this missing DLL: PathCchCombineEx PathCchCanonicalizeEx Would there be a way of rewriting join/canonicalize in getpathp.c

[issue43659] AIX: test_curses crashes buildbot

2021-03-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Minor correction. update_lines_cols() is not provided by the underlying curses library, it is a helper defined in Python wrapper. But it is optional, snd skipping test is the correct solution. Thank you. As for the core dump, could you please run the test

[issue43433] xmlrpc.client ignores query in URI ("?action=xmlrpc2") since python-3.9

2021-03-29 Thread frathgeber
frathgeber added the comment: Thanks Serhiy for the very quick fix! I believe handling these corner cases is not worth the effort and I really hope no one relies on these being differentiated. This change will go into a future 3.9 release? -- ___

[issue43659] AIX: test_curses crashes buildbot

2021-03-29 Thread miss-islington
miss-islington added the comment: New changeset e9092b221d4951609827e437178a557fd07353af by Miss Islington (bot) in branch '3.8': bpo-43659: Fix test_curses on AIX (GH-25074) https://github.com/python/cpython/commit/e9092b221d4951609827e437178a557fd07353af -- _

[issue43659] AIX: test_curses crashes buildbot

2021-03-29 Thread miss-islington
miss-islington added the comment: New changeset f1d53bcd536036c0a0c39962fbc0f465b5865492 by Miss Islington (bot) in branch '3.9': bpo-43659: Fix test_curses on AIX (GH-25074) https://github.com/python/cpython/commit/f1d53bcd536036c0a0c39962fbc0f465b5865492 -- _

[issue35883] Python startup fails with a fatal error if a command line argument contains an invalid Unicode character

2021-03-29 Thread STINNER Victor
STINNER Victor added the comment: New changeset 3b6e61ee0812359029cac176042d9c835c60f185 by Miss Islington (bot) in branch '3.8': bpo-35883: Py_DecodeLocale() escapes invalid Unicode characters (GH-24843) (GH-24906) https://github.com/python/cpython/commit/3b6e61ee0812359029cac176042d9c835c6

  1   2   >