[issue19733] Setting image parameter of a button crashes with Cocoa Tk

2020-12-16 Thread Ned Deily
Change by Ned Deily : -- hgrepos: -395 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19733] Setting image parameter of a button crashes with Cocoa Tk

2020-12-16 Thread Ned Deily
Change by Ned Deily : Removed file: https://bugs.python.org/file49686/IMAG0215(5).jpg ___ Python tracker ___ ___ Python-bugs-list mailing

[issue19733] Setting image parameter of a button crashes with Cocoa Tk

2020-12-16 Thread Ned Deily
Change by Ned Deily : -- Removed message: https://bugs.python.org/msg383148 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue42238] Deprecate suspicious.py?

2020-12-16 Thread Julien Palard
Julien Palard added the comment: Today I spotted one error that suspicious could have spotted: -both ``Callable``s no longer validate their ``argtypes``, in +both ``Callable``\ s no longer validate their ``argtypes``, in I'm fixing it in https://github.com/python/cpython/pull/23800

[issue19733] Setting image parameter of a button crashes with Cocoa Tk

2020-12-16 Thread 雅雯
雅雯 added the comment: 你娘老雞歪 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19733] Setting image parameter of a button crashes with Cocoa Tk

2020-12-16 Thread Ned Deily
Change by Ned Deily : -- Removed message: https://bugs.python.org/msg383147 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue19733] Setting image parameter of a button crashes with Cocoa Tk

2020-12-16 Thread Ned Deily
Change by Ned Deily : -- Removed message: https://bugs.python.org/msg383146 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue19733] Setting image parameter of a button crashes with Cocoa Tk

2020-12-16 Thread 雅雯
雅雯 added the comment: 幹你娘 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19733] Setting image parameter of a button crashes with Cocoa Tk

2020-12-16 Thread 雅雯
雅雯 added the comment: 周zhtw1234 -- hgrepos: +395 nosy: +zhtw1234 Added file: https://bugs.python.org/file49686/IMAG0215(5).jpg ___ Python tracker ___

[issue19733] Setting image parameter of a button crashes with Cocoa Tk

2020-12-16 Thread miss-islington
miss-islington added the comment: New changeset cd7412e3c4a2805009d0baa948cd4026d6fa6f3d by Miss Islington (bot) in branch '3.9': bpo-19733: Re-enable tests for -image option in Tkinter (GH-23785) https://github.com/python/cpython/commit/cd7412e3c4a2805009d0baa948cd4026d6fa6f3d --

[issue42644] logging.disable('WARN') breaks AsyncIO

2020-12-16 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.8, Python 3.9 -Python 3.7 ___ Python tracker

[issue42657] Python 3.9.1 building process could not use local standard library

2020-12-16 Thread xz_sophos
New submission from xz_sophos : When trying to build python 3.9.1 on Mac OSX 10.15, one of the building step by make is to run this command: DYLD_FRAMEWORK_PATH=/Users/jenkins/BaseFolder/savmac-python ./python.exe -E -S -m sysconfig --generate-posix-vars ;\ if test $? -ne 0 ; then \

[issue42641] Deprecate os.popen() function

2020-12-16 Thread Steven D'Aprano
Steven D'Aprano added the comment: > There is also the os.system() function which exposes the libc system() > function. Should we deprecate this one as well? Please don't deprecate os.system. For quick and dirty scripts used in trusted environments with trusted data, it is simple to use,

[issue19733] Setting image parameter of a button crashes with Cocoa Tk

2020-12-16 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +22657 pull_request: https://github.com/python/cpython/pull/23799 ___ Python tracker

[issue19733] Setting image parameter of a button crashes with Cocoa Tk

2020-12-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 5f0fe8ec70120f4586d08978b0911b436f82c421 by Serhiy Storchaka in branch 'master': bpo-19733: Re-enable tests for -image option in Tkinter (GH-23785) https://github.com/python/cpython/commit/5f0fe8ec70120f4586d08978b0911b436f82c421 --

[issue42654] Add folder for python customizations: __sitecustomize__

2020-12-16 Thread Steven D'Aprano
Steven D'Aprano added the comment: > Additionally, it suffers from the same issue as > sitecustomize. It is a single file that won't be a real substitute for > code execution in pth files. I thought that the consensus in b.p.o. #33944 is that code execution in pth files is an anti-feature

[issue42656] prime numbers loop issue

2020-12-16 Thread Steven D'Aprano
Steven D'Aprano added the comment: Hello valeriymartsyshyn, This is for reporting bugs in the Python interpreter, it is not a help desk for learning how to program in Python. There are many places you can ask for help to debug your code, such as Reddit's r/learnpython, or Stackoverflow, or

[issue42654] Add folder for python customizations: __sitecustomize__

2020-12-16 Thread Mario Corchero
Mario Corchero added the comment: > Shouldn't this be discussed on Python-Ideas? I'm pretty sure this is a big > enough change that it will need a PEP. Indeed, I wanted to see if there was interest in the feature. That is probably a better place to start. > If you need code run on startup,

[issue42654] Add folder for python customizations: __sitecustomize__

2020-12-16 Thread Steven D'Aprano
Steven D'Aprano added the comment: Shouldn't this be discussed on Python-Ideas? I'm pretty sure this is a big enough change that it will need a PEP. If you need code run on startup, can't you just put it in the PYTHONSTARTUP file? -- nosy: +steven.daprano

[issue41804] test_epoll fails test_control_and_wait() randomly on aarch64 RHEL8 Refleaks 3.9

2020-12-16 Thread STINNER Victor
STINNER Victor added the comment: I failed to reproduce the issue. Let's hope that replacing send() with sendall() is enough to fix the issue. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10 -Python 3.9

[issue42656] prime numbers loop issue

2020-12-16 Thread Валерій Марцишин
New submission from Валерій Марцишин : I have written a program which must show prime numbers. At the beginning it does, but from some moment it doesn't work properly, despite the fact that it is a loop. I suspect there is a bug somewhere, if not, I'll be thankful if you tell me the issue.

[issue41804] test_epoll fails test_control_and_wait() randomly on aarch64 RHEL8 Refleaks 3.9

2020-12-16 Thread STINNER Victor
STINNER Victor added the comment: New changeset 79782fe4f8cf73d7fdf8db02073bbadf7ff817b6 by Victor Stinner in branch 'master': bpo-41804: Enhance test_epoll.test_control_and_wait() (GH-23795) https://github.com/python/cpython/commit/79782fe4f8cf73d7fdf8db02073bbadf7ff817b6 --

[issue40364] asyncio: replace _compute_returncode() with os.waitstatus_to_exitcode()

2020-12-16 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +22656 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23798 ___ Python tracker ___

[issue42644] logging.disable('WARN') breaks AsyncIO

2020-12-16 Thread miss-islington
miss-islington added the comment: New changeset db63da7e5d4a98925a04f903a19bf3595b9c2c46 by Miss Islington (bot) in branch '3.9': bpo-42644: Validate values in logging.disable() (GH-23786) https://github.com/python/cpython/commit/db63da7e5d4a98925a04f903a19bf3595b9c2c46 --

[issue42644] logging.disable('WARN') breaks AsyncIO

2020-12-16 Thread miss-islington
miss-islington added the comment: New changeset 0a24a57888798905e3b8891c59e61ed4f1bfc5a8 by Miss Islington (bot) in branch '3.8': bpo-42644: Validate values in logging.disable() (GH-23786) https://github.com/python/cpython/commit/0a24a57888798905e3b8891c59e61ed4f1bfc5a8 --

[issue42655] Fix subprocess extra_groups gid conversion

2020-12-16 Thread Jakub Kulik
Change by Jakub Kulik : -- keywords: +patch pull_requests: +22655 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23762 ___ Python tracker ___

[issue42655] Fix subprocess extra_groups gid conversion

2020-12-16 Thread Jakub Kulik
New submission from Jakub Kulik : C function `subprocess_fork_exec` incorrectly transforms gids from the `extra_groups` argument because it passes `unsigned long*` rather than `pid_t*` into the `_Py_Gid_Converter()`. Assuming that `gid_t` is 32 bit and `unsigned long` is 64 bit (which it

[issue33129] Add kwarg-only option to dataclass

2020-12-16 Thread conchylicultor
conchylicultor added the comment: For the API, I think we could add this feature with a single new `dataclass(kw_only: bool | str)` ``` @dataclasses.dataclass(kw_only=True) class A: a: int b: int c: int # A(*, a, b, c) @dataclasses.dataclass(kw_only='b') class A: a: int b: int

[issue42644] logging.disable('WARN') breaks AsyncIO

2020-12-16 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset b32d8b4f9bcd2e7d11240b6b9de0262cf8f5e09d by Matthias Bussonnier in branch 'master': bpo-42644: Validate values in logging.disable() (#23786) https://github.com/python/cpython/commit/b32d8b4f9bcd2e7d11240b6b9de0262cf8f5e09d --

[issue42644] logging.disable('WARN') breaks AsyncIO

2020-12-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +22654 pull_request: https://github.com/python/cpython/pull/23797 ___ Python tracker ___

[issue42654] Add folder for python customizations: __sitecustomize__

2020-12-16 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42644] logging.disable('WARN') breaks AsyncIO

2020-12-16 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +22653 pull_request: https://github.com/python/cpython/pull/23796 ___ Python tracker

[issue42654] Add folder for python customizations: __sitecustomize__

2020-12-16 Thread Mario Corchero
Change by Mario Corchero : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42654] Add folder for python customizations: __sitecustomize__

2020-12-16 Thread Mario Corchero
New submission from Mario Corchero : Following the conversations in https://bugs.python.org/issue33944, wanted to discuss the support for a __sitecustomize__ folder that will hold python scripts to be executed at startup. Similar to `sitecustomize.py` but allowing different stakeholders of a

[issue41473] test_gdb fails on AMD64 Fedora Rawhide 3.x [gdb 9.2 bug]

2020-12-16 Thread STINNER Victor
STINNER Victor added the comment: test_gdb pass again on AMD64 Fedora Rawhide 3.x with "GNU gdb (GDB) Fedora 10.1-2.fc34": https://buildbot.python.org/all/#/builders/285/builds/348 0:02:52 load avg: 11.34 [242/426] test_gdb passed (1 min 28 sec) (...) I close the issue. --

[issue40949] test_socket altered the execution environment: threading_cleanup() failed to cleanup 0 threads (count: 0, dangling: 5)

2020-12-16 Thread STINNER Victor
STINNER Victor added the comment: I didn't see the failure recently, I close the issue. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue42653] Expose ISO-TP Contants for Linux >= 5.10

2020-12-16 Thread Stefan Tatschner
New submission from Stefan Tatschner : Linux >= 5.10 gained a new SocketCAN module called ISOTP. This is an implementation of ISO 15765-2 which is mainly used in vehicle CAN networks. Expose the constants from linux/can/isotp.h in the socket module. These constants are not entirely new.

[issue41804] test_epoll fails test_control_and_wait() randomly on aarch64 RHEL8 Refleaks 3.9

2020-12-16 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +22651 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23795 ___ Python tracker ___

[issue42644] logging.disable('WARN') breaks AsyncIO

2020-12-16 Thread Andrew Svetlov
Change by Andrew Svetlov : -- type: crash -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42644] logging.disable('WARN') breaks AsyncIO

2020-12-16 Thread Andrew Svetlov
Change by Andrew Svetlov : -- components: +Library (Lib) -asyncio ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue10141] SocketCan support

2020-12-16 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +22650 pull_request: https://github.com/python/cpython/pull/23794 ___ Python tracker ___

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

2020-12-16 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +22649 pull_request: https://github.com/python/cpython/pull/23793 ___ Python tracker ___

[issue42652] recursive in finally clause cause Python interpreter crash.

2020-12-16 Thread Xinmeng Xia
New submission from Xinmeng Xia : Considering the following two program,running the program 1 will get expected output: RecursionError program 1 === import traceback def foo(): try: 1/0 except Exception as e:

[issue42443] Provide Thread creation hook support

2020-12-16 Thread Piotr Stanczyk
Piotr Stanczyk added the comment: Friendly ping - does the proposal sound fine? -- ___ Python tracker ___ ___ Python-bugs-list

[issue42591] Method Py_FrozenMain missing in libpython3.9

2020-12-16 Thread Christian Bachmaier
Christian Bachmaier added the comment: > Do you mean freeze.py from Tools/freeze/freeze.py? Yes, unfortunately I have to keep a large old system running and there are only few options left. It is a University learning system, where students upload program code and then a huge amount of

[issue42519] [C API] Upgrade the C API in extension modules

2020-12-16 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue42613] freeze.py doesn't support sys.platlibdir different than lib nor multiarch

2020-12-16 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +22648 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23792 ___ Python tracker ___

[issue42613] freeze.py doesn't support sys.platlibdir different than lib nor multiarch

2020-12-16 Thread STINNER Victor
STINNER Victor added the comment: There are better maintained alternatives: * PyOxidizer * pyInstaller * bbFreeze * py2exe * cx_Freeze * py2app * etc. -- ___ Python tracker

[issue42591] Method Py_FrozenMain missing in libpython3.9

2020-12-16 Thread STINNER Victor
STINNER Victor added the comment: Christian Bachmaier: > Thus, when trying the provided freeze example via > freeze.py hello.py & make Do you mean freeze.py from Tools/freeze/freeze.py? This tool seems to be broken for 4 years, since Python 3.6: bpo-42613. > 4. freeze.py wants wants this

[issue42613] freeze.py doesn't support sys.platlibdir different than lib nor multiarch

2020-12-16 Thread STINNER Victor
STINNER Victor added the comment: Tools/freeze/freeze.py is broken for 4 years, since Python 3.6 which added sys.implementation._multiarch to the config directory in sysconfig: commit 5553231b91e05cf93827b33a79aebe62c4370a09 Author: d...@ubuntu.com Date: Tue Jun 14 08:55:19 2016 +0200

[issue42651] Title: Recursive traceback crashes Python Interpreter

2020-12-16 Thread Xinmeng Xia
New submission from Xinmeng Xia : = import traceback def foo(): traceback.print_exc() foo() foo() Try running the above program, the interpreter is crashed with the error message like the following: Fatal Python error: Cannot recover from stack

[issue42613] freeze.py doesn't support sys.platlibdir different than lib nor multiarch

2020-12-16 Thread STINNER Victor
STINNER Victor added the comment: I found this issue while working on bpo-42591 which exported the missing Py_FrozenMain() symbol. -- ___ Python tracker ___

<    1   2