[issue25947] Installation problem

2021-06-22 Thread Irit Katriel
Irit Katriel added the comment: Version 3.5 is no longer supported. If you are having issues installing a current version (3.9+) please create a new issue. -- nosy: +iritkatriel resolution: -> out of date stage: -> resolved status: open -&g

[issue22329] Windows installer can't recover partially installed state

2021-06-22 Thread Irit Katriel
Irit Katriel added the comment: > This does not affect Python 3.5 or later. Closing as out of date as 3.4 is no longer maintained. -- nosy: +iritkatriel resolution: -> out of date stage: needs patch -> resolved status: open -> closed __

[issue24425] Installer Vender Issue

2021-06-22 Thread Irit Katriel
Irit Katriel added the comment: Closing as 3.4 and 2.7 are no longer maintained and the installer was rewritten for 3.5. -- nosy: +iritkatriel resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracke

[issue24499] Python Installer text piles up during installation process

2021-06-22 Thread Irit Katriel
Irit Katriel added the comment: Version 3.5 is no longer maintained. Are you seeing this in current (3.9+) versions? -- nosy: +iritkatriel status: open -> pending ___ Python tracker <https://bugs.python.org/issu

[issue22782] Python 3.4.2 Windows installer - cannot install 32 bit then 64 bit version

2021-06-22 Thread Irit Katriel
Irit Katriel added the comment: Steve, if this was fixed post-3.4 can we close this? -- nosy: +iritkatriel status: open -> pending ___ Python tracker <https://bugs.python.org/issu

[issue24836] Consistent failure in test_email on OS X Snow Leopard buildbot for Python 3.5

2021-06-22 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue12681] unittest expectedFailure could take a message argument like skip does

2021-06-22 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.11 -Python 3.3 ___ Python tracker <https://bugs.python.org/issue12681> ___ ___ Python-bugs-list mailing list Unsub

[issue16386] imp.find_module does not specify registry key it searches on windows

2021-06-22 Thread Irit Katriel
Change by Irit Katriel : -- stage: -> resolved status: pending -> closed ___ Python tracker <https://bugs.python.org/issue16386> ___ ___ Python-bugs-list

[issue20859] Context of documentation for conditional expressions

2021-06-22 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.3, Python 3.4 ___ Python tracker <https://bugs.python.org/issue20

[issue24466] extend_path explanation in documentation is ambiguous

2021-06-22 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.4 ___ Python tracker <https://bugs.python.org/issue24

[issue25050] windows installer does not allow 32 and 64 installs side by side

2021-06-22 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Python 3.4.2 Windows installer - cannot install 32 bit then 64 bit version ___ Python tracker <https://bugs.python

[issue27074] Confusing text about __all__ in __init__.py in tutorial

2021-06-22 Thread Irit Katriel
Change by Irit Katriel : -- nosy: +eric.snow ___ Python tracker <https://bugs.python.org/issue27074> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28395] Remove unnecessary semicolons in tests

2021-06-22 Thread Irit Katriel
Irit Katriel added the comment: The patch needs to be converted to a github PR. -- keywords: +easy nosy: +iritkatriel title: Remove unnecessary semicolons -> Remove unnecessary semicolons in tests versions: +Python 3.10, Python 3.11, Python

[issue28953] Use `raise from` when raising new IncompleteRead

2021-06-22 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +easy versions: +Python 3.11 -Python 3.7 ___ Python tracker <https://bugs.python.org/issue28953> ___ ___ Python-bugs-list m

[issue29422] add socket independent timeout to httplib/http.client read

2021-06-22 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.11 -Python 2.7, Python 3.3, Python 3.4, Python 3.5, Python 3.6, Python 3.7 ___ Python tracker <https://bugs.python.org/issue29

[issue30889] distutils extra_link_args not working because it is added to cmd last. should before -llibs

2021-06-22 Thread Irit Katriel
Irit Katriel added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue32079] version install 3.6.3 hangs in test_socket

2021-06-22 Thread Irit Katriel
Irit Katriel added the comment: There isn't enough information here to know what the cause was, and version 3.6 is no longer maintained. So I am closing the issue and request that you create a new one if you are seeing this problem on a current version (3.9+). -- nosy: +iritka

[issue32855] Add documention stating supported Platforms

2021-06-22 Thread Irit Katriel
Irit Katriel added the comment: We have this: https://pythondev.readthedocs.io/platforms.html -- nosy: +iritkatriel resolution: -> works for me status: open -> pending ___ Python tracker <https://bugs.python.org/i

[issue32948] clang compiler warnings on Travis

2021-06-22 Thread Irit Katriel
Irit Katriel added the comment: 2.7-specific issue. -- nosy: +iritkatriel resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue23316] Incorrect evaluation order of function arguments with *args

2021-06-22 Thread Irit Katriel
Irit Katriel added the comment: See also issue33492. -- ___ Python tracker <https://bugs.python.org/issue23316> ___ ___ Python-bugs-list mailing list Unsub

[issue34389] CPython may fail to build in the presence of a ~/.pydistutils.cfg

2021-06-22 Thread Irit Katriel
Irit Katriel added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue34389] CPython may fail to build in the presence of a ~/.pydistutils.cfg

2021-06-22 Thread Irit Katriel
Change by Irit Katriel : -- resolution: out of date -> status: closed -> open ___ Python tracker <https://bugs.python.org/issue34389> ___ ___ Python-bugs-

[issue41636] distutils.util.strtobool documented behaviour

2021-06-22 Thread Irit Katriel
Irit Katriel added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue35183] os.path.splitext documentation needs typical example

2021-06-22 Thread Irit Katriel
Change by Irit Katriel : -- components: +Library (Lib) keywords: +easy versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.6 ___ Python tracker <https://bugs.python.org/issue35

[issue32855] Add documention stating supported Platforms

2021-06-22 Thread Irit Katriel
Change by Irit Katriel : -- resolution: works for me -> ___ Python tracker <https://bugs.python.org/issue32855> ___ ___ Python-bugs-list mailing list Un

[issue41636] distutils.util.strtobool documented behaviour

2021-06-22 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue44494] Overhaul of Doc/library/__main__.rst

2021-06-23 Thread Irit Katriel
Change by Irit Katriel : -- nosy: +cameron ___ Python tracker <https://bugs.python.org/issue44494> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44494] Overhaul of Doc/library/__main__.rst

2021-06-23 Thread Irit Katriel
Irit Katriel added the comment: Hi Jack, I'm not sure it's necessary to create a new issue for "Overhaul of Doc/library/__main__.rst" when we already have Issue39452 to "Improve the __main__ module documentation" and Issue24632 to "Improve documentation a

[issue44498] remove deprecated smtpd from the stdlib

2021-06-23 Thread Irit Katriel
New submission from Irit Katriel : smtpd uses asynchat which has been deprecated since 3.6. See discussion at https://mail.python.org/archives/list/python-committ...@python.org/thread/KNF6YQE2O4OLJDNKSGAT4NLZUNCQ5QSH/#KNF6YQE2O4OLJDNKSGAT4NLZUNCQ5QSH -- messages: 396399 nosy

[issue44498] remove deprecated smtpd from the stdlib

2021-06-23 Thread Irit Katriel
Change by Irit Katriel : -- assignee: -> iritkatriel ___ Python tracker <https://bugs.python.org/issue44498> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue44498] move deprecated asynchat, asyncore and smtpd from the stdlib to test.support

2021-06-23 Thread Irit Katriel
Irit Katriel added the comment: There are some tests that use asynchat, asyncore and smtpd so we first move them to test.support and document their removal from the stdlib. -- title: remove deprecated smtpd from the stdlib -> move deprecated asynchat, asyncore and smtpd from

[issue44498] move deprecated asynchat, asyncore and smtpd from the stdlib to test.support

2021-06-23 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +patch pull_requests: +25451 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26875 ___ Python tracker <https://bugs.python.org/issu

[issue44494] Overhaul of Doc/library/__main__.rst

2021-06-23 Thread Irit Katriel
Irit Katriel added the comment: That's a good plan! -- ___ Python tracker <https://bugs.python.org/issue44494> ___ ___ Python-bugs-list mailing list

[issue40620] [doc] Range tutorial shorthand could be made clearer

2021-06-23 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +easy title: Range tutorial shorthand could be made clearer -> [doc] Range tutorial shorthand could be made clearer versions: +Python 3.10, Python 3.11 -Python 3.7, Python 3.8 ___ Python tracker <

[issue36243] Python os.listdir fails with FileNotFoundError when directory exists

2021-06-23 Thread Irit Katriel
Irit Katriel added the comment: Geoff, it's been over two years. Do you think there is a chance you will want to follow up with a reproducer, or shall we close this issue? -- nosy: +iritkatriel status: pending -> open ___ Python tracker

[issue44498] add deprecation warnings for asynchat, asyncore and smtpd

2021-06-23 Thread Irit Katriel
Change by Irit Katriel : -- title: move deprecated asynchat, asyncore and smtpd from the stdlib to test.support -> add deprecation warnings for asynchat, asyncore and smtpd ___ Python tracker <https://bugs.python.org/issu

[issue44498] add deprecation warnings for asynchat, asyncore and smtpd

2021-06-23 Thread Irit Katriel
Change by Irit Katriel : -- assignee: iritkatriel -> ___ Python tracker <https://bugs.python.org/issue44498> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue44498] add deprecation warnings for asynchat, asyncore and smtpd

2021-06-23 Thread Irit Katriel
Irit Katriel added the comment: Pablo, to be clear - my understanding is that the question to python-dev is not whether to deprecate or not (they have been deprecated for a long time), but only whether to issue the warning in 3.10 or 3.11. Is that correct

[issue44502] bla in cpython/Lib/test/test_sys_settrace.py

2021-06-24 Thread Irit Katriel
Irit Katriel added the comment: y = 1, so the body of the while loop will never execute and the name will never need to be resolved. The bug tracker is not an appropriate place to ask questions about the code, it is for reporting bugs in python. -- nosy: +iritkatriel resolution

[issue27086] Add closefd argument to os.listdir

2021-06-24 Thread Irit Katriel
Irit Katriel added the comment: I agree with Serhiy and David. The responsibility for closing the file is with whoever opened it, and adding an option in a function for it to also close the fd after doing what it was designed to do makes the API unnecessarily over-complicated

[issue40471] Grammar typo in issubclass docstring

2021-06-24 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.7, Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.or

[issue36991] zipfile: AttributeError on extract

2021-06-24 Thread Irit Katriel
Irit Katriel added the comment: This seems resolved, can we close? -- nosy: +iritkatriel resolution: -> fixed status: open -> pending ___ Python tracker <https://bugs.python.org/i

[issue24203] Deprecate threading.Thread.isDaemon etc

2021-06-24 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> Deprecate camelCase aliases from threading.py ___ Python tracker <https://bugs.python

[issue26724] Serialize dict with non-string keys to JSON — unexpected result

2021-06-24 Thread Irit Katriel
Irit Katriel added the comment: This is documented, was added here: https://github.com/python/cpython/commit/f2123d2db54d661a016f02c5a1a02484d6d79e0d If nobody objects I will close as won't fix. -- nosy: +iritkatriel resolution: -> wont fix status: open -&

[issue39254] python shebang in python3 tarball files

2021-06-24 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> port shebang of tools from python2 to python3 ___ Python tracker <https://bugs.python

[issue44498] add deprecation warnings for asynchat, asyncore and smtpd

2021-06-24 Thread Irit Katriel
Change by Irit Katriel : -- pull_requests: +25481 pull_request: https://github.com/python/cpython/pull/26905 ___ Python tracker <https://bugs.python.org/issue44

[issue44498] add deprecation warnings for asynchat, asyncore and smtpd

2021-06-24 Thread Irit Katriel
Irit Katriel added the comment: New changeset 22e7effad571f8e524d2f71ff55bbf2a25306753 by Irit Katriel in branch 'main': bpo-44498: suppress DeprecationWarnings for asynchat, asyncore and smtpd in tests (GH-26905) https://github.com/python/cpyt

[issue36438] Python 3.5.7 import error on Cross compile

2021-06-24 Thread Irit Katriel
Irit Katriel added the comment: Closing as there has been no followup for over two years. Please create a new issue if you are still seeing an issue with a current (3.9+) version of Python. -- nosy: +iritkatriel resolution: -> out of date stage: -> resolved status: open -&g

[issue44498] add deprecation warnings for asynchat, asyncore and smtpd

2021-06-24 Thread Irit Katriel
Irit Katriel added the comment: New changeset 8bec9fb92f09d02c24611ebd0a90103a1a414a40 by Miss Islington (bot) in branch '3.10': bpo-44498: suppress DeprecationWarnings for asynchat, asyncore and smtpd in tests (GH-26905) (GH-26907) https://github.com/python/cpyt

[issue41825] os.waitid() documentation needs TLC

2021-06-24 Thread Irit Katriel
Change by Irit Katriel : -- components: +Library (Lib) versions: +Python 3.11 -Python 3.8 ___ Python tracker <https://bugs.python.org/issue41825> ___ ___ Pytho

[issue41825] os.waitid() documentation needs TLC

2021-06-24 Thread Irit Katriel
Irit Katriel added the comment: See also issue38802, issue34278, issue27808. -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue41

[issue38802] Clearer wording of os.WNOHANG documentation to avoid misinterpretation

2021-06-24 Thread Irit Katriel
Irit Katriel added the comment: see also issue41825, issue34278, issue27808. -- components: +Library (Lib) nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue38

[issue27808] os.waitpid does not return (0, 0) when child has not exited (FreeBSD)

2021-06-24 Thread Irit Katriel
Irit Katriel added the comment: See also issue34278, issue38802, issue41825. -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue27

[issue34278] Documentation: os.waitid and os.WNOHANG

2021-06-24 Thread Irit Katriel
Irit Katriel added the comment: See also issue41825, issue38802, issue27808. -- components: +Library (Lib) nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue34

[issue38146] QVariant NULL returns anomalous values in equality statements

2021-06-25 Thread Irit Katriel
Change by Irit Katriel : -- stage: -> resolved status: pending -> closed ___ Python tracker <https://bugs.python.org/issue38146> ___ ___ Python-bugs-list

[issue15066] make install error: ImportError: No module named _struct

2021-06-25 Thread Irit Katriel
Change by Irit Katriel : -- stage: -> resolved status: pending -> closed ___ Python tracker <https://bugs.python.org/issue15066> ___ ___ Python-bugs-list

[issue41539] print blocks with multiprocessing and buffered output

2021-06-25 Thread Irit Katriel
Irit Katriel added the comment: Is there anything left here? I've seen it mentioned on other issues of this sort that mixing multiprocessing and threading leads to problems. Should we document that? -- ___ Python tracker <https://bugs.py

[issue41866] Document error in chinese version of contextlib.

2021-06-25 Thread Irit Katriel
Change by Irit Katriel : -- nosy: +zhsj ___ Python tracker <https://bugs.python.org/issue41866> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32215] sqlite3 400x-600x slower depending on formatting of an UPDATE statement in a string

2021-06-25 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue38055] Starting multiprocessing.Process raises FileNotFoundError unexpectedly

2021-06-25 Thread Irit Katriel
Irit Katriel added the comment: Closing as there isn't enough information about the problem. If you are still seeing it, please create a new issue with full details. -- resolution: -> rejected stage: -> resolved status: open -> closed

[issue36265] Remove ABCs from collections

2021-06-25 Thread Irit Katriel
Irit Katriel added the comment: This was updated in later 3.8.X versions: https://github.com/python/cpython/blob/71ba16b21cb35923098026117b5e6d823c5f5707/Lib/collections/__init__.py#L49 warnings.warn("Using or importing the ABCs from 'collections' instead "

[issue20752] Difflib should provide the option of overriding the SequenceMatcher

2021-06-27 Thread Irit Katriel
Irit Katriel added the comment: I agree with Terry that this proposal significantly complicates the API and the motivation for it is not very strong. I will close the issue in a couple of weeks if nobody objects. -- nosy: +iritkatriel resolution: -> rejected status: open -> p

[issue18618] Need an atexit.register equivalent that also works in subinterps

2021-06-27 Thread Irit Katriel
Irit Katriel added the comment: I think this is a duplicate of issue31901. -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue18618> ___ ___

[issue31314] email throws exception with oversized header input

2021-06-27 Thread Irit Katriel
Change by Irit Katriel : -- stage: patch review -> resolved status: pending -> closed ___ Python tracker <https://bugs.python.org/issue31314> ___ ___ Pyth

[issue32082] atexit module: allow getting/setting list of handlers directly

2021-06-27 Thread Irit Katriel
Irit Katriel added the comment: See also issue17186. -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue32082> ___ ___ Python-bugs-list m

[issue17186] no way to introspect registered atexit handlers

2021-06-27 Thread Irit Katriel
Irit Katriel added the comment: See also issue32082. -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue17186> ___ ___ Python-bugs-list m

[issue38062] Clarify that atexit.unregister matches by equality, not identity

2021-06-27 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +easy versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue38

[issue40620] [doc] Range tutorial shorthand could be made clearer

2021-06-27 Thread Irit Katriel
Irit Katriel added the comment: New changeset 2f49c9debc2efe010c757be3bdbd6493f1ebc5f6 by jdevries3133 in branch 'main': bpo-40620: Clarify tutorial controlflow.rst ``range`` examples (GH-26919) https://github.com/python/cpython/commit/2f49c9debc2efe010c757be3bdbd64

[issue40620] [doc] Range tutorial shorthand could be made clearer

2021-06-27 Thread Irit Katriel
Irit Katriel added the comment: New changeset aeb63392e74976b4289b38f32f1d6e7ff2e0a712 by Miss Islington (bot) in branch '3.10': bpo-40620: Clarify tutorial controlflow.rst ``range`` examples (GH-26919) (GH-26927) https://github.com/python/cpyt

[issue40620] [doc] Range tutorial shorthand could be made clearer

2021-06-27 Thread Irit Katriel
Irit Katriel added the comment: New changeset 1acd1e63850d179383fcb638dcefee4c66b3ca4e by Miss Islington (bot) in branch '3.9': bpo-40620: Clarify tutorial controlflow.rst ``range`` examples (GH-26919) (GH-26928) https://github.com/python/cpyt

[issue40620] [doc] Range tutorial shorthand could be made clearer

2021-06-27 Thread Irit Katriel
Irit Katriel added the comment: Thank you Jack! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue43460] Exception copy error

2021-06-27 Thread Irit Katriel
Irit Katriel added the comment: See issue32696, issue30005, issue29466 -- components: +Library (Lib) nosy: +iritkatriel versions: +Python 3.11 ___ Python tracker <https://bugs.python.org/issue43

[issue32696] Fix pickling exceptions with multiple arguments

2021-06-27 Thread Irit Katriel
Irit Katriel added the comment: See also issue43460, issue30005, issue29466 -- ___ Python tracker <https://bugs.python.org/issue32696> ___ ___ Python-bugs-list m

[issue30005] Pickling and copying exceptions doesn't preserve non-__dict__ attributes

2021-06-27 Thread Irit Katriel
Irit Katriel added the comment: See also issue43460, issue32696, issue29466. -- nosy: +iritkatriel versions: +Python 3.11 -Python 2.7, Python 3.5, Python 3.6, Python 3.7 ___ Python tracker <https://bugs.python.org/issue30

[issue29466] pickle does not serialize Exception __cause__ field

2021-06-27 Thread Irit Katriel
Irit Katriel added the comment: See also issue43460, issue32696, issue30005. -- ___ Python tracker <https://bugs.python.org/issue29466> ___ ___ Python-bug

[issue29466] pickle does not serialize Exception __cause__ field

2021-06-27 Thread Irit Katriel
Irit Katriel added the comment: I get different output for Serhiy's first example now, but the same for the second: >>> try: import foo ... except Exception as ex: exc = ex ... >>> exc.name 'foo' >>> exc.__reduce__() (, ("No module named &#x

[issue44520] exception is thrown if bs = None

2021-06-28 Thread Irit Katriel
Irit Katriel added the comment: Crash is typically a segfault, not an exception. -- nosy: +iritkatriel type: crash -> behavior ___ Python tracker <https://bugs.python.org/issu

[issue44520] exception is thrown if bs = None

2021-06-28 Thread Irit Katriel
Irit Katriel added the comment: Please describe the problem you would like to see fixed, rather than the code change you would like to make. -- ___ Python tracker <https://bugs.python.org/issue44

[issue42892] AttributeError in email.message.get_body()

2021-06-28 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.11 ___ Python tracker <https://bugs.python.org/issue42892> ___ ___ Python-bugs-list mailin

[issue44520] exception is thrown if bs = None

2021-06-28 Thread Irit Katriel
Irit Katriel added the comment: Right, so the question is whether it is correct that "an empty string needs to be returned in this case". Adding orsenthil to answer that as the module's expert. Also, your patch would need a unit test. -- n

[issue44461] 'Pdb' object has no attribute 'botframe'

2021-06-28 Thread Irit Katriel
Irit Katriel added the comment: The difference between Jason's two test cases is which stage of Pdb._runmodule() fails. In the case of `python -m pdb -m importlib` runpy._get_module_details(module_name) raises an exception because importlib is a package and it looks for its __main_

[issue44461] 'Pdb' object has no attribute 'botframe'

2021-06-28 Thread Irit Katriel
Irit Katriel added the comment: However, if we just try to initialize self.botframe to None in __init__, then 'quit' doesn't work anymore, so something else needs to be done about cleanup when import fails at that stage. -- version

[issue44461] 'Pdb' object has no attribute 'botframe'

2021-06-28 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +patch pull_requests: +25506 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26937 ___ Python tracker <https://bugs.python.org/issu

[issue44461] 'Pdb' object has no attribute 'botframe'

2021-06-28 Thread Irit Katriel
Irit Katriel added the comment: The cleanup issue was in the except: clause of the main loop: if the user does quit() during the pdb.interaction() call upon an unhandled exception ("the post mortem debugger"), then this quit request is ignored and the program just restarts. Th

[issue44498] add deprecation warnings for asynchat, asyncore and smtpd

2021-06-28 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10 ___ Python tracker <https://bugs.python.or

[issue44520] In Lib/urllib/parse.py quote_from_bytes, exception is thrown if bs = None

2021-06-28 Thread Irit Katriel
Irit Katriel added the comment: I don’t know if it needs to change, but if anything I would map None to None and not to ‘’. -- ___ Python tracker <https://bugs.python.org/issue44

[issue38062] Clarify that atexit.unregister matches by equality, not identity

2021-06-29 Thread Irit Katriel
Irit Katriel added the comment: New changeset 12803c59d54ff1a45a5b08cef82652ef199b3b07 by Jack DeVries in branch 'main': bpo-38062: [doc] clarify that atexit uses equality comparisons internally. (GH-26935) https://github.com/python/cpython/commit/12803c59d54ff1a45a5b08cef82652

[issue38062] Clarify that atexit.unregister matches by equality, not identity

2021-06-29 Thread Irit Katriel
Irit Katriel added the comment: New changeset 08aa26e4355da6f916da0c97d00774800ee0fc46 by Miss Islington (bot) in branch '3.10': bpo-38062: [doc] clarify that atexit uses equality comparisons internally. (GH-26935) (GH-26956) https://github.com/python/cpyt

[issue38062] Clarify that atexit.unregister matches by equality, not identity

2021-06-29 Thread Irit Katriel
Irit Katriel added the comment: New changeset 02859df10591789c72eb185a4f7dd9cc1ea8dcbb by Miss Islington (bot) in branch '3.9': bpo-38062: [doc] clarify that atexit uses equality comparisons internally. (GH-26935) (GH-26957) https://github.com/python/cpyt

[issue38062] Clarify that atexit.unregister matches by equality, not identity

2021-06-29 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue6407] multiprocessing Pool should allow custom task queue

2021-06-29 Thread Irit Katriel
Irit Katriel added the comment: It should be possible to do this now through the context, but it's not documented: >>> import multiprocessing as mp >>> ctx = mp.get_context() >>> ctx.SimpleQueue > >>> ctx.SimpleQueue = list >>

[issue24499] Python Installer text piles up during installation process

2021-06-30 Thread Irit Katriel
Irit Katriel added the comment: Please create a new issue if you are still seeing this on a current version. -- resolution: -> out of date stage: -> resolved status: pending -> closed ___ Python tracker <https://bugs.python.or

[issue34798] pprint ignores the compact parameter for dicts

2021-06-30 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +patch pull_requests: +25531 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26967 ___ Python tracker <https://bugs.python.org/issu

[issue34798] pprint ignores the compact parameter for dicts

2021-06-30 Thread Irit Katriel
Irit Katriel added the comment: I made PR26967 to break up the paragraph about the constructor params so that it's easier to read, and also added emphasis around the "sequence" point. -- versions: +Python 3.10, Python 3.11, Python

[issue44520] In Lib/urllib/parse.py quote_from_bytes, exception is thrown if bs = None

2021-07-02 Thread Irit Katriel
Irit Katriel added the comment: As I wrote on the PR, and again on this issue, a PR that makes a behavior change (like this one) is not complete without a unit test (which fails before the change and passes after the change, and can show what the bug being fixed is). You could add such a

[issue44520] In Lib/urllib/parse.py quote_from_bytes, exception is thrown if bs = None

2021-07-02 Thread Irit Katriel
Irit Katriel added the comment: The documentation states that this function accepts bytes: https://docs.python.org/3/library/urllib.parse.html#urllib.parse.quote_from_bytes None is not of type bytes, so raising a TypeError is not unreasonable. It would certainly be wrong to return any

[issue34798] pprint ignores the compact parameter for dicts

2021-07-02 Thread Irit Katriel
Irit Katriel added the comment: New changeset 943e77d42d3f84b581f32c05f1fc8c05366b8ed3 by Irit Katriel in branch 'main': bpo-34798: [doc] clearer presentation of pprint.PrettyPrinter constru… (GH-26967) https://github.com/python/cpython/commit/943e77d42d3f84b581f32c05f1fc8c

[issue34798] pprint ignores the compact parameter for dicts

2021-07-02 Thread Irit Katriel
Irit Katriel added the comment: New changeset 42c26282a123d14591e1aa31107e566b302a19ac by Miss Islington (bot) in branch '3.10': bpo-34798: [doc] clearer presentation of pprint.PrettyPrinter constru… (GH-26967) (GH-26990) https://github.com/python/cpyt

[issue34798] pprint ignores the compact parameter for dicts

2021-07-02 Thread Irit Katriel
Change by Irit Katriel : -- versions: -Python 3.9 ___ Python tracker <https://bugs.python.org/issue34798> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34798] pprint ignores the compact parameter for dicts

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

<    10   11   12   13   14   15   16   17   18   19   >