[issue9608] Re-phrase best way of using exceptions in doanddont.rst

2010-09-10 Thread R. David Murray
R. David Murray added the comment: Here is another edit pass, incorporating Éric's suggestions and adding some additional tweaks. In particular, I eliminated the anti-pattern of catching (IOError, OSError) in one of the earlier examples in favor of the correct EnvironmentError, and

[issue9829] Unexpected Fraction.from_float() Behavior

2010-09-11 Thread R. David Murray
R. David Murray added the comment: Please read about floating point arithmetic in the tutorial: http://docs.python.org/tutorial/floatingpoint.html Also observe that this works: >>> Fraction(Decimal('1.23')) Fraction(123, 100) So yes, it is a limitation in ho

[issue9830] Python 2.7 x64 not properly installed on Windows 7 (registry)

2010-09-11 Thread R. David Murray
R. David Murray added the comment: That bug (the link works fine for me) leads to this bug: Issue6792. Closing this one as duplicate. -- nosy: +r.david.murray resolution: -> duplicate status: open -> closed superseder: -> Distutils-based installer does not detect 64bit ve

[issue9835] ZipFile unix external attributes incorrect for entry written with writestr

2010-09-11 Thread R. David Murray
R. David Murray added the comment: I'm not very familiar with zipfile, but my immediate reaction is, why should it? It can't know that the file is a unix file, and indeed if the program is running on windows it may not be. Perhaps instead there's something missing in the API

[issue5729] Allows tabs for indenting JSON output

2010-09-11 Thread R. David Murray
R. David Murray added the comment: Is this merge going to happen before 3.2 beta? -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/issue5

[issue9608] Re-phrase best way of using exceptions in doanddont.rst

2010-09-11 Thread R. David Murray
R. David Murray added the comment: Committed in r84719 and r84720, backported to 2.7 in r84721 with the addition of a sentence admitting that sometimes you need a bare except to catch third-party exceptions that don't inherit from Exception. -- resolution: -> fixed stag

[issue9811] strftime strips '%' from unknown format codes on OS X

2010-09-11 Thread R. David Murray
R. David Murray added the comment: But if it is a bug, it is a bug in OS/X, not in Python. Python could potentially fix it for python programs by providing our own strftime, but until someone does that the best we can do is a doc mention of this platform quirk

[issue9837] ZipFileExt.read() reads more data than requested

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

[issue9842] Document ... used in recursive repr of containers

2010-09-12 Thread R. David Murray
R. David Murray added the comment: ... is also the Ellipsis object, and it is probably even more important that the index cross reference that usage :) -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/issue9

[issue2118] smtplib.SMTP() raises socket.error rather than SMTPConnectError

2010-09-12 Thread R. David Murray
R. David Murray added the comment: I discussed this issue with Antoine Pitrou on #python-dev, and his opinion is that SMTPSocketConnectError doesn't add enough value to be worthwhile. So he is in favor of making this a doc fix. However, the suggestion also came up to have SMTPExce

[issue9716] The inittab modules cannot be packages

2010-09-13 Thread R. David Murray
R. David Murray added the comment: We use versions to track which versions we are going to fix, not which versions are affected (which is why we don't list any versions pre-2.5...2.5 and 2.6 occasionally get security fixes, but no earlier versions even get those). Now, why Brett remove

[issue9820] Windows : os.listdir(b'.') doesn't raise an errorfor unencodablefilenames

2010-09-13 Thread R. David Murray
R. David Murray added the comment: After the decision to ignore undecodable file names in os.listdir but before PEP 383 there was a long discussion on python-dev (in which I was a participant) about how horrible just ignoring the undecodable filenames was. This applies *especially* to the

[issue9820] Windows : os.listdir(b'.') doesn't raise an errorfor unencodablefilenames

2010-09-13 Thread R. David Murray
R. David Murray added the comment: But in the case of BZ2File and ssl.SSLContext.load_cert_chain(), isn't it the case that they are trying to open the files? So producing an early error about the decoding problem makes sense. Are there any functions other than listdir where the de

[issue9360] nntplib cleanup

2010-09-13 Thread R. David Murray
R. David Murray added the comment: Assuming we can break backward compatibility, it sounds fine to me. -- ___ Python tracker <http://bugs.python.org/issue9

[issue9846] ZipExtFile provides no mechanism for closing the underlying file object

2010-09-13 Thread R. David Murray
R. David Murray added the comment: Antoine, any reason not to put the close in the ZipFileExt close method instead of a __del__ method? (And document it, of course). -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/issue9

[issue9851] multiprocessing socket timeout will break client

2010-09-14 Thread R. David Murray
Changes by R. David Murray : -- nosy: +asksol, jnoller ___ Python tracker <http://bugs.python.org/issue9851> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue678264] test_resource fails when file size is limited

2010-09-15 Thread R. David Murray
R. David Murray added the comment: The test does not fail if FSIZE is not max on linux/py3k, but max is still represented as -1 on linux. So the reported bug is no longer valid, but Martin's concern has not been addressed. -- nosy: +r.david.m

[issue9859] Add tests to verify API match of modules with 2 implementations

2010-09-15 Thread R. David Murray
R. David Murray added the comment: Shouldn't the test suite catch such discrepancies by testing all of the API? So your script catching something would be the equivalent of "oops, we forgot a test" (or "oops, this name shouldn't be public"). Which is not a bad

[issue678264] test_resource fails when file size is limited

2010-09-15 Thread R. David Murray
R. David Murray added the comment: As a point of information, on my gentoo linux system without largefile support in the kernel, any value 4294967295 or above results in getrlimit reporting -1. Any smaller value is set and reported as itself. (If a sufficiently large value is passed in to

[issue9863] threading, signals, atexit: different execution with different versions

2010-09-15 Thread R. David Murray
R. David Murray added the comment: I can confirm this, and that it works on python2.5 (I don't have a 2.6.2 around to test). It also has the looping behavior on 2.7 and 3.2. Given the timing, I wonder if this is the result of the fix to issue 1722344. (Note, I removed 2.6 because it do

[issue1633863] AIX: configure ignores $CC

2010-09-15 Thread R. David Murray
R. David Murray added the comment: Sébastien, you could email Martin (tracker id loewis) about adding your buildbot to our unstable fleet (or even to stable if it is stable; that is, the tests normally pass and don't randomly fail). As long as you are around to help fix bugs it wou

[issue9863] threading, signals, atexit: different execution with different versions

2010-09-15 Thread R. David Murray
R. David Murray added the comment: I'm closing this as invalid, but I note that this kind of behavior change is not something we would normally have done in a point release if we had realized the consequences. -- resolution: -> invalid stage: -> committed/rejected s

[issue8077] cgi handling of POSTed files is broken

2010-09-15 Thread R. David Murray
Changes by R. David Murray : -- nosy: +r.david.murray title: urlparse -> cgi handling of POSTed files is broken ___ Python tracker <http://bugs.python.org/iss

[issue9874] Message.attach() loses empty attachments

2010-09-16 Thread R. David Murray
R. David Murray added the comment: Can you provide a simple example program that demonstrates the problem? -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/issue9

[issue9873] Allow bytes in some APIs that use string literals internally

2010-09-16 Thread R. David Murray
Changes by R. David Murray : -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/issue9873> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9807] deriving configuration information for different builds with the same prefix

2010-09-16 Thread R. David Murray
R. David Murray added the comment: I've only been on the periphery of the distutils/makefile discussion, but I thought the goal was to *autogenerate* a module containing the relevant information at python build time, instead of (as now) parsing the makefile at run time. Whether or not

[issue416670] MatchObjects not deepcopy()able

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

[issue9874] Message.attach() loses empty attachments

2010-09-16 Thread R. David Murray
R. David Murray added the comment: Got your off-ticket email. I was hoping for something that *just* demonstrated the problem (just enough code to show the issue). It may be a bit before I can find the time to reduce your code to such a test case. -- stage: -> unit test nee

[issue1648923] HP-UX: -lcurses missing for readline.so

2010-09-16 Thread R. David Murray
R. David Murray added the comment: It could still exist since we don't seem to have many people building python on hpux. That said, unless the op confirms the problem still exists in 2.7 or later this can stay closed. -- nosy: +r.david.m

[issue460474] codecs.StreamWriter: reset() on close()

2010-09-16 Thread R. David Murray
Changes by R. David Murray : -- status: closed -> languishing ___ Python tracker <http://bugs.python.org/issue460474> ___ ___ Python-bugs-list mailing list Un

[issue9885] Function Round does not work properly in some conditions

2010-09-17 Thread R. David Murray
R. David Murray added the comment: Please read http://docs.python.org/tutorial/floatingpoint.html Although your case isn't directly covered there, the root cause is the same. Floating point can't exactly represent 10.3. Note that in Python2.7 and 3.x, the repr will be shorten

[issue1724822] provide a shlex.split alternative for Windows shell syntax

2010-09-17 Thread R. David Murray
R. David Murray added the comment: No, this feature request has not been satisfied. Georg fixed some subsidiary issues, but they did not in fact address the feature request for an shlex.split equivalent for Windows. Since no one has expressed interest in working on this, even though model

[issue1729930] 2.5.1 latest svn fails test_curses and test_timeout

2010-09-17 Thread R. David Murray
R. David Murray added the comment: The bug probably does still exist (see issue 7038 for a recent similar report). However, without a repeatable test case we can't fix it, so leaving this closed is fine. If the OP can still reproduce it we can try working on it again. --

[issue1708652] Exact matching

2010-09-17 Thread R. David Murray
R. David Murray added the comment: I would say you should make the call on whether or not it is worth adding. IIUC it would mean there was more than one way to do something (\Z vs 'exact'), so I personally am -0 on the feature request. But I'm not a frequent regex user, so I

[issue1732367] Document the constants in the socket module

2010-09-17 Thread R. David Murray
R. David Murray added the comment: Resolution "won't fix" is inappropriate. We'd love to fix it, but someone has to volunteer to (re)write the doc update... -- nosy: +r.david.murray resolution: wont fix -> type: -> feature request

[issue2236] Distutils' mkpath implementation ignoring the "mode" parameter

2010-09-17 Thread R. David Murray
R. David Murray added the comment: This update appears to be turning the windows buildbots red. See for example http://www.python.org/dev/buildbot/all/builders/x86 XP-4 3.1/builds/1230/steps/test/logs/stdio. -- nosy: +r.david.murray status: closed -> o

[issue9888] int overflow in datetime causes seg fault from datetime.ctime()

2010-09-17 Thread R. David Murray
Changes by R. David Murray : -- nosy: +belopolsky ___ Python tracker <http://bugs.python.org/issue9888> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9888] int overflow in datetime causes seg fault from datetime.ctime()

2010-09-17 Thread R. David Murray
R. David Murray added the comment: This does not reproduce for me on python2.6.5 gentoo linux; however, gentoo linux does have some additional post 2.6.5 patches applied. It also does not reproduce on 2.7. -- nosy: +barry, r.david.murray ___ Python

[issue9441] increase logging handlers test coverage

2010-09-17 Thread R. David Murray
R. David Murray added the comment: It looks like we are getting buildbot failures as a result of this checkin: http://www.python.org/dev/buildbot/all/builders/i386 Ubuntu 3.x/builds/2216/steps/test/logs/stdio -- nosy: +r.david.murray status: closed -> o

[issue9889] PyUnicode_FormatV and Py_UNICODE*?

2010-09-17 Thread R. David Murray
Changes by R. David Murray : -- nosy: +haypo ___ Python tracker <http://bugs.python.org/issue9889> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9360] nntplib cleanup

2010-09-19 Thread R. David Murray
R. David Murray added the comment: I tested this against my existing py3k nttp client code. Why is it a good thing to make file a keyword only parameter? But given that it is, line 720 needs to use it as such, which omission means your missing at least one test :) On line 193 you index fmt

[issue9360] nntplib cleanup

2010-09-19 Thread R. David Murray
R. David Murray added the comment: Gah. I reviewed patch4, didn't noticed today's update :( -- ___ Python tracker <http://bugs.python.org/issue9360> ___ __

[issue9583] Document startup option/environment interaction

2010-09-20 Thread R. David Murray
R. David Murray added the comment: I understood the documentation snippet Terry quoted as saying exactly what you say the code does. The doc could be clearer by replacing "multiple times" with "that number of times". Not that more than two has any meaning currently... C

[issue9360] nntplib cleanup

2010-09-20 Thread R. David Murray
R. David Murray added the comment: OK. It doesn't seem all that likely that we'll be adding parameters, but you never know. So I'm OK with file becoming keyword only. As for the overview headers...if they aren't decoded through decode_header already, why are they unico

[issue678250] test_mmap failling on AIX

2010-09-21 Thread R. David Murray
Changes by R. David Murray : -- resolution: out of date -> status: closed -> open ___ Python tracker <http://bugs.python.org/issue678250> ___ ___ Pyth

[issue4661] email.parser: impossible to read messages encoded in a different encoding

2010-09-21 Thread R. David Murray
R. David Murray added the comment: OK, I'm not entirely sure I want to post this, but Antoine and I were having a conversation about nntplib and email and I noted that unicode as an email transmission channel acts as if it required 7bit clean data. That is, that there's no

[issue4661] email.parser: impossible to read messages encoded in a different encoding

2010-09-21 Thread R. David Murray
R. David Murray added the comment: The 'str' around get_param shouldn't be there, that was left over from an earlier version of the patch. I use surrogateescape rather than latin1 because using surrogateescape with ascii encoding gives me a reliable way to know whether or n

[issue678264] test_resource fails when file size is limited

2010-09-21 Thread R. David Murray
R. David Murray added the comment: That's what the original report is about, as opposed to the linux repr issue that Martin wants to break out into a new ticket (which I will do). Any ideas how to fix the test? It didn't fail for me on linux, so I don't have a good test plat

[issue9917] resource max value represented as signed when should be unsigned

2010-09-21 Thread R. David Murray
New submission from R. David Murray : Breaking out the library bug discussed in issue 678264 from the test bug the issue is about. See msg14344 and msg116479. -- components: Library (Lib) messages: 117123 nosy: ajaksu2, loewis, mdr0, nnorwitz, r.david.murray, sable priority: normal

[issue9864] email.utils.{parsedate, parsedate_tz} should have better return types

2010-09-21 Thread R. David Murray
R. David Murray added the comment: Yes, email6 should make use of datetime objects. For email5 Antoine's proposal is better, but the question is will it happen before 3.2 beta :) -- ___ Python tracker <http://bugs.python.org/i

[issue9918] Installation "make test", two fails if non-ascii path

2010-09-22 Thread R. David Murray
R. David Murray added the comment: I'm amazed you only got two failures. Victor has been doing a lot of work in 3.2 trying to make non-ascii paths work reliably. -- nosy: +haypo, r.david.murray ___ Python tracker <http://bugs.python.org/i

[issue9918] Installation "make test", two fails if non-ascii path

2010-09-22 Thread R. David Murray
R. David Murray added the comment: oh, wait, victor's work is for undecodable non-ascii characters. I think flox did the work on decodable non-ascii characters, and that may well have gone into 3.1. -- nosy: +flox ___ Python tracker

[issue9917] resource max value represented as signed when should be unsigned

2010-09-22 Thread R. David Murray
R. David Murray added the comment: And here is Martin's summary of the issue: I think we really should create new issues for any remaining problems. AFAICT, the remaining problems are: - resource.RLIM_INFINITY is -1 on Linux, when it is meant to be a really large value - (as you rep

[issue9921] os.path.join('x','') behavior

2010-09-22 Thread R. David Murray
R. David Murray added the comment: Since changing the implementation would be a backward incompatible behavior change to a behavior that has existed for a long time, it's the docs that should be updated. -- assignee: -> d...@python components: +Documentation -Library (Lib)

[issue1491804] Simple slice support for list.sort() and .reverse()

2010-09-22 Thread R. David Murray
R. David Murray added the comment: In fact, I find the proposed syntax *less* obvious than the slice syntax, for sorted. IOW, I'd be -1 on adding these to sorted. The potentially useful case is between l[a:b] = sorted(l[a:b}) vs l.sort(start=a, stop=b) where the interestin

[issue1491804] Simple slice support for list.sort() and .reverse()

2010-09-22 Thread R. David Murray
Changes by R. David Murray : -- nosy: -BreamoreBoy ___ Python tracker <http://bugs.python.org/issue1491804> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9864] email.utils.{parsedate, parsedate_tz} should have better return types

2010-09-22 Thread R. David Murray
R. David Murray added the comment: I'm assigning this to myself because I'm assigned on all email issues, but that shouldn't prevent someone from working on a patch implementing Antoine's suggestion. -- ___ Python tracker <

[issue9864] email.utils.{parsedate, parsedate_tz} should have better return types

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

[issue9272] CGIHTTPServer poisons os.environ

2010-09-23 Thread R. David Murray
R. David Murray added the comment: Anatoly, last we heard you did not wish to sign the contributor agreement and so were not submitting patches. We are respecting your wishes by not applying this. Have you changed your mind? -- ___ Python

[issue9930] Incorrect semantics of __radd__ method for builtin types

2010-09-23 Thread R. David Murray
R. David Murray added the comment: Could you post some simple examples and an explanation of what you think the problem is? I have no clue what problem your code is trying to show just by looking at it. (Maybe it will be clear to someone else, but still, simple examples are usually better

[issue9401] automatically try forward operations when reverse operations are NotImplemented

2010-09-23 Thread R. David Murray
R. David Murray added the comment: No, but you could bring it up on python-ideas. (It would have to wait until after the moratorium in any case.) -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/issue9

[issue9905] subprocess.Popen fails with stdout=PIPE, stderr=PIPE if standard descriptors (0, 1, 2) are closed.

2010-09-23 Thread R. David Murray
Changes by R. David Murray : -- nosy: +gregory.p.smith ___ Python tracker <http://bugs.python.org/issue9905> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2052] Allow changing difflib._file_template character encoding.

2010-09-23 Thread R. David Murray
R. David Murray added the comment: I believe that charset is the standard default for html, which would make this a feature request. -- assignee: tim_one -> nosy: +r.david.murray stage: unit test needed -> needs patch type: behavior -> feature request versions: +Python 3.

[issue2005] posixmodule expects sizeof(pid_t/gid_t/uid_t) <= sizeof(long)

2010-09-23 Thread R. David Murray
R. David Murray added the comment: It appears as though this was fixed as part of issue 1983. Antoine, can you confirm that? -- nosy: +pitrou, r.david.murray -BreamoreBoy versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6, Python 3.0

[issue9933] os module does not have the documented EX_NOTFOUND attribute

2010-09-23 Thread R. David Murray
R. David Murray added the comment: Perhaps this constant existed at some point on some linux systems...google found one comment about it referencing posix.2. I also found it mentioned in a specific version of sendmail, and in bash. When it appears it seems to most often have the value 127

[issue9933] os module does not have the documented EX_NOTFOUND attribute

2010-09-23 Thread R. David Murray
R. David Murray added the comment: s/linux/unix/ -- ___ Python tracker <http://bugs.python.org/issue9933> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1794] Hot keys must work in any keyboard layout

2010-09-23 Thread R. David Murray
R. David Murray added the comment: it does seem that the consensus is that this is not a generally desirable feature. -- nosy: +r.david.murray -BreamoreBoy resolution: -> rejected stage: -> committed/rejected status: open -> closed _

[issue1763] Winpath module - easy access to Windows directories like My Documents

2010-09-23 Thread R. David Murray
Changes by R. David Murray : -- status: closed -> languishing ___ Python tracker <http://bugs.python.org/issue1763> ___ ___ Python-bugs-list mailing list Un

[issue9864] email.utils.{parsedate, parsedate_tz} should have better return types

2010-09-24 Thread R. David Murray
R. David Murray added the comment: http://launchpad.net/python-email6 -- ___ Python tracker <http://bugs.python.org/issue9864> ___ ___ Python-bugs-list mailin

[issue9929] subprocess.Popen unbuffered not work

2010-09-27 Thread R. David Murray
R. David Murray added the comment: But if line buffering doesn't work, disabling buffering on stdout/stderr does have a functional consequence: it allows process output to appear as generated instead of coming in chunks when the buffer is full. Of course, I could be compl

[issue9864] email.utils.{parsedate, parsedate_tz} should have better return types

2010-09-28 Thread R. David Murray
R. David Murray added the comment: Thanks, Jeffrey. I've applied your patch (with minor doc tweaks) to the email6 branch. -- ___ Python tracker <http://bugs.python.org/i

[issue6031] BaseServer.shutdown documentation is incomplete

2010-09-28 Thread R. David Murray
R. David Murray added the comment: Hmm. It seems as though since issue 2302 is now closed, the comment about deadlocking if called before serve_forever may no longer be true. Gabriel? -- nosy: +r.david.murray ___ Python tracker <h

[issue6031] BaseServer.shutdown documentation is incomplete

2010-09-28 Thread R. David Murray
Changes by R. David Murray : -- versions: -Python 2.6, Python 3.0 ___ Python tracker <http://bugs.python.org/issue6031> ___ ___ Python-bugs-list mailin

[issue9628] runtests.sh -x doesn't work with more than two args (sed error)

2010-09-28 Thread R. David Murray
R. David Murray added the comment: Fixed in py3k r85078, 3.1 r85079. Note that the only fix required was to the 'PAT' line, the other sed expressions are operating only on single filenames-per-line and so don't need the 'g' added. I don't see runtests.sh in

[issue7110] Output test failures on stderr in regrtest.py

2010-09-28 Thread R. David Murray
R. David Murray added the comment: Looks good to me. Committed in r85086. Thanks, Sandro. -- resolution: -> accepted stage: needs patch -> committed/rejected status: open -> closed versions: -Python 2.7 ___ Python track

[issue8845] Expose sqlite3 connection inTransaction as read-only in_transaction attribute

2010-09-28 Thread R. David Murray
R. David Murray added the comment: Added version print to test_sqlite in r85807. -- ___ Python tracker <http://bugs.python.org/issue8845> ___ ___ Python-bug

[issue9975] Incorrect use of flowinfo and scope_id in IPv6 sockaddr tuple

2010-09-28 Thread R. David Murray
Changes by R. David Murray : -- nosy: +giampaolo.rodola ___ Python tracker <http://bugs.python.org/issue9975> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9980] str(float) failure

2010-09-29 Thread R. David Murray
Changes by R. David Murray : -- nosy: +eric.smith, mark.dickinson ___ Python tracker <http://bugs.python.org/issue9980> ___ ___ Python-bugs-list mailing list Unsub

[issue6640] urlparse should parse mailto: URL headers as query parameters

2010-09-29 Thread R. David Murray
R. David Murray added the comment: Which would be a bug. According to RFC3986 it should be the path. So the change can't be quite so simple as adding mailto to uses_query. Since the query component is defined for generic uris according to the RFC, it sounds like urllib's parser

[issue9986] PDF files of python docs have text missing

2010-09-29 Thread R. David Murray
Changes by R. David Murray : -- assignee: -> d...@python components: +Documentation -None nosy: +d...@python type: -> behavior ___ Python tracker <http://bugs.python.org/

[issue9999] test_shutil cross-file-system tests are fragile (may not test what they pruport to test)

2010-09-30 Thread R. David Murray
New submission from R. David Murray : In investigating issue 9993, I noticed that test_shutil wants to test things that require cross-file-system links, and arranges to have such links by creating a files and directories in the cwd and using tempfile. Presumably the hope (and the comments

[issue9993] shutil.move fails on symlink source

2010-09-30 Thread R. David Murray
R. David Murray added the comment: I can confirm that the tests fail before the patch (but if an only if /tmp is a different file system from the one where the build is, see issue ) and pass after the patch. The patch itself looks good to me and does accord better with how 'mv&#

[issue9996] binascii should convert unicode strings

2010-09-30 Thread R. David Murray
Changes by R. David Murray : -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/issue9996> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4661] email.parser: impossible to read messages encoded in a different encoding

2010-09-30 Thread R. David Murray
R. David Murray added the comment: New version of the patch that adds many more tests, and handles non-ASCII bytes in header values by changing them to '?'s when the header value is retrieved as a string. I think I'm half done. Still to do: generate_bytes, and the doc updat

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

2010-09-30 Thread R. David Murray
R. David Murray added the comment: Please don't change the subject, it changes the bug title, which makes the bug report less useful :) -- nosy: +r.david.murray title: cbs.log -> Installer doesn't install on Windows Server 2008

[issue10005] Postgresql calls undefined method in __str__

2010-10-01 Thread R. David Murray
R. David Murray added the comment: There is no postgresql client in the Python standard library, you'll need to report this bug on the appropriate project's tracker. -- nosy: +r.david.murray resolution: -> invalid stage: -> committed/rejected status

[issue10006] non-Pythonic fate of __abstractmethods__

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

[issue10004] irhe

2010-10-01 Thread R. David Murray
Changes by R. David Murray : -- title: email/quoprimime.py Exception (with patch) -> irhe ___ Python tracker <http://bugs.python.org/issue10004> ___ ___ Python-

[issue10004] email/quoprimime.py Exception (with patch)

2010-10-01 Thread R. David Murray
Changes by R. David Murray : -- title: irhe -> email/quoprimime.py Exception (with patch) ___ Python tracker <http://bugs.python.org/issue10004> ___ ___ Python-

[issue10004] email/quoprimime.py Exception (with patch)

2010-10-01 Thread R. David Murray
R. David Murray added the comment: Heh, cut and paste gone mad, sorry about that title change/change back. I can reproduce this in 3.2, so adding 3.1 and 3.2 to versions. -- nosy: +r.david.murray versions: +Python 3.1, Python 3.2 ___ Python tracker

[issue10004] email/quoprimime.py Exception (with patch)

2010-10-01 Thread R. David Murray
Changes by R. David Murray : -- stage: -> unit test needed type: -> behavior ___ Python tracker <http://bugs.python.org/issue10004> ___ ___ Python-bugs-

[issue10004] email/quoprimime.py Exception (with patch)

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

[issue10004] email/quoprimime.py Exception (with patch)

2010-10-01 Thread R. David Murray
R. David Murray added the comment: Here is Thomas's patch with a (simpler) unit test included. -- Added file: http://bugs.python.org/file19085/quoprime_chars.patch ___ Python tracker <http://bugs.python.org/is

[issue10004] email/quoprimime.py Exception (with patch)

2010-10-01 Thread R. David Murray
R. David Murray added the comment: Committed in r85142 for 3.2, r85143 for 3.1, and r85144 for 2.7. Thanks, Thomas. -- resolution: -> fixed stage: unit test needed -> committed/rejected status: open -> closed ___ Python track

[issue9286] email.utils.parseaddr returns garbage for invalid input

2010-10-01 Thread R. David Murray
R. David Murray added the comment: In the first of your examples, parseaddr is correct (a lone token is considered a 'local' address per RFC). The second one is prossibly wrong, but if so the correct way to interpret it is not clear. If you read the RFC carefully (http://tool

[issue1050268] rfc822.parseaddr is broken, breaks sendmail call in smtplib

2010-10-01 Thread R. David Murray
R. David Murray added the comment: It does appear as though parseaddr is dropping quoting information from the returned parsed address. Fixing this is likely to create backward compatibility issues, and I'm very curious to know why parseaddr drops the quoting info. Note that I d

[issue9996] binascii should convert unicode strings

2010-10-01 Thread R. David Murray
R. David Murray added the comment: Since the issue/patch is about binascii, and I agree with Martin that binascii should continue to do bytes-to-bytes transforms (especially since that is its most common use case, IMO), I'm going to close this issue. Please open the discussion on pytho

[issue4661] email.parser: impossible to read messages encoded in a different encoding

2010-10-01 Thread R. David Murray
R. David Murray added the comment: New version of patch including a BytesGenerator. -- Added file: http://bugs.python.org/file19102/email_parse_bytes3.diff ___ Python tracker <http://bugs.python.org/issue4

[issue4661] email.parser: impossible to read messages encoded in a different encoding

2010-10-01 Thread R. David Murray
R. David Murray added the comment: In case it isn't clear, the code patch is now complete, so anyone who wants to give it a review, please do. I'll add the docs soon, but the basic idea is you can put bytes in by either using message_from_bytes or by using the 'ascii&

[issue1050268] rfc822.parseaddr is broken, breaks sendmail call in smtplib

2010-10-01 Thread R. David Murray
R. David Murray added the comment: After working my way through the code I no longer think that parseaddr is working as designed. I think that this is a bug, and that there is a missing call to quote in getaddrspec. Attached is a revised set of unit tests and a fix. The full python test

<    2   3   4   5   6   7   8   9   10   11   >