[issue11414] Add import fix for email.Message

2020-10-19 Thread Barry A. Warsaw


Barry A. Warsaw  added the comment:

Thanks for the PR @iritkatriel but I'm inclined to close this as won't fix.  
There are plenty of other changes someone would need to migrate to Python 3 for 
the email package, so I think this is of limited benefit.

--
resolution:  -> wont fix
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11414] Add import fix for email.Message

2020-09-29 Thread Irit Katriel


Irit Katriel  added the comment:

I've added a PR with this fixer, which is quite a simple addition because the 
mechanism for such renames is already there.

If we don't want to add features to lib2to3 (since I understand it will be 
deprecated in the future), then shall we instead close this issue as won't-do?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11414] Add import fix for email.Message

2020-09-18 Thread Irit Katriel


Change by Irit Katriel :


--
type:  -> behavior
versions: +Python 3.10, Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11414] Add import fix for email.Message

2020-09-18 Thread Irit Katriel


Change by Irit Katriel :


--
keywords: +patch
pull_requests: +21359
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/22313

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11414] Add import fix for email.Message

2020-09-18 Thread Irit Katriel


Irit Katriel  added the comment:

Ah sorry this is about adding a 2to3 fixer. I thought the request was to put 
Message back in __all__. 

A fixer may still be relevant.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11414] Add import fix for email.Message

2020-09-18 Thread Irit Katriel


Irit Katriel  added the comment:

It this still relevant? Presumably anyone who was going to be broken has been 
broken by now and moved to lower case message.

--
nosy: +iritkatriel

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11414] Add import fix for email.Message

2011-03-07 Thread Barry A. Warsaw

Barry A. Warsaw ba...@python.org added the comment:

+1

--
nosy: +barry

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11414
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11414] Add import fix for email.Message

2011-03-06 Thread Scott Kitterman

New submission from Scott Kitterman skl...@kitterman.com:

email.Message was dropped in python3.

from email.Message import Message

now fails.  Changing email.Message to email.message seems to be all that's 
needed.

--
components: 2to3 (2.x to 3.0 conversion tool)
messages: 130179
nosy: kitterma
priority: normal
severity: normal
status: open
title: Add import fix for email.Message

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11414
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11414] Add import fix for email.Message

2011-03-06 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

Note that email.message works (and is the preferred spelling) since Python2.5.

--
nosy: +benjamin.peterson, r.david.murray

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11414
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11414] Add import fix for email.Message

2011-03-06 Thread Scott Kitterman

Scott Kitterman skl...@kitterman.com added the comment:

Agreed, but email.Message was never marked deprecated so there's likely old 
code out there that's never been updated (which is how I ran into this).  This 
would be, I think, a very low risk transformation to apply.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11414
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com