GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — gh-118643: Fix AttributeError in the email module by serhiy-storchaka · Pull Request #119099 · python/cpython

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented May 16, 2024 •
edited by bedevere-app Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Fix regression introduced in gh-100884: AttributeError when re-fold a long address list.

Also fix more cases of incorrect encoding of the address separator in the address list missed in gh-100884.

  • Issue: Error parsing email headers: AttributeError: 'ValueTerminal' object has no attribute 'fold' #118643

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@serhiy-storchaka
pythongh-118643: Fix AttributeError in the email module
ad85b83
Fix regression introduced in pythongh-100884: AttributeError when re-fold a long
address list.

Also fix more cases of incorrect encoding of the address separator in the
address list missed in pythongh-100884.
@serhiy-storchaka serhiy-storchaka added needs backport to 3.11 only security fixes needs backport to 3.12 only security fixes needs backport to 3.13 only security fixes labels May 16, 2024
@serhiy-storchaka
serhiy-storchaka requested a review from a team as a code owner May 16, 2024 14:49
@bedevere-app bedevere-app Bot added the awaiting core review label May 16, 2024
@bedevere-app bedevere-app Bot mentioned this pull request May 16, 2024
Error parsing email headers: AttributeError: 'ValueTerminal' object has no attribute 'fold' #118643
Closed
@serhiy-storchaka

serhiy-storchaka commented May 16, 2024

Copy link
Copy Markdown
Member Author

@pablogamboa, as an exception, I think that this should be backported to 3.11. It fixes a bug introduced in the last bugfix release of 3.11, and all email issues are potentially security issues.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@pablogamboa

pablogamboa commented May 16, 2024

Copy link
Copy Markdown
Contributor

Think that was for @pablogsal !

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@serhiy-storchaka

serhiy-storchaka commented May 16, 2024

Copy link
Copy Markdown
Member Author

Sorry. 🤦‍♂️ I think it is not the first time of referring the wrong Pablo. 😉

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mgmacias95

mgmacias95 commented May 16, 2024

Copy link
Copy Markdown
Contributor

Hello @serhiy-storchaka,

I just tested this with the email that originally motivated me to open #118643 and the result is not correct. I will come back tomorrow with more details on exactly what is happening.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mgmacias95

mgmacias95 commented May 17, 2024

Copy link
Copy Markdown
Contributor

Hello again,

I think I was a bit sleepy when I tested this last night 😅 because I tested this again this morning and it worked as expected. Sorry for the noise and thank you for looking into this!

Hello @serhiy-storchaka,

I just tested this with the email that originally motivated me to open #118643 and the result is not correct. I will come back tomorrow with more details on exactly what is happening.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

mgmacias95
mgmacias95 reviewed May 17, 2024
View reviewed changes
Comment thread Lib/email/_header_value_parser.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@serhiy-storchaka @mgmacias95
Update Lib/email/_header_value_parser.py
62125d7
Co-authored-by: Marta Gómez Macías <[email protected]>
@serhiy-storchaka

serhiy-storchaka commented May 17, 2024

Copy link
Copy Markdown
Member Author

Thank you @mgmacias95 for testing this with real world examples.

mgmacias95 reacted with heart emoji
All reactions
  • ❤️ 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@serhiy-storchaka
Merge branch 'main' into email-comma-after-fold
181e2d4
@serhiy-storchaka
serhiy-storchaka enabled auto-merge (squash) May 22, 2024 09:53
@serhiy-storchaka
serhiy-storchaka merged commit 858b9e8 into python:main May 22, 2024
@bedevere-app bedevere-app Bot removed the awaiting core review label May 22, 2024
@miss-islington-app

miss-islington-app Bot commented May 22, 2024

Copy link
Copy Markdown

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12, 3.13.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 22, 2024
@serhiy-storchaka @miss-islington
pythongh-118643: Fix AttributeError in the email module (pythonGH-119099
6d4b54f
)

Fix regression introduced in pythongh-100884: AttributeError when re-fold a long
address list.

Also fix more cases of incorrect encoding of the address separator in the
address list missed in pythongh-100884.
(cherry picked from commit 858b9e8)

Co-authored-by: Serhiy Storchaka <[email protected]>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 22, 2024
@serhiy-storchaka @miss-islington
pythongh-118643: Fix AttributeError in the email module (pythonGH-119099
d111cba
)

Fix regression introduced in pythongh-100884: AttributeError when re-fold a long
address list.

Also fix more cases of incorrect encoding of the address separator in the
address list missed in pythongh-100884.
(cherry picked from commit 858b9e8)

Co-authored-by: Serhiy Storchaka <[email protected]>
@bedevere-app

bedevere-app Bot commented May 22, 2024

Copy link
Copy Markdown

GH-119389 is a backport of this pull request to the 3.13 branch.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 only security fixes label May 22, 2024
@miss-islington-app

miss-islington-app Bot commented May 22, 2024

Copy link
Copy Markdown

Sorry, @serhiy-storchaka, I could not cleanly backport this to 3.11 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 858b9e85fcdd495947c9e892ce6e3734652c48f2 3.11
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@miss-islington-app miss-islington-app Bot assigned serhiy-storchaka May 22, 2024
@bedevere-app

bedevere-app Bot commented May 22, 2024

Copy link
Copy Markdown

GH-119390 is a backport of this pull request to the 3.12 branch.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the needs backport to 3.12 only security fixes label May 22, 2024
@serhiy-storchaka
serhiy-storchaka deleted the email-comma-after-fold branch May 22, 2024 11:04
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull request May 22, 2024
@serhiy-storchaka
[3.11] pythongh-118643: Fix AttributeError in the email module (pytho…
9bfb6ae
…nGH-119099)

Fix regression introduced in pythongh-100884: AttributeError when re-fold a long
address list.

Also fix more cases of incorrect encoding of the address separator in the
address list missed in pythongh-100884.
(cherry picked from commit 858b9e8)

Co-authored-by: Serhiy Storchaka <[email protected]>
@bedevere-app

bedevere-app Bot commented May 22, 2024

Copy link
Copy Markdown

GH-119393 is a backport of this pull request to the 3.11 branch.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the needs backport to 3.11 only security fixes label May 22, 2024
serhiy-storchaka added a commit that referenced this pull request May 22, 2024
@miss-islington @serhiy-storchaka
[3.13] gh-118643: Fix AttributeError in the email module (GH-119099) (G…
6892b40
…H-119389)

Fix regression introduced in gh-100884: AttributeError when re-fold a long
address list.

Also fix more cases of incorrect encoding of the address separator in the
address list missed in gh-100884.
(cherry picked from commit 858b9e8)

Co-authored-by: Serhiy Storchaka <[email protected]>
serhiy-storchaka added a commit that referenced this pull request May 22, 2024
@miss-islington @serhiy-storchaka
[3.12] gh-118643: Fix AttributeError in the email module (GH-119099) (G…
8c96850
…H-119390)

Fix regression introduced in gh-100884: AttributeError when re-fold a long
address list.

Also fix more cases of incorrect encoding of the address separator in the
address list missed in gh-100884.
(cherry picked from commit 858b9e8)

Co-authored-by: Serhiy Storchaka <[email protected]>
pablogsal pushed a commit that referenced this pull request May 23, 2024
@serhiy-storchaka
[3.11] gh-118643: Fix AttributeError in the email module (GH-119099) (#…
4762b36
…119393)

Fix regression introduced in gh-100884: AttributeError when re-fold a long
address list.

Also fix more cases of incorrect encoding of the address separator in the
address list missed in gh-100884.
(cherry picked from commit 858b9e8)
@bedevere-bot

bedevere-bot commented May 23, 2024

Copy link
Copy Markdown

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot AMD64 RHEL8 FIPS Only Blake2 Builtin Hash 3.11 has failed when building commit 4762b36.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/962/builds/1515) and take a look at the build logs.
  4. Check if the failure is related to this commit (4762b36) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/962/builds/1515

Failed tests:

  • test.test_multiprocessing_fork.test_processes
  • test.test_multiprocessing_forkserver.test_processes
  • test.test_multiprocessing_spawn.test_processes

Failed subtests:

  • test_empty_authkey - test.test_multiprocessing_forkserver.test_processes.WithProcessesTestListener.test_empty_authkey
  • test_empty_authkey - test.test_multiprocessing_fork.test_processes.WithProcessesTestListener.test_empty_authkey
  • test_empty_authkey - test.test_multiprocessing_spawn.test_processes.WithProcessesTestListener.test_empty_authkey

Summary of the results of the build (if available):

==

Click to see traceback logs
Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.11.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/_test_multiprocessing.py", line 3483, in test_empty_authkey
    with listener.accept() as d:
         ^^^^^^^^^^^^^^^^^
  File "/home/buildbot/buildarea/3.11.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/multiprocessing/connection.py", line 482, in accept
    deliver_challenge(c, self._authkey)
  File "/home/buildbot/buildarea/3.11.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/multiprocessing/connection.py", line 756, in deliver_challenge
    digest = hmac.new(authkey, message, 'md5').digest()
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot/buildarea/3.11.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/hmac.py", line 184, in new
    return HMAC(key, msg, digestmod)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot/buildarea/3.11.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/hmac.py", line 60, in __init__
    self._init_hmac(key, msg, digestmod)
  File "/home/buildbot/buildarea/3.11.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/hmac.py", line 67, in _init_hmac
    self._hmac = _hashopenssl.hmac_new(key, msg, digestmod=digestmod)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: no reason supplied


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.11.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/threading.py", line 1045, in _bootstrap_inner
    self.run()
  File "/home/buildbot/buildarea/3.11.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/threading.py", line 982, in run
    self._target(*self._args, **self._kwargs)
  File "/home/buildbot/buildarea/3.11.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/_test_multiprocessing.py", line 3474, in run
    client = self.connection.Client(addr, authkey=authkey)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot/buildarea/3.11.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/multiprocessing/connection.py", line 525, in Client
    answer_challenge(c, authkey)
  File "/home/buildbot/buildarea/3.11.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/multiprocessing/connection.py", line 772, in answer_challenge
    digest = hmac.new(authkey, message, 'md5').digest()
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot/buildarea/3.11.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/hmac.py", line 184, in new
    return HMAC(key, msg, digestmod)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot/buildarea/3.11.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/hmac.py", line 60, in __init__
    self._init_hmac(key, msg, digestmod)
  File "/home/buildbot/buildarea/3.11.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/hmac.py", line 67, in _init_hmac
    self._hmac = _hashopenssl.hmac_new(key, msg, digestmod=digestmod)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: no reason supplied
ERROR
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-bot

bedevere-bot commented May 23, 2024

Copy link
Copy Markdown

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot AMD64 Arch Linux Usan 3.11 has failed when building commit 4762b36.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/964/builds/1260) and take a look at the build logs.
  4. Check if the failure is related to this commit (4762b36) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/964/builds/1260

Summary of the results of the build (if available):

Click to see traceback logs
Cloning into '.'...
remote: Enumerating objects: 1032167, done.        
remote: Counting objects:   0% (1/359)        
remote: Counting objects:   1% (4/359)        
remote: Counting objects:   2% (8/359)        
remote: Counting objects:   3% (11/359)        
remote: Counting objects:   4% (15/359)        
remote: Counting objects:   5% (18/359)        
remote: Counting objects:   6% (22/359)        
remote: Counting objects:   7% (26/359)        
remote: Counting objects:   8% (29/359)        
remote: Counting objects:   9% (33/359)        
remote: Counting objects:  10% (36/359)        
remote: Counting objects:  11% (40/359)        
remote: Counting objects:  12% (44/359)        
remote: Counting objects:  13% (47/359)        
remote: Counting objects:  14% (51/359)        
remote: Counting objects:  15% (54/359)        
remote: Counting objects:  16% (58/359)        
remote: Counting objects:  17% (62/359)        
remote: Counting objects:  18% (65/359)        
remote: Counting objects:  19% (69/359)        
remote: Counting objects:  20% (72/359)        
remote: Counting objects:  21% (76/359)        
remote: Counting objects:  22% (79/359)        
remote: Counting objects:  23% (83/359)        
remote: Counting objects:  24% (87/359)        
remote: Counting objects:  25% (90/359)        
remote: Counting objects:  26% (94/359)        
remote: Counting objects:  27% (97/359)        
remote: Counting objects:  28% (101/359)        
remote: Counting objects:  29% (105/359)        
remote: Counting objects:  30% (108/359)        
remote: Counting objects:  31% (112/359)        
remote: Counting objects:  32% (115/359)        
remote: Counting objects:  33% (119/359)        
remote: Counting objects:  34% (123/359)        
remote: Counting objects:  35% (126/359)        
remote: Counting objects:  36% (130/359)        
remote: Counting objects:  37% (133/359)        
remote: Counting objects:  38% (137/359)        
remote: Counting objects:  39% (141/359)        
remote: Counting objects:  40% (144/359)        
remote: Counting objects:  41% (148/359)        
remote: Counting objects:  42% (151/359)        
remote: Counting objects:  43% (155/359)        
remote: Counting objects:  44% (158/359)        
remote: Counting objects:  45% (162/359)        
remote: Counting objects:  46% (166/359)        
remote: Counting objects:  47% (169/359)        
remote: Counting objects:  48% (173/359)        
remote: Counting objects:  49% (176/359)        
remote: Counting objects:  50% (180/359)        
remote: Counting objects:  51% (184/359)        
remote: Counting objects:  52% (187/359)        
remote: Counting objects:  53% (191/359)        
remote: Counting objects:  54% (194/359)        
remote: Counting objects:  55% (198/359)        
remote: Counting objects:  56% (202/359)        
remote: Counting objects:  57% (205/359)        
remote: Counting objects:  58% (209/359)        
remote: Counting objects:  59% (212/359)        
remote: Counting objects:  60% (216/359)        
remote: Counting objects:  61% (219/359)        
remote: Counting objects:  62% (223/359)        
remote: Counting objects:  63% (227/359)        
remote: Counting objects:  64% (230/359)        
remote: Counting objects:  65% (234/359)        
remote: Counting objects:  66% (237/359)        
remote: Counting objects:  67% (241/359)        
remote: Counting objects:  68% (245/359)        
remote: Counting objects:  69% (248/359)        
remote: Counting objects:  70% (252/359)        
remote: Counting objects:  71% (255/359)        
remote: Counting objects:  72% (259/359)        
remote: Counting objects:  73% (263/359)        
remote: Counting objects:  74% (266/359)        
remote: Counting objects:  75% (270/359)        
remote: Counting objects:  76% (273/359)        
remote: Counting objects:  77% (277/359)        
remote: Counting objects:  78% (281/359)        
remote: Counting objects:  79% (284/359)        
remote: Counting objects:  80% (288/359)        
remote: Counting objects:  81% (291/359)        
remote: Counting objects:  82% (295/359)        
remote: Counting objects:  83% (298/359)        
remote: Counting objects:  84% (302/359)        
remote: Counting objects:  85% (306/359)        
remote: Counting objects:  86% (309/359)        
remote: Counting objects:  87% (313/359)        
remote: Counting objects:  88% (316/359)        
remote: Counting objects:  89% (320/359)        
remote: Counting objects:  90% (324/359)        
remote: Counting objects:  91% (327/359)        
remote: Counting objects:  92% (331/359)        
remote: Counting objects:  93% (334/359)        
remote: Counting objects:  94% (338/359)        
remote: Counting objects:  95% (342/359)        
remote: Counting objects:  96% (345/359)        
remote: Counting objects:  97% (349/359)        
remote: Counting objects:  98% (352/359)        
remote: Counting objects:  99% (356/359)        
remote: Counting objects: 100% (359/359)        
remote: Counting objects: 100% (359/359), done.        
remote: Compressing objects:   0% (1/261)        
remote: Compressing objects:   1% (3/261)        
remote: Compressing objects:   2% (6/261)        
remote: Compressing objects:   3% (8/261)        
remote: Compressing objects:   4% (11/261)        
remote: Compressing objects:   5% (14/261)        
remote: Compressing objects:   6% (16/261)        
remote: Compressing objects:   7% (19/261)        
remote: Compressing objects:   8% (21/261)        
remote: Compressing objects:   9% (24/261)        
remote: Compressing objects:  10% (27/261)        
remote: Compressing objects:  11% (29/261)        
remote: Compressing objects:  12% (32/261)        
remote: Compressing objects:  13% (34/261)        
remote: Compressing objects:  14% (37/261)        
remote: Compressing objects:  15% (40/261)        
remote: Compressing objects:  16% (42/261)        
remote: Compressing objects:  17% (45/261)        
remote: Compressing objects:  18% (47/261)        
remote: Compressing objects:  19% (50/261)        
remote: Compressing objects:  20% (53/261)        
remote: Compressing objects:  21% (55/261)        
remote: Compressing objects:  22% (58/261)        
remote: Compressing objects:  23% (61/261)        
remote: Compressing objects:  24% (63/261)        
remote: Compressing objects:  25% (66/261)        
remote: Compressing objects:  26% (68/261)        
remote: Compressing objects:  27% (71/261)        
remote: Compressing objects:  28% (74/261)        
remote: Compressing objects:  29% (76/261)        
remote: Compressing objects:  30% (79/261)        
remote: Compressing objects:  31% (81/261)        
remote: Compressing objects:  32% (84/261)        
remote: Compressing objects:  33% (87/261)        
remote: Compressing objects:  34% (89/261)        
remote: Compressing objects:  35% (92/261)        
remote: Compressing objects:  36% (94/261)        
remote: Compressing objects:  37% (97/261)        
remote: Compressing objects:  38% (100/261)        
remote: Compressing objects:  39% (102/261)        
remote: Compressing objects:  40% (105/261)        
remote: Compressing objects:  41% (108/261)        
remote: Compressing objects:  42% (110/261)        
remote: Compressing objects:  43% (113/261)        
remote: Compressing objects:  44% (115/261)        
remote: Compressing objects:  45% (118/261)        
remote: Compressing objects:  46% (121/261)        
remote: Compressing objects:  47% (123/261)        
remote: Compressing objects:  48% (126/261)        
remote: Compressing objects:  49% (128/261)        
remote: Compressing objects:  50% (131/261)        
remote: Compressing objects:  51% (134/261)        
remote: Compressing objects:  52% (136/261)        
remote: Compressing objects:  53% (139/261)        
remote: Compressing objects:  54% (141/261)        
remote: Compressing objects:  55% (144/261)        
remote: Compressing objects:  56% (147/261)        
remote: Compressing objects:  57% (149/261)        
remote: Compressing objects:  58% (152/261)        
remote: Compressing objects:  59% (154/261)        
remote: Compressing objects:  60% (157/261)        
remote: Compressing objects:  61% (160/261)        
remote: Compressing objects:  62% (162/261)        
remote: Compressing objects:  63% (165/261)        
remote: Compressing objects:  64% (168/261)        
remote: Compressing objects:  65% (170/261)        
remote: Compressing objects:  66% (173/261)        
remote: Compressing objects:  67% (175/261)        
remote: Compressing objects:  68% (178/261)        
remote: Compressing objects:  69% (181/261)        
remote: Compressing objects:  70% (183/261)        
remote: Compressing objects:  71% (186/261)        
remote: Compressing objects:  72% (188/261)        
remote: Compressing objects:  73% (191/261)        
remote: Compressing objects:  74% (194/261)        
remote: Compressing objects:  75% (196/261)        
remote: Compressing objects:  76% (199/261)        
remote: Compressing objects:  77% (201/261)        
remote: Compressing objects:  78% (204/261)        
remote: Compressing objects:  79% (207/261)        
remote: Compressing objects:  80% (209/261)        
remote: Compressing objects:  81% (212/261)        
remote: Compressing objects:  82% (215/261)        
remote: Compressing objects:  83% (217/261)        
remote: Compressing objects:  84% (220/261)        
remote: Compressing objects:  85% (222/261)        
remote: Compressing objects:  86% (225/261)        
remote: Compressing objects:  87% (228/261)        
remote: Compressing objects:  88% (230/261)        
remote: Compressing objects:  89% (233/261)        
remote: Compressing objects:  90% (235/261)        
remote: Compressing objects:  91% (238/261)        
remote: Compressing objects:  92% (241/261)        
remote: Compressing objects:  93% (243/261)        
remote: Compressing objects:  94% (246/261)        
remote: Compressing objects:  95% (248/261)        
remote: Compressing objects:  96% (251/261)        
remote: Compressing objects:  97% (254/261)        
remote: Compressing objects:  98% (256/261)        
remote: Compressing objects:  99% (259/261)        
remote: Compressing objects: 100% (261/261)        
remote: Compressing objects: 100% (261/261), done.        
Receiving objects:   0% (1/1032167)
Receiving objects:   1% (10322/1032167)
Receiving objects:   2% (20644/1032167)
Receiving objects:   3% (30966/1032167), 16.68 MiB | 33.41 MiB/s
Receiving objects:   4% (41287/1032167), 16.68 MiB | 33.41 MiB/s
Receiving objects:   5% (51609/1032167), 16.68 MiB | 33.41 MiB/s
Receiving objects:   6% (61931/1032167), 16.68 MiB | 33.41 MiB/s
Receiving objects:   6% (69953/1032167), 16.68 MiB | 33.41 MiB/s
Receiving objects:   7% (72252/1032167), 32.18 MiB | 32.20 MiB/s
Receiving objects:   8% (82574/1032167), 32.18 MiB | 32.20 MiB/s
Receiving objects:   9% (92896/1032167), 32.18 MiB | 32.20 MiB/s
Receiving objects:  10% (103217/1032167), 32.18 MiB | 32.20 MiB/s
Receiving objects:  11% (113539/1032167), 32.18 MiB | 32.20 MiB/s
Receiving objects:  12% (123861/1032167), 46.74 MiB | 31.18 MiB/s
Receiving objects:  13% (134182/1032167), 46.74 MiB | 31.18 MiB/s
Receiving objects:  14% (144504/1032167), 46.74 MiB | 31.18 MiB/s
Receiving objects:  14% (152516/1032167), 61.68 MiB | 30.85 MiB/s
Receiving objects:  15% (154826/1032167), 61.68 MiB | 30.85 MiB/s
Receiving objects:  15% (164798/1032167), 79.24 MiB | 31.70 MiB/s
Receiving objects:  16% (165147/1032167), 100.76 MiB | 33.59 MiB/s
Receiving objects:  17% (175469/1032167), 118.91 MiB | 33.87 MiB/s
Receiving objects:  17% (180207/1032167), 118.91 MiB | 33.87 MiB/s
Receiving objects:  18% (185791/1032167), 138.40 MiB | 34.50 MiB/s
Receiving objects:  19% (196112/1032167), 155.81 MiB | 34.54 MiB/s
Receiving objects:  19% (205406/1032167), 173.75 MiB | 34.77 MiB/s
Receiving objects:  20% (206434/1032167), 173.75 MiB | 34.77 MiB/s
Receiving objects:  21% (216756/1032167), 173.75 MiB | 34.77 MiB/s
Receiving objects:  21% (224751/1032167), 192.71 MiB | 35.53 MiB/s
Receiving objects:  22% (227077/1032167), 210.34 MiB | 36.22 MiB/s
Receiving objects:  23% (237399/1032167), 210.34 MiB | 36.22 MiB/s
Receiving objects:  24% (247721/1032167), 228.58 MiB | 36.91 MiB/s
Receiving objects:  24% (248014/1032167), 228.58 MiB | 36.91 MiB/s
Receiving objects:  25% (258042/1032167), 247.77 MiB | 37.27 MiB/s
Receiving objects:  26% (268364/1032167), 265.59 MiB | 36.45 MiB/s
Receiving objects:  26% (271461/1032167), 283.34 MiB | 36.41 MiB/s
Receiving objects:  27% (278686/1032167), 302.52 MiB | 36.34 MiB/s
Receiving objects:  27% (287604/1032167), 302.52 MiB | 36.34 MiB/s
Receiving objects:  28% (289007/1032167), 302.52 MiB | 36.34 MiB/s
Receiving objects:  29% (299329/1032167), 320.42 MiB | 36.44 MiB/s
Receiving objects:  30% (309651/1032167), 338.55 MiB | 36.49 MiB/s
Receiving objects:  31% (319972/1032167), 338.55 MiB | 36.49 MiB/s
Receiving objects:  32% (330294/1032167), 338.55 MiB | 36.49 MiB/s
Receiving objects:  32% (337492/1032167), 338.55 MiB | 36.49 MiB/s
Receiving objects:  33% (340616/1032167), 357.25 MiB | 36.43 MiB/s
Receiving objects:  34% (350937/1032167), 357.25 MiB | 36.43 MiB/s
Receiving objects:  35% (361259/1032167), 357.25 MiB | 36.43 MiB/s
Receiving objects:  36% (371581/1032167), 357.25 MiB | 36.43 MiB/s
Receiving objects:  37% (381902/1032167), 357.25 MiB | 36.43 MiB/s
Receiving objects:  38% (392224/1032167), 375.60 MiB | 36.58 MiB/s
Receiving objects:  39% (402546/1032167), 375.60 MiB | 36.58 MiB/s
Receiving objects:  39% (403306/1032167), 375.60 MiB | 36.58 MiB/s
Receiving objects:  40% (412867/1032167), 393.61 MiB | 36.53 MiB/s
Receiving objects:  41% (423189/1032167), 393.61 MiB | 36.53 MiB/s
Receiving objects:  42% (433511/1032167), 393.61 MiB | 36.53 MiB/s
Receiving objects:  43% (443832/1032167), 412.32 MiB | 36.42 MiB/s
Receiving objects:  44% (454154/1032167), 412.32 MiB | 36.42 MiB/s
Receiving objects:  45% (464476/1032167), 412.32 MiB | 36.42 MiB/s
Receiving objects:  46% (474797/1032167), 412.32 MiB | 36.42 MiB/s
Receiving objects:  46% (483559/1032167), 412.32 MiB | 36.42 MiB/s
Receiving objects:  47% (485119/1032167), 412.32 MiB | 36.42 MiB/s
Receiving objects:  48% (495441/1032167), 430.46 MiB | 36.49 MiB/s
Receiving objects:  49% (505762/1032167), 430.46 MiB | 36.49 MiB/s
Receiving objects:  50% (516084/1032167), 430.46 MiB | 36.49 MiB/s
Receiving objects:  51% (526406/1032167), 430.46 MiB | 36.49 MiB/s
Receiving objects:  52% (536727/1032167), 430.46 MiB | 36.49 MiB/s
Receiving objects:  53% (547049/1032167), 430.46 MiB | 36.49 MiB/s
Receiving objects:  54% (557371/1032167), 430.46 MiB | 36.49 MiB/s
Receiving objects:  55% (567692/1032167), 430.46 MiB | 36.49 MiB/s
Receiving objects:  56% (578014/1032167), 448.63 MiB | 36.58 MiB/s
Receiving objects:  57% (588336/1032167), 448.63 MiB | 36.58 MiB/s
Receiving objects:  57% (596547/1032167), 448.63 MiB | 36.58 MiB/s
Receiving objects:  58% (598657/1032167), 448.63 MiB | 36.58 MiB/s
Receiving objects:  59% (608979/1032167), 467.22 MiB | 36.45 MiB/s
Receiving objects:  60% (619301/1032167), 467.22 MiB | 36.45 MiB/s
Receiving objects:  61% (629622/1032167), 485.57 MiB | 36.55 MiB/s
Receiving objects:  62% (639944/1032167), 485.57 MiB | 36.55 MiB/s
Receiving objects:  63% (650266/1032167), 485.57 MiB | 36.55 MiB/s
Receiving objects:  64% (660587/1032167), 485.57 MiB | 36.55 MiB/s
Receiving objects:  65% (670909/1032167), 485.57 MiB | 36.55 MiB/s
Receiving objects:  65% (671829/1032167), 485.57 MiB | 36.55 MiB/s
Receiving objects:  66% (681231/1032167), 485.57 MiB | 36.55 MiB/s
Receiving objects:  67% (691552/1032167), 503.57 MiB | 36.52 MiB/s
Receiving objects:  68% (701874/1032167), 503.57 MiB | 36.52 MiB/s
Receiving objects:  69% (712196/1032167), 503.57 MiB | 36.52 MiB/s
Receiving objects:  70% (722517/1032167), 503.57 MiB | 36.52 MiB/s
Receiving objects:  71% (732839/1032167), 503.57 MiB | 36.52 MiB/s
Receiving objects:  72% (743161/1032167), 503.57 MiB | 36.52 MiB/s
Receiving objects:  73% (753482/1032167), 503.57 MiB | 36.52 MiB/s
Receiving objects:  74% (763804/1032167), 503.57 MiB | 36.52 MiB/s
Receiving objects:  75% (774126/1032167), 503.57 MiB | 36.52 MiB/s
Receiving objects:  76% (784447/1032167), 503.57 MiB | 36.52 MiB/s
Receiving objects:  77% (794769/1032167), 503.57 MiB | 36.52 MiB/s
Receiving objects:  78% (805091/1032167), 503.57 MiB | 36.52 MiB/s
Receiving objects:  79% (815412/1032167), 503.57 MiB | 36.52 MiB/s
Receiving objects:  80% (825734/1032167), 522.29 MiB | 36.52 MiB/s
Receiving objects:  81% (836056/1032167), 522.29 MiB | 36.52 MiB/s
Receiving objects:  82% (846377/1032167), 522.29 MiB | 36.52 MiB/s
Receiving objects:  83% (856699/1032167), 522.29 MiB | 36.52 MiB/s
Receiving objects:  84% (867021/1032167), 522.29 MiB | 36.52 MiB/s
Receiving objects:  85% (877342/1032167), 522.29 MiB | 36.52 MiB/s
Receiving objects:  85% (885689/1032167), 522.29 MiB | 36.52 MiB/s
Receiving objects:  86% (887664/1032167), 522.29 MiB | 36.52 MiB/s
Receiving objects:  87% (897986/1032167), 540.21 MiB | 36.43 MiB/s
Receiving objects:  88% (908307/1032167), 540.21 MiB | 36.43 MiB/s
Receiving objects:  89% (918629/1032167), 540.21 MiB | 36.43 MiB/s
Receiving objects:  90% (928951/1032167), 540.21 MiB | 36.43 MiB/s
Receiving objects:  91% (939272/1032167), 540.21 MiB | 36.43 MiB/s
Receiving objects:  92% (949594/1032167), 558.54 MiB | 36.50 MiB/s
Receiving objects:  93% (959916/1032167), 558.54 MiB | 36.50 MiB/s
Receiving objects:  94% (970237/1032167), 558.54 MiB | 36.50 MiB/s
Receiving objects:  95% (980559/1032167), 558.54 MiB | 36.50 MiB/s
Receiving objects:  95% (982701/1032167), 558.54 MiB | 36.50 MiB/s
Receiving objects:  96% (990881/1032167), 576.84 MiB | 36.41 MiB/s
Receiving objects:  97% (1001202/1032167), 576.84 MiB | 36.41 MiB/s
Receiving objects:  98% (1011524/1032167), 576.84 MiB | 36.41 MiB/s
Receiving objects:  99% (1021846/1032167), 576.84 MiB | 36.41 MiB/s
remote: Total 1032167 (delta 217), reused 182 (delta 97), pack-reused 1031808        
Receiving objects: 100% (1032167/1032167), 576.84 MiB | 36.41 MiB/s
Receiving objects: 100% (1032167/1032167), 587.44 MiB | 35.88 MiB/s, done.
Resolving deltas:   0% (0/826023)
Resolving deltas:   1% (8261/826023)
Resolving deltas:   2% (16521/826023)
Resolving deltas:   3% (24781/826023)
Resolving deltas:   4% (33041/826023)
Resolving deltas:   4% (34886/826023)
Resolving deltas:   5% (41302/826023)
Resolving deltas:   6% (49562/826023)
Resolving deltas:   6% (56603/826023)
Resolving deltas:   7% (57822/826023)
Resolving deltas:   8% (66082/826023)
Resolving deltas:   9% (74343/826023)
Resolving deltas:   9% (74436/826023)
Resolving deltas:  10% (82603/826023)
Resolving deltas:  10% (86796/826023)
Resolving deltas:  11% (90863/826023)
Resolving deltas:  11% (98375/826023)
Resolving deltas:  12% (99123/826023)
Resolving deltas:  13% (107383/826023)
Resolving deltas:  14% (115644/826023)
Resolving deltas:  14% (123244/826023)
Resolving deltas:  15% (123904/826023)
Resolving deltas:  16% (132166/826023)
Resolving deltas:  17% (140424/826023)
Resolving deltas:  18% (148685/826023)
Resolving deltas:  19% (156945/826023)
Resolving deltas:  19% (158465/826023)
Resolving deltas:  20% (165205/826023)
Resolving deltas:  21% (173465/826023)
Resolving deltas:  21% (181391/826023)
Resolving deltas:  22% (181726/826023)
Resolving deltas:  23% (189986/826023)
Resolving deltas:  23% (195159/826023)
Resolving deltas:  24% (198246/826023)
Resolving deltas:  25% (206506/826023)
Resolving deltas:  26% (214766/826023)
Resolving deltas:  26% (221069/826023)
Resolving deltas:  27% (223027/826023)
Resolving deltas:  28% (231287/826023)
Resolving deltas:  29% (239547/826023)
Resolving deltas:  30% (247807/826023)
Resolving deltas:  31% (256068/826023)
Resolving deltas:  32% (264328/826023)
Resolving deltas:  33% (272588/826023)
Resolving deltas:  34% (280848/826023)
Resolving deltas:  34% (285240/826023)
Resolving deltas:  35% (289109/826023)
Resolving deltas:  36% (297369/826023)
Resolving deltas:  37% (305629/826023)
Resolving deltas:  38% (313889/826023)
Resolving deltas:  39% (322149/826023)
Resolving deltas:  39% (322666/826023)
Resolving deltas:  40% (330410/826023)
Resolving deltas:  41% (338671/826023)
Resolving deltas:  42% (346930/826023)
Resolving deltas:  43% (355190/826023)
Resolving deltas:  44% (363451/826023)
Resolving deltas:  44% (367571/826023)
Resolving deltas:  45% (371712/826023)
Resolving deltas:  46% (379971/826023)
Resolving deltas:  47% (388231/826023)
Resolving deltas:  48% (396492/826023)
Resolving deltas:  48% (400962/826023)
Resolving deltas:  49% (404752/826023)
Resolving deltas:  50% (413012/826023)
Resolving deltas:  51% (421272/826023)
Resolving deltas:  52% (429532/826023)
Resolving deltas:  53% (437793/826023)
Resolving deltas:  54% (446053/826023)
Resolving deltas:  55% (454313/826023)
Resolving deltas:  55% (461197/826023)
Resolving deltas:  56% (462573/826023)
Resolving deltas:  57% (470834/826023)
Resolving deltas:  58% (479094/826023)
Resolving deltas:  59% (487354/826023)
Resolving deltas:  60% (495614/826023)
Resolving deltas:  61% (503875/826023)
Resolving deltas:  62% (512135/826023)
Resolving deltas:  62% (519264/826023)
Resolving deltas:  63% (520395/826023)
Resolving deltas:  64% (528655/826023)
Resolving deltas:  65% (536915/826023)
Resolving deltas:  66% (545176/826023)
Resolving deltas:  67% (553436/826023)
Resolving deltas:  68% (561696/826023)
Resolving deltas:  68% (567389/826023)
Resolving deltas:  69% (569956/826023)
Resolving deltas:  70% (578217/826023)
Resolving deltas:  71% (586477/826023)
Resolving deltas:  72% (594737/826023)
Resolving deltas:  73% (602997/826023)
Resolving deltas:  74% (611258/826023)
Resolving deltas:  75% (619518/826023)
Resolving deltas:  76% (627778/826023)
Resolving deltas:  77% (636038/826023)
Resolving deltas:  77% (637106/826023)
Resolving deltas:  78% (644298/826023)
Resolving deltas:  79% (652559/826023)
Resolving deltas:  80% (660819/826023)
Resolving deltas:  81% (669079/826023)
Resolving deltas:  82% (677339/826023)
Resolving deltas:  83% (685601/826023)
Resolving deltas:  84% (693860/826023)
Resolving deltas:  85% (702120/826023)
Resolving deltas:  85% (707971/826023)
Resolving deltas:  86% (710380/826023)
Resolving deltas:  87% (718643/826023)
Resolving deltas:  88% (726901/826023)
Resolving deltas:  89% (735161/826023)
Resolving deltas:  90% (743421/826023)
Resolving deltas:  91% (751682/826023)
Resolving deltas:  92% (759942/826023)
Resolving deltas:  93% (768202/826023)
Resolving deltas:  94% (776462/826023)
Resolving deltas:  95% (784722/826023)
Resolving deltas:  96% (792983/826023)
Resolving deltas:  97% (801243/826023)
Resolving deltas:  97% (801973/826023)
Resolving deltas:  98% (809503/826023)
Resolving deltas:  99% (817763/826023)
Resolving deltas: 100% (826023/826023)
Resolving deltas: 100% (826023/826023), done.
Note: switching to '4762b365406a8cf026a4a4ddcae34c28a41c3de9'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 4762b36540 [3.11] gh-118643: Fix AttributeError in the email module (GH-119099) (#119393)

Objects/object.c:2390:5: runtime error: call to function list_dealloc through pointer to incorrect function type 'void (*)(struct _object *)'
/buildbot/buildarea/3.11.pablogsal-arch-x86_64.clang-ubsan/build/Objects/listobject.c:346: note: list_dealloc defined here
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior Objects/object.c:2390:5 in 
make: *** [Makefile:1212: Python/frozen_modules/importlib._bootstrap.h] Error 1

find: ‘build’: No such file or directory
find: ‘build’: No such file or directory
find: ‘build’: No such file or directory
find: ‘build’: No such file or directory
make: [Makefile:2611: clean-retain-profile] Error 1 (ignored)
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@JelleZijlstra JelleZijlstra mentioned this pull request May 28, 2024
backport a9a74da 3.13 #119642
Closed
estyxx pushed a commit to estyxx/cpython that referenced this pull request Jul 17, 2024
@serhiy-storchaka @estyxx
pythongh-118643: Fix AttributeError in the email module (pythonGH-119099
c068bee
)

Fix regression introduced in pythongh-100884: AttributeError when re-fold a long
address list.

Also fix more cases of incorrect encoding of the address separator in the
address list missed in pythongh-100884.
@medmunds medmunds mentioned this pull request Feb 27, 2025
[3.10] gh-80222: Fix email address header folding with long quoted-string (GH-122753) #129111
Merged
@serhiy-storchaka serhiy-storchaka removed their assignment Jul 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@mgmacias95 mgmacias95 mgmacias95 left review comments
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@serhiy-storchaka @pablogamboa @mgmacias95 @bedevere-bot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.