[issue665194] datetime-RFC2822 roundtripping

2011-05-05 Thread R. David Murray
R. David Murray added the comment: Yes, since the package will save the original text anyway, I think just clamping to 59 is best. Hmm. Maybe instead I could put in an assert that says "please report this incident to bugs.python.org so we can argue that datetime should get support for

[issue11999] sporadic failure in test_mailbox on FreeBSD

2011-05-05 Thread R. David Murray
R. David Murray added the comment: Well, it turns out that this sporadic failure is not a test bug, but a real bug in the mailbox module that the test is revealing. This issue is the same one that motivated the changes in issue 6896. Those changes, however, merely reduced the problem, but

[issue11999] sporadic failure in test_mailbox on FreeBSD

2011-05-05 Thread R. David Murray
Changes by R. David Murray : Removed file: http://bugs.python.org/file21904/mailbox_mtime.patch ___ Python tracker <http://bugs.python.org/issue11999> ___ ___ Python-bug

[issue11999] sporadic failure in test_mailbox on FreeBSD

2011-05-05 Thread R. David Murray
Changes by R. David Murray : Added file: http://bugs.python.org/file21905/mailbox_mtime.patch ___ Python tracker <http://bugs.python.org/issue11999> ___ ___ Python-bug

[issue11999] sporadic failure in test_mailbox on FreeBSD

2011-05-06 Thread R. David Murray
R. David Murray added the comment: Isn't this a bit out of scope for the mailbox module, though? Mailbox is getting called at irregular intervals, and a clock monitor really wants to be a polling daemon of some sort, I think. In which case a complete application system that use

[issue11999] sporadic failure in test_mailbox on FreeBSD

2011-05-06 Thread R. David Murray
R. David Murray added the comment: Oh, and to be clear: the problem wasn't that the one second interval was too short, the problem was that the times stamps of the files were being compared to the wrong check value (the system clock instead of their previous state). The extra one

[issue11999] sporadic failure in test_mailbox on FreeBSD

2011-05-06 Thread R. David Murray
R. David Murray added the comment: I am open to the argument that we should make it two seconds and a bit to support FAT, but how many people are going to use maildir on FAT? -- ___ Python tracker <http://bugs.python.org/issue11

[issue11999] sporadic failure in test_mailbox on FreeBSD

2011-05-06 Thread R. David Murray
R. David Murray added the comment: All right, let's make it two seconds and a bit, then. Why do you think a tenth of second is too small? A clock with a skew of half that much would be badly broken. -- ___ Python tracker <http://bugs.py

[issue12003] documentation: alternate version of xrange seems to fail.

2011-05-06 Thread alejandro david weil
alejandro david weil added the comment: Yes it is. I copied both versions but forgot to specify the second is in 2.7. This is read in the current (2.7) documentation: # from: http://docs.python.org/library/functions.html?highlight=xrange#xrange islice(count(start, step), (stop-start+step-1

[issue12020] Attribute error with flush on stdout,stderr

2011-05-06 Thread R. David Murray
R. David Murray added the comment: Hmm. That error message is more than a bit misleading. What you need to do is add a flush method to your FlushFile class. Something changed between 3.1 and 3.2 that causes that message to be generated instead of suppressed. Not sure what it was. The

[issue11999] sporadic failure in test_mailbox

2011-05-06 Thread R. David Murray
R. David Murray added the comment: Now we see if the buildbots agree with me that this is fixed. -- resolution: -> fixed stage: -> committed/rejected status: open -> pending title: sporadic failure in test_mailbox on FreeBSD -> sporadic failure in test_mailbox type:

[issue12023] non causal behavior

2011-05-07 Thread R. David Murray
R. David Murray added the comment: In 3.x, yes (the nonlocal keyword). Not in 2.7, though. -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/issue12

[issue12036] ConfigParser: items() adds the vars dictionary to the result

2011-05-09 Thread R. David Murray
Changes by R. David Murray : -- nosy: +lukasz.langa ___ Python tracker <http://bugs.python.org/issue12036> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12041] test_os test_ctypes test_wait3 causes test_wait3 error

2011-05-09 Thread R. David Murray
New submission from R. David Murray : It doesn't matter which order test_os and test_ctypes run in, but if they precede test_wait3 test_wait3 will fail. When the test is immediately re-run it passes. The reason ought to be interesting once we figure it out :) Tested on linux. Do

[issue11948] Tutorial/Modules - small fix to better clarify the modules search path

2011-05-09 Thread R. David Murray
R. David Murray added the comment: Raymond: I haven't read the examples in detail so I don't have an opinion on the appropriateness of the text, but I'm curious: while what you say certainly applies to the Language Reference, does it also apply to the Tutorial?

[issue11948] Tutorial/Modules - small fix to better clarify the modules search path

2011-05-09 Thread R. David Murray
R. David Murray added the comment: Raymond: yes, thanks for the clear guidance. Perhaps it could be added to Documenting Python, perhaps in the Style Guide chapter? -- ___ Python tracker <http://bugs.python.org/issue11

[issue12041] test_os test_ctypes test_wait3 causes test_wait3 error

2011-05-09 Thread R. David Murray
R. David Murray added the comment: Confirmed working on my box as well, and on my buildbot (where I first noticed it). -- ___ Python tracker <http://bugs.python.org/issue12

[issue8824] Improve documentation of exec

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

[issue12065] test_ssl failure when svn.python.org fails to resolve

2011-05-12 Thread R. David Murray
New submission from R. David Murray : See http://www.python.org/dev/buildbot/all/builders/x86%20Gentoo%203.2/builds/34/steps/test/logs/stdio Antoine says that connect_ex should be returning an error, not None, in that situation. -- components: Tests keywords: buildbot messages

[issue5723] Incomplete json tests

2011-05-12 Thread R. David Murray
R. David Murray added the comment: My usual pattern (adopted from examples in the stdlib tests) is this: TestSomethingBase: tests PyTestSomething(TestSomethingBase, TestCase): stuff CTestSomething(TestSomethingBase, TestCase): stuff Is there a reason that won't work in

[issue11731] Simplify email API via 'policy' objects

2011-05-13 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> accepted stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue7656] test_hashlib fails on some installations (specifically Neal's regression test runner)

2011-05-15 Thread R. David Murray
R. David Murray added the comment: AFAIK build.sh is only as out of date as the svn/hg switchover. I believe this particular issue was dealt with, but I haven't checked. It runs the refcount tests for 2.7 (Antoine has a separate script that runs them fo

[issue12089] regrtest.py doesn't check for unexpected output anymore?

2011-05-16 Thread R. David Murray
R. David Murray added the comment: Antoine removed that check as part of the -j support, if I recall correctly. The check for unexpected output was part of the support for the transition between the old pre-unittest test suite and the unittest based test suite, and does seem like it is

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

2011-05-17 Thread R. David Murray
R. David Murray added the comment: Right, that's why I said "if it is a bug" :) FreeBSD has the same behavior, so I'd actually prefer that Apple not "fix" this. It would be nice if FreeBSD did and Apple adopted it, though, since only dropping the % is t

[issue12096] test_threading.test_waitfor() timeout (1 hour) on x86 Gentoo 3.x buildbot

2011-05-17 Thread R. David Murray
Changes by R. David Murray : -- keywords: +buildbot nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/issue12096> ___ ___ Python-bugs-list mailin

[issue12009] netrc module crashes if netrc file has comment lines

2011-05-17 Thread R. David Murray
Changes by R. David Murray : -- assignee: -> r.david.murray stage: test needed -> patch review ___ Python tracker <http://bugs.python.org/issue12009> ___ __

[issue12009] netrc module crashes if netrc file has comment lines

2011-05-17 Thread R. David Murray
R. David Murray added the comment: With these new additions, the test input is getting unwieldy. If you have the time, I'd like to see the unit tests refactored to be more unit-testy. That is, instead of a single test netrc file, have multiple inputs, one for each thing being tested

[issue10271] warnings.showwarning should allow any callable object

2011-05-18 Thread R. David Murray
R. David Murray added the comment: Brett's been very busy with real life. Maybe someone else can commit this. -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/is

[issue12057] HZ codec has no test

2011-05-18 Thread R. David Murray
R. David Murray added the comment: Haypo, since you've created a new directory there are makefile (and PC build file, I think) updates that will need to be made. (This should be documented in the dev guide if it isn't already.) -- nosy: +r.da

[issue12111] email's use of __setitem__ is highly counterintuitive

2011-05-19 Thread R. David Murray
R. David Murray added the comment: This is a long-standing design choice in the email package. If you want to advocate for changing it, please join the email-sig mailing list (see mail.python.org). We are in the process of developing a new version, which will at least reject things like

[issue12104] os.path.join('/some/path', '') adds extra slash at end of result

2011-05-19 Thread R. David Murray
R. David Murray added the comment: See also #9921. -- nosy: +r.david.murray resolution: rejected -> duplicate superseder: -> os.path.join('x','') behavior ___ Python tracker <http

[issue12127] Inconsistent leading zero treatment

2011-05-20 Thread R. David Murray
R. David Murray added the comment: IMO 3.3 is definitely too soon. 3.4 may be too, depending on how many people are stuck on legacy systems using 2.7. -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/issue12

[issue12117] Failures with PYTHONDONTWRITEBYTECODE: test_importlib, test_imp, test_distutils, test_packaging, test_runpy, test_import

2011-05-20 Thread R. David Murray
R. David Murray added the comment: In fact, not fixing it might send a small message as to what we think about that particular system default :) -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/issue12

[issue10447] zipfile: IOError for long directory paths on Windows

2010-11-18 Thread R. David Murray
R. David Murray added the comment: I agree with Amaury. IMO the IOError is the correct error, since it is bubbling up unexpectedly (from zipfile's viewpoint) from a lower layer and is not an error specific to the zip protocol implementation. (CF the discussion surrounding PEP

[issue10456] unittest.main(verbosity=2) broke in python31, worked when I had python27

2010-11-18 Thread R. David Murray
R. David Murray added the comment: 2.7 is post-3.1. This works as you expect in 3.2. This is, it is a new feature in both 2.7 and 3.2. (NB: this is why I wanted 3.2 to come out close to 2.7, but fortunately this is the first report like this I think we've gotten.) --

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

2010-11-19 Thread R. David Murray
R. David Murray added the comment: "first part" by itself sounds like there can only be two parts. How about 'inserts a separator between each pair of...' Also, what does 'absolute' mean on Windows? Does it include the drive? If so, the second sentence

[issue10396] stdin argument to pdb.Pdb doesn't work unless you also set Pdb.use_rawinput = False

2010-11-19 Thread R. David Murray
R. David Murray added the comment: The argument against adding this to the pdb docs is that if you pull in that statement from cmd, you really ought to pull in the full description of the __init__ arguments. And whether you do that or just pull in that single statement, you are duplicating

[issue10462] Handler.close is not called in subclass while Logger.removeHandler is called

2010-11-19 Thread R. David Murray
R. David Murray added the comment: I doubt that close is ever called when removehandler is called. That doesn't strike me as sensible semantics. I suspect that what is happening is that in 2.6 calling removehandler removed all references to the handler, and python's garbage

[issue809163] Can't add files with spaces

2010-11-19 Thread R. David Murray
R. David Murray added the comment: Thanks for diagnosis and the test patch, and welcome to the bug weekend. Some comments: test.support has a symbol, TESTFN, which is guaranteed to be unique for the test run and located in an appropriate writeable location. Many tests use it to create a

[issue10424] better error message from argparse when positionals missing

2010-11-19 Thread R. David Murray
R. David Murray added the comment: There are currently no tests in argparse that test the content of error messages, which is fairly standard for stdlib tests since the error messages aren't considered part of the API (only the nature of the exception is). So there's really no exi

[issue8705] shutil.rmtree with empty filepath

2010-11-20 Thread R. David Murray
R. David Murray added the comment: Just as an FYI, a similar situation exists on Solaris. I had to fix one of the Python test suite tests once because it was naively trying to rmtree the CWD. -- nosy: +r.david.murray ___ Python tracker <h

[issue10466] locale.py throws exception on Windows / Non-UTF8 system

2010-11-20 Thread R. David Murray
R. David Murray added the comment: unsupported locale setting is a message that comes from the C runtime, IIUC. Does it work on windows with 2.6? -- nosy: +lemburg, r.david.murray ___ Python tracker <http://bugs.python.org/issue10

[issue10467] io.BytesIO.readinto() segfaults when used on BytesIO object seeked beyond end.

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

[issue5871] email.header.Header too lax with embeded newlines

2010-11-20 Thread R. David Murray
Changes by R. David Murray : -- keywords: -easy ___ Python tracker <http://bugs.python.org/issue5871> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1574217] isinstance swallows exceptions

2010-11-20 Thread R. David Murray
R. David Murray added the comment: I've committed this (with the whitespace fix) in r86577. I've made myself a note to backport it when the maint branches unfreeze. -- assignee: nnorwitz -> nosy: +r.david.murray resolution: -> fixed stage: patch review -> commit

[issue1574217] isinstance swallows exceptions

2010-11-20 Thread R. David Murray
Changes by R. David Murray : -- versions: -Python 2.6 ___ Python tracker <http://bugs.python.org/issue1574217> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5800] make wsgiref.headers.Headers accept empty constructor

2010-11-20 Thread R. David Murray
Changes by R. David Murray : -- keywords: -patch stage: unit test needed -> patch review versions: -Python 2.7 ___ Python tracker <http://bugs.python.org/iss

[issue10453] Add -h/--help option to compileall

2010-11-20 Thread R. David Murray
R. David Murray added the comment: On the other hand, the test case in test_compileall says "test some aspects of compileall's CLI". Since the patch completely changes the logic of CLI parsing, having tests that cover as much as practical of the CLI would greatly increase

[issue4925] Improve error message of subprocess when cannot open

2010-11-20 Thread R. David Murray
R. David Murray added the comment: Note that Benjamin's commit only addresses the posix side. Amaury, do you want to fix the windows side? -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/i

[issue3709] BaseHTTPRequestHandler innefficient when sending HTTP header

2010-11-20 Thread R. David Murray
R. David Murray added the comment: It looks good, but as mentioned on IRC it would be nice to have a unit test that confirmed that the headers were being correctly buffered. -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.

[issue9721] urlparse.urljoin() cuts off last base character with semicolon at url start

2010-11-20 Thread R. David Murray
Changes by R. David Murray : -- stage: needs patch -> patch review ___ Python tracker <http://bugs.python.org/issue9721> ___ ___ Python-bugs-list mai

[issue9721] urlparse.urljoin() cuts off last base character with semicolon at url start

2010-11-20 Thread R. David Murray
Changes by R. David Murray : -- versions: +Python 2.7, Python 3.2 ___ Python tracker <http://bugs.python.org/issue9721> ___ ___ Python-bugs-list mailing list Unsub

[issue9500] urllib2: Content-Encoding

2010-11-20 Thread R. David Murray
R. David Murray added the comment: Issue 1508475 has a patch, though it still needs updated. -- resolution: -> duplicate stage: unit test needed -> committed/rejected status: open -> closed superseder: -> transparent gzip compressio

[issue10453] Add -h/--help option to compileall

2010-11-20 Thread R. David Murray
Changes by R. David Murray : -- assignee: eric.araujo -> r.david.murray stage: needs patch -> commit review ___ Python tracker <http://bugs.python.org/i

[issue10453] Add -h/--help option to compileall

2010-11-20 Thread R. David Murray
R. David Murray added the comment: Patch committed with minor formatting changes and one fixed test (test_force) in r86611. Thanks, Michele! -- resolution: -> accepted stage: commit review -> committed/rejected status: open -> closed _

[issue3709] BaseHTTPRequestHandler innefficient when sending HTTP header

2010-11-20 Thread R. David Murray
R. David Murray added the comment: Thanks for the patch and test. They look good. A doc update is also needed, since the docs are currently written in such a way that buffering the header lines makes the documentation no longer true. Also, send_response_only writes directly to the output

[issue3709] BaseHTTPRequestHandler innefficient when sending HTTP header

2010-11-20 Thread R. David Murray
Changes by R. David Murray : -- stage: -> patch review ___ Python tracker <http://bugs.python.org/issue3709> ___ ___ Python-bugs-list mailing list Unsubscri

[issue809163] Can't add files with spaces

2010-11-20 Thread R. David Murray
R. David Murray added the comment: TempdirManager is new, which is why I forgot about it. It works with the buildbots because it is a context manager, so if things go badly the cleanup code is still going to run and delete the cruft. Since the distutils tests are unlikely to hang (which is

[issue10476] __iter__ on a byte file object using a method to return an iterator

2010-11-20 Thread R. David Murray
R. David Murray added the comment: For the record, I don't find the behavior of __iter__ on a binary file at all confusing. It's the same behavior I see if I open the file in, say, vi. So it is in fact the behavior I expect, and I would be surprised if it didn't work. Whethe

[issue3709] BaseHTTPRequestHandler innefficient when sending HTTP header

2010-11-21 Thread R. David Murray
R. David Murray added the comment: Senthil, I didn't clearly express my concern about send_response_only. It doesn't look to me like, with buffering in place, that it *should* write directly, it looks to me like it should write to the buffer. Consider specifically the

[issue10134] test_email failures on Windows: end of line issue?

2010-11-21 Thread R. David Murray
R. David Murray added the comment: This is fixed by r86642. The remaining failing tests were pointing to bugs in the implementation of the linesep argument to generator.flatten. I had to add an additional test to catch all the related bugs, though. The tests now run the inversion tests

[issue1699853] locale.getlocale() output fails as setlocale() input

2010-11-21 Thread R. David Murray
R. David Murray added the comment: In investigating issue 10466 I find that getlocale on windows returns the value that windows accepts for me. For example on my US windows system, getlocale returns ('English_United States', '1252'), and that appears to work when passe

[issue10466] locale.py resetlocale throws exception on Windows

2010-11-21 Thread R. David Murray
R. David Murray added the comment: See also issue 1699853. The problem here is that resetlocale calls getdefaultlocale, and getdefaultlocale returns something that setlocale cannot consume on Windows. For example, on my US windows system, getlocale returns ('English_United States&#x

[issue10466] locale.py resetlocale throws exception on Windows (getdefaultlocale returns value not usable in setlocale)

2010-11-21 Thread R. David Murray
R. David Murray added the comment: It is unfunny that your program fails on Windows. Yes it is the same bug, since calendar calls getdefaultlocale. Issue 1080864 makes very interesting reading in this context. Clearly Martin is right, yet the OP seems to find the current behavior of

[issue10498] calendar.LocaleHTMLCalendar.formatyearpage() results in traceback with 'unsupported locale setting' on Windows

2010-11-21 Thread R. David Murray
New submission from R. David Murray : See issue 10466 for background, but in short LocaleHTMLCalendar uses getdefaultlocale if no locale is specified, and on windows this results in a locale that setlocale will not accept. The fix is presumably to use setlocale(LC_DATE, '')

[issue10498] calendar.LocaleHTMLCalendar.formatyearpage() results in traceback with 'unsupported locale setting' on Windows

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

[issue10466] locale.py resetlocale throws exception on Windows (getdefaultlocale returns value not usable in setlocale)

2010-11-21 Thread R. David Murray
R. David Murray added the comment: I've opened issue 10498 for the calendar bug. -- ___ Python tracker <http://bugs.python.org/issue10466> ___ ___ Pytho

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

2010-11-21 Thread R. David Murray
R. David Murray added the comment: Agreed on the closing. The pre-diff processing function would be a great addition. For the record, I am currently satisfying my use case by doing this: self.assertEqual(bstr1.split(b'\n'), bstr2.split(b'\n')) which produces

[issue10466] locale.py resetlocale throws exception on Windows (getdefaultlocale returns value not usable in setlocale)

2010-11-22 Thread R. David Murray
R. David Murray added the comment: I had a report from a user on IRC during the bug weekend that they could not reproduce the failure on windows. So it may be dependent on the windows version. That doesn't answer your question of why it hasn't come up before, though, since my

[issue10503] os.getuid() documentation should be clear on what kind of uid it is referring

2010-11-22 Thread R. David Murray
R. David Murray added the comment: These are wrappers around the posix functions. As such the unix man pages are a better authority than the Python docs :) Still, we could certainly improve the docs. The getlogin error is probably a miscopy from the man page: the man page on my system

[issue10506] argparse execute system exit in python prompt

2010-11-22 Thread R. David Murray
R. David Murray added the comment: This is working as designed. Whether or not the design is correct has been debated in the past. If you want to re-debate it the appropriate place is probably python-ideas. -- nosy: +bethard, r.david.murray resolution: -> invalid status: o

[issue10490] mimetypes read_windows_registry fails for non-ASCII keys

2010-11-22 Thread R. David Murray
R. David Murray added the comment: This is a duplicate if issue 9291. -- nosy: +r.david.murray stage: -> committed/rejected status: open -> closed superseder: -> mimetypes initialization fails on Windows because of non-Latin characters in

[issue9291] mimetypes initialization fails on Windows because of non-Latin characters in registry

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

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-11-23 Thread R. David Murray
R. David Murray added the comment: Please don't change the type, this issue is about the feature request of adding this regex engine to the stdlib. I'm sure Matthew will get back to you about your question. -- type: behavior -> fe

[issue10572] Move unittest test package to Lib/test

2010-11-29 Thread R. David Murray
R. David Murray added the comment: For the email package I would be in favor of moving the tests to Lib/test. I've always found it a bit inconvenient that they are in Lib/email. After hearing of Michael's intent with unittest, and given the evolution of email5 into email5.1,

[issue10572] Move unittest test package to Lib/test

2010-11-29 Thread R. David Murray
R. David Murray added the comment: Yes, a cheeseshop package is definitely part of the plan, I didn't mean to imply otherwise. It won't be hard to automate the packaging, and indeed I'll wind up doing that anyway even if the tests stay inside Lib/email. I will say that th

[issue1079] decode_header does not follow RFC 2047

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

[issue10574] email.header.decode_header fails if the string contains multiple directives

2010-11-30 Thread R. David Murray
R. David Murray added the comment: Note that none of your examples are valid encoded words, so given that email currently does strict parsing, the fact that it is not attempting to decode those words is technically correct. However, I agree that it would be better for it to do a "

[issue10551] mimetypes read from the registry should not overwrite standard mime mappings

2010-11-30 Thread R. David Murray
R. David Murray added the comment: Kovid: so essentially what you are saying is that the windows platform is broken with respect to MIME types and with respect to its security model. Why am I not surprised? :) You would have the same problem if software installation altered the /etc

[issue10551] mimetypes read from the registry should not overwrite standard mime mappings

2010-11-30 Thread R. David Murray
R. David Murray added the comment: I would expect that it would not be people new to mimetypes that would have the issues, but people like you for whom the behavior on Windows has changed. And this is indeed a concern. The people involved in making the windows mimetypes enhancement are nosy

[issue10092] calendar does not restore locale properly

2010-12-01 Thread R. David Murray
R. David Murray added the comment: Boštjan, please see issue 10466 for further information about your question on fr_FR vs French. Windows, as usual, does not follow the standards. -- ___ Python tracker <http://bugs.python.org/issue10

[issue10580] Installer sentence in bold

2010-12-01 Thread R. David Murray
R. David Murray added the comment: I think Boštjan is correct that that sentence is not parallel to the others. If I understand correctly, at that point the installation is complete, and it is the final 'exit or back' dialog. So I think the title should be "Complet

[issue10464] netrc module not parsing passwords containing #s.

2010-12-01 Thread R. David Murray
R. David Murray added the comment: Committed to py3k in r86925, 3.1 in r86926, and 2.7 in r86927. Thanks for the patch, Xuanji. -- nosy: +r.david.murray resolution: -> fixed stage: commit review -> committed/rejected status: open -&g

[issue10603] __file__ not usable, with certain paths on windows XP.

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

[issue10603] __file__ not usable, with certain paths on windows XP.

2010-12-02 Thread R. David Murray
R. David Murray added the comment: Much work has been done on non-ASCII paths in 3.2. Can you test this with the 3.2 alpha and let us know the results? -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/issue10

[issue10515] csv sniffer does not recognize quotes at the end of line

2010-12-02 Thread R. David Murray
R. David Murray added the comment: Are you sure testA1 is correct? It seems to me that in that case the sniffer can indeed not determine the delimiter, but I don't really understand the guessing algorithm. The existing behavior on unquoted strings is...interesting :) Also if yo

[issue10603] __file__ not usable, with certain paths on windows XP.

2010-12-02 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

[issue8989] email.utils.make_msgid: specify domain

2010-12-02 Thread R. David Murray
R. David Murray added the comment: Committed to py3k in r86936 with minor fixups. -- resolution: -> accepted stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.o

[issue1672568] silent error in email.message.Message.get_payload

2010-12-02 Thread R. David Murray
R. David Murray added the comment: I've taken another look at this, and the email module is pretty consistent about just passing through data if it can't interpret it according to standards. I think it would lead to a cluttered API if we add support for being strict and rais

[issue10197] subprocess.getoutput fails on win32

2010-12-02 Thread R. David Murray
R. David Murray added the comment: Do you have in implementation in mind? I'm not clear how this would work. -- ___ Python tracker <http://bugs.python.org/is

[issue1058305] HTMLParser.locatestartagend regex too stringent

2010-12-02 Thread R. David Murray
R. David Murray added the comment: Closing this in favor of 1486713, which has a patch and covers additional issues. -- nosy: -BreamoreBoy resolution: -> duplicate stage: unit test needed -> committed/rejected status: open -> closed superseder: -> HTMLParser : A a

[issue1486713] HTMLParser : A auto-tolerant parsing mode

2010-12-02 Thread R. David Murray
R. David Murray added the comment: I have committed a version of this patch, without the warnings, using the keyword 'strict=True' as the default, and with a couple added heuristics from other similar issues, in r86952. kxroberto, if you want to supply your full name, I'll

[issue975556] HTMLParser lukewarm on bogus bare attribute chars

2010-12-02 Thread R. David Murray
R. David Murray added the comment: The new strict=False mode from #1486713 handles this case. -- nosy: +r.david.murray resolution: -> accepted stage: -> committed/rejected status: open -> closed superseder: -> HTMLParser : A auto-tolerant

[issue1046092] HTMLParser fix to accept mailformed tag attributes

2010-12-02 Thread R. David Murray
R. David Murray added the comment: Included this in the 'strict=False' mode in the issue 1486713 patch. -- nosy: +r.david.murray -BreamoreBoy resolution: -> accepted stage: patch review -> committed/rejected status: open -> closed superseder: -> HTMLParser : A

[issue1046092] HTMLParser fix to accept malformed tag attributes

2010-12-02 Thread R. David Murray
Changes by R. David Murray : -- title: HTMLParser fix to accept mailformed tag attributes -> HTMLParser fix to accept malformed tag attributes ___ Python tracker <http://bugs.python.org/issue1

[issue10197] subprocess.getoutput fails on win32

2010-12-03 Thread R. David Murray
R. David Murray added the comment: Ah, I did not realize that getstatusoutput was implemented using os.popen. I thought it already used Popen. Now, in python3, os.popen is in turn implemented using subprocess.Popen, so removing that level of indirection seems sensible. The question that

[issue1486713] HTMLParser : A auto-tolerant parsing mode

2010-12-03 Thread R. David Murray
R. David Murray added the comment: A note for the curious: I changed the keyword name from 'tolerant' to 'strict' because the stdlib has other examples of 'strict' as a keyword, but the word 'tolerant' appears nowhere in the documentation and certainly

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

2010-12-04 Thread R. David Murray
R. David Murray added the comment: I've decided that writing (some) errors to stdout instead of stderr is really a bug, not a feature request, and have backported this fix to 3.1 in r87053 and to 2.7 in r87055. The one possible reason not to do this is that it is conceivable that it

[issue10633] string.format() Unexpected output with numeric '#' prefix and 0 width

2010-12-05 Thread R. David Murray
R. David Murray added the comment: Eric, I'm assuming you just forgot to close this. On the other hand, if you wanted a +1 from another dev, you've got it :) Besides the considerations you mentioned, changing this would be a significant backward incompatibility, and is theref

[issue10631] ZipFile and current directory change

2010-12-05 Thread R. David Murray
R. David Murray added the comment: So, Martin, are you then arguing that this should in fact be considered a bug in ZipFile? The documentation for the constructor says "Open a ZIP file, where file can be either a path to a file (a string) or a file-like object." Reading th

<    29   30   31   32   33   34   35   36   37   38   >