[issue12756] datetime.datetime.utcnow should return a UTC timestamp

2022-01-10 Thread R. David Murray
R. David Murray added the comment: Note also that datetime.now() gives you a naive datetime. From an API consistency standpoint I think it makes sense that datetime.utcnow() gives a naive datetime. It would actually be confusing (IMO) for it to return an aware datetime. I can see why you

[issue46392] MessageIDHeader is too strict for message-id

2022-01-17 Thread R. David Murray
R. David Murray added the comment: Note that the parser does attempt to accept obsolete syntax (registering defects for it), so if there is a bug in the implementation of the obsolete syntax handling it should be fixed. And yes, there have been other bugs with whitespace handling in the

[issue46392] MessageIDHeader is too strict for message-id

2022-01-18 Thread R. David Murray
R. David Murray added the comment: The general idea is that the string version of the header should contain all of the original information, but the parsed elements (the things returned by special header attributes) will contain the valid data, if any. So if the string version of the

[issue43333] utf8 in BytesGenerator

2022-01-24 Thread R. David Murray
R. David Murray added the comment: Yeah, I think we need a complete example here. Note that in the general case there is no such thing as an RFC-valid email in unicode (which is what python strings are), though with utf8=True and an email involving only text you might get away with it. I

[issue17505] [doc] email.header.Header.__unicode__ does not decode header

2022-03-04 Thread R. David Murray
R. David Murray added the comment: The policy is named 'default' because it was intended to become the default two feature releases after the new email code became non-provisional (first: deprecate not specifying an explicit policy, next release make default the default policy an

[issue12537] mailbox's _become_message is very fragile

2011-09-14 Thread R. David Murray
R. David Murray added the comment: That is the first step, yes. In addition to that we need to have the various explain_to methods delete the special attributes that aren't valid for the new Message subtype. -- ___ Python tracker

[issue12953] Function calls missing from profiler output

2011-09-16 Thread R. David Murray
R. David Murray added the comment: I wonder if it has something to do with range returning a special type? range and len are very different things under the hood. -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/issue12

[issue12537] mailbox's _become_message is very fragile

2011-09-16 Thread R. David Murray
R. David Murray added the comment: Unfortunately I don't think there is any way except going through each subclass to see what special attributes it creates. -- ___ Python tracker <http://bugs.python.org/is

[issue1170] shlex have problems with parsing unicode

2011-09-17 Thread R. David Murray
R. David Murray added the comment: Ezio, I don't see any indication in this ticket that this bug was actually *fixed* in 3.x. Unicode doesn't cause immediate errors in 3.x, but it isn't recognized as wordchars, etc. Am I mi

[issue11686] Update of some email/ __all__ lists

2011-09-17 Thread R. David Murray
R. David Murray added the comment: Why? The bug hasn't been fixed yet. -- assignee: -> r.david.murray stage: -> patch review status: closed -> open versions: +Python 3.2 ___ Python tracker <http://bugs.pyth

[issue11780] email.encoders are broken

2011-09-17 Thread R. David Murray
R. David Murray added the comment: I may have, but I'd prefer to check before closing the issue. (I'm deep in another project right now, but I'll review all these open bugs this fall some time). -- status: closed -> open ___ Pyt

[issue13010] devguide doc: ./python.exe on OS X

2011-09-19 Thread R. David Murray
R. David Murray added the comment: It is python.exe on OS/X, which I've always found most odd. The reason is that the OS/X filesystem is case insensitive by default, and there is a directory named 'Python'. -- nosy: +r.david.murray ___

[issue2193] Cookie Colon Name Bug

2011-09-24 Thread R. David Murray
R. David Murray added the comment: I'm flat out right now on other projects. But if no one else gets around to doing a final review and commit I should be able to get to it by the end of October. If I don't, please ping me by posting

[issue13050] RLock support the context manager protocol but this is not documented

2011-09-27 Thread R. David Murray
Changes by R. David Murray : -- assignee: docs@python components: Documentation nosy: docs@python, r.david.murray priority: normal severity: normal status: open title: RLock support the context manager protocol but this is not documented ___ Python

[issue13060] make round() floating-point errors less hurtful

2011-09-29 Thread R. David Murray
R. David Murray added the comment: Note that a C accelerator for Decimal is in the works. -- nosy: +mark.dickinson, r.david.murray ___ Python tracker <http://bugs.python.org/issue13

[issue13060] make round() floating-point errors less hurtful

2011-09-29 Thread R. David Murray
R. David Murray added the comment: It seems to me that saying "floating point" and "mathematically correct" in the same breath is...optimistic :) But that's why I added Mark to nosy, he knows far more about this stuff than I do. As far as I know the accelerator is

[issue3232] Wrong str->bytes conversion in Lib/encodings/idna.py

2011-09-30 Thread R. David Murray
R. David Murray added the comment: +1. decode_idna is likely to be useful to the email package. -- ___ Python tracker <http://bugs.python.org/issue3232> ___ ___

[issue13076] Bad links to 'time' in datetime documentation

2011-09-30 Thread R. David Murray
Changes by R. David Murray : -- stage: -> needs patch versions: -Python 2.6, Python 3.1, Python 3.4 ___ Python tracker <http://bugs.python.org/issu

[issue13077] Unclear behavior of daemon threads on main thread exit

2011-09-30 Thread R. David Murray
R. David Murray added the comment: It seems clear enough to me that when a process terminates ("the entire Python program exits") then all of its threads must terminate. That's part of the definition of threads, to my understanding. I think the confusion arises from the

[issue13080] test_email fails in refleak mode

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

[issue4147] xml.dom.minidom toprettyxml: omit whitespace for text-only elements

2011-10-01 Thread R. David Murray
R. David Murray added the comment: This looks correct to me, and it tested out fine on the test suite (and the provided test failed without the provided fix), so I committed it. I have a small concern that the change in output might be a bit radical for a bug fix release, but it does seem to

[issue4147] xml.dom.minidom toprettyxml: omit whitespace for text-only elements

2011-10-02 Thread R. David Murray
R. David Murray added the comment: Heh, you happened to post your patch at a time when I wanted something to do as a break from something I didn't want to do...and I *thought* I understood the problem, after reading the various links. But clearly I didn't. We don't have

[issue13094] setattr misbehaves when used with lambdas inside for loop

2011-10-03 Thread R. David Murray
R. David Murray added the comment: Sorry. It is intended behavior. The lambda 'each' is bound to the local 'each', and by the time the lambda's execute, the value of 'each' is 'baz'. I'm going to turn this into a doc bug, because while

[issue13094] Need Programming FAQ entry for the behavior of closures

2011-10-03 Thread R. David Murray
Changes by R. David Murray : -- title: setattr misbehaves when used with lambdas inside for loop -> Need Programming FAQ entry for the behavior of closures ___ Python tracker <http://bugs.python.org/issu

[issue13050] RLock support the context manager protocol but this is not documented

2011-10-09 Thread R. David Murray
R. David Murray added the comment: Hmm. But what I did was look up the RLock section of the manual to answer the question "does this support the context manager protocol", and the answer appeared to be no. In a reference manual I would expect all the important features of an ob

[issue13171] Bug in tempfile module

2011-10-13 Thread R. David Murray
R. David Murray added the comment: I wonder if it is a bug in Windows? Have you tried similar experiments with regular files? tempfile is really just about *where* the files are located (and what happens when they are closed), not about their fundamental nature as OS file objects. (I

[issue13163] `port` and `host` are confused in `_get_socket

2011-10-13 Thread R. David Murray
R. David Murray added the comment: Well, your patch is a little *too* simple: it doesn't change the function prototype to match :) This is a cosmetic issue rather than a bug, but it would still be nice to fix it. Or maybe a documentation issue in the sense that Python code is (us

[issue1757072] Zipfile robustness

2011-10-18 Thread R. David Murray
R. David Murray added the comment: "This issue" is currently a collection point for specific "allow this in lax mode" issues. Do you have one or more specific cases in point that you'd like to talk about? (Note that the 'garbage after end of fil

[issue7322] Socket timeout can cause file-like readline() method to lose data

2011-10-20 Thread R. David Murray
R. David Murray added the comment: This patch has caused a non-trivial regression between 3.2 and 3.2.1. The scenario in which I observed it is poplib. I create a POP3 connection with a timeout. At one point in its processing, poplib is reading lines until it gets a line '.\r\n'

[issue7322] Socket timeout can cause file-like readline() method to lose data

2011-10-20 Thread R. David Murray
R. David Murray added the comment: I don't think it is optimistic. The poplib transaction pattern is: send a command, get a response. If the response is not properly terminated, throw it away. Send a new command, get a response. There's no ambiguity there. In addition, this i

[issue13236] unittest needs more flush calls

2011-10-20 Thread R. David Murray
R. David Murray added the comment: How can a lack of flushes lose output? Delay it maybe, but unless your file class is broken I don't see how data would be lost. -- nosy: +r.david.murray versions: -Python 2.6 ___ Python tracker

[issue7322] Socket timeout can cause file-like readline() method to lose data

2011-10-20 Thread R. David Murray
R. David Murray added the comment: Your suggestion sounds good to me. I still think that it is a common failure mode in a client server transaction for the server to fail to send a (complete) line that the client is expecting, and vice versa, requiring a timeout, but not necessarily a

[issue13254] maildir.items() broken

2011-10-24 Thread R. David Murray
R. David Murray added the comment: I'm assigning this to myself so I don't lose it, but if someone wants to work on a patch please do. It'll be a bit before I can look at it. -- assignee: -> r.david.murray priority: normal -> high s

[issue13254] maildir.items() broken

2011-10-24 Thread R. David Murray
R. David Murray added the comment: Since this is a regression I'm upping the priority further to release blocker, so that we don't put out another release with the regression still in it. -- nosy: +benjamin.peterson, georg.brandl priority: high -> re

[issue13351] Strange time complexity when creating nested lists

2011-11-05 Thread R. David Murray
R. David Murray added the comment: In the case of 'lists' an object is being allocated each time through the inner loop. In the case of simple_lists, no such allocation is being done. Your timing issues are probably related to the memory allocation behavior of your system. -

[issue13284] email.utils.formatdate function does not handle timezones correctly.

2011-11-07 Thread R. David Murray
R. David Murray added the comment: Unless I misunderstand your concerns, this is a duplicate of issue 665194. -- nosy: +r.david.murray resolution: -> duplicate status: open -> closed superseder: -> datetime-RFC2822 roundtripping ___ Pytho

[issue13284] email.utils.formatdate function does not handle timezones correctly.

2011-11-07 Thread R. David Murray
R. David Murray added the comment: formatdate doesn't know anything about datetimes, so it doesn't make any sense to me to say that it doesn't notice changes in tzinfo. That's why the fix for issue 665194 introduces a new method for

[issue11937] Interix support

2011-11-10 Thread R. David Murray
R. David Murray added the comment: Just a note that buildbot does work behind a firewall (mine are set up that way). The client calls out to the master. A really restrictive corporate firewall may need outbound holes punched, but there are no inbound connections to the client

[issue4147] xml.dom.minidom toprettyxml: omit whitespace for text-only elements

2011-11-15 Thread R. David Murray
R. David Murray added the comment: Yeah, I just haven't found time to do the revert yet (my first naive attempt using hg commands failed and I haven't found time to figure it out or do the reverse-patch method). -- ___ Python trac

[issue13434] time.xmlrpc.com dead

2011-11-19 Thread R. David Murray
R. David Murray added the comment: We've had problems with this service going away for a while before. I think the test was marked skip for at least a year before someone (it might have been me) noticed that it was back and reactivated it. There's a ticket in here somewh

[issue13456] Providing a custom HTTPResponse class to HTTPConnection

2011-11-22 Thread R. David Murray
New submission from R. David Murray : The doc string for HTTPConnection.getresponse mentions (in broken English) that the instance's response_class attribute determines what class gets instantiated for a response. The docs do not mention this attribute, nor any other way to control

[issue13460] urllib methods should demand unicode, instead demand str

2011-11-22 Thread R. David Murray
R. David Murray added the comment: I suspect you want to be using Python3, then. Although it is nowhere near as simple as that...even with Python3 you still sometimes have to deal with the fact that the wire protocol is bytes. -- nosy: +r.david.murray resolution: -> out of d

[issue13464] HTTPResponse is missing an implementation of readinto

2011-11-23 Thread R. David Murray
New submission from R. David Murray : HTTPResponse subclasses RawIOBase, but does not provide an implementation of readinto, only read. This means that it is not conforming to the IO spec, and so it cannot be wrapped in a BufferedIOBase when using the C version of io. -- components

[issue13480] range exits loop without action when start is higher than end

2011-11-25 Thread R. David Murray
R. David Murray added the comment: Nope. If you want to count backward, use a negative step. Not doing anything if end is lower than start allows code to take advantage of "don't care" edge cases, just like 'abc'[4:] returning the empty string does. Range is often

[issue13460] urllib methods should demand unicode, instead demand str

2011-11-26 Thread R. David Murray
R. David Murray added the comment: Well, most of the point of Python3 is that the string type *is* unicode, which is what I meant by saying that you probably wanted Python3 in order to solve your concern :) There are still a few bugs to work out in the wire-protocol/unicode interface in

[issue6135] subprocess seems to use local encoding and give no choice

2011-11-28 Thread R. David Murray
R. David Murray added the comment: If you decide this is only a doc bug, please see also related issue 12832. -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/issue6

[issue13498] os.makedirs exist_ok documentation is incorrect, as is some of the behavior

2011-11-29 Thread R. David Murray
New submission from R. David Murray : The documentation for os.makedirs says: If the target directory with the same mode as specified already exists, raises an OSError exception if exist_ok is False, otherwise no exception is raised. This is not correct. If the file exists but the mode is

[issue13502] Documentation for Event.wait return value is either wrong or incomplete

2011-11-29 Thread R. David Murray
New submission from R. David Murray : The documentation for Event.wait says: This method returns the internal flag on exit, so it will always return True except if a timeout is given and the operation times out. In fact, however, if the thread that sets the flag immediately clears it, wait

[issue13502] Documentation for Event.wait return value is either wrong or incomplete

2011-11-29 Thread R. David Murray
R. David Murray added the comment: Thinking about it, if the flag's state if the wait does not expire is not guaranteed to be True, then what I really need is some way to know, when the wait call completes, whether or not it terminated because of a timeout or not. I can always quer

[issue13502] Event.wait sometimes returns False even when no timeout has occurred

2011-11-29 Thread R. David Murray
R. David Murray added the comment: Changing the title and component to reflect Antoine's new understanding :) -- components: +Library (Lib) -Documentation title: Documentation for Event.wait return value is either wrong or incomplete -> Event.wait sometimes returns False even

[issue1685453] email package should work better with unicode

2011-12-05 Thread R. David Murray
R. David Murray added the comment: That particular problem will get fixed in the next version of the email package (hopefully in Python3.3), but that isn't ready yet. -- ___ Python tracker <http://bugs.python.org/issu

[issue13538] Docstring of str() and/or behavior

2011-12-06 Thread R. David Murray
R. David Murray added the comment: I agree with you that this is inconsistent. However, having str raise an error is pretty much a non-starter as a suggestion. str always falls back to the repr; in general str(obj) should always return some value, otherwise the assumptions of a *lot* of

[issue13538] Docstring of str() and/or behavior

2011-12-06 Thread R. David Murray
R. David Murray added the comment: A diff would be great. We try to use warnings sparingly, and I don't think this is a case that warrants it. Possibly a .. note is worthwhile, perhaps with an example for the bytes case, but even that may be too much. I also wouldn't use the w

[issue13543] shlex with string ending in space gives "ValueError: No closing quotation"

2011-12-06 Thread R. David Murray
R. David Murray added the comment: Why do you consider this to be a bug? You set posix=False and whitespace_split=True, so it seems to me that according to the documented rules the " inside the word ("a is as documented not recognized as a quote character. If you use either pos

[issue13502] Documentation for Event.wait return value is either wrong or incomplete

2011-12-07 Thread R. David Murray
R. David Murray added the comment: On Wed, 07 Dec 2011 18:45:27 +, wrote: > ___ > diff --git a/Doc/library/threading.rst b/Doc/library/threading.rst > --- a/Doc/library/threading.rst > +++ b/Doc/library/threading.rst > @

[issue1757072] Zipfile robustness

2011-12-08 Thread R. David Murray
R. David Murray added the comment: I'm pretty sure that what you are reporting has been fixed by the 'garbage' fix I mentioned (which might better be called the 'more flexible handling of comments' patch). Though not in 2.5 (or 2.6) since they are no longer in m

[issue13502] Documentation for Event.wait return value is either wrong or incomplete

2011-12-09 Thread R. David Murray
R. David Murray added the comment: "set to True, either before the wait call or after the wait starts" -- ___ Python tracker <http://bugs.python.o

[issue13543] shlex with string ending in space gives "ValueError: No closing quotation"

2011-12-09 Thread R. David Murray
R. David Murray added the comment: And just for your information, as far as I know *no one* knows what standard (or model) non-posix mode shlex is based on. -- ___ Python tracker <http://bugs.python.org/issue13

[issue1757072] Zipfile robustness

2011-12-09 Thread R. David Murray
R. David Murray added the comment: Here's the patch: http://hg.python.org/cpython/rev/cc3255a707c7/ I thought I remembered getting it in to 2.7.2, but my memory is evidently wrong. It has been applied, but is not yet in the released version o

[issue13502] Documentation for Event.wait return value is either wrong or incomplete

2011-12-10 Thread R. David Murray
R. David Murray added the comment: LGTM. -- ___ Python tracker <http://bugs.python.org/issue13502> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13580] Pre-linkage of CPython >=2.6 binary on Linux too fat (libssl, libcrypto)

2011-12-11 Thread R. David Murray
R. David Murray added the comment: So isn't this saying that this is a problem with the distribution packaging and not with CPython itself? -- nosy: +barry, r.david.murray ___ Python tracker <http://bugs.python.org/is

[issue11867] Make test_mailbox deterministic

2011-12-18 Thread R. David Murray
R. David Murray added the comment: Probably because I'm a threading/multiprocessing neophyte :) (Though I just learned a bunch about programming with threads recently...) -- ___ Python tracker <http://bugs.python.org/is

[issue13643] 'ascii' is a bad filesystem default encoding

2011-12-20 Thread R. David Murray
R. David Murray added the comment: I'm not sure why having a locale set to C or something invalid should be considered a Python bug. You have to handle un-decodable filenames no matter what you do, since things aren't always encoded in utf-8 on non-OSX unix even when that is

[issue13643] 'ascii' is a bad filesystem default encoding

2011-12-21 Thread R. David Murray
R. David Murray added the comment: > But currently everything handling filenames as unicode on > nix needs to worry about surrogates (that can't be encoded > as ascii) already, or it will still be passing values that > can't be interpreted by other processes as you highli

[issue13643] 'ascii' is a bad filesystem default encoding

2011-12-21 Thread R. David Murray
R. David Murray added the comment: > _My_ locale is set properly. The problem is all the other > people in the world who do not have their locale set to match > their files on disk; telling them each to fix it is tedious. > But perhaps the OS is the best place to address th

[issue8828] Atomic function to rename a file

2011-12-23 Thread R. David Murray
R. David Murray added the comment: What is the motivation for providing a new function? -- ___ Python tracker <http://bugs.python.org/issue8828> ___ ___ Pytho

[issue8828] Atomic function to rename a file

2011-12-23 Thread R. David Murray
R. David Murray added the comment: Ah, I see, people may be depending on rename on Windows not overwriting. I suppose a new function (and eventually deprecating the old?) would be the most straightforward way forward, though I dislike the necessity :) An alternative might be a flag on rename

[issue8828] Atomic function to rename a file

2011-12-23 Thread R. David Murray
R. David Murray added the comment: I'm good with None/True, but that would imply that for posix rename we'll need to implement the overwrite=False option...which would be a nice thing (the shell mv command has -i for that). I think a warning would be good, because a unix progr

[issue8828] Atomic function to rename a file

2011-12-23 Thread R. David Murray
R. David Murray added the comment: Ah, you are right about the race of course. So yes, I agree with your proposal. It's a weird API, but probably the best we can do. -- ___ Python tracker <http://bugs.python.org/i

[issue8828] Atomic function to rename a file

2011-12-23 Thread R. David Murray
R. David Murray added the comment: So maybe my warning idea isn't such a bad idea :) As a unix programmer, I was very surprised to read in this thread that Windows doesn't overwrite the file on rename. As a unix programmer, I don't check for errors on a rename, because I ex

[issue13693] email.Header.Header incorrect/non-smart on international charset address fields

2012-01-02 Thread R. David Murray
R. David Murray added the comment: Actually, no, the local part cannot be in anything other than ascii (see RFC 5335, which desires to address this problem among others). Also, an encoded word cannot occur inside quotation marks. If you correct those two bugs, you can generate an RFC-valid

[issue10839] email module should not allow some header field repetitions

2012-01-02 Thread R. David Murray
R. David Murray added the comment: Regardless of what anybody thinks about the design, it is what it is and can't be changed for backward compatibility reasons. The best we can do is reject creating duplicate headers for headers that may only appear once. That feature has already

[issue1467619] Header.decode_header eats up spaces

2012-01-02 Thread R. David Murray
R. David Murray added the comment: Antoine, I marked this for Python 3.3 only because there is no good way to fix it in 2.7/3.2. (If someone comes up with a way I'll be happy to review it, though!) -- versions: -Python 2.7, Python 3.2 ___ P

[issue1079] decode_header does not follow RFC 2047

2012-01-02 Thread R. David Murray
R. David Murray added the comment: The RFC isn't at all vague about encoded words not separated by white space. That isn't allowed by the BNF. As you say, though, they occur in the wild and should be parsed correctly. In your other point I think you mean "immediatel

[issue13698] Mailbox module should support other mbox formats in addition to mboxo

2012-01-02 Thread R. David Murray
R. David Murray added the comment: Well, supporting the other variants would be good (I'll review any proposed patches), but I think the default will have to stay mboxo for backward compatibility reasons (unless the consensus is to go through the warning/deprecation cycle to change it)

[issue13700] imaplib.IMAP4.authenticate authobject fails with PLAIN mechanism

2012-01-02 Thread R. David Murray
R. David Murray added the comment: The first argument to authenticate must be bytes. This is not well documented. It might also be a bug, since I'm not sure anyone has done a thorough audit of what should be bytes and what should be string in imaplib. 3.1 no longer gets bug fixes, s

[issue13700] imaplib.IMAP4.authenticate authobject fails with PLAIN mechanism

2012-01-02 Thread R. David Murray
R. David Murray added the comment: Gah, I was looking at the wrong source code when I wrote that. A string first argument is indeed valid. I'm not sure where the problem is coming from since the internal CRAM_MD5 returns a string and that seems to

[issue13700] imaplib.IMAP4.authenticate authobject fails with PLAIN mechanism

2012-01-02 Thread R. David Murray
R. David Murray added the comment: Bytes definitely. We hashed that out a while ago. My point is that CRAM_MD5 login calls authenticate, and its authenticator returns a string, just like your example does. So it ought to be going through the same code path. I haven't followed the log

[issue1079] decode_header does not follow RFC 2047

2012-01-03 Thread R. David Murray
R. David Murray added the comment: Well, a caution that tweaking the regex can have unexpected consequences as past issues have proven (but by all means go for it), and a note that the parsing strategy is going to change completely in email6 (see http://pypi.python.org/email and http

[issue1079] decode_header does not follow RFC 2047

2012-01-03 Thread R. David Murray
R. David Murray added the comment: Gah, that's what I get for not reading carefully (or looking at the patch first). Your test change is fine, of course. -- ___ Python tracker <http://bugs.python.org/i

[issue13700] imaplib.IMAP4.authenticate authobject fails with PLAIN mechanism

2012-01-03 Thread R. David Murray
R. David Murray added the comment: Would you be interested in providing a patch that includes tests? I think Antoine set up a test framework for testing the login as part of issue 4471. -- ___ Python tracker <http://bugs.python.org/issue13

[issue13711] html.parser.HTMLParser doesn't parse tags in comments in scripts correctly

2012-01-04 Thread R. David Murray
R. David Murray added the comment: The content of a script tag is CDATA. Why would you expect it to be parsed? -- nosy: +ezio.melotti, r.david.murray ___ Python tracker <http://bugs.python.org/issue13

[issue13711] html.parser.HTMLParser doesn't parse tags in comments in scripts correctly

2012-01-04 Thread R. David Murray
R. David Murray added the comment: I believe this was fixed recently as part of issue 670664. Ezio will know for sure. -- ___ Python tracker <http://bugs.python.org/issue13

[issue12148] Clarify "or-ing together" doctest option flags

2011-05-22 Thread R. David Murray
R. David Murray added the comment: I think adding the word 'bitwise' in front of "or'ed" and linking it to that section would be sufficient. -- nosy: +r.david.murray versions: +Python 3.2, Python 3.3 ___ Python tracker

[issue8898] The email package should defer to the codecs module for all aliases

2011-05-22 Thread R. David Murray
R. David Murray added the comment: euc_jp and euc_kr seem to be backward (that is, codecs translates them to the _ version, instead of translating the _ version to the - version). I worry that there might be other deviations from the standard email names. I would suggest we pull the list

[issue8898] The email package should defer to the codecs module for all aliases

2011-05-22 Thread R. David Murray
R. David Murray added the comment: Hmm. Must have misread. Looks like all the common charsets do have MIME entries in the IANA table. -- ___ Python tracker <http://bugs.python.org/issue8

[issue8898] The email package should defer to the codecs module for all aliases

2011-05-22 Thread R. David Murray
R. David Murray added the comment: On second thought the resolution order ought to be swapped anyway: if the user has added an ALIAS, they are going to want that used, not the one from codecs. -- ___ Python tracker <http://bugs.python.

[issue12147] smtplib.send_message does not implement corectly rfc 2822

2011-05-22 Thread R. David Murray
R. David Murray added the comment: Thanks for the patch. Adding support for this is a good idea. There could be a question about whether this constitutes a bug fix or a feature; I'll canvass some other devs and see if we have a consensus on it. It may take me a bit to find time to

[issue12147] smtplib.send_message does not implement corectly rfc 2822

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

[issue12152] Parser/asdl_c.py relies on mercurial repository revision

2011-05-23 Thread R. David Murray
R. David Murray added the comment: asdl_c.py should not be run during a non-checkout build, since the files it builds should already have been (re)built and checked in by the time a release is rolled. IIUC The release building script is supposed to ensure the timestamps of the files are

[issue12151] test_logging fails sometimes

2011-05-23 Thread R. David Murray
R. David Murray added the comment: Here's another (unrelated?) failure: http://www.python.org/dev/buildbot/all/builders/x86%20Gentoo%203.x/builds/173/steps/test/logs/stdio [ 43/355] test_logging Traceback (most recent call last): File &quo

[issue8898] The email package should defer to the codecs module for all aliases

2011-05-23 Thread R. David Murray
R. David Murray added the comment: Well, it turns out that back when I opened this issue I misunderstood what the ALIASES table was used for. it *is* used before doing a codecs lookup, but it is also used to convert whatever charset name the programmer specifies into the standard MIME name

[issue12152] Parser/asdl_c.py relies on mercurial repository revision

2011-05-23 Thread R. David Murray
R. David Murray added the comment: And like Benjamin said, it should be enough to touch those two files. You don't have to actually build a release tarball. -- ___ Python tracker <http://bugs.python.org/is

[issue12074] regrtest: display the current number of failures

2011-05-23 Thread R. David Murray
R. David Murray added the comment: How about instead changing [1/4], [2/4] etc to be [1/4/0], [2/4/0], etc? -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/issue12

[issue12162] Documentation about re \number

2011-05-23 Thread R. David Murray
R. David Murray added the comment: Read the description of strings and raw strings at the top of the re documentation for the answer to your question about \\. It would probably be better if the example regular expression was written r'(.+) \1' instead of as a bare expression as

[issue12163] str.count

2011-05-23 Thread R. David Murray
R. David Murray added the comment: For background on a similar issue, see #11828, especially msg133532. -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/issue12

[issue11512] adding test suite for cgitb

2011-05-24 Thread R. David Murray
Changes by R. David Murray : -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/issue11512> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12168] SysLogHandler incorrectly appents \000 to messages

2011-05-24 Thread R. David Murray
R. David Murray added the comment: While I agree that it should ideally be possible to actually control this behavior as indicated by the comment, any syslog handler that does not sanitize the messages it receives is broken. -- nosy: +r.david.murray

[issue12168] SysLogHandler incorrectly appents \000 to messages

2011-05-24 Thread R. David Murray
R. David Murray added the comment: s/handler/receiver/ -- ___ Python tracker <http://bugs.python.org/issue12168> ___ ___ Python-bugs-list mailing list Unsub

[issue12057] HZ codec has no test

2011-05-24 Thread R. David Murray
R. David Murray added the comment: Looks good to me. And I meant documenting the process for adding a directory. -- ___ Python tracker <http://bugs.python.org/issue12

  1   2   3   4   5   6   7   8   9   10   >