[issue14425] Improve handling of 'timeout' parameter default in urllib.urlopen

2012-03-27 Thread R. David Murray
R. David Murray added the comment: Thanks. Looks good to me. I'll give Senthil a little time to comment, in case he disagrees with my proposal, before committing it. We could conceivably apply this as a bug fix to 3.2, since I don't think there is any backward compatibi

[issue14427] urllib.request.Request get_header and header_items not documented

2012-03-27 Thread R. David Murray
New submission from R. David Murray : These appear from the source to be public methods (and I certainly want to be able to use get_header), but they aren't documented. -- assignee: docs@python components: Documentation messages: 156953 nosy: docs@python, r.david.murray pri

[issue14408] Support the load_tests protocol in the stdlib tests

2012-03-28 Thread R. David Murray
R. David Murray added the comment: Your presumption is probably correct, however if that is the premise of the patch it is incorrect in detail, since we've already fixed test_queue specifically to be runnable with -m unittest without adding a load_tests. I haven't looked at

[issue14408] Support ./python -m unittest in the stdlib tests

2012-03-28 Thread R. David Murray
R. David Murray added the comment: The test_main functions can be converted to use unittest discovery, though. That's what I did for test_email. -- ___ Python tracker <http://bugs.python.org/is

[issue14408] Support ./python -m unittest in the stdlib tests

2012-03-28 Thread R. David Murray
R. David Murray added the comment: Right. What I meant to say was "test_main can be converted to use normal unittest test loading". test_email is not an example of that, since it does use test discovery, but is a good example of a test collection that works with both regrtest an

[issue14423] Getting the starting date of iso week from a week number and a year.

2012-03-28 Thread R. David Murray
Changes by R. David Murray : -- keywords: +needs review nosy: +belopolsky stage: -> patch review versions: -Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.4 ___ Python tracker <http://bugs.python.org/issu

[issue14433] Python 3 interpreter crash with memoryview and os.fdopen

2012-03-28 Thread R. David Murray
R. David Murray added the comment: To make this a little clearer, here's an even simpler example: >>> import os >>> os.fdopen(0) <_io.TextIOWrapper name=0 mode='r' encoding='UTF-8'> >>> 1 __main__:1: ResourceWarning: unclosed file

[issue14433] Python 3 interpreter crash with memoryview and os.fdopen

2012-03-28 Thread R. David Murray
R. David Murray added the comment: Hmm. And D isn't how you shut down the interpreter on Windows, is it? So maybe there is a Windows-specific bug here after all. Or do you get that same dialog if you do the Windows equivalent of D in a shell window (is that different from a CMD windo

[issue14408] Support ./python -m unittest in the stdlib tests

2012-03-29 Thread R. David Murray
R. David Murray added the comment: It sounds like we just need to fix the TestCase inheritance, like we did in test_queue. We should also look more carefully at the threading setup/cleanup. At some point I think we changed the best-practice idiom to be independent of regrtest, but we

[issue14433] Python 3 interpreter crash on windows when stdin closed

2012-03-29 Thread R. David Murray
R. David Murray added the comment: OK, let's reopen this for someone to investigate that Windows crash. -- resolution: invalid -> stage: committed/rejected -> needs patch status: closed -> open title: Python 3 interpreter crash with memoryview and os.fdopen -> Pyth

[issue14433] Python 3 interpreter crash on windows when stdin closed in Python shell

2012-03-29 Thread R. David Murray
Changes by R. David Murray : -- title: Python 3 interpreter crash on windows when stdin closed -> Python 3 interpreter crash on windows when stdin closed in Python shell ___ Python tracker <http://bugs.python.org/issu

[issue14434] Tutorial link in "help()" in Python3 points to Python2 tutorial

2012-03-29 Thread R. David Murray
R. David Murray added the comment: It should be easy enough to patch this to use http://docs.python.org/./tutorial I think that is probably a good idea, but the doc folks should sign off on it. -- keywords: +easy nosy: +r.david.murray title: Tutorial link in "help()"

[issue14426] date format problem in Cookie/http.cookies

2012-03-29 Thread R. David Murray
R. David Murray added the comment: Thanks for the patch. However, the RFC is one thing, but what happens in the real world? Cookies are very messy in the real world, and we cannot just assume that the RFC version works. -- nosy: +r.david.murray

[issue14416] syslog missing constants

2012-03-29 Thread R. David Murray
R. David Murray added the comment: Thanks, Federico, and welcome to the ACKS file. It looks like you are planning to contribute more, so if you haven't already done so could you please submit a contributor agreement? http://www.python.org/psf/contrib/contrib-form/ -- resol

[issue14436] SocketHandler sends obejcts while they cannot be unpickled on receiver's side

2012-03-29 Thread R. David Murray
Changes by R. David Murray : -- nosy: +vinay.sajip ___ Python tracker <http://bugs.python.org/issue14436> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14408] Support ./python -m unittest in the stdlib tests

2012-03-29 Thread R. David Murray
R. David Murray added the comment: Not particularly elegant? Why not? I find marking tests that should be executed by having them (and only them) inherit from TestCase to fit my sense of what is Pythonic, while having a hidden please-ignore-me attribute doesn&#

[issue14408] Support ./python -m unittest in the stdlib tests

2012-03-29 Thread R. David Murray
R. David Murray added the comment: Hmm. OK, I guess we can just disagree on what looks straightforward, and since you are the maintainer of unittest you win :) But unless somebody pronounces, I'll probably keep using the mixin pattern for my own mo

[issue14408] Support ./python -m unittest in the stdlib tests

2012-03-29 Thread R. David Murray
R. David Murray added the comment: I guess I'm not really done talking about this, though my bow to you as maintainer still stands. The mixin tests *can't* be run in isolation, that's the whole point. Otherwise you could just let unittest run them, and wouldn't need

[issue14408] Support ./python -m unittest in the stdlib tests

2012-03-29 Thread R. David Murray
R. David Murray added the comment: The convention in the stdlib is to name the mixin classes TestXXXBase. Granted, a lot of those inherit from TestCase. I have no objection to calling them Mixin instead, I'm just pointing out that there is an existing convention. (As an aside, when I

[issue14441] Add new date/time directives to strftime()

2012-03-29 Thread R. David Murray
R. David Murray added the comment: We pretty much follow the posix standard on strftime. I doubt that we would introduce non-standard specifiers. Are there any in widespread use for your use case? -- nosy: +belopolsky, r.david.murray ___ Python

[issue14441] Add new date/time directives to strftime()

2012-03-29 Thread R. David Murray
R. David Murray added the comment: I'm asking if there are specific % codes commonly used for this case. (Even if there are there is no guarantee we are going to add them, but it makes it possible to make a case for it.) -- ___ Python tr

[issue14441] Add new date/time directives to strftime()

2012-03-29 Thread R. David Murray
R. David Murray added the comment: It turns out that there is standard way to do this (well, a de-facto standard, anyway). glibc (and apparently others) support 'modifiers', of which the '-' modifier will suppress 0 padding. Furthermore, since we pass the format stri

[issue14442] test_smtplib.py lacks "import errno"

2012-03-29 Thread R. David Murray
R. David Murray added the comment: Thanks Ross. I don't think this is worth a news item, even though the bug was shipped in an alpha. If someone disagrees please add one. -- stage: needs patch -> committed/rejected status: open -> closed type:

[issue14442] test_smtplib.py lacks "import errno"

2012-03-29 Thread R. David Murray
R. David Murray added the comment: Ah, woops, I *thought* I'd looked at the diff, but obviously I didn't. Sigh. -- ___ Python tracker <http://bugs.python.o

[issue14441] Add new date/time directives to strftime()

2012-03-29 Thread R. David Murray
R. David Murray added the comment: I think there may even be an issue for that, but with the currently broken issue search I'm not sure. Issue 3173 *might* be what I'm thinking of (thanks, google). And yes, the fact that stuff like this is not cross-platform is why it isn't

[issue3035] Removing apparently unwanted functions from Tkinter

2012-03-29 Thread R. David Murray
R. David Murray added the comment: Raymond is suggesting removal in 3.4, and given that we are doing it I don't see any reason to wait for 3.5, either, so you probably want to update the warning messages to say 3.4 instead of 3.5. Otherwise it looks good to me. Ezio suggested adding a

[issue14444] Virtualenv not portable from Python 2.7.2 to 2.7.3 (os.urandom missing)

2012-03-29 Thread R. David Murray
Changes by R. David Murray : -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/issue1> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13749] socketserver can't stop

2012-03-29 Thread R. David Murray
R. David Murray added the comment: At the very least the docs should be clarified to say that you have to call shutdown from a separate thread. (The one example of using it does do that.) I don't have a strong opinion about the proposed new method, not having used socketserver excep

[issue14447] marshal.load() reads entire remaining file instead of just next value

2012-03-29 Thread R. David Murray
R. David Murray added the comment: This is a duplicate of issue 12291. 3.1 is in security-fix only mode. -- nosy: +r.david.murray resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> file written using marshal in 3.2 can be read

[issue14449] argparse optional arguments should follow getopt_long(3)

2012-03-29 Thread R. David Murray
R. David Murray added the comment: If I understand correctly, this would be a backward incompatible change, so I doubt it will be accepted. Maybe there's some other way to achieve the same end? -- nosy: +bethard, r.david.murray ___ Python tr

[issue14452] SysLogHandler sends invalid messages when using unicode

2012-03-30 Thread R. David Murray
Changes by R. David Murray : -- nosy: +vinay.sajip ___ Python tracker <http://bugs.python.org/issue14452> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14452] SysLogHandler sends invalid messages when using unicode

2012-03-30 Thread R. David Murray
Changes by R. David Murray : -- versions: -Python 2.6, Python 3.1, Python 3.4 ___ Python tracker <http://bugs.python.org/issue14452> ___ ___ Python-bugs-list m

[issue14451] sum, min, max only works with iterable

2012-03-30 Thread R. David Murray
R. David Murray added the comment: The current behavior is how we want the functions to work. If you want to debate the design, the best forum would probably be python-ideas. -- nosy: +r.david.murray resolution: -> rejected stage: -> committed/rejected status: open -&g

[issue13007] gdbm 1.9 has new magic that whichdb does not recognize

2012-03-30 Thread R. David Murray
R. David Murray added the comment: It is, yes. Can you do some debugging and see why it is failing? It should be simple enough to add a print to see what magic number Python is seeing. -- nosy: +r.david.murray ___ Python tracker <h

[issue13007] gdbm 1.9 has new magic that whichdb does not recognize

2012-03-30 Thread R. David Murray
R. David Murray added the comment: Oh, actually...are you sure you are running 3.2.3 against the 3.2.3 stdlib? It looks like you might be running against the Apple default installed library, but I don't know enough about OSX to be

[issue13007] gdbm 1.9 has new magic that whichdb does not recognize

2012-03-30 Thread R. David Murray
R. David Murray added the comment: Oh, I meant sticking a print statement into the stdlib code. But I really think your problem is that you aren't running the 3.2.3 stdlib code. Try opening up the file /Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/dbm/__init__.py in

[issue13007] gdbm 1.9 has new magic that whichdb does not recognize

2012-03-30 Thread R. David Murray
R. David Murray added the comment: Well, that's the correct line. So if that is what is in your /Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/dbm/__init__.py, then there is a problem. If so, please put the line: print(magic) just before that if statement, and l

[issue14446] Remove deprecated tkinter functions

2012-03-30 Thread R. David Murray
Changes by R. David Murray : -- type: -> enhancement ___ Python tracker <http://bugs.python.org/issue14446> ___ ___ Python-bugs-list mailing list Unsubscri

[issue14422] Pack PyASCIIObject fields to reduce memory consumption of pure ASCII strings

2012-03-30 Thread R. David Murray
R. David Murray added the comment: Looks like this should be closed rejected? -- nosy: +r.david.murray type: -> enhancement ___ Python tracker <http://bugs.python.org/issu

[issue14386] Expose dictproxy as a public type

2012-03-30 Thread R. David Murray
Changes by R. David Murray : -- type: -> enhancement ___ Python tracker <http://bugs.python.org/issue14386> ___ ___ Python-bugs-list mailing list Unsubscri

[issue11310] Document byte[s|array]() and byte[s|array](count) in docstrings

2012-03-30 Thread R. David Murray
R. David Murray added the comment: Duplicate of issue 11231. -- nosy: +r.david.murray resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> bytes() constructor is not correctly documented ___ Py

[issue10423] s/args/options in arpgarse "Upgrading optparse code"

2012-03-30 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue14455] plistlib unable to read json and binary plist files

2012-03-30 Thread R. David Murray
R. David Murray added the comment: Thanks for the patch. Could you upload it as a context diff? -- nosy: +r.david.murray stage: -> patch review versions: +Python 3.3 -Python 2.7 ___ Python tracker <http://bugs.python.org/issu

[issue14455] plistlib unable to read json and binary plist files

2012-03-30 Thread R. David Murray
R. David Murray added the comment: Hmm. Apparently what I meant was -u instead of -c (unified diff). I just use the 'hg diff' command myself, which does the right thing :) Of course, to do that you need to have a checkout. (We can probably use the co

[issue13007] gdbm 1.9 has new magic that whichdb does not recognize

2012-03-31 Thread R. David Murray
R. David Murray added the comment: Ned: that shouldn't prevent whichdb from figuring out the type of the db file, though, if I understand correctly. Niklas: that's unexpected, so I suspect something is not right about how you inserted the print. You did say you were a Python newbie

[issue14459] type([].append([]))

2012-03-31 Thread R. David Murray
R. David Murray added the comment: It sounds like manolo69 is just confused about what the append operation returns (which is None). Since this is a carefully considered part of the design of Python (operations that mutate objects rather than creating a new object return None), I'm cl

[issue14458] Non-admin installation fails

2012-03-31 Thread R. David Murray
Changes by R. David Murray : -- nosy: +brian.curtin ___ Python tracker <http://bugs.python.org/issue14458> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14434] Tutorial link in "help()" in Python3 points to Python2 tutorial

2012-03-31 Thread R. David Murray
R. David Murray added the comment: Fixed. Thanks for the report, Bill. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue14417] dict RuntimeError workaround

2012-03-31 Thread R. David Murray
R. David Murray added the comment: Thanks, Nick, this is much better than speculation. -- ___ Python tracker <http://bugs.python.org/issue14417> ___ ___ Pytho

[issue7839] Popen should raise ValueError if pass a string when shell=False or a list when shell=True

2012-03-31 Thread R. David Murray
R. David Murray added the comment: Yes, Nick's library looks good, but that should be a separate issue, it isn't really relevant to this one. -- ___ Python tracker <http://bugs.python.

[issue7839] Popen should raise ValueError if pass a string when shell=False or a list when shell=True

2012-04-01 Thread R. David Murray
R. David Murray added the comment: Which just goes to show that using Popen correctly is not obvious, I suppose. Given that adding these errors *would* break backward compatibility, there would have to be a deprecation if it was done. Personally I don't see the point in adding new

[issue14417] dict RuntimeError workaround

2012-04-01 Thread R. David Murray
R. David Murray added the comment: Antoine: I don't think the point of this code is to come up with a unit (or other) test for the behavior, but to try to determine empirically whether or not this error is likely to be an issue in naive production code (whether it is existing 3.x co

[issue14465] xml.etree.ElementTree: add feature to prettify XML output

2012-04-01 Thread R. David Murray
Changes by R. David Murray : -- type: -> enhancement ___ Python tracker <http://bugs.python.org/issue14465> ___ ___ Python-bugs-list mailing list Unsubscri

[issue14469] Python 3 documentation links

2012-04-01 Thread R. David Murray
R. David Murray added the comment: The FAQ link (and removing the new style class link, but I think there is already an issue for that) is the only one I see that should be pointing to 3.x that isn't. python.org/doc and docs.python.org is intentionally the 2.7 docs for now. We ha

[issue14476] sudo breaks python

2012-04-02 Thread R. David Murray
R. David Murray added the comment: See also http://www.gratisoft.us/bugzilla/show_bug.cgi?id=464, which lists versions. Sounds like the same bug Amaury linked to. -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/issue14

[issue14476] sudo breaks python

2012-04-02 Thread R. David Murray
R. David Murray added the comment: I'm going to close this. If it turns out not to be a bug in sudo, please reopen. -- resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Python tracker <http:

[issue14478] Decimal hashing very slow, could be cached

2012-04-02 Thread R. David Murray
Changes by R. David Murray : -- nosy: +skrah ___ Python tracker <http://bugs.python.org/issue14478> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14466] Rip out mq instructions

2012-04-02 Thread R. David Murray
R. David Murray added the comment: One person that I helped at the PyCon sprints was using it, because the devguide said to. But I think she was more confused by it than she would have been by 'hg diff', at least to start out. Or maybe not...but I wasn't able to help

[issue14466] Rip out mq instructions

2012-04-02 Thread R. David Murray
R. David Murray added the comment: LGTM. -- ___ Python tracker <http://bugs.python.org/issue14466> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14480] os.kill on Windows should accept zero as signal

2012-04-03 Thread R. David Murray
Changes by R. David Murray : -- nosy: +brian.curtin stage: -> needs patch type: behavior -> enhancement ___ Python tracker <http://bugs.python.org/i

[issue14481] trivial formatting error in subprocess docs

2012-04-03 Thread R. David Murray
R. David Murray added the comment: Thanks. -- nosy: +r.david.murray resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue14480] os.kill on Windows should accept zero as signal

2012-04-03 Thread R. David Murray
R. David Murray added the comment: Hmm. I would think it would be a good idea to have os.kill do posix emulation where that makes sense, it makes cross-platform usage easier. That's what 'kill' with no signal does, right (kills the process, just like the posix default)?

[issue14484] missing return in win32_kill?

2012-04-03 Thread R. David Murray
R. David Murray added the comment: I would think that if Windows doesn't support a specific signal, os.kill should raise a ValueError. But I'm an outsider here, I know nothing about how Windows works for this except what I'm reading here. To answer your question: there are

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

2012-04-03 Thread R. David Murray
R. David Murray added the comment: I made some time to work on this today. Attached is a new patch. I've incorporated the tests from the existing patches (though I'm doing the infrastructure a bit differently). PLAIN seems to be a specific case of the general authenticate, so I

[issue14425] Improve handling of 'timeout' parameter default in urllib.urlopen

2012-04-03 Thread R. David Murray
R. David Murray added the comment: Well, it turns out that this design is intentional, because actually using the global socket timeout is deprecated (see issue 2451). (That is, the non-None default value of the timeout parameter is a backward compatibility hack.) So I'm closing th

[issue14493] use gvfs-open/xdg-open in Lib/webbrowser.py

2012-04-04 Thread R. David Murray
R. David Murray added the comment: If gvfs is preferred, should its if block come second, or perhaps those two should be an if/elif block? -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/issue14

[issue14489] repr() function link on the built-in function documentation is incorrect

2012-04-04 Thread R. David Murray
R. David Murray added the comment: This is only a problem in the 2.7 docs. I tried adding a .. py:currentmodule:: builtins directive to the page, hoping that would make all unqualified links local, but it didn't work. I think the fix will require someone with more Sphinx-foo than I

[issue14490] abitype.py wrong raise format

2012-04-04 Thread R. David Murray
R. David Murray added the comment: Thanks for the patch. Do you have an interest in trying your hand at writing a test for this to go into Lib/test/test_tools.py? -- nosy: +r.david.murray stage: -> test needed ___ Python tracker &l

[issue14492] pdeps.py has_key

2012-04-04 Thread R. David Murray
Changes by R. David Murray : -- stage: -> test needed type: -> behavior ___ Python tracker <http://bugs.python.org/issue14492> ___ ___ Python-bugs-list

[issue14491] fixcid.py is using <> instead of !=

2012-04-04 Thread R. David Murray
Changes by R. David Murray : -- stage: -> test needed ___ Python tracker <http://bugs.python.org/issue14491> ___ ___ Python-bugs-list mailing list Unsubscri

[issue14494] __future__.py and its documentation claim absolute imports became mandatory in 2.7, but they didn't

2012-04-04 Thread R. David Murray
Changes by R. David Murray : -- stage: -> patch review versions: -Python 2.6, Python 3.1 ___ Python tracker <http://bugs.python.org/issue14494> ___ ___ Py

[issue14490] abitype.py wrong raise format

2012-04-04 Thread R. David Murray
R. David Murray added the comment: Nevermind, it occurred to me that what we really need is a 'test_sundry' style test for the tools. Here's a patch that adds that. I'll apply it after I fix the other bugs it reveals (which include the other two you poin

[issue14493] use gvfs-open/xdg-open in Lib/webbrowser.py

2012-04-04 Thread R. David Murray
R. David Murray added the comment: OK, sounds fine. Shall we close this as fixed then? -- ___ Python tracker <http://bugs.python.org/issue14493> ___ ___ Pytho

[issue14497] Invalid syntax Python files in Python sources tree

2012-04-04 Thread R. David Murray
R. David Murray added the comment: Some of these at least are intentional. There are test files (especially in 2to3!) that use python2 syntax, and test files that have specially crated syntax errors in them. Sphinx at one point was using Python2, I'm not sure if it has been upgraded

[issue634412] RFC 2112 in email package

2012-04-04 Thread R. David Murray
R. David Murray added the comment: Yes, that's why its status is still "open" :) As far as I know no one is actively working on it (email issues are all assigned to me so I can keep track of them, not because I'm actively working on all of them). At this point I haven&#x

[issue14490] abitype.py wrong raise format

2012-04-04 Thread R. David Murray
R. David Murray added the comment: Serhiy: I'm not sure what you are talking about. Does it relate to this specific issue (abitype.py)? -- ___ Python tracker <http://bugs.python.org/is

[issue14491] fixcid.py is using <> instead of !=

2012-04-04 Thread R. David Murray
R. David Murray added the comment: Thanks for the patch. -- resolution: -> fixed stage: test needed -> committed/rejected ___ Python tracker <http://bugs.python.org/i

[issue14490] abitype.py wrong raise format

2012-04-04 Thread R. David Murray
R. David Murray added the comment: Fixed in 62dde5dd475e and 696cb524322a. Thanks for the patch. -- resolution: -> fixed stage: test needed -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue14491] fixcid.py is using <> instead of !=

2012-04-04 Thread R. David Murray
Changes by R. David Murray : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue14491> ___ ___ Python-bugs-list mailing list Unsubscri

[issue14492] pdeps.py has_key

2012-04-04 Thread R. David Murray
R. David Murray added the comment: This one is not a syntax error, so the new 'sundry' tests don't catch it. Want to write a test for this one? -- nosy: +r.david.murray ___ Python tracker <http://bugs.pyt

[issue14497] Invalid syntax Python files in Python sources tree

2012-04-04 Thread R. David Murray
R. David Murray added the comment: Here's a run of your script against Python3.3 I see nothing on this list that is a problem (after the recent fixes in Tools/scripts). The Doc stuff can be ignored, that's a Python2 based toolchain checked out by the Doc 'make' file.

[issue14493] use gvfs-open/xdg-open in Lib/webbrowser.py

2012-04-04 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue14428] Implementation of the PEP 418

2012-04-04 Thread R. David Murray
Changes by R. David Murray : -- type: -> enhancement ___ Python tracker <http://bugs.python.org/issue14428> ___ ___ Python-bugs-list mailing list Unsubscri

[issue13238] Add shell command helpers to subprocess module

2012-04-04 Thread R. David Murray
Changes by R. David Murray : -- nosy: +r.david.murray type: -> enhancement ___ Python tracker <http://bugs.python.org/issue13238> ___ ___ Python-bugs-list mai

[issue14501] Error initialising BaseManager class with 'authkey' argument of string type.

2012-04-05 Thread R. David Murray
R. David Murray added the comment: Thanks for the report. I'm not familiar with multiprocessing, so I'll have to leave it to someone else to judge the fix. We use 'crash' to indicate a segfault in the Python interpreter, so I'm changing the type to 'be

[issue14503] docs:Code not highlighted

2012-04-05 Thread R. David Murray
R. David Murray added the comment: I'm not seeing any unhighlighted examples in that section. -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/is

[issue14504] Suggestion to improve argparse's help messages for "store_const"

2012-04-05 Thread R. David Murray
Changes by R. David Murray : -- nosy: +bethard versions: +Python 3.3 -Python 2.7 ___ Python tracker <http://bugs.python.org/issue14504> ___ ___ Python-bugs-list m

[issue14506] HTMLParser can't handle erronous end tags with additional info in them

2012-04-05 Thread R. David Murray
R. David Murray added the comment: Which version of python did you test with? There have been several improvements html parsing recently. -- nosy: +ezio.melotti, r.david.murray ___ Python tracker <http://bugs.python.org/issue14

[issue14506] HTMLParser can't handle erronous end tags with additional info in them

2012-04-05 Thread R. David Murray
R. David Murray added the comment: I just tested your script on 3.2.3a2+, and it raises an error. Ezio made the other parsing changes, I'll leave it to him to evaluate what if anything should be done here. -- versions: +Python 3.3 ___ P

[issue14503] docs:Code not highlighted

2012-04-05 Thread R. David Murray
R. David Murray added the comment: Berker: you can reproduce the bug, or the fact that they are highlighted? The png looks like they are highlighted, so I assume the latter. -- ___ Python tracker <http://bugs.python.org/issue14

[issue14503] docs:Code not highlighted

2012-04-05 Thread R. David Murray
R. David Murray added the comment: Ah, you mean they are not *syntax* highlighted. Now I understand. Sorry for missing that. My understanding is that Sphinx does not use Python directly to parse the code and highlight it, it uses pygments, which uses regexes. So this basically amounts to

[issue14503] docs:Code not highlighted

2012-04-05 Thread R. David Murray
R. David Murray added the comment: Huh. Well, in another issue Georg said it was now possible to upgrade the doc build toolchain to Python3. -- ___ Python tracker <http://bugs.python.org/issue14

[issue7839] Popen should raise ValueError if pass a string when shell=False or a list when shell=True

2012-04-05 Thread R. David Murray
R. David Murray added the comment: No, you need to be able to pass bytes to Popen, just like you do to the os.exec[xx] functions. When the OS doesn't fully support unicode, that is sometimes the only option. As for filenames; again, as long as the underlying systems use bytes filenam

[issue14508] gprof2html is broken

2012-04-05 Thread R. David Murray
R. David Murray added the comment: I'm getting 'malformed patch at line 30' when I try to apply your patch. Also, while it's not wrong, I don't think there's much point in catching the NameError and doing a fail. The second Exception clause is definitely wrong

[issue14514] Equivalent to tempfile.NamedTemporaryFile that deletes file at context exit

2012-04-05 Thread R. David Murray
New submission from R. David Murray : A common pattern (especially in writing tests) is to create a named temporary file, operate on it with tools that take the filename, and then delete the file. This pattern would be facilitated by a version of NamedTemporaryFile that deleted the named

[issue14515] tempfile.TemporaryDirectory documented as returning object but returns name

2012-04-05 Thread R. David Murray
New submission from R. David Murray : The title pretty much says it all. I believe the behavior is correct (more useful than returning an object that is only useful for obtaining the name) even though it is unusual for context managers. In any case there is plenty of code using the existing

[issue14514] Equivalent to tempfile.NamedTemporaryFile that deletes file at context exit

2012-04-05 Thread R. David Murray
R. David Murray added the comment: Grr. I did a search first, and even used google because I know search is currently broken, and I did not find that issue. -- ___ Python tracker <http://bugs.python.org/issue14

[issue14243] NamedTemporaryFile unusable under Windows

2012-04-05 Thread R. David Murray
R. David Murray added the comment: See issue 14514 for an alternate proposal to solve this. I did search before I opened that issue, but search is currently somewhat broken and I did not find this issue. I'm not marking it as a dup because my proposal is really a new fe

[issue14492] pdeps.py has_key

2012-04-05 Thread R. David Murray
R. David Murray added the comment: Thanks, Popa. I made some style changes to the tests, but otherwise used your patch. One small note: your might want to see about setting your editor to show whitespace at the ends of lines, or use the 'make patchcheck' command to check for

[issue14341] sporadic (?) test_urllib2 failures

2012-04-06 Thread R. David Murray
R. David Murray added the comment: If one changes the stacklevel in the DeprecationWarnings in the library to '2' instead of '1' (I believe it should be '2'), then an interesting array of deprecation warnings are issued...including from cookiejar code. Most of

<    44   45   46   47   48   49   50   51   52   53   >