[issue1349106] email.Generator does not separate headers with "\r\n"

2010-10-21 Thread R. David Murray
Changes by R. David Murray : Removed file: http://bugs.python.org/file19291/email_linesep.patch ___ Python tracker <http://bugs.python.org/issue1349106> ___ ___ Python-bug

[issue1349106] email.Generator does not separate headers with "\r\n"

2010-10-21 Thread R. David Murray
Changes by R. David Murray : Removed file: http://bugs.python.org/file19318/email_linesep.patch ___ Python tracker <http://bugs.python.org/issue1349106> ___ ___ Python-bug

[issue1349106] email.Generator does not separate headers with "\r\n"

2010-10-21 Thread R. David Murray
R. David Murray added the comment: Removed some debugging cruft from the latest patch. -- Added file: http://bugs.python.org/file19319/email_linesep.patch ___ Python tracker <http://bugs.python.org/issue1349

[issue10164] Add an assertBytesMultiLineEqual to unittest and use it for bytes assertEqual

2010-10-21 Thread R. David Murray
New submission from R. David Murray : Just as with regular strings, when comparing failed output involving bytes strings it is really helpful to have a diff showing which bytes have changed. The attached patch adds an assertMultiLineEqual method to unittest and uses it for comparing bytes in

[issue8716] test_tk/test_tkk_guionly fails on OS X if run from buildbot slave daemon -- crashes Python

2010-10-21 Thread R. David Murray
R. David Murray added the comment: Only OSX 10.4.0 I can run test_tk: rdmur...@buddy:~/python/py3k>./python.exe -m test.regrtest -uall test_tk [1/1] test_tk Thu Oct 21 12:41:16 buddy.home.bitdance.com python.exe[93560] : kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint()

[issue5120] Disabling test_ttk_guionly on mac

2010-10-21 Thread R. David Murray
R. David Murray added the comment: Presumably this is the same issue 8716. That issue contains additional details and a patch from Ronald, so I'm not closing it as a duplicate. I don't know if the patch on this issue would actually address the issue. I tried to apply it to p

[issue8716] test_tk/test_tkk_guionly fails on OS X if run from buildbot slave daemon -- crashes Python

2010-10-21 Thread R. David Murray
R. David Murray added the comment: See also issue 5120. -- ___ Python tracker <http://bugs.python.org/issue8716> ___ ___ Python-bugs-list mailing list Unsub

[issue9167] argv double encoding on OSX

2010-10-21 Thread R. David Murray
R. David Murray added the comment: rdmur...@buddy:~/python/py3k>uname -a Darwin buddy.home.bitdance.com 10.4.0 Darwin Kernel Version 10.4.0: Fri Apr 23 18:28:53 PDT 2010; root:xnu-1504.7.4~1/RELEASE_I386 i386 rdmur...@buddy:~/python/release31-maint>LC_ALL="C" ./python.

[issue10164] Add an assertBytesMultiLineEqual to unittest and use it for bytes assertEqual

2010-10-21 Thread R. David Murray
R. David Murray added the comment: After talking with Michael on #python-dev, I've revised the patch to make it a real assertBytesEqual method rather than a pretend-the-bytes-are-strings method. This version allows the byte strings to be split on an arbitrary byte string, which mak

[issue10164] Add an assertBytesEqual to unittest and use it for bytes assertEqual

2010-10-22 Thread R. David Murray
Changes by R. David Murray : -- title: Add an assertBytesMultiLineEqual to unittest and use it for bytes assertEqual -> Add an assertBytesEqual to unittest and use it for bytes assertEqual ___ Python tracker <http://bugs.python.org/issu

[issue10171] Ugly buttons in some Tkinter objects in Windows

2010-10-22 Thread R. David Murray
Changes by R. David Murray : -- nosy: +gpolo ___ Python tracker <http://bugs.python.org/issue10171> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10175] vs version for win32 compilation of extension modules is undocumented.

2010-10-22 Thread R. David Murray
R. David Murray added the comment: If I understand correctly (I'm not a windows user or developer myself), knowing the bits necessary to compile extension modules is not something very many people need to know. If an extension module supports Windows, there will generally be an inst

[issue10176] telnetlib.Telnet.read_very_eager() performance

2010-10-23 Thread R. David Murray
R. David Murray added the comment: Presumably the difference is that there is a pause between the two statement executions at the interactive prompt (even if you cut and paste) that does not exist in the function. -- nosy: +r.david.murray resolution: -> invalid stage: -> com

[issue10118] Tkinter does not find font

2010-10-23 Thread R. David Murray
R. David Murray added the comment: Terry meant 2.6 is in security fix only mode. 2.7 will get bug fixes for an extended period. -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/issue10

[issue7761] telnetlib Telnet.interact fails on Windows but not Linux

2010-10-23 Thread R. David Murray
R. David Murray added the comment: The attached patch should fix the problem. It replicates the bytes/string changes made for the unix branch in the windows branch. It would be nice to come up with a unit test for this, but in this case that's a lot more complicated than figuring ou

[issue10178] PEP 378 uses replace where translate may work better

2010-10-23 Thread R. David Murray
R. David Murray added the comment: The text in question is talking about 'replace' as a general mechanism for 'fixing' the separator character, and as such I don't think introducing translate would enhance the exposition. I suppose it could be added in a f

[issue6668] locale.py: can't parse sr...@latin locale

2010-10-23 Thread R. David Murray
R. David Murray added the comment: Python 3.2a3+ (py3k:85670:85675M, Oct 17 2010, 20:27:19) [GCC 4.4.4] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import locale >>> locale.setlocale(locale.LC_AL

[issue10176] telnetlib.Telnet.read_very_eager() performance

2010-10-23 Thread R. David Murray
R. David Murray added the comment: Well, perhaps when you ran the test with the sleep the target server had an unusually long startup delay. If you are going to use read_very_eager you are going to have to deal with the possibility of not getting back what you expected, so it doesn't r

[issue9967] encoded_word regular expression in email.header.decode_header()

2010-10-23 Thread R. David Murray
Changes by R. David Murray : -- assignee: -> r.david.murray ___ Python tracker <http://bugs.python.org/issue9967> ___ ___ Python-bugs-list mailing list Un

[issue1349106] email.Generator does not separate headers with "\r\n"

2010-10-23 Thread R. David Murray
R. David Murray added the comment: Committed in r85811. -- resolution: -> accepted stage: commit review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue10164] Add an assertBytesEqual to unittest and use it for bytes assertEqual

2010-10-23 Thread R. David Murray
R. David Murray added the comment: My best guess currently is that the failing test is a bug in difflib, but I haven't dug into that code yet to prove it. It's still possible it's something stupid in my code, but as far as I can see there's no character over where that

[issue9228] Make changes in the path and pathext on installation

2010-10-23 Thread R. David Murray
R. David Murray added the comment: Modifying the path has be definitely rejected by python-dev. I don't know enough about windows to comment on the other two, but I suspect that everything that it is reasonable to do automatically is already being done. -- nosy: +l

[issue7696] Improve Memoryview/Buffer documentation

2010-10-23 Thread R. David Murray
R. David Murray added the comment: Antoine, is there more that remains to be done on this, or can it be closed? -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/issue7

[issue10002] Installer doesn't install on Windows Server 2008 DataCenter R2

2010-10-24 Thread R. David Murray
Changes by R. David Murray : -- nosy: -r.david.murray ___ Python tracker <http://bugs.python.org/issue10002> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10189] SyntaxError: no binding for nonlocal doesn't contain a useful traceback

2010-10-24 Thread R. David Murray
R. David Murray added the comment: There are a number of such symbol resolution error messages for nonlocal that don't provide location information in symtable.c. I'm not very experienced with hacking the C code, but a naive addition of location information based on similar cal

[issue10189] SyntaxError: no binding for nonlocal doesn't contain a useful traceback

2010-10-24 Thread R. David Murray
R. David Murray added the comment: Hmm. Just to clarify, the commit message on the code in question specifically said that the implementation of nonlocal was not complete with that commit, and Jeremy wasn't the only one working on it. So this detail may have simply been overl

[issue1610654] cgi.py multipart/form-data

2010-10-24 Thread R. David Murray
R. David Murray added the comment: I don't think it was appropriate to close this issue. -- nosy: +r.david.murray -BreamoreBoy resolution: wont fix -> stage: unit test needed -> patch review status: closed -> open versions: +Python 3.2 -Python 2

[issue3196] Option in pydoc to show docs from private methods

2010-10-24 Thread R. David Murray
Changes by R. David Murray : -- status: open -> languishing ___ Python tracker <http://bugs.python.org/issue3196> ___ ___ Python-bugs-list mailing list Un

[issue10189] SyntaxError: no binding for nonlocal doesn't contain a useful traceback

2010-10-24 Thread R. David Murray
R. David Murray added the comment: I figured it was something like that, from looking at the code. I wonder if it would be worthwhile to return the line info that is known (which I think is the start of the block containing the problematic symbol). In a complex program that would at least

[issue1772788] chr(128) in u'only ascii' -> TypeError with misleading msg

2010-10-25 Thread R. David Murray
R. David Murray added the comment: I'm not sure that I'd consider: >>> 'abc' in b'abcde' Traceback (most recent call last): File "", line 1, in TypeError: Type str doesn't support the buffer API a clear error message :)

[issue10189] SyntaxError: no binding for nonlocal doesn't contain a useful traceback

2010-10-26 Thread R. David Murray
R. David Murray added the comment: Yes, but in that particular case the exact line referenced is involved in the error, since it that error is that the symbol is both nonlocal and an argument, and the error points to the head of the block which is the 'def' statement. Attached

[issue10189] SyntaxError: no binding for nonlocal doesn't contain a useful traceback

2010-10-26 Thread R. David Murray
Changes by R. David Murray : -- Removed message: http://bugs.python.org/msg119601 ___ Python tracker <http://bugs.python.org/issue10189> ___ ___ Python-bugs-list m

[issue10189] SyntaxError: no binding for nonlocal doesn't contain a useful traceback

2010-10-26 Thread R. David Murray
R. David Murray added the comment: Yes, but in that particular case the exact line referenced is involved in the error, since it that error is that the symbol is both nonlocal and an argument, and the error points to the head of the block which is the 'def' statement. Attached

[issue10189] SyntaxError: no binding for nonlocal doesn't contain a useful traceback

2010-10-26 Thread R. David Murray
R. David Murray added the comment: Ah, I hadn't noticed Benjamin assigned this to himself when I submitted that patch. Well, maybe it will be marginally useful anyway :) -- ___ Python tracker <http://bugs.python.org/is

[issue7761] telnetlib Telnet.interact fails on Windows but not Linux

2010-10-26 Thread R. David Murray
R. David Murray added the comment: Committed to py3k in r85846, 3.1 in r85847. -- resolution: -> fixed stage: unit test needed -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.o

[issue10197] subprocess.getoutput fails on win32

2010-10-26 Thread R. David Murray
R. David Murray added the comment: Oddly, the test suite skips getoutput and getstatusoutput on windows with the comment that the source says it is relevant only for posix, but the documentation does not have 'availability: unix' tags. (It is also odd that getoutput isn't

[issue10199] Move Demo/turtle under Lib/

2010-10-26 Thread R. David Murray
R. David Murray added the comment: Yeah, I wish unittest hadn't been split up, and I really dislike the organization of the email package, though I think I understand how it came about historically. So I vote for flat :) -- nosy: +r.david.m

[issue10204] exec string fails with trailing whitespace

2010-10-26 Thread R. David Murray
R. David Murray added the comment: I can reproduce this on 3.1 but not py3k trunk. -- nosy: +benjamin.peterson, r.david.murray ___ Python tracker <http://bugs.python.org/issue10

[issue10206] python program starting with unmatched quote spews spaces to stdout

2010-10-26 Thread R. David Murray
New submission from R. David Murray : To reproduce: python -c "'" (Hint: don't do this on a slow terminal) -- messages: 119646 nosy: r.david.murray priority: critical severity: normal stage: needs patch status: open title: python program starting with unmatched q

[issue10202] ftplib doesn't check close status after sending file

2010-10-26 Thread R. David Murray
Changes by R. David Murray : -- nosy: +giampaolo.rodola stage: -> unit test needed versions: -Python 2.5, Python 2.6, Python 3.3 ___ Python tracker <http://bugs.python.org/issu

[issue10204] exec string fails with trailing whitespace

2010-10-26 Thread R. David Murray
R. David Murray added the comment: The fix is not something that can be backported to 3.1? (This is a regression relative to 2.x). -- ___ Python tracker <http://bugs.python.org/issue10

[issue10204] exec string fails with trailing whitespace

2010-10-26 Thread R. David Murray
R. David Murray added the comment: I thought I tested this on 2.6, but I forgot that my system has now made 2.7 the default python. And now that you mention it, I vaguely remember this feature getting added. Sorry for the noise. -- ___ Python

[issue10213] tests shouldn't fail with unset timezone

2010-10-27 Thread R. David Murray
R. David Murray added the comment: Well, djc's patch (turned into a skip) would only skip if the specific system error checked for was found. The message is a system message, you'll see it in the 'date' command output if the timezone isn't set. A little googling

[issue10215] Mac Python 3.1 installer does less than earlier installers

2010-10-27 Thread R. David Murray
R. David Murray added the comment: Yes this is deliberate. On linux, 'python' is Python2, and 'python3' is Python3. I'm not a mac user, so I don't know exactly how the naming conventions work there, but I certainly wouldn't expect the 'current versio

[issue10215] Mac Python 3.1 installer does less than earlier installers

2010-10-27 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue10213] tests shouldn't fail with unset timezone

2010-10-28 Thread R. David Murray
R. David Murray added the comment: Indeed, Factory is part of the standard tz (zoneinfo) database, as can be seen on this web page that makes the database browsable: http://twiki.org/cgi-bin/xtra/tzdatepick.html Whether or not a distribution uses Factory initially is of course a

[issue10223] socket.gethostname() fail

2010-10-28 Thread R. David Murray
Changes by R. David Murray : -- resolution: rejected -> duplicate stage: -> committed/rejected superseder: -> socket, PEP 383: Mishandling of non-ASCII bytes in host/domain names type: crash -> behavior ___ Python tracker <http://

[issue9377] socket, PEP 383: Mishandling of non-ASCII bytes in host/domain names

2010-10-28 Thread R. David Murray
R. David Murray added the comment: Looks like we have our first customer (issue 10223). -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/issue9

[issue10231] SimpleHTTPRequestHandler directory bugs

2010-10-29 Thread R. David Murray
Changes by R. David Murray : -- nosy: +orsenthil ___ Python tracker <http://bugs.python.org/issue10231> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10240] dict.update.__doc__ is misleading

2010-10-30 Thread R. David Murray
R. David Murray added the comment: Maybe the fastpath should do a strict check and not be used for subclasses of dict? -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/issue10

[issue9340] argparse parse_known_args does not work with subparsers

2010-10-30 Thread R. David Murray
R. David Murray added the comment: I've looked over this patch, and it seems to me that there is no compelling reason to create two new functions. I think it would be clearer to just inline that code in the places it is used. If it turns out later that the code needs to be reused else

[issue9340] argparse parse_known_args does not work with subparsers

2010-10-30 Thread R. David Murray
Changes by R. David Murray : -- stage: needs patch -> patch review versions: +Python 3.1 -Python 3.3 ___ Python tracker <http://bugs.python.org/issue9340> ___ _

[issue10226] urlparse example is wrong

2010-10-30 Thread R. David Murray
R. David Murray added the comment: How about this: - If the scheme value is not specified, urlparse following the syntax - specifications from RFC 1808, expects the netloc value to start with '//', - Otherwise, it is not possible to distinguish between net_loc and path - com

[issue10093] Warn when files are not explicitly closed

2010-10-30 Thread R. David Murray
R. David Murray added the comment: MAL wrote: > Antoine wrote: >> MAL wrote: >>> I don't follow you. Where's the difference between writing: >>> >>> s.close() >>> or >>> s = None >>> >>> for an open socket s ? >

[issue10254] unicodedata.normalize('NFC', s) regression

2010-10-30 Thread R. David Murray
Changes by R. David Murray : -- nosy: +barry ___ Python tracker <http://bugs.python.org/issue10254> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10284] Exception raised when decoding NNTP newsgroup descriptions

2010-11-01 Thread R. David Murray
R. David Murray added the comment: What's the exception? If there were any escaped bytes in the string returned by descriptions, you would get an error when you try to print them. This could be a design problem. -- nosy: +r.david.m

[issue10284] Exception raised when decoding NNTP newsgroup descriptions

2010-11-01 Thread R. David Murray
R. David Murray added the comment: Éric: UTF-8 (IIUC the RFC says "SHOULD be UTF-8"). Julien: yes, there are differences in the way printing to the console works between 2.x and 3.x, and this has caused some surprises for Windows users, where the default console codec is a bit li

[issue10284] Exception raised when decoding NNTP newsgroup descriptions

2010-11-01 Thread R. David Murray
R. David Murray added the comment: That's not what you opened the bug about, though, according to the title. I discussed the headers-in-things-other-than HEAD/ARTICLE, and Antoine was of the opinion that they were "supposed" to be utf-8 and that in any case using surrogate

[issue10282] IMPLEMENTATION token differently delt with in NNTP capability

2010-11-01 Thread R. David Murray
Changes by R. David Murray : -- nosy: +pitrou ___ Python tracker <http://bugs.python.org/issue10282> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10283] New parameter for an NNTP newsgroup pattern in LIST ACTIVE

2010-11-01 Thread R. David Murray
Changes by R. David Murray : -- nosy: +pitrou ___ Python tracker <http://bugs.python.org/issue10283> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10285] Other status field flags in documentation for NNTP LIST command

2010-11-01 Thread R. David Murray
Changes by R. David Murray : -- nosy: +pitrou ___ Python tracker <http://bugs.python.org/issue10285> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10273] Clean-up Unittest API

2010-11-02 Thread R. David Murray
R. David Murray added the comment: I don't think assertLE is enough of an improvement over assertLessEqual to be worth adding yet more deprecated names to unittest. So I'm -0 on this change in general. (I'd be -1 except that it would be kind of nice to have the names be sho

[issue10281] Exception raised when an NNTP overview field is absent

2010-11-02 Thread R. David Murray
R. David Murray added the comment: My conclusion in working on the email package is that only the first space after the ':', if it exists, should be stripped. That is, even though the RFC (for email) reads as if the space after the colon is part of the value, in practice it is p

[issue10273] Clean-up Unittest API

2010-11-03 Thread R. David Murray
R. David Murray added the comment: assertEquals existed forever, too, but we deprecated that :) (with no intent to remove it, as I understand it). There is no more ambiguity in "assertLessThan" than there is in assertLT, one just has more letters. True, you have to look it up the

[issue10297] decimal module documentation is misguiding

2010-11-03 Thread R. David Murray
Changes by R. David Murray : -- nosy: +mark.dickinson ___ Python tracker <http://bugs.python.org/issue10297> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10284] NNTP should accept bytestrings for username and password

2010-11-03 Thread R. David Murray
R. David Murray added the comment: What I meant by saying that the spec was broken is that the user is going to be typing the password at a keyboard. The keyboard will generate scan codes. Those scan codes will get interpreted through a system-specific chain of processes until some bytes

[issue10273] Clean-up Unittest API

2010-11-03 Thread R. David Murray
R. David Murray added the comment: assertCountsEqual is IMO much clearer than assertItemsCountsEqual (or however you spell it). I was unclear on what the latter did, but the former is fairly clear. Ezio's suggestion is also clearer. Raymond, since you said 'never' your

[issue10313] Reassure user: test_os BytesWarning is OK

2010-11-04 Thread R. David Murray
R. David Murray added the comment: I don't see any bytes warnings when I run test_os with -b or -bb on linux on py3k trunk. (If there were such a warning and it was expected, the fix would be to capture the warning and ignore it.) Under what circumstances do you see this wa

[issue10313] Reassure user: test_os BytesWarning is OK

2010-11-04 Thread R. David Murray
R. David Murray added the comment: Can you give the exact command line you are using to run it, and the OS and version, and perhaps a printenv? I can't reproduce it in 3.1 or 3.2a3. -- ___ Python tracker <http://bugs.python.org/is

[issue10313] Reassure user: test_os BytesWarning is OK

2010-11-04 Thread R. David Murray
R. David Murray added the comment: Running it with -E and seeing if that changes the behavior would also be useful. -- ___ Python tracker <http://bugs.python.org/issue10

[issue10313] Reassure user: test_os BytesWarning is OK

2010-11-04 Thread R. David Murray
R. David Murray added the comment: Ah, then this report is probably out of date. I just realized that I ran my 3.2a3 test incorrectly, so my report that I didn't see them there is invalid. -- ___ Python tracker <http://bugs.python.org/is

[issue10321] Add support for Message objects and binary data to smtplib.sendmail

2010-11-05 Thread R. David Murray
New submission from R. David Murray : The attached patch adds support to smtplib.SMTP.sendmail for the 'msg' argument to be, in addition to the currently accepted ASCII-only string, either a bytes string or a Message object. It also adds support for byte strings to smtplib.SMPT.dat

[issue4403] regression from 2.6: smtplib.py requiring ascii for sending messages

2010-11-05 Thread R. David Murray
R. David Murray added the comment: I'm closing this issue as invalid, since as Martin pointed out you can't send unicode over the wire. However, see issue 8050 where I've attached a patch that adds support for sending binary data as a by-product of adding support for Message

[issue8050] smtplib SMTP.sendmail (TypeError: expected string or buffer)

2010-11-05 Thread R. David Murray
R. David Murray added the comment: See issue 10321 for a proposal to add Message support to smtplib. -- nosy: -Allison.Vollmann ___ Python tracker <http://bugs.python.org/issue8

[issue4403] regression from 2.6: smtplib.py requiring ascii for sending messages

2010-11-05 Thread R. David Murray
R. David Murray added the comment: I'm closing this issue as invalid, since as Martin pointed out you can't send unicode over the wire. However, see issue 10321 where I've attached a patch that adds support for sending binary data as a by-product of adding support for Message

[issue4403] regression from 2.6: smtplib.py requiring ascii for sending messages

2010-11-05 Thread R. David Murray
Changes by R. David Murray : -- Removed message: http://bugs.python.org/msg120476 ___ Python tracker <http://bugs.python.org/issue4403> ___ ___ Python-bugs-list m

[issue10313] Reassure user: test_os BytesWarning is OK

2010-11-05 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> out of date stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue10322] sys.argv and quoted arguments on command line

2010-11-05 Thread R. David Murray
R. David Murray added the comment: Works fine for me on Gentoo linux. What exactly is 'python' in your path, and what happens if you do /usr/bin/python3 argtest? I'm 99.99% certain this is not a bug in Python, otherwise it would have been reported long before now, since it wo

[issue10318] "make altinstall" installs many files with incorrect shebangs

2010-11-05 Thread R. David Murray
R. David Murray added the comment: Benjamin did some cleanup in this area in at least py3k, so he might have some thoughts, making him nosy. -- nosy: +benjamin.peterson, r.david.murray ___ Python tracker <http://bugs.python.org/issue10

[issue10325] PY_LLONG_MAX & co - preprocessor constants or not?

2010-11-05 Thread R. David Murray
Changes by R. David Murray : -- nosy: +mark.dickinson ___ Python tracker <http://bugs.python.org/issue10325> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10328] re.sub[n] doesn't seem to handle /Z replacements correctly in all cases

2010-11-05 Thread R. David Murray
Changes by R. David Murray : -- nosy: +mrabarnett ___ Python tracker <http://bugs.python.org/issue10328> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10321] Add support for Message objects and binary data to smtplib.sendmail

2010-11-05 Thread R. David Murray
R. David Murray added the comment: New patch that takes a middle ground on the API: sendmail accepts string and bytes, and a new method send_message accepts a Message object with a more convenient signature. I think send_message does belong in smtplib since it would be awkward and

[issue10321] Add support for Message objects and binary data to smtplib.sendmail

2010-11-05 Thread R. David Murray
R. David Murray added the comment: One more patch update. This one includes the versionadded/version changed and a minimal What's New entry. -- Added file: http://bugs.python.org/file19508/sendmail_message_3.patch ___ Python tracker

[issue10304] error in tutorial triple-string example

2010-11-05 Thread R. David Murray
R. David Murray added the comment: I think the commit hook might object to the trailing blank (I'm not sure it applies to rst files, but I think it does). -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/is

[issue5412] extend configparser to support mapping access(__*item__)

2010-11-06 Thread R. David Murray
R. David Murray added the comment: Email uses 'failobj' instead of 'default'. I find that kind of odd, but oh well. I'm not sure how useful a single data point is, but just last month I wrote an application that uses the DEFAULT section. Each configfile section g

[issue10343] urllib.parse problems with bytes vs str

2010-11-06 Thread R. David Murray
R. David Murray added the comment: I believe this is effectively a duplicate of issue 9873. If not, it is still probably more appropriate to add commentary there rather than have a separate bug here. -- nosy: +r.david.murray resolution: -> duplicate stage: -> committed/re

[issue10226] urlparse example is wrong

2010-11-07 Thread R. David Murray
R. David Murray added the comment: Senthil, no it isn't. There is no way to know a priori that ':80' represents a port number rather than a path, absent the // introducer for the netloc. This bug is fixed; I ought to open a new one for the path thing but perhaps I will

[issue10353] 2to3 and places argument in unitests assertAlmostEqual

2010-11-08 Thread R. David Murray
Changes by R. David Murray : -- nosy: +benjamin.peterson ___ Python tracker <http://bugs.python.org/issue10353> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10353] 2to3 and places argument in unitests assertAlmostEqual

2010-11-08 Thread R. David Murray
R. David Murray added the comment: The change of places to a keyword-only argument in 3.x was reverted last week in py3k trunk. -- nosy: +michael.foord, r.david.murray resolution: -> out of date stage: -> committed/rejected status: open -> closed versions: -Python 2.6, P

[issue10354] tempfile.template is broken

2010-11-08 Thread R. David Murray
R. David Murray added the comment: Shouldn't the global template variable just be deleted in python3? It is no longer documented except for what is probably an overlooked mention in the introduction. -- nosy: +r.david.murray ___ Python tr

[issue10355] SpooledTemporaryFile's name property is broken

2010-11-08 Thread R. David Murray
R. David Murray added the comment: What makes you think SpooledTemporaryFile *has* a name attribute? :) Seriously, though, I presume this bug report is asking for either a better error message or for .name to raise an attribute error on a SpooledTemporaryFile? -- nosy

[issue10357] ** and "mapping" are poorly defined in python docs

2010-11-08 Thread R. David Murray
R. David Murray added the comment: I think the Glossary entry needs to be updated to point to the authoritative source for 'mapping' methods: http://docs.python.org/library/collections.html#abcs-abstract-base-classes (and yes, I realize that info is not located in a particularly

[issue10355] SpooledTemporaryFile's name property is broken

2010-11-08 Thread R. David Murray
R. David Murray added the comment: Éric: right, but we're talking about *Spooled*Temprorary file, which doesn't say anything about a name, and in fact says that the data is kept in memory (which implies it has no name). -- ___ Pyth

[issue10321] Add support for Message objects and binary data to smtplib.sendmail

2010-11-08 Thread R. David Murray
R. David Murray added the comment: Committed in r86327. -- resolution: -> accepted stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue10327] Abnormal SSL timeouts when using socket timeouts - once again

2010-11-08 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> invalid stage: -> committed/rejected ___ Python tracker <http://bugs.python.org/issue10327> ___ ___ Pyth

[issue1466065] base64 module ignores non-alphabet characters

2010-11-08 Thread R. David Murray
R. David Murray added the comment: Here is an updated patch that addresses the concerns I noted. I modified the tests: given that I've changed the code to raise binascii.Error as discussed, we don't really care from an API point of view what the error text is, just that the error

[issue10369] tarfile requires an actual file on disc; a file-like object is insufficient

2010-11-08 Thread R. David Murray
Changes by R. David Murray : -- type: -> feature request versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker <http://bugs.python.org/issu

[issue10370] py3 readlines() reports wrong offset for UnicodeDecodeError

2010-11-08 Thread R. David Murray
Changes by R. David Murray : -- nosy: +pitrou ___ Python tracker <http://bugs.python.org/issue10370> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10354] tempfile.template is broken

2010-11-08 Thread R. David Murray
R. David Murray added the comment: It has been documented as deprecated since 2.0. I'm sure the intent was for all mention of it to have been deleted from the 3.x docs already, but that first paragraph was overlooked. -- ___ Python tracker

[issue3620] test_smtplib is flaky

2010-11-08 Thread R. David Murray
R. David Murray added the comment: Looking back over the logs (via bbreport) I don't see any failures of test_smtplib that match the report in this issue. There were three in the last while, two of which look like network issues on the same machine (and thus probably not a test proble

<    4   5   6   7   8   9   10   11   12   13   >