[issue44869] MacOS Monterrey malloc issue

2021-08-09 Thread meowmeowcat
Change by meowmeowcat : -- components: +macOS nosy: +ned.deily, ronaldoussoren type: -> crash ___ Python tracker ___ ___

[issue38956] argparse.BooleanOptionalAction should not add the default value to the help string by default

2021-08-09 Thread Maximilian Hils
Change by Maximilian Hils : -- nosy: +mhils nosy_count: 5.0 -> 6.0 pull_requests: +26160 pull_request: https://github.com/python/cpython/pull/27672 ___ Python tracker ___

[issue44522] [doc] open() function errors='surrogateescape' has inaccurate information

2021-08-09 Thread meowmeowcat
meowmeowcat added the comment: Oh, I missed this too. I'll fix it. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue32695] tarfile.open() raises TypeError when using compresslevel parameter with LZMA

2021-08-09 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset eb2d4a66ff07aa6e51cfaaa31afed31addf76936 by Zackery Spytz in branch 'main': bpo-32695: Docs and tests for compresslevel and preset kwargs in tarfile (GH-21470) https://github.com/python/cpython/commit/eb2d4a66ff07aa6e51cfaaa31afed31addf76936

[issue44702] Fix weakref doc

2021-08-09 Thread meowmeowcat
Change by meowmeowcat : -- keywords: +patch pull_requests: +26164 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27676 ___ Python tracker ___

[issue44598] test_constructor (test.test_ssl.ContextTests) ... Fatal Python error: Segmentation fault

2021-08-09 Thread STINNER Victor
STINNER Victor added the comment: tongxiaoge: Without more information, we cannot help you. See Christian's questions. -- ___ Python tracker ___

[issue44851] Update bundled pip to 21.2.3 and setuptools to 57.4.0

2021-08-09 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Tzu-ping Chung! ✨  ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue44821] Instance dictionaries should be created eagerly

2021-08-09 Thread Mark Shannon
Change by Mark Shannon : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue44826] Specialize STORE_ATTR using PEP 659 machinery.

2021-08-09 Thread Mark Shannon
Mark Shannon added the comment: New changeset ac75f6bdd4748b3378dd321f862d13aa1898f77a by Mark Shannon in branch 'main': bpo-44826: Specialize STORE_ATTR (GH-27590) https://github.com/python/cpython/commit/ac75f6bdd4748b3378dd321f862d13aa1898f77a --

[issue32695] tarfile.open() raises TypeError when using compresslevel parameter with LZMA

2021-08-09 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +26162 pull_request: https://github.com/python/cpython/pull/27674 ___ Python tracker

[issue32695] tarfile.open() raises TypeError when using compresslevel parameter with LZMA

2021-08-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +26163 pull_request: https://github.com/python/cpython/pull/27675 ___ Python tracker ___

[issue44840] Nested if/else gets phantom else trace again (3.10)

2021-08-09 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue40912] _PyOS_SigintEvent is never closed on Windows

2021-08-09 Thread STINNER Victor
STINNER Victor added the comment: Fixed by bpo-41686: commit 0ae323b87f1bed64a7fa70f5a41a5800aca032cc Author: Victor Stinner Date: Tue Nov 17 18:15:20 2020 +0100 bpo-41686: Always create the SIGINT event on Windows (GH-23344) bpo-41686, bpo-41713: On Windows, the SIGINT

[issue33930] Segfault with deep recursion into object().__dir__

2021-08-09 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +26165 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27678 ___ Python tracker ___

[issue44840] Nested if/else gets phantom else trace again (3.10)

2021-08-09 Thread Mark Shannon
Mark Shannon added the comment: New changeset b854557b49083d8625a433eb36aacb0c87d67c52 by Mark Shannon in branch 'main': bpo-44840: Compiler: Move duplication of exit blocks with no line numbers to after CFG optimization. (GH-27656)

[issue44871] Threading memory leak

2021-08-09 Thread Andrei Zene
New submission from Andrei Zene : In an application where we were handling incoming requests in new threads, we noticed that the memory usage grew over time. After trying to understand what's going on, i was able to reproduce this with a smaller python script that i've attached. What we do:

[issue44522] [doc] open() function errors='surrogateescape' has inaccurate information

2021-08-09 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset b05e9b63fcfcd4bd7a6434fa9f9a7028d12f91c4 by meowmeowmeowcat in branch 'main': bpo-44522: Fix inaccurate information in open() function (GH-27650) https://github.com/python/cpython/commit/b05e9b63fcfcd4bd7a6434fa9f9a7028d12f91c4 -- nosy:

[issue44522] [doc] open() function errors='surrogateescape' has inaccurate information

2021-08-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +26167 pull_request: https://github.com/python/cpython/pull/27682 ___ Python tracker ___

[issue44522] [doc] open() function errors='surrogateescape' has inaccurate information

2021-08-09 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +26166 pull_request: https://github.com/python/cpython/pull/27681 ___ Python tracker

[issue44522] [doc] open() function errors='surrogateescape' has inaccurate information

2021-08-09 Thread miss-islington
miss-islington added the comment: New changeset c79aa427c0b0c8a09e5c22a5420baf837054f509 by Miss Islington (bot) in branch '3.10': bpo-44522: Fix inaccurate information in open() function (GH-27650) https://github.com/python/cpython/commit/c79aa427c0b0c8a09e5c22a5420baf837054f509

[issue44522] [doc] open() function errors='surrogateescape' has inaccurate information

2021-08-09 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 037ef8d6d9cc8225d6db0305cee2d8d0ee5bee74 by Miss Islington (bot) in branch '3.9': bpo-44522: Fix inaccurate information in open() function (GH-27650) (GH-27682) https://github.com/python/cpython/commit/037ef8d6d9cc8225d6db0305cee2d8d0ee5bee74

[issue44840] Nested if/else gets phantom else trace again (3.10)

2021-08-09 Thread Mark Shannon
Change by Mark Shannon : -- pull_requests: +26161 pull_request: https://github.com/python/cpython/pull/27673 ___ Python tracker ___

[issue32695] tarfile.open() raises TypeError when using compresslevel parameter with LZMA

2021-08-09 Thread Łukasz Langa
Change by Łukasz Langa : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.6, Python 3.7 ___ Python tracker

[issue44702] Fix weakref doc

2021-08-09 Thread meowmeowcat
meowmeowcat added the comment: Thanks! I agree with what you said here. I'll open a PR for this with your fix suggestion. -- nosy: +meowmeowmeowcat ___ Python tracker ___

[issue44702] Fix weakref doc

2021-08-09 Thread miss-islington
miss-islington added the comment: New changeset 03e5647ab07c7d2a05094fc3b5ed6eba6fc01349 by meowmeowmeowcat in branch 'main': bpo-44702: Remove ambiguity in sentence (GH-27676) https://github.com/python/cpython/commit/03e5647ab07c7d2a05094fc3b5ed6eba6fc01349 -- nosy:

[issue44870] email.message_from_bytes not working on BytesIO() object

2021-08-09 Thread Eric V. Smith
Eric V. Smith added the comment: Use filecontent.getvalue(): https://docs.python.org/3/library/io.html#io.BytesIO.getvalue -- nosy: +eric.smith resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue44854] Add .editorconfig to the root directory

2021-08-09 Thread Łukasz Langa
Łukasz Langa added the comment: > I did not see anything in the EditorConfig guide about what happens when > .editorconfig does not start with root = true and another file is found. Good question. The docs do mention this but the information is scattered across the website. The key points

[issue44840] Nested if/else gets phantom else trace again (3.10)

2021-08-09 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 762ef85f441cdec002cb4e812b9e77ae5033e571 by Mark Shannon in branch '3.10': bpo-44840: Compiler: Move duplication of exit blocks with no line numbers to after CFG optimization. (GH-27656) (#27673)

[issue44870] email.message_from_bytes not working on BytesIO() object

2021-08-09 Thread Christian Degenkolb
New submission from Christian Degenkolb : Hi, the following minimal working example of the problem from io import BytesIO from os import read import email fp = BytesIO() with open('mail.eml', 'rb') as f: filecontent = f.read() print("type(filecontent)= ", type(filecontent))

[issue33930] Segfault with deep recursion into object().__dir__

2021-08-09 Thread STINNER Victor
STINNER Victor added the comment: Correctness matters more than performance for 1 nanosecond. IMO a fix like attached bpo-33930.patch looks like the good approach to fix the crash. -- ___ Python tracker

[issue44522] [doc] open() function errors='surrogateescape' has inaccurate information

2021-08-09 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, meowmeowcat! ✨  ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.6, Python 3.7, Python 3.8 ___ Python tracker

[issue32695] tarfile.open() raises TypeError when using compresslevel parameter with LZMA

2021-08-09 Thread miss-islington
miss-islington added the comment: New changeset d5c8ad24716d146ffa025e09dad85e5a1bac5c77 by Miss Islington (bot) in branch '3.10': bpo-32695: Docs and tests for compresslevel and preset kwargs in tarfile (GH-21470)

[issue42035] [C API] PyType_GetSlot cannot get tp_name

2021-08-09 Thread STINNER Victor
STINNER Victor added the comment: PyType_GetName() is a nice addition, thanks. -- ___ Python tracker ___ ___ Python-bugs-list

[issue44849] test_os: test_get_set_inheritable_o_path() failed on AMD64 FreeBSD Shared 3.x

2021-08-09 Thread STINNER Victor
STINNER Victor added the comment: AMD64 FreeBSD Shared 3.x is back to green: test_os.test_get_set_inheritable_o_path() now pass on FreeBSD CURRENT ;-) My fix works as expected. I simply used the same fix than for Linux. -- ___ Python tracker

[issue44851] Update bundled pip to 21.2.3 and setuptools to 57.4.0

2021-08-09 Thread Tzu-ping Chung
Change by Tzu-ping Chung : -- pull_requests: +26168 pull_request: https://github.com/python/cpython/pull/27658 ___ Python tracker ___

[issue44840] Nested if/else gets phantom else trace again (3.10)

2021-08-09 Thread Ned Batchelder
Ned Batchelder added the comment: This fix looks good, thanks. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue32695] tarfile.open() raises TypeError when using compresslevel parameter with LZMA

2021-08-09 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset ede221e51796f3f5471278aabd9105870f79dfb5 by Miss Islington (bot) in branch '3.9': bpo-32695: Docs and tests for compresslevel and preset kwargs in tarfile (GH-21470) (GH-27674)

[issue44207] Add a version number to Python functions

2021-08-09 Thread Mark Shannon
Change by Mark Shannon : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue44338] Port LOAD_GLOBAL to adaptive interpreter

2021-08-09 Thread Mark Shannon
Change by Mark Shannon : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> performance ___ Python tracker ___

[issue44872] FrameObject uses the old trashcan macros

2021-08-09 Thread Irit Katriel
Irit Katriel added the comment: New changeset 7d14fdb03c3e8384c01da1b21647ce837ed6a29c by Irit Katriel in branch 'main': bpo-44872: use new trashcan macros in framobject.c (#27683) https://github.com/python/cpython/commit/7d14fdb03c3e8384c01da1b21647ce837ed6a29c --

[issue44854] Add .editorconfig to the root directory

2021-08-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 058fb35b57ca8c5063d16ec818e668b3babfea65 by Serhiy Storchaka in branch 'main': bpo-44854: Remove trailing whitespaces (GH-27689) https://github.com/python/cpython/commit/058fb35b57ca8c5063d16ec818e668b3babfea65 --

[issue44874] Deprecate Py_TRASHCAN_SAFE_BEGIN/END

2021-08-09 Thread Irit Katriel
New submission from Irit Katriel : The old trashcan macros - Py_TRASHCAN_SAFE_BEGIN/END are unsafe (see Issue40608). They were removed from the limited C API in 3.9: https://github.com/python/cpython/blob/main/Doc/whatsnew/3.9.rst#removed-1 They should be removed altogether, in favour of

[issue44872] FrameObject uses the old trashcan macros

2021-08-09 Thread Irit Katriel
New submission from Irit Katriel : Py_TRASHCAN_SAFE_BEGIN/END are the old macros, and they are currently broken (see Issue40608). We should use Py_TRASHCAN_BEGIN/END instead. -- components: Interpreter Core messages: 399274 nosy: iritkatriel priority: normal severity: normal status:

[issue41402] email: ContentManager.set_content calls nonexistent method encode() on bytes

2021-08-09 Thread Łukasz Langa
Change by Łukasz Langa : -- versions: +Python 3.11 -Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44854] Add .editorconfig to the root directory

2021-08-09 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +serhiy.storchaka nosy_count: 2.0 -> 3.0 pull_requests: +26175 pull_request: https://github.com/python/cpython/pull/27689 ___ Python tracker

[issue44872] FrameObject uses the old trashcan macros

2021-08-09 Thread Irit Katriel
Change by Irit Katriel : -- nosy: +lukasz.langa ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44874] Deprecate Py_TRASHCAN_SAFE_BEGIN/END

2021-08-09 Thread Irit Katriel
Change by Irit Katriel : -- nosy: +lukasz.langa, pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44874] Deprecate Py_TRASHCAN_SAFE_BEGIN/END

2021-08-09 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +patch pull_requests: +26179 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27693 ___ Python tracker ___

[issue44871] Threading memory leak

2021-08-09 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Memory leak/high usage on copy in different thread ___ Python tracker

[issue38840] incorrect __all__ list in multiprocessing.managers module

2021-08-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +26171 pull_request: https://github.com/python/cpython/pull/27685 ___ Python tracker ___

[issue38840] incorrect __all__ list in multiprocessing.managers module

2021-08-09 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset d0978761118856e8ca8ea7b162a6585b8da83df9 by Zackery Spytz in branch 'main': bpo-38840: Incorrect __all__ in multiprocessing.managers (GH-18034) https://github.com/python/cpython/commit/d0978761118856e8ca8ea7b162a6585b8da83df9 -- nosy:

[issue44508] asyncio: document failure mode for loop.call_soon_threadsafe

2021-08-09 Thread meowmeowcat
Change by meowmeowcat : -- keywords: +patch nosy: +meowmeowmeowcat nosy_count: 4.0 -> 5.0 pull_requests: +26174 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27688 ___ Python tracker

[issue44872] FrameObject uses the old trashcan macros

2021-08-09 Thread Irit Katriel
Change by Irit Katriel : -- pull_requests: +26177 pull_request: https://github.com/python/cpython/pull/27691 ___ Python tracker ___

[issue7615] unicode_escape codec does not escape quotes

2021-08-09 Thread Irit Katriel
Irit Katriel added the comment: Looks like this has been fixed by now: >>> print(u'a\'b"c\'\'\'d"""e'.encode('unicode_escape')) b'a\'b"c\'\'\'d"""e' Let me know if there is a reason not to close this issue. -- nosy: +iritkatriel resolution: -> out of date status: open -> pending

[issue44873] base64 RFC4648 test cases

2021-08-09 Thread Andrei Kulakov
New submission from Andrei Kulakov : RFC 4648 [1] has added a list of encoding test cases -- see section 10 of the RFC. It might be nice to add a test function that is a direct copy of these test cases. This will make conformance to this RFC clearer (actually right now we don't state

[issue38840] incorrect __all__ list in multiprocessing.managers module

2021-08-09 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 40b353bc079b990cf0d6259a5720fb9729c1b81e by Miss Islington (bot) in branch '3.9': bpo-38840: Incorrect __all__ in multiprocessing.managers (GH-18034) (GH-27684) https://github.com/python/cpython/commit/40b353bc079b990cf0d6259a5720fb9729c1b81e

[issue44872] FrameObject uses the old trashcan macros

2021-08-09 Thread Irit Katriel
Change by Irit Katriel : -- pull_requests: +26178 pull_request: https://github.com/python/cpython/pull/27692 ___ Python tracker ___

[issue22330] PyOS_mystricmp is broken

2021-08-09 Thread Irit Katriel
Irit Katriel added the comment: This was fixed under Issue 41524. -- nosy: +iritkatriel resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> PyOS_mystricmp advances pointers too far ___ Python tracker

[issue38840] incorrect __all__ list in multiprocessing.managers module

2021-08-09 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +26170 pull_request: https://github.com/python/cpython/pull/27684 ___ Python tracker

[issue41402] email: ContentManager.set_content calls nonexistent method encode() on bytes

2021-08-09 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset b33186bc43bb5aaf652dd9d093a08fdde796d499 by Johannes Reiff in branch 'main': bpo-41402: Fix email ContentManager calling .encode() on bytes (GH-21631) https://github.com/python/cpython/commit/b33186bc43bb5aaf652dd9d093a08fdde796d499 --

[issue41402] email: ContentManager.set_content calls nonexistent method encode() on bytes

2021-08-09 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +26172 pull_request: https://github.com/python/cpython/pull/27686 ___ Python tracker

[issue41402] email: ContentManager.set_content calls nonexistent method encode() on bytes

2021-08-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +26173 pull_request: https://github.com/python/cpython/pull/27687 ___ Python tracker ___

[issue44508] asyncio: document failure mode for loop.call_soon_threadsafe

2021-08-09 Thread meowmeowcat
meowmeowcat added the comment: Thanks! I've opened a PR for this issue. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue38840] incorrect __all__ list in multiprocessing.managers module

2021-08-09 Thread miss-islington
miss-islington added the comment: New changeset 8ece98a7e418c3c68a4c61bc47a2d0931b59a889 by Miss Islington (bot) in branch '3.10': bpo-38840: Incorrect __all__ in multiprocessing.managers (GH-18034) https://github.com/python/cpython/commit/8ece98a7e418c3c68a4c61bc47a2d0931b59a889

[issue38840] incorrect __all__ list in multiprocessing.managers module

2021-08-09 Thread Łukasz Langa
Change by Łukasz Langa : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue44872] FrameObject uses the old trashcan macros

2021-08-09 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44872] FrameObject uses the old trashcan macros

2021-08-09 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +patch pull_requests: +26169 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27683 ___ Python tracker ___

[issue44022] urllib http client possible infinite loop on a 100 Continue response

2021-08-09 Thread Matej Cepl
Matej Cepl added the comment: Is there a CVE for this? -- nosy: +mcepl ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue25782] CPython hangs on error __context__ set to the error itself

2021-08-09 Thread Nikita Sobolev
Nikita Sobolev added the comment: There's also a similar case with python3.9: ```python >>> class MyError(Exception): ... ... ... >>> e = MyError('e') >>> e.__context__ = e >>> >>> try: ... raise e ... except MyError: ... print('done') ... done # hangs after this ^C^Z ``` The same

[issue44872] FrameObject uses the old trashcan macros

2021-08-09 Thread Irit Katriel
Change by Irit Katriel : -- pull_requests: +26176 pull_request: https://github.com/python/cpython/pull/27690 ___ Python tracker ___

[issue44875] Update dis.findlinestarts documentaiton to reflect new usage of `co_lines` (PEP 626)

2021-08-09 Thread George King
New submission from George King : `dis.findlinestarts()` has been changed to use the no `co_lines()` function. (Blame indicates commit 877df851c3e by Mark Shannon.) However the docs currently state that it uses the older `co_firstlineno` and `co_lnotab`:

[issue44875] Update dis.findlinestarts documentaiton to reflect new usage of `co_lines` (PEP 626)

2021-08-09 Thread George King
George King added the comment: I should also mention that my reading was not exhaustive, so there may be other docs that need updating as well. -- ___ Python tracker ___

[issue14853] test_file.py depends on sys.stdin being unseekable

2021-08-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +26184 pull_request: https://github.com/python/cpython/pull/27698 ___ Python tracker ___

[issue14853] test_file.py depends on sys.stdin being unseekable

2021-08-09 Thread Irit Katriel
Irit Katriel added the comment: New changeset 8ed183391241f0c73e7ba7f42b1d49fc02985f7b by Irit Katriel in branch 'main': bpo-14853: add back the stdin test, skip if stdin is redirected (GH-27694) https://github.com/python/cpython/commit/8ed183391241f0c73e7ba7f42b1d49fc02985f7b --

[issue14853] test_file.py depends on sys.stdin being unseekable

2021-08-09 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 8.0 -> 9.0 pull_requests: +26183 pull_request: https://github.com/python/cpython/pull/27697 ___ Python tracker

[issue39498] Signpost security considerations in library

2021-08-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +26185 pull_request: https://github.com/python/cpython/pull/27699 ___ Python tracker ___

[issue41402] email: ContentManager.set_content calls nonexistent method encode() on bytes

2021-08-09 Thread miss-islington
miss-islington added the comment: New changeset a3185da26f8c818907c297d92c533deaa96f40fd by Miss Islington (bot) in branch '3.10': bpo-41402: Fix email ContentManager calling .encode() on bytes (GH-21631) https://github.com/python/cpython/commit/a3185da26f8c818907c297d92c533deaa96f40fd

[issue7615] unicode_escape codec does not escape quotes

2021-08-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Nothing was changed. Backslashes in your output are backslashes in the bytes object repr. >>> print('a\'b"c\'\'\'d"""e'.encode('unicode_escape').decode()) a'b"c'''d"""e -- nosy: +serhiy.storchaka status: pending -> open

[issue7615] unicode_escape codec does not escape quotes

2021-08-09 Thread Irit Katriel
Change by Irit Katriel : -- resolution: out of date -> versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.6, Python 2.7 ___ Python tracker ___

[issue44859] Improve some sqlite3 errors

2021-08-09 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Also, for SQLite 3.7.17 and above, we should raise sqlite3.Warning for error codes SQLITE_NOTICE and SQLITE_WARNING. -- ___ Python tracker

[issue33426] [doc] Behavior of os.path.join does not match documentation

2021-08-09 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +easy title: Behavior of os.path.join does not match documentation -> [doc] Behavior of os.path.join does not match documentation versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.4, Python 3.5, Python 3.6

[issue14853] test_file.py depends on sys.stdin being unseekable

2021-08-09 Thread Irit Katriel
Change by Irit Katriel : -- nosy: +iritkatriel nosy_count: 7.0 -> 8.0 pull_requests: +26180 pull_request: https://github.com/python/cpython/pull/27694 ___ Python tracker ___

[issue41402] email: ContentManager.set_content calls nonexistent method encode() on bytes

2021-08-09 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 395f4c7fbfb89b8724a4abf84410b5e1e374932d by Miss Islington (bot) in branch '3.9': bpo-41402: Fix email ContentManager calling .encode() on bytes (GH-21631) (GH-27687)

[issue39498] Signpost security considerations in library

2021-08-09 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset c5c5326d4799fe4ae566aff32ed3461af95859cc by Anthony Shaw in branch 'main': bpo-39498 Start linking the security warnings in the stdlib modules (GH-18272) https://github.com/python/cpython/commit/c5c5326d4799fe4ae566aff32ed3461af95859cc

[issue14853] test_file.py depends on sys.stdin being unseekable

2021-08-09 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 ___

[issue44876] .replace functions in datetime do not call __new__

2021-08-09 Thread Joel Gibson
New submission from Joel Gibson : I've come here while investigating a segfault when datetime.replace(...) was called with a Pandas Timestamp object: https://github.com/pandas-dev/pandas/issues/42305 The Python implementation of datetime.replace

[issue36700] base64 has old references that should be updated

2021-08-09 Thread Andrei Kulakov
Change by Andrei Kulakov : -- keywords: +patch nosy: +andrei.avk nosy_count: 4.0 -> 5.0 pull_requests: +26186 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27700 ___ Python tracker

[issue32884] Adding the ability for getpass to print asterisks when password is typed

2021-08-09 Thread Andrei Kulakov
Andrei Kulakov added the comment: Unfortunately modern laptop keyboards have almost no key travel and barely any tactile feedback [*]. Users on such keyboards really do need feedback for each key pressed. Not providing an option for such feedback is in effect forcing users to choose

[issue29077] build failure when enabling dtrace on FreeBSD

2021-08-09 Thread Mateusz Piotrowski
Change by Mateusz Piotrowski <0...@freebsd.org>: -- nosy: +0mp versions: +Python 3.10, Python 3.8, Python 3.9 ___ Python tracker ___

[issue44859] Improve some sqlite3 errors

2021-08-09 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +26181 pull_request: https://github.com/python/cpython/pull/27695 ___ Python tracker ___

[issue39498] Signpost security considerations in library

2021-08-09 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 7.0 -> 8.0 pull_requests: +26182 pull_request: https://github.com/python/cpython/pull/27696 ___ Python tracker

[issue44877] Python > 3.7 build fails with IBM XL compiler

2021-08-09 Thread Quellyn Snead
New submission from Quellyn Snead : Python 3.8 and above fails to build with the IBM XL compiler on Power9 platforms. ## System and Environment Information ``` $ arch ppc64le ``` ``` $ echo $CC xlc -F/projects/opt/ppc64le/ibm/xlc-16.1.1.7/xlC/16.1.1/etc/xlc.cfg.rhel.7.8.gcc.8.3.0.cuda.10.1