[issue11783] email parseaddr and formataddr should be IDNA aware

2012-05-28 Thread R. David Murray
Changes by R. David Murray : -- components: +email -Library (Lib) nosy: +barry ___ Python tracker <http://bugs.python.org/issue11783> ___ ___ Python-bugs-list m

[issue11783] email parseaddr and formataddr should be IDNA aware

2012-05-28 Thread R. David Murray
R. David Murray added the comment: I'm finally getting back around to this. Torsten, could you submit a contributor agreement, please? (http://www.python.org/psf/contrib/) And to answer the question you had about the 'still failing' test, parseaddr isn't currently do

[issue11783] email parseaddr and formataddr should be IDNA aware

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

[issue10839] email module should not allow some header field repetitions

2012-05-28 Thread R. David Murray
R. David Murray added the comment: My original fix for this for email6 got lost in a refactoring. Here is a patch that fixes it in the code I recently checked in. It may not cover all the headers that should be unique, since I haven't implemented parsers for all structured headers yet

[issue10839] email module should not allow some header field repetitions

2012-05-29 Thread R. David Murray
R. David Murray added the comment: Committed. It is almost never the right thing to do to allow duplicates of unique headers, but an application that does need it can create a policy subclass and override the header_max_count method. -- resolution: -> fixed stage: test nee

[issue13857] Add textwrap.indent() as counterpart to textwrap.dedent()

2012-05-29 Thread R. David Murray
R. David Murray added the comment: Why would you expect it to? >>> 'a\nb'.splitlines() ['a', 'b'] >>> 'a\nb\n'.splitlines() ['a', 'b'] >>> 'a\nb\n\n'.splitlines() ['a', '

[issue13857] Add textwrap.indent() as counterpart to textwrap.dedent()

2012-05-29 Thread R. David Murray
R. David Murray added the comment: That's why it's a different function :) (Well, that and universal newline support). But I can see that explaining the difference between split and splitlines would be worthwhile. -- ___ Python trac

[issue14796] Calendar module test coverage improved

2012-05-29 Thread R. David Murray
R. David Murray added the comment: Thanks, Oleg. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue14956] custom PYTHONPATH may break apps embedding Python

2012-05-29 Thread R. David Murray
R. David Murray added the comment: I think it is up to each embedding application to decide if it wants to respect the environment variables or not. I don't think that's a decision that core can make. Now, if we aren't providing an easy way for an embedding applicatio

[issue14956] custom PYTHONPATH may break apps embedding Python

2012-05-29 Thread R. David Murray
R. David Murray added the comment: An informational PEP sounds like exactly what I said: each application needs to decide. The PEP would provide the information on which to base that decision, and suggestions for how to do it. An informational PEP on best practices for embedding sounds like

[issue14943] winreg OpenKey doesn't work as documented

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

[issue14922] mailbox.Maildir.get_message() may fail when Maildir dirname is a unicode string

2012-05-29 Thread R. David Murray
Changes by R. David Murray : -- components: +email -Library (Lib) nosy: +barry, r.david.murray ___ Python tracker <http://bugs.python.org/issue14922> ___ ___ Pytho

[issue14796] Calendar module test coverage improved

2012-05-30 Thread R. David Murray
R. David Murray added the comment: The buildbots seem happy. -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue14796> ___ ___ Python-

[issue14956] custom PYTHONPATH may break apps embedding Python

2012-05-30 Thread R. David Murray
R. David Murray added the comment: No it shouldn't. As mentioned in the Fedora thread you linked, this is no different than the user setting LD_LIBRARY_PATH to something that screws up a system installed program. -- ___ Python tracker

[issue7897] Support parametrized tests in unittest

2012-05-30 Thread R. David Murray
R. David Murray added the comment: People interested in this issue might be interested in changeset e6a33938b03f. I use parameterized unit tests in email a lot, and was annoyed by the fact that I couldn't run the tests individually using the unittest CLI. The fix for that turned out

[issue14971] (unittest) loadTestsFromName does not work on method with a decorator

2012-05-31 Thread R. David Murray
R. David Murray added the comment: I don't think this is documented anywhere (and should be). I believe what you need to do is use functools.wraps on your wrapper function. -- assignee: -> docs@python components: +Documentation -None nosy: +docs@python, michael.foord, r.davi

[issue14972] listcomp with nested classes

2012-05-31 Thread R. David Murray
R. David Murray added the comment: This is doubtless a result of the way the class namespace scope is handled, coupled with the fact that in Python3 list comprehensions have a local scope. The class scope is a somewhat unique beast. I agree that this is unfortunate, but I have a feeling

[issue14977] mailcap does not respect precedence in the presence of wildcards

2012-06-01 Thread R. David Murray
R. David Murray added the comment: Hmm. It seems to me this is an edge case as far as backward compatibility goes. On the one hand it does seem like an RFC violation (ie: bug), on the other hand there could be user programs depending on the current behavior. I'm inclined toward tre

[issue14981] 3.3.0a4 compilation fails von MacOS Lion /10.7.4

2012-06-01 Thread R. David Murray
Changes by R. David Murray : -- assignee: -> ronaldoussoren components: +Macintosh nosy: +ronaldoussoren versions: +Python 3.3 -Python 3.4 ___ Python tracker <http://bugs.python.org/issu

[issue14981] 3.3.0a4 compilation fails von MacOS Lion /10.7.4

2012-06-01 Thread R. David Murray
Changes by R. David Murray : -- assignee: ronaldoussoren -> nobody nosy: +ned.deily, nobody ___ Python tracker <http://bugs.python.org/issue14981> ___ ___ Py

[issue14918] Incorrect TypeError message for wrong function arguments

2012-06-01 Thread R. David Murray
R. David Murray added the comment: It is fixed. It was not backported. -- nosy: +r.david.murray resolution: -> duplicate stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue7559] TestLoader.loadTestsFromName swallows import errors

2012-06-01 Thread R. David Murray
R. David Murray added the comment: I updated the tests to Python3, and attempted to replicate the fix using the new importlib qualname support. Even if it had worked, this would not have finished the patch, since Michael wants to generate a failing test instead of raising the import error

[issue14957] Improve docs for str.splitlines

2012-06-01 Thread R. David Murray
R. David Murray added the comment: Thanks. I added an example, too, since split has some. -- nosy: +r.david.murray resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed type: -> behavior ___ Python tr

[issue14446] Remove deprecated tkinter functions

2012-06-01 Thread R. David Murray
R. David Murray added the comment: The doc changes should be part of the patch. I forget, though, if we completely delete deprecated stuff from the docs or if we keep a deprecation stub in place. Note that it is possible (although in this case probably not too likely) that the code will

[issue14986] print() fails on latin1 characters on OSX

2012-06-02 Thread R. David Murray
R. David Murray added the comment: A mac expert can confirm, but I think that just means that the default mac_roman encoding (which is made the default by the OS, if I understand correctly) can't handle that character. I believe it will work if you use utf-8. And no, I don't know

[issue14983] [patch] email.generator should always add newlines after closing boundaries

2012-06-02 Thread R. David Murray
R. David Murray added the comment: Then either the signer or the verifier (or both) are broken per RFC 2046 (unless there has been an update that isn't referenced from the RFC). Section http://tools.ietf.org/html/rfc2046#section-5.1.1 clearly indicates that the ending delimiter ends a

[issue14983] [patch] email.generator should always add newlines after closing boundaries

2012-06-02 Thread R. David Murray
Changes by R. David Murray : -- versions: +Python 2.7, Python 3.3 ___ Python tracker <http://bugs.python.org/issue14983> ___ ___ Python-bugs-list mailin

[issue14983] [patch] email.generator should always add newlines after closing boundaries

2012-06-02 Thread R. David Murray
R. David Murray added the comment: Looking at your stackoverflow post, you might be able to fix this by doing an rstrip on the string body before signing it. But then if we add a CRLF between the boundaries, the verifiers might start failing again. What do you think? Probably adding the

[issue14983] email.generator should always add newlines after closing boundaries

2012-06-02 Thread R. David Murray
Changes by R. David Murray : -- title: [patch] email.generator should always add newlines after closing boundaries -> email.generator should always add newlines after closing boundaries ___ Python tracker <http://bugs.python.org/issu

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

2012-06-02 Thread R. David Murray
R. David Murray added the comment: I do plan to add something like that at some point. You could open a new issue for it if you like, and propose a formal patch. -- ___ Python tracker <http://bugs.python.org/issue14

[issue14983] email.generator should always add newlines after closing boundaries

2012-06-02 Thread R. David Murray
R. David Murray added the comment: Sorry, I wasn't clear. By 'body' I actually meant the multipart part you are signing. I haven't looked at your script really, but I was thinking of something along the lines of make_sig(str(fullmsg.get_payload(0)).rstrip()). But

[issue14983] email.generator should always add newlines after closing boundaries

2012-06-02 Thread R. David Murray
R. David Murray added the comment: Hmm. So that means the verifiers are not paying attention to the MIME RFC? That's unfortunate. -- ___ Python tracker <http://bugs.python.org/is

[issue14984] netrc module allows read of non-secured .netrc file

2012-06-02 Thread R. David Murray
R. David Murray added the comment: This seems like something we should fix for the default file read. There is a backward compatibility concern, but I think the security aspect overrides that. -- components: +Library (Lib) nosy: +r.david.murray priority: normal -> high t

[issue1521950] shlex.split() does not tokenize like the shell

2012-06-02 Thread R. David Murray
R. David Murray added the comment: Review, including a code-but-not-algorithm review :), posted. -- ___ Python tracker <http://bugs.python.org/issue1521

[issue14971] (unittest) loadTestsFromName does not work on method with a decorator

2012-06-02 Thread R. David Murray
R. David Murray added the comment: Here's a patch. -- components: +Library (Lib) -Documentation keywords: +patch Added file: http://bugs.python.org/file25803/unittest_method_name_difference.patch ___ Python tracker <http://bugs.py

[issue14007] xml.etree.ElementTree - XMLParser and TreeBuilder's doctype() method missing

2012-06-02 Thread R. David Murray
R. David Murray added the comment: This is causing buildbot failures on some of the buildbots: http://www.python.org/dev/buildbot/all/builders/x86%20Gentoo%203.x/builds/2529/steps/test/logs/stdio http://www.python.org/dev/buildbot/all/builders/x86%20Windows7%203.x/builds/5082/steps/test/logs

[issue1079] decode_header does not follow RFC 2047

2012-06-02 Thread R. David Murray
R. David Murray added the comment: I've applied this to 3.3. Because the preservation of spaces around the ascii parts is a visible behavior change that could cause working programs to break, I don't think I can backport it. I'm going to leave this open until I can consul

[issue7559] TestLoader.loadTestsFromName swallows import errors

2012-06-03 Thread R. David Murray
R. David Murray added the comment: Thanks for figuring that out. And no, it doesn't matter if it is importlib.load_module or __import__, since both are provided by importlib now and both use the cache. It's an interesting question where the cache clear should go. I *think* it sh

[issue1079] decode_header does not follow RFC 2047

2012-06-03 Thread R. David Murray
R. David Murray added the comment: OK, I'm closing this, then, and will close the related issues as well. Thanks again for the patch, Ralf. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed versions: -Python 2

[issue1467619] Header.decode_header eats up spaces

2012-06-03 Thread R. David Murray
R. David Murray added the comment: This is fixed by the fix in issue 1079. Ralf found a *relatively* backward compatible way to fix it, but since the point is preserving whitespace that wasn't preserved before, there is an unavoidable behavior change, so it can't be

[issue2658] decode_header() fails on multiline headers

2012-06-03 Thread R. David Murray
R. David Murray added the comment: This is fixed by the fix for issue 1079. I've added the test to the test suite. -- resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> decode_header does not follow RFC 2047 versions: -P

[issue9967] encoded_word regular expression in email.header.decode_header()

2012-06-03 Thread R. David Murray
R. David Murray added the comment: Instead of doing this we've opted to follow postel and be generous in what we accept and go ahead and decode even if the leading and/or terminating space is missing (see issue 1079). -- resolution: -> rejected status: open -

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

2012-06-03 Thread R. David Murray
R. David Murray added the comment: This is fixed by the fix to issue 1079, but we have decided that fix can't be backported because it is a behavior change that might break existing working programs. -- resolution: -> duplicate stage: -> committed/rejected status: ope

[issue7559] TestLoader.loadTestsFromName swallows import errors

2012-06-03 Thread R. David Murray
R. David Murray added the comment: OK, let's just do it in the individual test, then. -- ___ Python tracker <http://bugs.python.org/issue7559> ___ ___ Pytho

[issue14215] http://www.python.org/dev/peps/ title is python.org

2012-06-04 Thread R. David Murray
R. David Murray added the comment: Presumably the PEP 0 generator needs a patch, but that's not something most of us ever touch. I've added Nick to nosy, I think he made changes to it last. -- nosy: +ncoghlan, r.david.murray ___ Pyth

[issue7559] TestLoader.loadTestsFromName swallows import errors

2012-06-04 Thread R. David Murray
R. David Murray added the comment: That would probably be OK, but I don't see why clearing the cache in those same methods (that create directories on the path) would be any harder. (It isn't necessary to clear the cache *afterward*, only before, as far as I can see, since the

[issue7559] TestLoader.loadTestsFromName swallows import errors

2012-06-04 Thread R. David Murray
R. David Murray added the comment: Ah, yes, I wasn't clear. Sorry. -- ___ Python tracker <http://bugs.python.org/issue7559> ___ ___ Python-bugs-list m

[issue14908] datetime.datetime should have a timestamp() method

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

[issue14998] pprint._safe_key is not always safe enough

2012-06-04 Thread R. David Murray
Changes by R. David Murray : -- nosy: +rhettinger stage: -> needs patch type: -> behavior versions: +Python 3.3 ___ Python tracker <http://bugs.python.org/i

[issue14989] http.server option to run CGIHTTPRequestHandler

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

[issue15000] posixsubprocess module broken on x32

2012-06-04 Thread R. David Murray
Changes by R. David Murray : -- nosy: +gregory.p.smith ___ Python tracker <http://bugs.python.org/issue15000> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15002] urllib2 does not download 4 MB file completely using ftp

2012-06-04 Thread R. David Murray
R. David Murray added the comment: The same problem exists in Python3. -- nosy: +orsenthil, r.david.murray stage: -> needs patch versions: +Python 3.2, Python 3.3 ___ Python tracker <http://bugs.python.org/issu

[issue15007] Unittest CLI does not support test packages very well

2012-06-05 Thread R. David Murray
New submission from R. David Murray : Suppose you have a test package: test_pkg __init__.py test_mytest.py If __init__.py is empty and you run python -m unittest test_pk no tests are found. You can get this to work by adding the following boiler plate to __init__.py: def

[issue15007] Unittest CLI does not support test packages very well

2012-06-05 Thread R. David Murray
R. David Murray added the comment: Right, I'm not wanting to run discovery from the command line, I'm wanting to run the tests in the package by package name. In my mind, this is exactly parallel to specifying a module name and having unittest automatically discover the TestCase

[issue15010] unittest: _top_level_dir is incorrectly persisted between calls to different load_test methods

2012-06-05 Thread R. David Murray
New submission from R. David Murray : During the execution of the load tests protocol, the loader instance will set its _top_level_dir attribute, and this will persist if the loader is passed on to another load_tests method. If that method does not specify a top_level_dir in a discovery call

[issue15013] smtplib: add low-level APIs to doc?

2012-06-06 Thread R. David Murray
R. David Murray added the comment: Well, personally I just read the code, and didn't think anything of it. I guess Python code is documentation to me :) I don't see why there would be any objection to documenting them if you want to, though. It's not like we're going to

[issue15013] smtplib: add low-level APIs to doc?

2012-06-06 Thread R. David Murray
Changes by R. David Murray : -- components: +email nosy: +barry ___ Python tracker <http://bugs.python.org/issue15013> ___ ___ Python-bugs-list mailing list Unsub

[issue15014] smtplib: add support for arbitrary auth methods

2012-06-06 Thread R. David Murray
R. David Murray added the comment: Yes, this is a need I also ran into, but hadn't gotten around to submitting a bug for. If we are going to do this, though, I think we should do it right and add the ability to support arbitrary login methods. An example of one way to do this i

[issue15014] smtplib: add support for arbitrary auth methods

2012-06-06 Thread R. David Murray
Changes by R. David Murray : -- components: +email nosy: +barry stage: -> needs patch ___ Python tracker <http://bugs.python.org/issue15014> ___ ___ Python-

[issue15015] Access to non-existing "future" attribute in error path of futures

2012-06-06 Thread R. David Murray
Changes by R. David Murray : -- nosy: +bquinlan stage: -> patch review type: -> behavior versions: +Python 3.3 -Python 3.4 ___ Python tracker <http://bugs.python.org/i

[issue15016] Add special case for latin messages in email.mime.text

2012-06-06 Thread R. David Murray
R. David Murray added the comment: Thanks for the patch. I may not get to this until after the beta (or I might, you never know). Could you submit a contributor agreement please? http://www.python.org/psf/contrib -- stage: -> patch review title: [patch] add special case for la

[issue15017] threading.Lock documentation conflict

2012-06-06 Thread R. David Murray
R. David Murray added the comment: There's already an issue for this (issue 14502), which is closed. If the docs are still wrong you should probably reopen that one, since it has discussion of the issues involved. (Note, however, that ThreadError is RuntimeError, so technically the

[issue15019] Sting termination on Linux

2012-06-06 Thread R. David Murray
R. David Murray added the comment: Windows makes \x00 a space? How odd. This is the result for me on linux: Python 2.7.3+ (2.7:1f5d2642929a, May 25 2012, 12:47:34) [GCC 4.5.3] on linux2 Type "help", "copyright", "credits" or "license" for more informa

[issue9256] plistlib should create non-naïve datetime objects

2012-06-07 Thread R. David Murray
R. David Murray added the comment: An alternative is to do what the email package in 3.3 does, and treat naive datetimes as exactly "UTC referenced but with no information as to what local timezone they originated in". Either way, a program using the plistlib is going to have to

[issue15023] listextend (and therefore list.extend and list.__init__) peek at len before iter

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

[issue15028] PySys_SetArgv escapes quotes in argv[]

2012-06-07 Thread R. David Murray
R. David Murray added the comment: Could you please clarify the inputs and outputs. I can't tell from your description what exact byte string you are passing in from C++ or what exact string you are seeing on the Python side. For example, if: '--net-label-name=\'("DC1

[issue15034] tutorial should use best practices in user defined execeptions section

2012-06-07 Thread R. David Murray
New submission from R. David Murray : And I wish I knew what those were. -- assignee: docs@python components: Documentation messages: 162513 nosy: docs@python, r.david.murray priority: normal severity: normal stage: needs patch status: open title: tutorial should use best practices in

[issue8652] Minor improvements to the "Handling Exceptions" part of the tutorial

2012-06-07 Thread R. David Murray
R. David Murray added the comment: The Python3 tutorial was already fixed, and the explanation of the parens is not needed there since the "old syntax" is not supported. I did not do any reordering since the use of 'as' immediately follows in the text and seems to m

[issue14390] Tkinter single-threaded deadlock

2012-06-08 Thread R. David Murray
R. David Murray added the comment: Thanks for working on this. This is not my area of expertise, but what you describe sounds like an RLock, and there is a C implementation of RLock in Python3. Could you just use that for Python3? Also, very minor comments on the patch format (I'm not

[issue15034] tutorial should use best practices in user defined execeptions section

2012-06-08 Thread R. David Murray
R. David Murray added the comment: The obvious example is that the tutorial makes no mention of calling 'super' in __init__. I'm also aware that there are issues of pickleability that arise if you do things one way, but do not arise if you do things another way. But I

[issue15036] mailbox.mbox fails to pop two items in a row, flushing in between

2012-06-08 Thread R. David Murray
Changes by R. David Murray : -- components: +email nosy: +barry, r.david.murray stage: -> needs patch type: -> behavior ___ Python tracker <http://bugs.python.org/i

[issue14390] Tkinter single-threaded deadlock

2012-06-08 Thread R. David Murray
R. David Murray added the comment: That's why I phrased it as a question, I don't know enough about the C stuff. Someone else nosy on this bug will probably have a more informed opinion. I don't think the copyright marking policy is currently written down. It ought to b

[issue14984] netrc module allows read of non-secured .netrc file

2012-06-09 Thread R. David Murray
R. David Murray added the comment: Thanks for the patch. I think the extra check should be done unconditionally in the case where we've looked up the default .netrc file. Adding a feature to 3.3 to provide an optional check for other files (with default False) would then be an addit

[issue15040] stdlib compatability with pypy: mailbox.py

2012-06-09 Thread R. David Murray
R. David Murray added the comment: I see some code changes, but no added tests for those code changes. msg.fp doesn't exist in Python3. I'd like to understand those changes better, but I don't know when I'll have the time or if it is worth the effort. -- n

[issue15040] stdlib compatability with pypy: mailbox.py

2012-06-09 Thread R. David Murray
R. David Murray added the comment: Oh, and the code changes should presumably be applied to Python3 as well (once there are tests), so I've added those versions. It might be better to have two patches, one for the close of _file, and the other for the msg.fp stuff (since that doesn&#x

[issue3955] maybe doctest doesn't understand unicode_literals?

2012-06-09 Thread R. David Murray
R. David Murray added the comment: I fail to see the problem here. If the module has 'from __future__ import unicode_literals", then the docstring output clauses would need to be changed to reflect the fact that the input literals are now unicode. What am I missing? -

[issue2020] _sha256 module missing if openssl is not in a "normal" directory.

2012-06-09 Thread R. David Murray
R. David Murray added the comment: Since there's been no response, I'm closing this. -- keywords: +buildbot nosy: +r.david.murray resolution: -> out of date stage: -> committed/rejected status: pending -> closed ___ Py

[issue6165] strftime incorrectly processes DST flag when passed time touples

2012-06-09 Thread R. David Murray
R. David Murray added the comment: Closing because of lack of response. -- nosy: +r.david.murray status: pending -> closed ___ Python tracker <http://bugs.python.org/iss

[issue9722] PyObject_Print with Visual Studio 2010

2012-06-09 Thread R. David Murray
Changes by R. David Murray : -- status: pending -> closed ___ Python tracker <http://bugs.python.org/issue9722> ___ ___ Python-bugs-list mailing list Unsubscri

[issue7699] strptime, strftime documentation

2012-06-10 Thread R. David Murray
R. David Murray added the comment: This was applied by Georg in SVN revision r77561 on 2010-01-17. -- nosy: +r.david.murray resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python track

[issue13691] pydoc help (or help('help')) should show the doc for help

2012-06-10 Thread R. David Murray
R. David Murray added the comment: It doesn't look like anyone is working on it currently. Yes, getting this right is a bit tricky for exactly the reason you say. You have to make sure you don't break the other uses, and glancing at the patch (I haven't looked at the code y

[issue15041] tkinter documentation "see also" list in Python3 is from Python2

2012-06-10 Thread R. David Murray
R. David Murray added the comment: If you find any resources that we can link to, please post them here. -- assignee: docs@python -> nosy: +r.david.murray, terry.reedy ___ Python tracker <http://bugs.python.org/issu

[issue15041] tkinter documentation "see also" list in Python3 is from Python2

2012-06-10 Thread R. David Murray
Changes by R. David Murray : -- nosy: +asvetlov ___ Python tracker <http://bugs.python.org/issue15041> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue3518] multiprocessing: BaseManager.from_address documented but doesn't exist

2012-06-10 Thread R. David Murray
Changes by R. David Murray : -- assignee: jnoller -> nosy: +sbt versions: +Python 2.7, Python 3.2, Python 3.3 -Python 2.6, Python 3.0 ___ Python tracker <http://bugs.python.org/iss

[issue13691] pydoc help (or help('help')) should show the doc for help

2012-06-10 Thread R. David Murray
R. David Murray added the comment: "works" in the sense that it produces output. But it doesn't produce the output it used to, which is the same text as the initial banner when you type help(). I believe the existing behavior in this case is correct. With your patch it pr

[issue13691] pydoc help (or help('help')) should show the doc for help

2012-06-10 Thread R. David Murray
R. David Murray added the comment: Oh, that wouldn't fix 'pydoc help', would it. So there are probably two places where the special case has to be added, which means the code itself should go in pydoc and be called from _Helper.__call__ somehow. (Note, I'm just throwin

[issue14119] Ability to adjust queue size in Executors

2012-06-10 Thread R. David Murray
R. David Murray added the comment: Brian: ping. Since this is an enhancement, if you are going to accept it it would be nice to get it into 3.3, which means committing it before June 23rd. -- nosy: +r.david.murray stage: -> patch review versions: +Python

[issue15040] stdlib compatability with pypy: mailbox.py

2012-06-11 Thread R. David Murray
R. David Murray added the comment: Ah, good. I thought we'd fixed the open/close issues, but I could easily believe we had missed something (especially in Python2). Since the fp stuff is gone in 3, I'd be OK with just applying this. -- versions: -Python 3.2,

[issue15049] line buffering isn't always

2012-06-11 Thread R. David Murray
New submission from R. David Murray : rdmurray@hey:~/python/p32>cat bad.py This line is just ascii A second line for good measure. This comment contains undecodable stuff: "�" or "\\xe9" in "pass�"" cannot be decoded. The last line above

[issue12982] Document that importing .pyo files needs python -O

2012-06-12 Thread R. David Murray
R. David Murray added the comment: Actually it's a lot easier than that, although it is very much a hack: just rename the .pyo files to .pyc, and python without -O will happily import them. Since the optimization happens when the bytecode is written, this does what you

[issue15049] line buffering isn't always

2012-06-12 Thread R. David Murray
R. David Murray added the comment: That makes sense. I'll add a mention of this to the 'open' docs that discuss the buffering parameter. -- assignee: -> r.david.murray components: +Documentation ___ Python tracker <h

[issue4442] document immutable type subclassing via __new__

2012-06-12 Thread R. David Murray
R. David Murray added the comment: Actually, it is documented: http://docs.python.org/dev/reference/datamodel.html#basic-customization "__new__() is intended mainly to allow subclasses of immutable types (like int, str, or tuple) to customize instance creation." It could certainly

[issue15058] Potential Bug in dlpvalloc and dlvalloc

2012-06-13 Thread R. David Murray
Changes by R. David Murray : -- nosy: +amaury.forgeotdarc, meador.inge ___ Python tracker <http://bugs.python.org/issue15058> ___ ___ Python-bugs-list mailin

[issue15059] Potential Bug in mpd_qresize and mpd_qresize_zero

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

[issue9679] unicode DNS names in urllib, urlopen

2012-06-13 Thread R. David Murray
R. David Murray added the comment: I doubt that unicode domain support in urllib would be of much use without full IRI support. I would think that a domain that uses unicode is highly likely to have URLs that use unicode. However that doesn't mean a patch along the lines you suggest

[issue7584] datetime.rfcformat() for Date and Time on the Internet

2012-06-13 Thread R. David Murray
R. David Murray added the comment: email.utils.format_datetime implements RFC 5322 date format, which is very different from RFC 3339. I don't remember enough about what I read in RFC 3339 to answer your question about isoformat. -- ___ P

[issue15062] argparse: option for a positional argument

2012-06-13 Thread R. David Murray
R. David Murray added the comment: It took me a while to make any sense out of your example, but having done so I don't think it makes any sense in the argparse context. It is certainly not the way argparse handles options or arguments. In argparse, if you have an option 'k&#x

[issue15062] argparse: option for a positional argument

2012-06-13 Thread R. David Murray
R. David Murray added the comment: Well, if you can figure out how to add it, please do suggest a patch :) It occurs to me that 'find' is a sort-of similar example, where options can be repeated but the order in which they appear relative to other options matters. So I can see

[issue9679] unicode DNS names in urllib, urlopen

2012-06-14 Thread R. David Murray
R. David Murray added the comment: As I said, patches to improve the situation are welcome, and if they match with current internet practices they will likely be accepted. It is still the case that such URLs are likely to require extra work on the part of the application to deal with the

[issue15040] stdlib compatability with pypy: mailbox.py

2012-06-14 Thread R. David Murray
R. David Murray added the comment: You could get one of the pypy devs that have push rights on cpython to commit it. If that doesn't happen, then at some point (probably not *too* long from now) I or someone else will commit it. We have many more patches than we have people with ti

<    38   39   40   41   42   43   44   45   46   47   >