[issue809163] Can't add files with spaces

2010-11-19 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

[issue10424] better error message from argparse when positionals missing

2010-11-19 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

[issue8705] shutil.rmtree with empty filepath

2010-11-20 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

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

2010-11-20 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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 rep...@bugs.python.org http

[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 rdmur...@bitdance.com: -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10467 ___ ___ Python-bugs-list

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

2010-11-20 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- keywords: -easy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5871 ___ ___ Python-bugs-list

[issue1574217] isinstance swallows exceptions

2010-11-20 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

[issue1574217] isinstance swallows exceptions

2010-11-20 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- versions: -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1574217 ___ ___ Python

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

2010-11-20 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- keywords: -patch stage: unit test needed - patch review versions: -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5800

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

2010-11-20 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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 rdmur...@bitdance.com 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 rep...@bugs.python.org http

[issue3709] BaseHTTPRequestHandler innefficient when sending HTTP header

2010-11-20 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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 rep

[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 rdmur...@bitdance.com: -- stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9721

[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 rdmur...@bitdance.com: -- versions: +Python 2.7, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9721

[issue9500] urllib2: Content-Encoding

2010-11-20 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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 compression in liburl2

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

2010-11-20 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- assignee: eric.araujo - r.david.murray stage: needs patch - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10453

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

2010-11-20 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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 rdmur...@bitdance.com 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

[issue3709] BaseHTTPRequestHandler innefficient when sending HTTP header

2010-11-20 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3709 ___ ___ Python-bugs

[issue809163] Can't add files with spaces

2010-11-20 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

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

2010-11-20 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

[issue3709] BaseHTTPRequestHandler innefficient when sending HTTP header

2010-11-21 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

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

2010-11-21 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

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

2010-11-21 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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 passed

[issue10466] locale.py resetlocale throws exception on Windows

2010-11-21 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

[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 rdmur...@bitdance.com 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

[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 rdmur...@bitdance.com: 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 rdmur...@bitdance.com: -- nosy: +skoczian ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10498 ___ ___ Python-bugs-list

[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 rdmur...@bitdance.com added the comment: I've opened issue 10498 for the calendar bug. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10466

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

2010-11-21 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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 a very

[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 rdmur...@bitdance.com 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

[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 rdmur...@bitdance.com 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

[issue10506] argparse execute system exit in python prompt

2010-11-22 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

[issue10490] mimetypes read_windows_registry fails for non-ASCII keys

2010-11-22 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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 registry

[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 rdmur...@bitdance.com: -- nosy: +aclover ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9291 ___ ___ Python-bugs-list

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

2010-11-23 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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 - feature request

[issue10572] Move unittest test package to Lib/test

2010-11-29 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

[issue10572] Move unittest test package to Lib/test

2010-11-29 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

[issue1079] decode_header does not follow RFC 2047

2010-11-30 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- assignee: - r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1079 ___ ___ Python

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

2010-11-30 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

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

2010-11-30 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

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

2010-11-30 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

[issue10092] calendar does not restore locale properly

2010-12-01 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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 rep...@bugs.python.org

[issue10580] Installer sentence in bold

2010-12-01 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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 Complete

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

2010-12-01 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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 - closed

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

2010-12-02 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10603 ___ ___ Python-bugs-list

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

2010-12-02 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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 rep...@bugs.python.org http

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

2010-12-02 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

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

2010-12-02 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- resolution: - out of date stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10603

[issue8989] email.utils.make_msgid: specify domain

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

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

2010-12-02 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

[issue10197] subprocess.getoutput fails on win32

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

[issue1058305] HTMLParser.locatestartagend regex too stringent

2010-12-02 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

[issue1486713] HTMLParser : A auto-tolerant parsing mode

2010-12-02 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

[issue975556] HTMLParser lukewarm on bogus bare attribute chars

2010-12-02 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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 parsing mode

[issue1046092] HTMLParser fix to accept mailformed tag attributes

2010-12-02 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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 auto

[issue1046092] HTMLParser fix to accept malformed tag attributes

2010-12-02 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- title: HTMLParser fix to accept mailformed tag attributes - HTMLParser fix to accept malformed tag attributes ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1046092

[issue10197] subprocess.getoutput fails on win32

2010-12-03 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

[issue1486713] HTMLParser : A auto-tolerant parsing mode

2010-12-03 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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 not as a keyword

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

2010-12-04 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

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

2010-12-05 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

[issue10631] ZipFile and current directory change

2010-12-05 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

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

2010-12-06 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

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

2010-12-06 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I'm working on it. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10453 ___ ___ Python

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

2010-12-06 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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 rep...@bugs.python.org

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

2010-12-06 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

[issue10640] SystemError on pickling bytes = 4GB

2010-12-06 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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 rep

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

2010-12-06 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

[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 rdmur...@bitdance.com: -- nosy: +michael.foord ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9517 ___ ___ Python-bugs

[issue10626] test_concurrent_futures implicitly installs a logging handler on import

2010-12-06 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

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

2010-12-06 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

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

2010-12-06 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

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

2010-12-07 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- stage: - committed/rejected type: crash - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10643

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

2010-12-07 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

[issue9523] Improve dbm modules

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

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

2010-12-07 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

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

2010-12-07 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

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

2010-12-07 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

[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 rdmur...@bitdance.com 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

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

2010-12-08 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

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

2010-12-08 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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 rep...@bugs.python.org

[issue10654] test_datetime fails on Python3.2 windows binary

2010-12-08 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +belopolsky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10654 ___ ___ Python-bugs

[issue10653] test_time test_strptime fails on windows

2010-12-08 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +belopolsky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10653 ___ ___ Python-bugs

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

2010-12-08 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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 rep

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

2010-12-08 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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 rep...@bugs.python.org http://bugs.python.org

[issue10660] format() to lower and uppercase

2010-12-09 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

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

2010-12-09 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

[issue5845] rlcompleter should be enabled automatically

2010-12-09 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

[issue10668] Array tests have nonsense in them

2010-12-09 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

[issue10668] Array tests have nonsense in them

2010-12-09 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- versions: +Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10668

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

2010-12-10 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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 tracker rep

[issue10674] Unused dictmaker symbol in 2.* grammar

2010-12-10 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10674 ___ ___ Python

[issue10675] unittest should have an assertChanges context manager

2010-12-10 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

[issue678250] test_mmap failing on AIX

2010-12-10 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Committed the patch_flush_mmap patch to 3.1 in r87163 and 2.7 in r87164. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue678250

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

2010-12-10 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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. Attached is a reformulated

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

2010-12-10 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Forgot to attach the patch. -- Added file: http://bugs.python.org/file20006/csv_delimiter_tests.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10515

[issue1574217] isinstance swallows exceptions

2010-12-10 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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 rep...@bugs.python.org http

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

2010-12-10 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- resolution: - invalid stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10642

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

2010-12-11 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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 rdmur...@bitdance.com 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 - open

  1   2   3   4   5   6   7   8   9   10   >