[issue14387] Include\accu.h incompatible with Windows.h

2012-03-22 Thread Roundup Robot

Roundup Robot  added the comment:

New changeset aff7ff2aae8c by Kristján Valur Jónsson in branch '3.2':
Issue #14387 : undefine 'small' so that it doesn't clash with Windows headers.
http://hg.python.org/cpython/rev/aff7ff2aae8c

New changeset 780aaa7b4b62 by Kristján Valur Jónsson in branch 'default':
Merge with 3.2 (Issue #14387)
http://hg.python.org/cpython/rev/780aaa7b4b62

--

___
Python tracker 

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



[issue12553] email should default to 8bit CTE unless policy.must_be_7bit is set

2012-03-22 Thread R. David Murray

Changes by R. David Murray :


--
assignee:  -> r.david.murray

___
Python tracker 

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



[issue7304] email.message.Message.set_payload and as_string given charset 'us-ascii' plus 8bit data produces invalid message

2012-03-22 Thread R. David Murray

Changes by R. David Murray :


--
assignee:  -> r.david.murray

___
Python tracker 

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



[issue7304] email.message.Message.set_payload and as_string given charset 'us-ascii' plus 8bit data produces invalid message

2012-03-22 Thread R. David Murray

R. David Murray  added the comment:

In Python2 the fix would be to use charset unknown-8bit instead of us-ascii.

In Python3 this actually puts unicode in the message body.  There we should 
default to utf-8, but this requires a more extensive change than the Python2 
change, and probably should not be backported.

Once this is fixed in Python3 the utf-8 default check can be removed from 
MIMEText (issue 14380).

--
versions: +Python 3.3 -Python 3.1

___
Python tracker 

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



[issue14380] MIMEText should default to utf8 charset if input text contains non-ASCII

2012-03-22 Thread Roundup Robot

Roundup Robot  added the comment:

New changeset bfd1ba2bbaf8 by R David Murray in branch 'default':
#14380: Have MIMEText defaults to utf-8 when passed non-ASCII unicode
http://hg.python.org/cpython/rev/bfd1ba2bbaf8

--
nosy: +python-dev

___
Python tracker 

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



[issue14380] MIMEText should default to utf8 charset if input text contains non-ASCII

2012-03-22 Thread R. David Murray

R. David Murray  added the comment:

See also issue 7304.  It was niggling at the back of my brain, and I finally 
managed to dig it up.  Fixing that is much more complex than fixing this 
(because set_charset is a *very* strange method), so I committed this patch in 
case we don't manage to fix 7304 before 3.3 is ready, but with a comment about 
removing it when 7304 is fixed.

Thanks, Jeff.

--
resolution:  -> fixed
stage: commit review -> committed/rejected
status: open -> closed

___
Python tracker 

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



[issue14380] MIMEText should default to utf8 charset if input text contains non-ASCII

2012-03-22 Thread Roundup Robot

Roundup Robot  added the comment:

New changeset 9ceac471bd8c by R David Murray in branch 'default':
#14380: Make actual default match docs, fix __init__ order.
http://hg.python.org/cpython/rev/9ceac471bd8c

--

___
Python tracker 

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



[issue1752252] tkFileDialog closes Python when used

2012-03-22 Thread Terry J. Reedy

Terry J. Reedy  added the comment:

Without a specific claimed failing program and contemporary verification, it is 
hard to know whether one has reproduced or not. With 3.3 I did

import tkinter.filedialog as tkf
import tkinter as tk
fd=tkf.FileDialog(tk.Tk())
fd.go()

and got a file dialog window as well as a root window which sat there until I 
closed the fd window at least 10 seconds later. The root window did not close 
properly, but I suspect the above in missing anything. In any case, several 
crash causes have been fixed since 2007, so I agree to close.

The file dialog window was not the native window displayed for file selection 
in IDLE, and was pretty ugly. So I do not imagine that this is used much. It 
probably could be updated, but that is another issue for another time.

--
resolution:  -> out of date
status: open -> closed

___
Python tracker 

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



[issue14386] Expose dictproxy as a public type

2012-03-22 Thread Jim Jewett

Jim Jewett  added the comment:

> The problem is to reject sequence in dictproxy constructor.

Why?  Just because you can't delegate in quite the same way?  A sequence *does* 
meet the (immutable) Mapping interface; it just won't happen to have any 
non-integer keys.

Or are you worried about IndexError vs KeyError?  Personally, I would just 
document it as returning LookupError, but if you're really worried, you could 
always catch the IndexError and raise a KeyError from it.

> The "PyMapping_Check(dict) && !PyMapping_Check(dict)" 

I'm not seeing how anything could sanely pass that ... was there a typo when 
pasting?

--
nosy: +Jim.Jewett

___
Python tracker 

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



[issue14391] misc TYPO in argparse.Action docstring

2012-03-22 Thread Toshihiro Kamishima

New submission from Toshihiro Kamishima :

Keywords to specify as string type are incorrect.
'string' should be 'str'

--
components: Library (Lib)
files: argparse.py.patch
keywords: patch
messages: 156635
nosy: shima__shima
priority: normal
severity: normal
status: open
title: misc TYPO in argparse.Action docstring
type: enhancement
versions: Python 2.7
Added file: http://bugs.python.org/file25000/argparse.py.patch

___
Python tracker 

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



<    1   2