[issue38658] Python Program crashes when running in fore and back ground
New submission from ThePokestarFan : I have a Python process that should not die that is multiprocessed. I have a queue process that feeds the queue every so often, but my program should use up queue items faster than the queue adds them. I have four worker threads that make requests to an API and update an SQL table with the results. However, if I use nohup and run it, it crashes. Even if I directly run it, it crashes. It used to run forever when I loaded it in PyCharm, but even that crashes it. -- components: macOS files: crash.txt messages: 355769 nosy: ThePokestarFan, ned.deily, ronaldoussoren priority: normal severity: normal status: open title: Python Program crashes when running in fore and back ground type: crash versions: Python 3.8 Added file: https://bugs.python.org/file48688/crash.txt ___ Python tracker <https://bugs.python.org/issue38658> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38645] datetime.datetime.fromtimestamp(0, tzlocal()) throws error
ThePokestarFan added the comment: For me, it seems that dateutil is not a standard Python library module. When I run `import dateutil` it reports that there is no module called dateutil. ``` >>> import dateutil Traceback (most recent call last): File "", line 1, in ImportError: No module named dateutil ``` -- nosy: +ThePokestarFan ___ Python tracker <https://bugs.python.org/issue38645> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38645] datetime.datetime.fromtimestamp(0, tzlocal()) throws error
ThePokestarFan added the comment: Can you run >>>import dateutil >>>print(repr(dateutil)) -- ___ Python tracker <https://bugs.python.org/issue38645> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38658] Python Program crashes when running in fore and back ground
ThePokestarFan added the comment: Thank you. Closing this issue. -- resolution: -> duplicate stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue38658> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13829] exception error in _scproxy.so when called after fork
ThePokestarFan added the comment: Still present in python 3.8 and issue 38658. Another workaround is in https://bugs.python.org/issue30385#msg293958 -- nosy: +ThePokestarFan versions: +Python 3.8 ___ Python tracker <https://bugs.python.org/issue13829> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue30385] Segfault on OSX with 3.6.1
ThePokestarFan added the comment: A pythonic way to do it is `os.environ[“no_proxy”]=“*”` -- nosy: +ThePokestarFan ___ Python tracker <https://bugs.python.org/issue30385> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39208] PDB pm function throws exception without sys import
New submission from ThePokestarFan : When testing PDB in python 3.8.1, PDB throws an exception when I call the pm() function in PDB without importing system. [Fresh session] >>> import pdb >>> pdb.pm() Traceback (most recent call last): File "", line 1, in File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/pdb.py", line 1631, in pm post_mortem(sys.last_traceback) AttributeError: module 'sys' has no attribute 'last_traceback' >>> import sys >>> pdb.pm() > /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/pdb.py(1631)pm() -> post_mortem(sys.last_traceback) ... -- components: Library (Lib), macOS messages: 359264 nosy: ThePokestarFan, ned.deily, ronaldoussoren priority: normal severity: normal status: open title: PDB pm function throws exception without sys import type: behavior versions: Python 3.8 ___ Python tracker <https://bugs.python.org/issue39208> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6143] IDLE - clear and restart the shell window
ThePokestarFan added the comment: I would really like to be able to clear IDLE when using it. I do not understand how hard it can be just to clear a window. -- nosy: +ThePokestarFan ___ Python tracker <https://bugs.python.org/issue6143> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue40021] Throwing an Exception results in stack overflow
New submission from ThePokestarFan : If I set up a simple recursion exception function, that calls itself every time an error is raised, Python throws a SIGABRT and crashes due to a "Stack Overflow". def x(): try: raise Exception() except Exception: x() Oddly enough, my system installation of Python 2.7 threw a RuntimeError instead of aborting, which is what I expected. -- components: Interpreter Core, macOS files: error.log messages: 364646 nosy: ThePokestarFan, ned.deily, ronaldoussoren priority: normal severity: normal status: open title: Throwing an Exception results in stack overflow type: crash versions: Python 3.7 Added file: https://bugs.python.org/file48984/error.log ___ Python tracker <https://bugs.python.org/issue40021> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue40021] Throwing an Exception results in stack overflow
Change by ThePokestarFan : Added file: https://bugs.python.org/file48985/interpter.txt ___ Python tracker <https://bugs.python.org/issue40021> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue40021] Throwing an Exception results in stack overflow
Change by ThePokestarFan : Added file: https://bugs.python.org/file48986/python2.txt ___ Python tracker <https://bugs.python.org/issue40021> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue40021] Throwing an Exception results in stack overflow
Change by ThePokestarFan : Added file: https://bugs.python.org/file48987/program.py ___ Python tracker <https://bugs.python.org/issue40021> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue40021] Throwing an Exception results in stack overflow
ThePokestarFan added the comment: I tested the program against my 3.8 installation and got the same error. -- versions: +Python 3.8 ___ Python tracker <https://bugs.python.org/issue40021> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41924] TextWrap's wrap method throws unhelpful error on bytes object
New submission from ThePokestarFan : The wrap() method of the TextWrapper class (and the module-level wrap method) throws an unhelpful TypeError upon getting a bytes object. -- components: Library (Lib) files: traceback.txt messages: 377910 nosy: ThePokestarFan priority: normal severity: normal status: open title: TextWrap's wrap method throws unhelpful error on bytes object type: behavior versions: Python 3.8 Added file: https://bugs.python.org/file49489/traceback.txt ___ Python tracker <https://bugs.python.org/issue41924> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41924] TextWrap's wrap method throws unhelpful error on bytes object
Change by ThePokestarFan : -- keywords: +patch pull_requests: +21537 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22534 ___ Python tracker <https://bugs.python.org/issue41924> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41924] TextWrap's wrap method throws unhelpful error on bytes object
Change by ThePokestarFan : -- stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue41924> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41924] TextWrap's wrap method throws unhelpful error on bytes object
ThePokestarFan added the comment: You're most likely right, so I'll close it. The lesson is most likely to not use weird arguments, but modules such as datetime warn against it, so I was surprised. -- ___ Python tracker <https://bugs.python.org/issue41924> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com