[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

[issue14502] Document better what happens on releasing an unacquired lock

2012-04-06 Thread R. David Murray
R. David Murray added the comment: It doesn't matter *how* you get to the situation where you are releasing a lock that hasn't been acquired, the point is to document what actually happens when you do the release. And just yesterday I needed to know this, since I have a lock that

[issue14502] Document better what happens on releasing an unacquired lock

2012-04-06 Thread R. David Murray
R. David Murray added the comment: I, on the other hand, would prefer if it were made part of the API contract that an error is raised, and to fix any stdlib implementations *of that API* that don't conform to that. (That is, locks from other modules may well not follow that API, and

[issue14518] Add bcrypt $2a$ to crypt.py

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

[issue14519] In re's examples the example with scanf() contains wrong analog for %x, %X specifiers

2012-04-06 Thread R. David Murray
R. David Murray added the comment: The documentation appears to be correct to me. Can you demonstrate your suggestion with some examples? -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/issue14

[issue14524] Python-2.7.3rc2/Modules/_ctypes/libffi/src/dlmalloc.c won't compile on ia64-hp-hpux11.31 without -DHAVE_USR_INCLUDE_MALLOC_H

2012-04-07 Thread R. David Murray
R. David Murray added the comment: Is this a bug report about configure, or a bug report about a crash during compilation after you've adjusted the configure parameters? It seems like you are reporting two different things here. For the configure issue, would you care to suggest a patc

[issue14525] ia64-hp-hpux11.31 won't compile Python-2.6.8rc2 without -D_TERMIOS_INCLUDED

2012-04-07 Thread R. David Murray
R. David Murray added the comment: Can you suggest a patch? As I said on the other issue I don't believe any core developers have access to hpux. -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/is

[issue14526] Python-2.6.8rc2 test never finishes ia64-hp-hpux11.31

2012-04-07 Thread R. David Murray
R. David Murray added the comment: To quote Martin from an older issue: "Python on HP-UX has never really worked well, but it has worked in some fashion for a long time". IA64 probably introduces a whole slew of new issues. If you can work through them and suggest patches tha

[issue14526] Python-2.6.8rc2 test never finishes ia64-hp-hpux11.31

2012-04-07 Thread R. David Murray
R. David Murray added the comment: Oh, and python2.6 is in security-fix only mode, so any fixes would only go into go into 2.7 and later. Have you gotten as far as trying to reproduce this on 2.7? -- ___ Python tracker <http://bugs.python.

[issue14526] Python-2.6.8rc2 test never finishes ia64-hp-hpux11.31

2012-04-07 Thread R. David Murray
R. David Murray added the comment: Oh, wait, I see you are testing the security RC. Is this a new problem, or does it also occur with the previous released version of 2.6? -- ___ Python tracker <http://bugs.python.org/issue14

[issue6972] zipfile.ZipFile overwrites files outside destination path

2012-04-08 Thread R. David Murray
R. David Murray added the comment: To clarify what Serhiy said about the patches, the link to the patch works, but the Reitveld review button isn't working. I get 'No issue exists with that id (6972)'. -- nosy: +loewis ___ Python

[issue14526] Python-2.6.8rc2 test never finishes ia64-hp-hpux11.31

2012-04-08 Thread R. David Murray
R. David Murray added the comment: Can you clarify? In what sense has the 2.7.3 rc regressed? -- ___ Python tracker <http://bugs.python.org/issue14526> ___ ___

[issue14533] Modify regrtest to make test_main optional

2012-04-08 Thread R. David Murray
New submission from R. David Murray : The attached patch makes 'test_main' optional for stdlib tests. If a test module does not have a 'test_main', regrtest will use the unittest loadTestsFromModule loader to load the tests. This moves us further in the direction of u

[issue14533] Modify regrtest to make test_main optional

2012-04-08 Thread R. David Murray
R. David Murray added the comment: I can't imagine when you'd *not* want setUpModule/tearDownModule to run, so that's a reasonable conversion path. The other path for reap_children and reap_threads would be to apply them to the individual classes that require them within

[issue14502] Document better what happens on releasing an unacquired lock

2012-04-08 Thread R. David Murray
R. David Murray added the comment: I think dummy_threading should be fixed (but only in 3.3, just in case it causes any backward compatibility issues with someone's code). Logging I'd leave to Vinay to decide about. I'm assuming that if any of the others devs nosy on this issu

[issue12537] mailbox's _become_message is very fragile

2012-04-08 Thread R. David Murray
R. David Murray added the comment: David, thanks for your assistance. I didn't wind up using your patch, but the work you did was valuable in preparing the patch I committed. What I did was turn your 'detect the attributes' recipe into a unit test. I then applied your patch

[issue14523] IDLE's subprocess startup error

2012-04-08 Thread R. David Murray
R. David Murray added the comment: I'm sorry, but the bug tracker isn't a good place to get help. You'll have better luck getting assistance for this on the python-list mailing list (see mail.python.org). -- nosy: +r.david.murray resolution: -> invalid stage: -&g

[issue14534] Add method to mark unittest.TestCases as "do not run".

2012-04-09 Thread R. David Murray
New submission from R. David Murray : A common pattern in testing is to have a base test class that implements test methods, and subclasses that provide various data that drives the tests to be run in different ways. It is convenient for the base class to inherit from TestCase, but this

[issue14533] Modify regrtest to make test_main optional

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

[issue14534] Add method to mark unittest.TestCases as "do not run".

2012-04-09 Thread R. David Murray
R. David Murray added the comment: Antoine: I don't have any problem with that personally, but Michael did, and he's the maintainer :) But there is a small advantage: it means you don't have to keep repeating the 'unittest.TestCase' boilerplate in each subclass decl

[issue14539] logging module: logger does not print log message with logging.INFO level

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

[issue14534] Add method to mark unittest.TestCases as "do not run".

2012-04-09 Thread R. David Murray
R. David Murray added the comment: Note that I did just document the mixin idiom in the Lib/test docs. Which core developers probably don't read :) -- ___ Python tracker <http://bugs.python.org/is

[issue14243] tempfile.NamedTemporaryFile not particularly useful on Windows

2012-04-10 Thread R. David Murray
R. David Murray added the comment: "delete_after" what? I know it is somewhat implicit in the fact that it is a context manager call, but that is not the only context the method name will be seen in. (eg: 'dir' list of methods, doc index, etc). Even as a context manager

[issue14243] tempfile.NamedTemporaryFile not particularly useful on Windows

2012-04-10 Thread R. David Murray
R. David Murray added the comment: By the way, I still think it would be nicer just to have the context manager work as expected with delete=True (ie: doesn't delete until the end of the context manager, whether the file is closed or not). I'm OK with being voted down on th

[issue14243] tempfile.NamedTemporaryFile not particularly useful on Windows

2012-04-10 Thread R. David Murray
R. David Murray added the comment: Well, fixing NamedTemporaryFile in either of the ways we've discussed isn't going to fix people writing non-portable code. A unix coder isn't necessarily going to close the file before reading it. However, it would at least significantly in

[issue14546] lll.py can't handle multiple parameters correctly

2012-04-11 Thread R. David Murray
R. David Murray added the comment: Thanks for the patch. Do you have any interest in writing a test for this? Tests for tools go in Lib/test/test_tools.py. -- nosy: +r.david.murray stage: -> test needed type: -> behavior versions: +Python 3.2, Python 3.3 -Pyth

[issue14532] multiprocessing module performs a time-dependent hmac comparison

2012-04-11 Thread R. David Murray
R. David Murray added the comment: It would also be reasonable to add a comment to the code mentioning why this particular (security) comparison is *not* vulnerable to a timing attack, which would serve the education purpose if someone does look at the code. -- nosy: +r.david.murray

[issue14547] Python symlink to script behaves unexpectedly

2012-04-11 Thread R. David Murray
R. David Murray added the comment: The content of a symbolic symlink is a symbolic reference to another location in the file system. If you had used a hard link it would certainly work as you expected. The behavior with respect to symbolic links ought to be documented here: http

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

2012-04-11 Thread R. David Murray
R. David Murray added the comment: I misread the docs. They aren't wrong, but it is still the case that they don't mention that the directory name is what you get on entry to the context, which is what led to my confusion. Here's a patch. -- keywords: +patch nosy:

[issue14551] imp.load_source docs removed from python3 docs...is this correct?

2012-04-11 Thread R. David Murray
New submission from R. David Murray : This was removed in 2cf7bb2bbfb8 along with a bunch of other functions. Yet in issue 13959 Brett mentions needing to implement it. I don't see any replacement for its functionality in importlib, so I would think it would be a function we would wa

[issue14508] gprof2html is broken

2012-04-11 Thread R. David Murray
R. David Murray added the comment: Thanks for the patch. I don't think you ran the test though, since it didn't pass, and there was a mistake in your patch :) I had to change the test considerably, and only applied the test part on 3.3 since I used mock. -- resolution:

[issue14551] imp.load_source docs removed from python3 docs...is this correct?

2012-04-11 Thread R. David Murray
R. David Murray added the comment: OK, the text at the start of the section, that I didn't notice in the 2.7 docs, says they are obsolete and replaced by find_module and import_module. But load_source is much more convenient, so I for one am not going to remove my use of it in the te

[issue14555] clock_gettime/settime/getres: Add more clock identifiers

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

[issue14553] http.server module: grammar fix

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

[issue14552] test module: remove repetition

2012-04-11 Thread R. David Murray
New submission from R. David Murray : 2.7 d60ef141e090 3.2 f25fb7e1d076 3.3 bd353f12c007 Thanks. -- nosy: +r.david.murray resolution: -> fixed stage: -> committed/rejected status: open -> closed type: -> behavior ___ Python tr

[issue14399] zipfile and creat/update comment

2012-04-11 Thread R. David Murray
R. David Murray added the comment: Serhiy: this looks good. I get some test errors when I apply it on 2.7 though. Would you be interested in doing a 2.7 version as well? (Minor comment: the test method would be better as two test methods, and it would be nice to have a third test method

[issue14399] zipfile and creat/update comment

2012-04-11 Thread R. David Murray
R. David Murray added the comment: Serhiy: this looks good. I get some test errors when I apply it on 2.7 though. Would you be interested in doing a 2.7 version as well? (Minor comment: the test method would be better as two test methods, and it would be nice to have a third test method

[issue14399] zipfile and creat/update comment

2012-04-11 Thread R. David Murray
Changes by R. David Murray : -- Removed message: http://bugs.python.org/msg158095 ___ Python tracker <http://bugs.python.org/issue14399> ___ ___ Python-bugs-list m

[issue14556] telnetlib Telnet.expect fails with timeout=0

2012-04-11 Thread R. David Murray
R. David Murray added the comment: Can you point to the changes you think are at issue? That might help us track down why the change was made. This isn't necessarily a bug, but even if it isn't, the behavior should probably be explicitly documented. -- nosy:

[issue14556] telnetlib Telnet.expect fails with timeout=0

2012-04-12 Thread R. David Murray
R. David Murray added the comment: Ah, so there are actually two timeouts of interest. One is "time out if there is no more data for X seconds", and the other is "time out if there is no match for X seconds". It used to do the former, now it does the latter. I think y

[issue14399] zipfile and creat/update comment

2012-04-12 Thread R. David Murray
R. David Murray added the comment: Thanks. We've had trouble in the past with a conversion to new style class breaking people's code. People are less likely to be subclassing ZipFile, though, so it is probably OK. -- ___ Python trac

[issue1065986] Fix pydoc crashing on unicode strings

2012-04-12 Thread R. David Murray
R. David Murray added the comment: It is fixed in Python3. Apparently Raymond was wrong about it having been fixed earlier (or perhaps he was referring to the unicode being removed from the pydoc __credits__ string). -- nosy: +r.david.murray

[issue14538] HTMLParser: parsing error

2012-04-12 Thread R. David Murray
R. David Murray added the comment: Yes, after considerable discussion those of working on this stuff decided that the goal should be that the parser be able to complete parsing, without error, anything the typical browsers can parse (which means, pretty much anything, though that says

[issue5113] 2.5.4.3 / test_posix failing on HPUX systems

2012-04-12 Thread R. David Murray
R. David Murray added the comment: Search is currently not returning all matching issues, unfortunately. You might get a few more hits by searching for hpux in the title field via advanced search. -- nosy: +r.david.murray ___ Python tracker

[issue14399] zipfile and creat/update comment

2012-04-12 Thread R. David Murray
R. David Murray added the comment: Thanks, Serhiy. I made one small change, using 'with self.assertEqual' in the TypeError test. You might want to check that out, it is a useful technique. Oh, and I removed the type check from the 2.7 patch. You can use a unicode string as

[issue14399] zipfile and creat/update comment

2012-04-12 Thread R. David Murray
R. David Murray added the comment: I mean "with self.assertRaises(TypeError):". -- ___ Python tracker <http://bugs.python.org/issue14399> ___ ___

[issue14399] zipfile and creat/update comment

2012-04-13 Thread R. David Murray
R. David Murray added the comment: Ah. I based that on the fact that the third test passed without the change. I thought you were adding that test of changing the comment just as a double check. I should have asked instead of assuming

[issue14399] zipfile and creat/update comment

2012-04-13 Thread R. David Murray
R. David Murray added the comment: I must have been seeing what I expected to see. The test that failed was the non-empty test. News item fixed, thanks for the correction. -- ___ Python tracker <http://bugs.python.org/issue14

[issue13700] imaplib.IMAP4.authenticate authobject does not work correctly in python3

2012-04-14 Thread R. David Murray
Changes by R. David Murray : -- title: imaplib.IMAP4.authenticate authobject fails with PLAIN mechanism -> imaplib.IMAP4.authenticate authobject does not work correctly in python3 ___ Python tracker <http://bugs.python.org/issu

[issue14587] Certain diacritical marks can and should be capitalized... e.g. ü --> Ü

2012-04-15 Thread R. David Murray
R. David Murray added the comment: It works fine if you use unicode. -- nosy: +r.david.murray resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue14587] Certain diacritical marks can and should be capitalized... e.g. ü --> Ü

2012-04-15 Thread R. David Murray
R. David Murray added the comment: Indeed, this type of confusion is a large part of the motivation behind Python3. You might try posting to the python-list mailing list asking for help if for some reason you are required to use python2 for your program

[issue14576] IDLE cannot connect to subprocess - New solution

2012-04-15 Thread R. David Murray
R. David Murray added the comment: It certainly is worthwhile pursing this in some fashion, since at the very least the existing error message needs to be improved. But perhaps there is something more that can be done to gracefully handle this case, instead. I think the next interesting

[issue14586] TypeError: truncate() takes no keyword arguments

2012-04-15 Thread R. David Murray
R. David Murray added the comment: The suggested doc change won't work, since that would imply that the size argument was required. We'd have to use the old truncate([size]) notation. Supporting it as a keyword argument is probably to be preferred, but someone will have to write

[issue6657] Copy documentation section

2012-04-15 Thread R. David Murray
R. David Murray added the comment: Hmm. 2.5 years later it isn't looking like we are going to get a response. Closing. -- nosy: +r.david.murray resolution: -> works for me stage: -> committed/rejected status: open -> closed ___

[issue14590] ConfigParser doesn't strip inline comment when delimiter occurs earlier without preceding space.

2012-04-15 Thread R. David Murray
Changes by R. David Murray : -- assignee: -> lukasz.langa nosy: +lukasz.langa ___ Python tracker <http://bugs.python.org/issue14590> ___ ___ Python-bugs-lis

<    22   23   24   25   26   27   28   29   30   31   >