[issue46059] Typo in match Statement example

2021-12-13 Thread Alex Waygood
Change by Alex Waygood : -- keywords: +patch nosy: +AlexWaygood nosy_count: 2.0 -> 3.0 pull_requests: +28300 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30079 ___ Python tracker _

[issue45840] Improve cross-references in the data model documentation

2021-12-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 7da90251ae80f5faac938b659675ff159d565537 by Alex Waygood in branch '3.10': bpo-45840: Improve cross-references in the data model documentation (GH-29633) (GH-30077) https://github.com/python/cpython/commit/7da90251ae80f5faac938b659675ff159d56

[issue27718] help('signal') incomplete (e.g: signal.signal not visible)

2021-12-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset e08c0d8eec528f1d7a282ee19bcadb9aae9ec123 by Serhiy Storchaka in branch 'main': bpo-27718: Fix help for the signal module (GH-30063) https://github.com/python/cpython/commit/e08c0d8eec528f1d7a282ee19bcadb9aae9ec123 -- ___

[issue46061] Journal execution gives fatal error in Python 3.10.1

2021-12-13 Thread Ajaya Sutar
New submission from Ajaya Sutar : +++ General Fault Exception +++ Invalid read from rsp: 74b27f8a10, rip: 7ffe704e2f93, rbp: 74b27f8ce9 rsi:0, rdi:0 rax:0, rbx: 7f, rcx: 194b6e9, r

[issue27718] help('signal') incomplete (e.g: signal.signal not visible)

2021-12-13 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +28301 pull_request: https://github.com/python/cpython/pull/30080 ___ Python tracker ___

[issue46061] Journal execution gives fatal error in Python 3.10.1

2021-12-13 Thread Eric V. Smith
Eric V. Smith added the comment: Please show the code that causes this problem. There’s not enough information here to reproduce this failure. -- nosy: +eric.smith ___ Python tracker

[issue45840] Improve cross-references in the data model documentation

2021-12-13 Thread Alex Waygood
Change by Alex Waygood : -- pull_requests: +28302 pull_request: https://github.com/python/cpython/pull/30081 ___ Python tracker ___

[issue1525919] email package content-transfer-encoding behaviour changed

2021-12-13 Thread Thomas Arendsen Hein
Thomas Arendsen Hein added the comment: Default python3 on Debian buster: $ python3 Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import email.mime.text >>> mt = email.mime.text.MIMEText('Ta mère', '

[issue45919] Use WinAPI GetFileType() in is_valid_fd()

2021-12-13 Thread Dong-hee Na
Change by Dong-hee Na : -- keywords: +patch nosy: +corona10 nosy_count: 5.0 -> 6.0 pull_requests: +28303 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/30082 ___ Python tracker

[issue1525919] email package content-transfer-encoding behaviour changed

2021-12-13 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.2, Python 3.3, Python 3.4 ___ Python tracker ___ __

[issue37602] nonzero fixer problem

2021-12-13 Thread Irit Katriel
Irit Katriel added the comment: New changeset 481f3ffdbe40bd19677a1ba0ac2e7cece8949b47 by Irit Katriel in branch 'main': bpo-37602: Clarify that the lib2to3 nonzero fixer changes only definitions (GH-30075) https://github.com/python/cpython/commit/481f3ffdbe40bd19677a1ba0ac2e7cece8949b47 -

[issue37602] nonzero fixer problem

2021-12-13 Thread miss-islington
Change by miss-islington : -- keywords: +patch nosy: +miss-islington nosy_count: 6.0 -> 7.0 pull_requests: +28304 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30083 ___ Python tracker

[issue46056] Cannot use virtual environment on Windows 10 in corporate security settings

2021-12-13 Thread wolfgang kuehn
wolfgang kuehn added the comment: symlinks do not work for me, this may be another bug (should I create a new issue?): python -m venv --without-pip --symlinks venv Unable to symlink 'C:\\Users\\\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra

[issue27718] help('signal') incomplete (e.g: signal.signal not visible)

2021-12-13 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 7.0 -> 8.0 pull_requests: +28305 pull_request: https://github.com/python/cpython/pull/30084 ___ Python tracker _

[issue27718] help('signal') incomplete (e.g: signal.signal not visible)

2021-12-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset e55deaabd8de338138cf29aea6890996e794c997 by Serhiy Storchaka in branch '3.10': [3.10] bpo-27718: Fix help for the signal module (GH-30063) (GH-30080) https://github.com/python/cpython/commit/e55deaabd8de338138cf29aea6890996e794c997 -

[issue46062] In IDLE, 'File > Save As' seems not to allow creation of a new folder

2021-12-13 Thread Martin Whitehead
New submission from Martin Whitehead : The problem: In both the IDLE shell and the editor, 'File > Save As' seems not to allow creation of a new folder. My system: IDLE v3.8.10 (64 bit) Python 3.8.10 Tk version 8.6.10 Linus Mint 20.2 Uma (64 bit), which is based on Ubuntu 20.04 LTS (Focal

[issue27718] help('signal') incomplete (e.g: signal.signal not visible)

2021-12-13 Thread miss-islington
miss-islington added the comment: New changeset 80f98b1614cc8e58d8a5ec72c94d27f663e23035 by Miss Islington (bot) in branch '3.9': [3.10] bpo-27718: Fix help for the signal module (GH-30063) (GH-30080) https://github.com/python/cpython/commit/80f98b1614cc8e58d8a5ec72c94d27f663e23035

[issue37602] nonzero fixer problem

2021-12-13 Thread Irit Katriel
Change by Irit Katriel : -- pull_requests: +28306 pull_request: https://github.com/python/cpython/pull/30085 ___ Python tracker ___

[issue37602] nonzero fixer problem

2021-12-13 Thread Irit Katriel
Irit Katriel added the comment: New changeset 80eb8ab81fbe46497f16071b311c9d8e13ec2d3b by Miss Islington (bot) in branch '3.9': bpo-37602: Clarify that the lib2to3 nonzero fixer changes only definitions (GH-30075) (GH-30083) https://github.com/python/cpython/commit/80eb8ab81fbe46497f16071b31

[issue37602] nonzero fixer problem

2021-12-13 Thread Irit Katriel
Irit Katriel added the comment: New changeset 310bae628a9b065d29dbdbf4f7f5beb9fcc72ace by Irit Katriel in branch '3.10': [3.10] bpo-37602: Clarify that the lib2to3 nonzero fixer changes only definitions (GH-30075) (GH-30085) https://github.com/python/cpython/commit/310bae628a9b065d29dbdbf4f7

[issue37602] nonzero fixer problem

2021-12-13 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue46056] Cannot use virtual environment on Windows 10 in corporate security settings

2021-12-13 Thread Eryk Sun
Eryk Sun added the comment: > symlinks do not work for me Sorry, I forgot that you're using the store app. The store app has to use the copied venv launchers. When a store app is run from the command line, the system executes an appexec link from "%LocalAppData%\Microsoft\WindowsApps". Unf

[issue46061] Journal execution gives fatal error in Python 3.10.1

2021-12-13 Thread Ajaya Sutar
Ajaya Sutar added the comment: It is a simply python script. Even if you will run a simply python script without any content that is giving error. Just for example journal.py if we run it is also giving error. In python 3.8, we are able to create // create sub-interpreter using Py_NewInterpr

[issue27718] help('signal') incomplete (e.g: signal.signal not visible)

2021-12-13 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue46056] Cannot use virtual environment on Windows 10 in corporate security settings

2021-12-13 Thread wolfgang kuehn
wolfgang kuehn added the comment: Currently we have a glitch in our internal access rights system. This resulted in me loosing my Admin-privileges. I can only install python from the app-store, which is ok. But without venv support I am stuck for the time being. -- __

[issue46061] Journal execution gives fatal error in Python 3.10.1

2021-12-13 Thread Christian Heimes
Christian Heimes added the comment: We cannot help you unless you show us your code and provide a reproducer. -- nosy: +christian.heimes ___ Python tracker ___ ___

[issue46061] Journal execution gives fatal error in Python 3.10.1

2021-12-13 Thread Eric V. Smith
Change by Eric V. Smith : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue10850] inconsistent behavior concerning multiprocessing.manager.BaseManager._Server

2021-12-13 Thread Bar Harel
Change by Bar Harel : -- keywords: +patch pull_requests: +28307 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/30086 ___ Python tracker ___

[issue46063] TimedRotatingFileHandler deletes wrong files

2021-12-13 Thread Sami Salonen
New submission from Sami Salonen : https://bugs.python.org/issue45628 breaks file rotation. I name my log files after module name, run the modules in separate processes, use the same log config in them, and store the log files in one common directory. For example, for modules `a.b` and `a.b.c

[issue46063] TimedRotatingFileHandler deletes wrong files

2021-12-13 Thread Sami Salonen
Sami Salonen added the comment: Breaking PR: https://github.com/python/cpython/pull/29310 -- ___ Python tracker ___ ___ Python-bugs

[issue16594] SocketServer should set SO_REUSEPORT along with SO_REUSEADDR when present

2021-12-13 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset b56774bd93822e1598bb5d6c1d0b1fe8c45a750d by AN Long in branch 'main': bpo-16594: Add allow_reuse_port on socketserver (GH-30072) https://github.com/python/cpython/commit/b56774bd93822e1598bb5d6c1d0b1fe8c45a750d -- nosy: +asvetlov

[issue45840] Improve cross-references in the data model documentation

2021-12-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 2029c58097e49b5aedc152ab65958a9db35ebd1e by Alex Waygood in branch '3.9': [3.9] bpo-45840: Improve cross-references in the data model documentation (GH-29633) (GH-30081) https://github.com/python/cpython/commit/2029c58097e49b5aedc152ab65958a

[issue45840] Improve cross-references in the data model documentation

2021-12-13 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue46060] Clarify asyncio.new_event_loop return value

2021-12-13 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +28308 pull_request: https://github.com/python/cpython/pull/30088 ___ Python tracker _

[issue32849] Fatal Python error: Py_Initialize: can't initialize sys standard streams

2021-12-13 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 nosy_count: 5.0 -> 6.0 pull_requests: +28310 pull_request: https://github.com/python/cpython/pull/30082 ___ Python tracker ___ __

[issue30225] EBADF error on x86 Tiger 3.x buildbot

2021-12-13 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 nosy_count: 4.0 -> 5.0 pull_requests: +28309 pull_request: https://github.com/python/cpython/pull/30082 ___ Python tracker ___ __

[issue45919] Use WinAPI GetFileType() in is_valid_fd()

2021-12-13 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset 191c431de7d9b23484dd16f67e62c6e85a1fac7f by Dong-hee Na in branch 'main': bpo-45919: Use WinAPI GetFileType() in is_valid_fd() (GH-30082) https://github.com/python/cpython/commit/191c431de7d9b23484dd16f67e62c6e85a1fac7f -- __

[issue45919] Use WinAPI GetFileType() in is_valid_fd()

2021-12-13 Thread Dong-hee Na
Change by Dong-hee Na : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailin

[issue45840] Improve cross-references in the data model documentation

2021-12-13 Thread Alex Waygood
Alex Waygood added the comment: Thanks, Serhiy! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue46064] Permalinks to underscored documentation entries don't work.

2021-12-13 Thread Fabian Dill
New submission from Fabian Dill : As an example, go to https://docs.python.org/3/library/constants.html and request a permalink to __debug__. The link you get will not jump to it. The link I get is https://docs.python.org/3/library/constants.html#debug__ -- assignee: docs@python compon

[issue46064] Permalinks to underscored documentation entries don't work.

2021-12-13 Thread Alex Waygood
Alex Waygood added the comment: I can't reproduce this -- the permalink to __debug__ that I get is the same as the one you have posted here, and works fine for me on my laptop, phone and iPad. -- nosy: +AlexWaygood ___ Python tracker

[issue45915] Use fcntl(fd, F_GETFD) to check whether an fd is valid

2021-12-13 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 nosy_count: 3.0 -> 4.0 pull_requests: +28311 pull_request: https://github.com/python/cpython/pull/30082 ___ Python tracker ___ __

[issue46060] Clarify asyncio.new_event_loop return value

2021-12-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +28312 pull_request: https://github.com/python/cpython/pull/30089 ___ Python tracker ___ __

[issue46065] re.findall takes forever and never ends

2021-12-13 Thread Ramzi Trabelsi
New submission from Ramzi Trabelsi : parsing emails from this text took forever and never ends. Here the code and the file res.html is attached. The Behavior is same on Windows 10, 11 and Ubuntu 18.04 CODE: import re pattern_email = r"[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]{2,3}"

[issue46065] re.findall takes forever and never ends

2021-12-13 Thread Ramzi Trabelsi
Change by Ramzi Trabelsi : -- components: -macOS ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue46065] re.findall takes forever and never ends

2021-12-13 Thread Ned Deily
Change by Ned Deily : -- components: +Regular Expressions nosy: +ezio.melotti, mrabarnett, serhiy.storchaka -ned.deily, ronaldoussoren type: crash -> behavior ___ Python tracker __

[issue16594] SocketServer should set SO_REUSEPORT along with SO_REUSEADDR when present

2021-12-13 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.11 -Python 2.7 ___ Python tracker ___ ___

[issue14484] missing return in win32_kill?

2021-12-13 Thread STINNER Victor
STINNER Victor added the comment: IMO trying to mimic POSIX behavior on Windows in the single function os.kill() was a bad design idea. Windows should have its own specific function. -- ___ Python tracker _

[issue45919] Use WinAPI GetFileType() in is_valid_fd()

2021-12-13 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +28313 pull_request: https://github.com/python/cpython/pull/30090 ___ Python tracker ___ _

[issue46059] Typo in match Statement example

2021-12-13 Thread Alex Waygood
Change by Alex Waygood : -- type: -> behavior versions: +Python 3.11 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue46065] re.findall takes forever and never ends

2021-12-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It ends, but it tooks several minutes to complete. It is a limitation of the regular expression implementation in Python. Your input contains a sequence of 588431 characters which match the pattern [a-zA-Z0-9_.+-] not following by '@'. The engine finds the

[issue46065] re.findall takes forever and never ends

2021-12-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The simplest example is: re.search('a@', 'a'*10) -- ___ Python tracker ___ ___ Python-bugs

[issue46065] re.findall takes forever and never ends

2021-12-13 Thread Ramzi Trabelsi
Ramzi Trabelsi added the comment: thanks for the answer. Is there any workaround for this ? -- ___ Python tracker ___ ___ Python-bu

[issue46066] Docs: TypedDict alternative definition syntax with keyword args is confusing

2021-12-13 Thread 97littleleaf11
New submission from 97littleleaf11 <97littlelea...@gmail.com>: According to the docs: https://docs.python.org/3/library/typing.html?#typing.TypedDict, there are two additional equivalent syntax for TypedDict definition. Point2D = TypedDict('Point2D', x=int, y=int, label=str) Point2D = TypedDi

[issue46066] [doc] TypedDict alternative definition syntax with keyword args is confusing

2021-12-13 Thread 97littleleaf11
Change by 97littleleaf11 <97littlelea...@gmail.com>: -- title: Docs: TypedDict alternative definition syntax with keyword args is confusing -> [doc] TypedDict alternative definition syntax with keyword args is confusing ___ Python tracker

[issue46063] TimedRotatingFileHandler deletes wrong files

2021-12-13 Thread Irit Katriel
Change by Irit Katriel : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue46065] re.findall takes forever and never ends

2021-12-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Limit the number of repetitions. For example use "{1,100}" (or what is the expected maximal length of email) instead of "+". -- ___ Python tracker ___

[issue45615] Missing test for type of error when printing traceback for non-exception

2021-12-13 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +patch pull_requests: +28314 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30091 ___ Python tracker ___ ___

[issue20392] Inconsistency with uppercase file extensions in MimeTypes.guess_type

2021-12-13 Thread Irit Katriel
Irit Katriel added the comment: Reproduced on 3.11. -- keywords: +easy -patch nosy: +iritkatriel versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.5 ___ Python tracker ___

[issue12411] cgi.parse_multipart is broken on 3.x

2021-12-13 Thread Irit Katriel
Irit Katriel added the comment: Senthil, was this last part done in issue29979? -- nosy: +iritkatriel status: open -> pending ___ Python tracker ___ __

[issue21390] readline: setlocale() returns NULL on Android

2021-12-13 Thread Irit Katriel
Irit Katriel added the comment: Neither of the patches were applied. Is this still needed? -- nosy: +iritkatriel ___ Python tracker ___ ___

[issue30716] Failing tests with installed 3.6.2rc1 on Win 10-64

2021-12-13 Thread Irit Katriel
Irit Katriel added the comment: Shall we close this? I don't think 3.6 test failures will still be looked into. -- nosy: +iritkatriel status: open -> pending ___ Python tracker __

[issue46052] IDLE: make Ctrl, Alt + IME non-ascii letter work on Windows

2021-12-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you Eryk. The X/Ubuntu behavior is what I want to simulate. I can only wonder why tk has not fixed that for non-X systems. Are Alt+letter combinations also fixed on Ubuntu, so that, for instance, Alt+M-key is seen as Alt-M even with Russian layout?

[issue30716] Failing tests with installed 3.6.2rc1 on Win 10-64

2021-12-13 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> out of date stage: -> resolved status: pending -> closed ___ Python tracker ___ ___ P

[issue33099] test_poplib hangs with the changes done in PR

2021-12-13 Thread Irit Katriel
Irit Katriel added the comment: #32706 is now fixed, does that resolve this issue as well? -- nosy: +iritkatriel ___ Python tracker ___ ___

[issue40927] ./python -m test test___all__ test_binhex fails

2021-12-13 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue46067] SSLContext.set_npn_protocols broken in Python 3.10, tries to call non-existing _set_npn_protocols

2021-12-13 Thread Jonas Witschel
New submission from Jonas Witschel : Consider the following minimal example: import ssl context = ssl.create_default_context() context.set_npn_protocols(['http/1.1', 'spdy/2']) In Python 3.10, it fails with the following error: AttributeError: 'SSLContext' object has no attribute '_set_npn_pr

[issue45643] SIGSTKFLT is missing from the signals module on Linux

2021-12-13 Thread STINNER Victor
STINNER Victor added the comment: New changeset a62be77266b1beadd42d4952186332bc0847b7d6 by Gareth Rees in branch 'main': bpo-45643: Add signal.SIGSTKFLT on platforms where this is defined (GH-29266) https://github.com/python/cpython/commit/a62be77266b1beadd42d4952186332bc0847b7d6 -

[issue45643] Add signal.SIGSTKFLT constant (Linux)

2021-12-13 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed title: SIGSTKFLT is missing from the signals module on Linux -> Add signal.SIGSTKFLT constant (Linux) ___ Python tracker

[issue45643] Add signal.SIGSTKFLT constant (Linux)

2021-12-13 Thread STINNER Victor
STINNER Victor added the comment: I merged your PR, thanks! I'm curious how people use this signal :-) -- ___ Python tracker ___ _

[issue40927] ./python -m test test___all__ test_binhex fails

2021-12-13 Thread STINNER Victor
STINNER Victor added the comment: Oh thanks Irit! It's too easy to forget closing an issue! -- ___ Python tracker ___ ___ Python-bu

[issue30716] Failing tests with installed 3.6.2rc1 on Win 10-64

2021-12-13 Thread STINNER Victor
STINNER Victor added the comment: It seems like this issue has been fixed in bpo-27425. -- resolution: out of date -> duplicate superseder: -> Tests fail because of git's newline preferences on Windows ___ Python tracker

[issue21390] readline: setlocale() returns NULL on Android

2021-12-13 Thread STINNER Victor
STINNER Victor added the comment: Since 2014, Android got getter support for Unix locales. Since nobody was able to say if the issue still exists on Android since 2014, nor if my patch fix the issue, I perfer to close the issue as out of date. -- resolution: -> out of date stage: -

[issue12411] cgi.parse_multipart is broken on 3.x

2021-12-13 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner status: pending -> open ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue12411] cgi.parse_multipart is broken on 3.x

2021-12-13 Thread Irit Katriel
Change by Irit Katriel : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue46066] [doc] TypedDict alternative definition syntax with keyword args is confusing

2021-12-13 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +gvanrossum, kj ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue23747] [doc] platform module exposes win32_ver function on posix systems

2021-12-13 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +easy title: platform module exposes win32_ver function on posix systems -> [doc] platform module exposes win32_ver function on posix systems versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.4, Python 3.5

[issue39757] EmailMessage bad encoding for international domain

2021-12-13 Thread Irit Katriel
Irit Katriel added the comment: Reproduced on 3.11. -- nosy: +iritkatriel versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.5 ___ Python tracker ___ __

[issue46057] argparse: embedded groups may prevent options from being in help output

2021-12-13 Thread László Attila Tóth
László Attila Tóth added the comment: my idea regarding _ArgumentGroup,add_argument_group is in the attached file. This doesn't solve the complete help output issue, but addresses the incorrectly called _ArgumentGroup.add_argument_group - a warn() call and return self. As a result the help ou

[issue45653] Freeze the encodings module.

2021-12-13 Thread Christian Heimes
Christian Heimes added the comment: Eric, I have a simple reproducer for the issue: This works: $ LC_ALL=en_US.utf-8 TESTPATH=$(pwd)/Lib:$(pwd)/build/lib.linux-x86_64-3.11 ./Programs/_testembed test_init_setpath_config This fails because it cannot load ISO-8859-1 / latin-1 codec $ LC_ALL=e

[issue46060] Clarify asyncio.new_event_loop return value

2021-12-13 Thread Paul Bryan
Change by Paul Bryan : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Py

[issue46062] tkinter.filedialog.SaveAs: create new folder on Ubuntu?

2021-12-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is not an IDLE issue, as IDLE merely calls tkinter.filedialog.SaveAS(args).show() and uses the returned path to open and write the file. This is likely not a tkinter issue either, but I will leave it open for now for others to comment. SaveAs subcla

[issue21910] [doc] File protocol should document if writelines must handle generators sensibly

2021-12-13 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +easy title: File protocol should document if writelines must handle generators sensibly -> [doc] File protocol should document if writelines must handle generators sensibly versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.4,

[issue16392] [doc] import crashes on circular imports in ext modules

2021-12-13 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +easy title: import crashes on circular imports in ext modules -> [doc] import crashes on circular imports in ext modules versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.4, Python 3.5 ___ Python tracke

[issue17505] [doc] email.header.Header.__unicode__ does not decode header

2021-12-13 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +easy title: email.header.Header.__unicode__ does not decode header -> [doc] email.header.Header.__unicode__ does not decode header versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.2, Python 3.3, Python 3.4 __

[issue24116] --with-pydebug has no effect when the final python binary is compiled

2021-12-13 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bu

[issue19888] Three argument type() super call sets __name__ but not __qualname__

2021-12-13 Thread Irit Katriel
Change by Irit Katriel : -- stage: -> resolved status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue46066] [doc] TypedDict alternative definition syntax with keyword args is confusing

2021-12-13 Thread Guido van Rossum
Guido van Rossum added the comment: This is not really just a doc issue then, is it? Maybe we should just deprecate the feature? -- ___ Python tracker ___ ___

[issue45949] Provide pure-Python implementation of Programs/_freeze_module for cross building

2021-12-13 Thread Christian Heimes
Christian Heimes added the comment: New changeset eb483c46d62707bdf705491f76cf1fa9642fb47e by Christian Heimes in branch 'main': bpo-45949: Pure Python freeze module for cross builds (GH-29899) https://github.com/python/cpython/commit/eb483c46d62707bdf705491f76cf1fa9642fb47e -- ___

[issue45949] Provide pure-Python implementation of Programs/_freeze_module for cross building

2021-12-13 Thread Christian Heimes
Christian Heimes added the comment: Thanks for your review, Eric! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue46062] tkinter.filedialog.SaveAs: create new folder on Ubuntu?

2021-12-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: On other systems it opens a simple dialog window implemented in Tk. AFAIK it does not support creating new directories. Ask Tk core developers for a new feature. -- resolution: -> third party stage: -> resolved status: open -> closed ___

[issue20949] Missing platform security integrations

2021-12-13 Thread Ammar Askar
Ammar Askar added the comment: Hi Jeffrey, your second solution where you omit `-pie` is almost there. Instead of modifying the Makefile you can pass `-pie` in `LINKFORSHARED`: export CFLAGS="-fPIC -fstack-protector-all -D_FORTIFY_SOURCE=2" export CXXFLAGS="-fPIC -fstack-protector-all -D_FOR

[issue45949] Provide pure-Python implementation of Programs/_freeze_module for cross building

2021-12-13 Thread Eric Snow
Eric Snow added the comment: You're welcome! Thanks for doing the work! -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue45953] Statically allocate interpreter states as much as possible.

2021-12-13 Thread Eric Snow
Change by Eric Snow : -- pull_requests: +28315 pull_request: https://github.com/python/cpython/pull/30092 ___ Python tracker ___ ___

[issue16392] [doc] import crashes on circular imports in ext modules

2021-12-13 Thread Stefan Behnel
Stefan Behnel added the comment: Given that PEP-489 has landed in Py3.5, which is already retired and has been for more than a year, I think we can just close this issue as outdated. -- resolution: -> out of date stage: needs patch -> resolved status: open -> closed

[issue46063] TimedRotatingFileHandler deletes wrong files

2021-12-13 Thread Vinay Sajip
Change by Vinay Sajip : -- keywords: +patch pull_requests: +28316 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30093 ___ Python tracker ___

[issue45959] Teach pprint about dict views

2021-12-13 Thread David Peled
Change by David Peled : -- nosy: +david-peled ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue46028] 3.11.0a3: under tox, sys._base_executable is wrong

2021-12-13 Thread Steve Dower
Steve Dower added the comment: > $ cat venv_a3/pyvenv.cfg > home = /home/ss/.pyenv/versions/3.11.0a3/bin > $ venv_a3/bin/python -c "import sys,os.path; print(e := > sys._base_executable); print(os.path.exists(e))" > /home/ss/.pyenv/versions/3.11.0a3/bin/python > True This is the intended beh

[issue46028] 3.11.0a3: under tox, sys._base_executable is wrong

2021-12-13 Thread Steve Dower
Steve Dower added the comment: I'm downgrading this from release blocker. If Vinay thinks there's a venv-related release blocker here he's welcome to raise the priority again, but I only see an intentional change to an internal value. Tools relying on internal fields will have to adapt for 3

[issue46056] Cannot use virtual environment on Windows 10 in corporate security settings

2021-12-13 Thread Steve Dower
Steve Dower added the comment: If you execute "python -m venv --without-pip ..." to create, then as a workaround you can set the __PYVENV_LAUNCHER__ environment variable to the full path to the venv's python.exe and run the normal python3.10.exe. As Eryk mentioned, you'll need to run everyth

  1   2   >