[issue14360] email.encoders.encode_quopri doesn't work with python 3.2

2012-03-22 Thread R. David Murray
R. David Murray added the comment: email in python3 doesn't necessarily work with binary payloads. (Obviously here you've found the opposite problem, but it is in methods that aren't used by the package itself.) There aren't any tests of binary payloads in the test sui

[issue14078] Add 'sourceline' property to xml.etree Elements

2012-03-22 Thread R. David Murray
Changes by R. David Murray : -- keywords: +needs review stage: -> patch review type: -> enhancement ___ Python tracker <http://bugs.python.org/i

[issue14367] try/except block in ismethoddescriptor() in inspect.py, so that pydoc works with pygame in Python 3.2

2012-03-22 Thread R. David Murray
R. David Murray added the comment: Thanks for the report and patch. However, in general we prefer not to mask exceptions (doing that can hide bugs in programs). It would probably be reasonable to fix this in pydoc, however. Alternatively there might be a specific exception or set of

[issue14378] __future__ imports fail when compiling from python ast

2012-03-22 Thread R. David Murray
R. David Murray added the comment: After this commit the buildbots are dying randomly with segfaults. -- nosy: +r.david.murray priority: normal -> release blocker status: closed -> open ___ Python tracker <http://bugs.python.org/i

[issue14388] configparser.py traceback

2012-03-22 Thread R. David Murray
R. David Murray added the comment: Looking at the traceback and your code, configparser is calling 'get', expecting to call its own get method (that takes a 'raw' keyword), but instead is calling the get on your subclass, which doesn't take a 'raw' keyword.

[issue14367] try/except block in ismethoddescriptor() in inspect.py, so that pydoc works with pygame in Python 3.2

2012-03-22 Thread R. David Murray
R. David Murray added the comment: Michael, I thought you might be interested in this one since it looks like it might involve inspect executing code unexpectedly, and I know you worked on ways of not doing that... -- nosy: +michael.foord

[issue14389] Mishandling of large numbers

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

[issue14389] Mishandling of large numbers

2012-03-22 Thread R. David Murray
R. David Murray added the comment: You might want to take a look at the Decimal module. -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/issue14

[issue10340] asyncore doesn't properly handle EINVAL on OSX

2012-03-22 Thread R. David Murray
R. David Murray added the comment: This appears to be causing buildbot failures: http://www.python.org/dev/buildbot/all/builders/x86%20debian%20parallel%203.x/builds/4077 http://www.python.org/dev/buildbot/all/builders/AMD64%20Gentoo%20Wide%203.x/builds/3520 -- keywords: +buildbot

[issue14384] Add "default" kw argument to operator.itemgetter and operator.attrgetter

2012-03-22 Thread R. David Murray
R. David Murray added the comment: Great. I'm going to close the issue, but it's only "for now": if you get a good response and a design agreement on python-ideas please reopen the issue. Of course, we'd need a patch, too; and I believe there would need to be

[issue14380] MIMEText should default to utf8 charset if input text contains non-ASCII

2012-03-22 Thread R. David Murray
R. David Murray added the comment: Pretty close. I'd do the check for us_ascii first, and only do the encode test/switch to utf-8 if that's the charset. The reason is that that if a charset has been specified, we don't waste time doing an unnecessary encoding (and the asci

[issue14380] MIMEText should default to utf8 charset if input text contains non-ASCII

2012-03-22 Thread R. David Murray
R. David Murray added the comment: That looks good. -- stage: test needed -> commit review ___ Python tracker <http://bugs.python.org/issue14380> ___ ___ Py

[issue3035] Removing apparently unwanted functions from Tkinter

2012-03-22 Thread R. David Murray
R. David Murray added the comment: You are theoretically right about not posting trivial patches, but as you can see, sometimes even a trivial patch elicits unexpected insights. So I like to always post my patches, even the seemingly trivial ones. Then if I don't get any respons

[issue12553] email should default to 8bit CTE unless policy.must_be_7bit is set

2012-03-22 Thread R. David Murray
Changes by R. David Murray : -- assignee: -> r.david.murray ___ Python tracker <http://bugs.python.org/issue12553> ___ ___ Python-bugs-list mailing list Un

[issue7304] email.message.Message.set_payload and as_string given charset 'us-ascii' plus 8bit data produces invalid message

2012-03-22 Thread R. David Murray
Changes by R. David Murray : -- assignee: -> r.david.murray ___ Python tracker <http://bugs.python.org/issue7304> ___ ___ Python-bugs-list mailing list Un

[issue7304] email.message.Message.set_payload and as_string given charset 'us-ascii' plus 8bit data produces invalid message

2012-03-22 Thread R. David Murray
R. David Murray added the comment: In Python2 the fix would be to use charset unknown-8bit instead of us-ascii. In Python3 this actually puts unicode in the message body. There we should default to utf-8, but this requires a more extensive change than the Python2 change, and probably should

[issue14380] MIMEText should default to utf8 charset if input text contains non-ASCII

2012-03-22 Thread R. David Murray
R. David Murray added the comment: See also issue 7304. It was niggling at the back of my brain, and I finally managed to dig it up. Fixing that is much more complex than fixing this (because set_charset is a *very* strange method), so I committed this patch in case we don't manage t

[issue10340] asyncore doesn't properly handle EINVAL on OSX

2012-03-23 Thread R. David Murray
R. David Murray added the comment: Better, but not stable: http://www.python.org/dev/buildbot/all/builders/AMD64%20OpenIndiana%203.2/builds/984/steps/test/logs/stdio http://www.python.org/dev/buildbot/all/builders/x86%20OpenIndiana%203.2/builds/998/steps/test/logs/stdio

[issue14350] Strange Exception from copying an iterator

2012-03-25 Thread R. David Murray
R. David Murray added the comment: Please, give it a try. But also be prepared for it being harder than it looks; the problem is that there may be very limited knowledge available where the error is generated. (I don't know; I haven't looked at the code and am not likely to..

[issue14228] It is impossible to catch sigint on startup in python code

2012-03-25 Thread R. David Murray
R. David Murray added the comment: @telmich: I think you will have more success at getting what you want if you work with us rather than being confrontational. Respect that we have reasons for doing things a certain way (and not because we are stupid), and we will respect your perspective

[issue14386] Expose dictproxy as a public type

2012-03-25 Thread R. David Murray
R. David Murray added the comment: I believe it was actually Guido who suggested exposing dict_proxy, in response to Victor (but independent of Victor's needs, if I understood the message correctly). It has always seemed odd to me ("always" referring my time working with Pyt

[issue14399] zipfile and creat/update comment

2012-03-25 Thread R. David Murray
R. David Murray added the comment: I'm marking this as easy hoping someone in the mentoring group will pick it up and take a look. The relevant code is in Python, and I'm guessing there is some logic bug when only the comment is set (and nothing is added to the zipfile), but

[issue14395] sftp: downloading files with % in name fails due to logging

2012-03-25 Thread R. David Murray
R. David Murray added the comment: There is no sftp module in the standard library. Presumably you are talking about a 3rd party product and should report the bug to its developers. If you are trying instead to report a bug in the logging module, please reopen the issue if you can provide a

[issue14361] No link to issue tracker on Python home page

2012-03-25 Thread R. David Murray
R. David Murray added the comment: OK, so whatever else is true, it seems like there isn't anything for the python core dev team to do here. Any action would take place at the www.python.org level, and this bug tracker isn't where such changes are tracked, so I'm cl

[issue14379] Several traceback docs improvements

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

[issue786827] IDLE starts with no menus (Cygwin)

2012-03-26 Thread R. David Murray
Changes by R. David Murray : -- nosy: -smccardell ___ Python tracker <http://bugs.python.org/issue786827> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14415] ValueError: I/O operation on closed file

2012-03-26 Thread R. David Murray
R. David Murray added the comment: The bug tracker is not a good place to get programming help. Please try the python-tutors list, or the general python-list (see mail.python.org for a list of mailing lists). There will be people on one of those lists with time to help you out

[issue14413] whatsnew deprecation tweak

2012-03-26 Thread R. David Murray
R. David Murray added the comment: Somebody (Raymond?) is going to go through and edit for style and consistency before the release. But I applied your tweak anyway. -- nosy: +r.david.murray resolution: -> fixed stage: -> committed/rejected status: open -&g

[issue7635] 19.6 xml.dom.pulldom doc: stub?

2012-03-26 Thread R. David Murray
R. David Murray added the comment: Looks like someone else noticed the problem, but did not notice that there was an existing issue with a patch :(. Sorry about that, Mark. Thanks very much for working on this, and I'm very sorry it got lost. Hopefully Eli will review your patch and s

[issue14228] It is impossible to catch sigint on startup in python code

2012-03-26 Thread R. David Murray
R. David Murray added the comment: > Limited by what? The alphabet. I suppose we could use a -- option, but somebody would have to add support for those. -- ___ Python tracker <http://bugs.python.org/issu

[issue14417] dict RuntimeError workaround

2012-03-26 Thread R. David Murray
R. David Murray added the comment: I must admit to being concerned by the possible impact of this change as well. -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/issue14

[issue14416] syslog missing constants

2012-03-26 Thread R. David Murray
R. David Murray added the comment: LOG_SYSLOG and LOG_UUCP have been present in Python for a *long* time (since 1998 at least). The other two are not. What fallbacks should be used if they don't exist? (I believe you meant 'facilities', rather than 'priorities'.) -

[issue12649] email.Header ignores maxlinelen when wrapping encoded words

2012-03-26 Thread R. David Murray
R. David Murray added the comment: Looking at this again, as_string defaults to maxheaderlen=0, which means no wrapping. In Python 3.2 you can pass it a maxheaderlen of 78 to get the correct behavior for passing the message to smtp. -- resolution: -> invalid stage: -> com

[issue14399] zipfile and creat/update comment

2012-03-26 Thread R. David Murray
R. David Murray added the comment: Hmm. When I did the same (changed to b'...') and ran it, I got an archive test.zip. When I then opened that archive using ZipFile, its comment attribute was b''. Thus I concluded that the bug exists in Python3. I don't remembe

[issue5301] add mimetype for image/vnd.microsoft.icon (patch)

2012-03-26 Thread R. David Murray
Changes by R. David Murray : -- stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.org/issue5301> ___ ___ Pyth

[issue4528] test_httpservers consistently fails - OSError: [Errno 13] Permission denied (e.g. on OS X using tarball, but not svn tag r30)

2012-03-26 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> duplicate status: open -> closed superseder: -> test_httpservers on Debian Testing ___ Python tracker <http://bugs.python.o

[issue14416] syslog missing constants

2012-03-27 Thread R. David Murray
R. David Murray added the comment: That's probably reasonable (we have precedents for that in other modules), except that that's not how the older possibly-not-there constants work. For backward compatibility reasons we can't change the older constants, but I don't see

[issue14416] syslog missing constants

2012-03-27 Thread R. David Murray
R. David Murray added the comment: Frederico: thanks for the patch. Do you want to do the doc patches as well? -- ___ Python tracker <http://bugs.python.org/issue14

[issue14399] zipfile and creat/update comment

2012-03-27 Thread R. David Murray
R. David Murray added the comment: Thanks for the patch. The advantage of the more complicated way being that you get an immediate TypeError instead of a delayed one? Is there any other advantage? (That's probably enough reason, though :) Now we just need a unit test for

[issue14416] syslog missing constants

2012-03-27 Thread R. David Murray
R. David Murray added the comment: Close. We either need to mention that LOG_AUTHPRIV is only defined if the platform defines it, or we need to change the implementation so that it is always defined (by mapping it to some other facility if it doesn't exist). I'm of mixed mind abo

[issue14399] zipfile and creat/update comment

2012-03-27 Thread R. David Murray
R. David Murray added the comment: Got you. We'll definitely go with the more complete fix, then. -- ___ Python tracker <http://bugs.python.org/is

[issue14390] Tkinter single-threaded deadlock

2012-03-27 Thread R. David Murray
R. David Murray added the comment: I believe there is an example in the packaging unit tests of building an extension module in a test (but I'm not 100% sure). Also, the fact that the test will deadlock if it fails is not a deal breaker: the test should pass normally, and if it fail

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

2012-03-27 Thread R. David Murray
New submission from R. David Murray : Currently the prototype uses timeout=socket._GLOBAL_DEFAULT_TIMEOUT, and the docs give the prototype as: urlopen(url, data=None[, timeout], *, cafile=None, capath=None) which is unlike most other Python function prototypes in the docs, and makes no

[issue14416] syslog missing constants

2012-03-27 Thread R. David Murray
R. David Murray added the comment: Thinking about this some more, I think that AUTHPRIV is special. You don't want to inadvertently log AUTHPRIV stuff to some other facility. So I think the code patch is good, and we should add a note to the docs that AUTHPRIV may not exist o

[issue14416] syslog missing constants

2012-03-27 Thread R. David Murray
R. David Murray added the comment: >From what I understand, that defeats the purpose of AUTHPRIV, which is to log >messages that should be logged in a "safer" location than AUTH. That's why I >said it was a special case. In other words, if an application is going

[issue14399] zipfile and creat/update comment

2012-03-27 Thread R. David Murray
R. David Murray added the comment: The tests don't seem to be included in the new patch. Also, you could modernize the property definition (@property, @comment.setter). -- ___ Python tracker <http://bugs.python.org/is

[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

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