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

2021-05-19 Thread R. David Murray
R. David Murray added the comment: Yes, that's the real question. That's what needs to be fixed, otherwise we'll just keep finding new bugs. For example, try calling iter_parts() on that message. It isn't pretty :) -- ___ Python tracker

[issue43295] datetime.strptime emits IndexError on parsing 'z' as %z

2021-05-19 Thread Paul Ganssle
Paul Ganssle added the comment: New changeset c87b81dcb2c22b6d151da39a0f65d5db304f59a8 by Miss Islington (bot) in branch '3.9': bpo-43295: Fix error handling of datetime.strptime format string '%z' (GH-24627) (#25695) https://github.com/python/cpython/commit/c87b81dcb2c22b6d151da39a0f65d5db3

[issue42443] Provide Thread creation hook support

2021-05-19 Thread Gregory P. Smith
Gregory P. Smith added the comment: > > * IMO it should be called after profiling and tracing hook, so non-trivial > > hooks can be profiled and traced. > Makes sense, Done. I updated the PR do this. (if your "Done" indicated you had done this somewhere, it appears you never pushed your cha

[issue43813] Denial of service on http.server module with large request method.

2021-05-19 Thread Mohammed Dief
Mohammed Dief added the comment: Hey there, sorry for the delay. i just submitted the fix on a PR to python source code. -- ___ Python tracker ___ ___

[issue44146] Format string fill not handling brace char

2021-05-19 Thread Eric V. Smith
Eric V. Smith added the comment: Since this is working as designed, I'm going to close it. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker _

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

2021-05-19 Thread R. David Murray
R. David Murray added the comment: Actually, I'm wrong. The body of a part can be a string, and that's what's going to happen with a malformed body of something claiming to be a multipart. The problem is that there is code that doesn't guard against this possibility. The following patch ag

[issue44182] python-config.sh vs python-config.py inconsistency

2021-05-19 Thread Ned Deily
Change by Ned Deily : -- components: +macOS nosy: +ned.deily, ronaldoussoren ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue43882] [security] urllib.parse should sanitize urls containing ASCII newline and tabs.

2021-05-19 Thread Ned Deily
Ned Deily added the comment: > I will include an additional blurb for this change for security fix versions. Ping. This issue is still blocking 3.7 and 3.6 security releases. -- nosy: +pablogsal priority: normal -> release blocker ___ Python tracke

[issue44183] Can't install certificates if GUI tools are not installed on macOS

2021-05-19 Thread Joseph Trask Still
New submission from Joseph Trask Still : This issue occurs on my M1 MacBook Pro running macOS 11.3.1. Steps to reproduce: 1. Open the Python installation package 2. When asked where to install the package, click "Customize" at the bottom of the dialog 3. Uncheck the GUI Tools option 4. Proceed

[issue44183] Can't install certificates if GUI tools are not installed on macOS

2021-05-19 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +macOS nosy: +ned.deily, ronaldoussoren ___ Python tracker ___ ___ Python-bugs-l

[issue44184] crash on windows invoking flake8 under tox

2021-05-19 Thread Anthony Sottile
New submission from Anthony Sottile : I installed python using the installers from python.org -- I originally reproduced this using github actions using pyflakes's testsuite >ver Microsoft Windows [Version 10.0.19041.985] >venv\Scripts\python --version Python 3.10.0b1 C:\Users\asott\AppData

[issue44184] crash on windows invoking flake8 under tox

2021-05-19 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___ __

[issue44184] crash on windows invoking flake8 under tox

2021-05-19 Thread Anthony Sottile
Anthony Sottile added the comment: I can reproduce it outside of tox using: venv\Scripts\pip install flake8==3.6.0 venv\Scripts\pip install -e . --no-deps # ignore the conflict, but fix pyflakes C:\Users\asott\AppData\Local\Temp\y\pyflakes>venv\Scripts\flake8.exe setup.py C:\Users\asott\App

[issue44183] Can't install certificates if GUI tools are not installed on macOS

2021-05-19 Thread Ned Deily
Change by Ned Deily : -- assignee: -> ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue44163] IDLE ValueError in HyperParser

2021-05-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: So, consider both possibilities where relevant. In the future, I will assume that you are running standard, up-to-date, Mac build unless you say otherwise. I presume you start IDLE from terminal and check it before shutting down. I have wondered whether it

[issue44184] crash on windows invoking flake8

2021-05-19 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: This looks like a pyflakes error to me. And you've also mentioned you can reproduce it outside tox with pyflakes. -- nosy: +shreyanavigyan title: crash on windows invoking flake8 under tox -> crash on windows invoking flake8 type: -> crash ___

[issue44184] crash on windows invoking flake8

2021-05-19 Thread Christian Heimes
Christian Heimes added the comment: Anthony, could you please check if any of your dependencies has a native C extension? On Windows they have a .pyd extension. -- nosy: +christian.heimes ___ Python tracker ___

<    1   2