[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

[issue10548] Error in setUp not reported as expectedFailure (unittest)

2010-12-06 Thread R. David Murray
R. David Murray added the comment: I would expect this code to report an error of some sort, not pass as an expected failure. The expected failure should be in the test case *only*, not in the setup or teardown methods. That is, I don't think this is a bug, I think it is a feature

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

2010-12-06 Thread R. David Murray
R. David Murray added the comment: I'm working on it. -- ___ Python tracker <http://bugs.python.org/issue10453> ___ ___ Python-bugs-list mailing list Unsubsc

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

2010-12-06 Thread R. David Murray
R. David Murray added the comment: Here's the test. The fix isn't as simple as making it nargs='*', though. -- Added file: http://bugs.python.org/file19960/compileall_multidir_test.diff ___ Python tracker <http://bug

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

2010-12-06 Thread R. David Murray
R. David Murray added the comment: Here is a fix. This is not finished, though, because I see that I did not do an adequate review of the original patch. There are still bugs in the -d and -i handling that need both tests and fixes. -- Added file: http://bugs.python.org/file19961

[issue10640] SystemError on pickling bytes >= 4GB

2010-12-06 Thread R. David Murray
R. David Murray added the comment: I suspect this is a duplicate of issue 9614, or rather a subset of that issue. -- nosy: +alexandre.vassalotti, amaury.forgeotdarc, janglin, pitrou, r.david.murray ___ Python tracker <http://bugs.python.

[issue9517] Make test.script_helper more comprehensive, and use it in the test suite

2010-12-06 Thread R. David Murray
R. David Murray added the comment: I just tried using script_helper in a new test, so I have a couple of comments. I don't see stdout and stderr being conflated, it looks to me like they are returned separately, at least by the assert methods. The assert methods return results, whi

[issue9517] Make test.script_helper more comprehensive, and use it in the test suite

2010-12-06 Thread R. David Murray
Changes by R. David Murray : -- nosy: +michael.foord ___ Python tracker <http://bugs.python.org/issue9517> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10626] test_concurrent_futures implicitly installs a logging handler on import

2010-12-06 Thread R. David Murray
R. David Murray added the comment: Wow, I didn't realize that's how logging worked. My understanding was a module should just get a logger and log messages, and if the application didn't do any setup beforehand, the first logging call would cause messages to be written to st

[issue10548] Error in setUp not reported as expectedFailure (unittest)

2010-12-06 Thread R. David Murray
R. David Murray added the comment: I have to say that it would never have occurred to me to assert a pre or post condition and an expected failure where I expected the pre or post condition to fail, but if you've got a real use case and it would make the code simpler, I suppose I ha

[issue9517] Make test.script_helper more comprehensive, and use it in the test suite

2010-12-06 Thread R. David Murray
R. David Murray added the comment: OK, fine on the convention, but I'd still like a more memorable name for assert_python_failure. I've been working on this issue off and on today, and I've had to look up that name at least four times. I can remember assert_python_ok, but I

[issue10643] OSX proxy exceptions parse bug in urllib (crash)

2010-12-07 Thread R. David Murray
Changes by R. David Murray : -- stage: -> committed/rejected type: crash -> behavior ___ Python tracker <http://bugs.python.org/issue10643> ___ ___ Pyth

[issue10642] site.py crashes on python startup due to defective .pth file

2010-12-07 Thread R. David Murray
R. David Murray added the comment: If the problem is in site.py it doesn't sound like a distutils bug at all. I remember Victor doing something that changed the error handling/reporting when importing site.py, so I'm adding him as nosy. I thought that was only in 3.x, though.

[issue9523] Improve dbm modules

2010-12-07 Thread R. David Murray
R. David Murray added the comment: I believe that in the absence of other documentation the ABC is considered authoritative. -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/issue9

[issue10647] scrollbar crash in non-US locale format settings

2010-12-07 Thread R. David Murray
R. David Murray added the comment: I'm not sure what bug you are reporting here. Are you saying that values using a , are automatically getting generated by tkinter and then rejected when fed back in? If so, I suspect this is a tk problem, not tkinter problem, but someone would ha

[issue10647] scrollbar crash in non-US locale format settings

2010-12-07 Thread R. David Murray
R. David Murray added the comment: On gentoo linux with tcl/tk 8.5.8, if I use the following command line: >LC_NUMERIC=fr_FR ../release31-maint/python ListboxScrollbarLocaleIssue.py (which runs 3.1.3+) I can move the slider without any problem. I confirmed that locale.format_string(

[issue10647] scrollbar crash in non-US locale format settings

2010-12-07 Thread R. David Murray
R. David Murray added the comment: Well, it sounds like you are on Windows, which is a platform I'm not all that familiar with. I think we bundle TK for the windows installer, but I'm not 100% sure. I think to use a different version you have to recompile Python, which on Window

[issue10649] Attempting to override special methods of a function object does not cause an error

2010-12-07 Thread R. David Murray
R. David Murray added the comment: As you observe, the attribute is not read only, it simply isn't referred to when special method lookup is done. This is specified as part of the language design for new style classes, but has only been made consistently true in recent versions. On o

[issue9517] Make test.script_helper more comprehensive, and use it in the test suite

2010-12-08 Thread R. David Murray
R. David Murray added the comment: Here is a patch that causes _assert_python to remove the refcount lines from stderr. -- keywords: +patch Added file: http://bugs.python.org/file19975/script_helper_del_refcount.patch ___ Python tracker <h

[issue9517] Make test.script_helper more comprehensive, and use it in the test suite

2010-12-08 Thread R. David Murray
R. David Murray added the comment: Hmm. Having posted that it occurs to me that it could be useful to have the _remove_refcount function in test.support as remove_refcount instead. -- ___ Python tracker <http://bugs.python.org/issue9

[issue10654] test_datetime fails on Python3.2 windows binary

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

[issue10653] test_time test_strptime fails on windows

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

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

2010-12-08 Thread R. David Murray
R. David Murray added the comment: I'm still working on this, making sure the remaining options that aren't currently tested have tests and work. -- assignee: eric.araujo -> r.david.murray ___ Python tracker <http://bugs.pytho

[issue9517] Make test.script_helper more comprehensive, and use it in the test suite

2010-12-08 Thread R. David Murray
R. David Murray added the comment: Oh, good, I'll use that then. I could have sworn I looked for that functionality a couple weeks ago and couldn't find it. -- ___ Python tracker <http://bugs.python.

[issue10660] format() to lower and uppercase

2010-12-09 Thread R. David Murray
R. David Murray added the comment: The format support is written specifically so that it is extensible. You can write your own string subclass that extends the formatting mini-language with whatever features you find useful. There are too many variations on what might be useful with

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

2010-12-09 Thread R. David Murray
R. David Murray added the comment: OK, here is what I hope is a comprehensive set of CLI tests, and fixes for the bugs revealed thereby. Except for the new test added by Georg after the original patch here was committed, all of the tests either pass using the old compileall module or fail

[issue5845] rlcompleter should be enabled automatically

2010-12-09 Thread R. David Murray
R. David Murray added the comment: for what it is worth, I am +1 on having completion and history file work by default. The sqlite3 command line does this, for example. I think it is what unix user expect nowadays, and I think it is reasonable. Looking at my home directory, it would appear

[issue10668] Array tests have nonsense in them

2010-12-09 Thread R. David Murray
R. David Murray added the comment: This class was added by the fix for issue 1486663 in r53509. Adding Georg as nosy since he committed it, but it seems like it would be worth fixing it in case someone else uses the class in an additional test in the future. -- nosy: +georg.brandl

[issue10668] Array tests have nonsense in them

2010-12-09 Thread R. David Murray
Changes by R. David Murray : -- versions: +Python 3.1, Python 3.2 ___ Python tracker <http://bugs.python.org/issue10668> ___ ___ Python-bugs-list mailin

[issue10673] multiprocess.Process join method - timeout indistinguishable from success

2010-12-10 Thread R. David Murray
R. David Murray added the comment: My guess is "it shouldn't", and "yes", but I've added the multiprocessing maintainers as nosy and they can answer definitively. -- nosy: +asksol, jnoller, r.david.murray ___ Python tr

[issue10674] Unused dictmaker symbol in 2.* grammar

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

[issue10675] unittest should have an assertChanges context manager

2010-12-10 Thread R. David Murray
R. David Murray added the comment: I think this is the kind of thing where you are *much* better off writing a specialized assert method that exactly fits your use case. There are too many variations on this theme, IMO, for it to make sense as an stdlib method. -- nosy

[issue678250] test_mmap failing on AIX

2010-12-10 Thread R. David Murray
R. David Murray added the comment: Committed the patch_flush_mmap patch to 3.1 in r87163 and 2.7 in r87164. -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue

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

2010-12-10 Thread R. David Murray
R. David Murray added the comment: What do you mean by "there is a test for this case in csv.py"? If I run sniffer against "abcde\ndefgh\n" I get a delimiter of 'e'. If I run it against 'a\nb\n', I get the could not determine delimiter error. Attach

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

2010-12-10 Thread R. David Murray
R. David Murray added the comment: Forgot to attach the patch. -- Added file: http://bugs.python.org/file20006/csv_delimiter_tests.patch ___ Python tracker <http://bugs.python.org/issue10

[issue1574217] isinstance swallows exceptions

2010-12-10 Thread R. David Murray
R. David Murray added the comment: Upon reflection I think the risk of breaking apparently working programs is higher than the benefit to be obtained from backporting this. -- ___ Python tracker <http://bugs.python.org/issue1574

[issue10642] site.py crashes on python startup due to defective .pth file

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

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

2010-12-11 Thread R. David Murray
R. David Murray added the comment: Yeah, obviously wrong. I forgot to finish editing the comment. I think a fallback of ',' makes more sense than ''. What would a delimiter of nothing mean? I don't think the unquoted case can be changed for backward compatibility

[issue10642] site.py crashes on python startup due to defective .pth file

2010-12-11 Thread R. David Murray
R. David Murray added the comment: I like the suggestion of turning it into a warning, myself, but you are right that at the least the error message should be improved. -- resolution: invalid -> stage: committed/rejected -> needs patch status: closed -

[issue10678] email.utils.mktime_tz Giving wrong result , by ignoring Timezone that comes from value of parsedate_tz .

2010-12-11 Thread R. David Murray
R. David Murray added the comment: mktime_tz is documented as turning the input into a *UTC* timestamp. That's what your example shows it doing. There is an open issue elsewhere in this tracker for providing a way to round-trip RFC2822 timestamps. -- nosy: +r.david.m

[issue10642] Improve the error message of addpackage() (site.py) for defective .pth file

2010-12-11 Thread R. David Murray
R. David Murray added the comment: My guess is people don't read warnings when they are a common occurrence. A working Python should not emit any warnings, and a properly working Python program (post 2.6/3.1 (or whenever it was we decided to suppress deprecation warnings by default)) s

[issue10682] With '*args' or even bare '*' in def/call argument list, trailing comma causes SyntaxError

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

[issue10684] Shutil.move deletes file/folder in windows while renaming

2010-12-12 Thread R. David Murray
Changes by R. David Murray : -- nosy: +brian.curtin, tarek, tim.golden ___ Python tracker <http://bugs.python.org/issue10684> ___ ___ Python-bugs-list mailin

[issue10188] tempfile.TemporaryDirectory may throw errors at shutdown

2010-12-12 Thread R. David Murray
R. David Murray added the comment: The tests are failing on windows: http://www.python.org/dev/buildbot/all/builders/x86%20XP-4%203.x/builds/3770/steps/test/logs/stdio == ERROR: test_mkdtemp_failure

[issue10188] tempfile.TemporaryDirectory may throw errors at shutdown

2010-12-12 Thread R. David Murray
R. David Murray added the comment: There's also a typo in the issue number in your commit message (10888 instead of 10188). -- ___ Python tracker <http://bugs.python.org/is

<    9   10   11   12   13   14   15   16   17   18   >