[issue20999] setlocale, getlocale succession --> ValueError or (None, None)

2014-03-22 Thread R. David Murray
R. David Murray added the comment: Thank you, that information confirms that this is indeed a duplicate. -- ___ Python tracker <http://bugs.python.org/issue20

[issue3892] bsddb: test01_basic_replication fails sometimes

2014-03-22 Thread R. David Murray
R. David Murray added the comment: Yeah, let's just close it. Nobody is likely to care enough to try to fix it properly. -- resolution: -> out of date stage: needs patch -> committed/rejected status: languishing -> closed ___ Python

[issue18378] locale.getdefaultlocale() fails on Mac OS X with default language set to English

2014-03-23 Thread R. David Murray
R. David Murray added the comment: That is seriously broken on Apple's part. But I guess we have no choice but to emulate their bug. -- ___ Python tracker <http://bugs.python.org/is

[issue4261] The pwd module doesn't distinguish between errors and no user

2014-03-23 Thread R. David Murray
R. David Murray added the comment: I read that first paragraph as the controlling one, and that says that errno will be zero if the problem was that the entry could not be found, and non-zero if some other error occurred. Raising an error would be a backward incompatible change, so it could

[issue21031] [patch] Add AlpineLinux to the platform module's supported distributions list

2014-03-23 Thread R. David Murray
Changes by R. David Murray : -- nosy: +lemburg ___ Python tracker <http://bugs.python.org/issue21031> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21035] Python's HTTP server implementations hangs after 16.343 requests on MacOSX

2014-03-23 Thread R. David Murray
Changes by R. David Murray : -- assignee: -> ronaldoussoren components: +Macintosh nosy: +ronaldoussoren ___ Python tracker <http://bugs.python.org/issu

[issue20825] containment test for "ip_network in ip_network"

2014-03-23 Thread R. David Murray
R. David Murray added the comment: The patch needs .. versionadded:: 3.5 tags for the two new methods, and adding it to the skeleton whatsnew would be a good idea. The committer can do these, but if you feel like updating the patch that would be great

[issue20913] Standard Library documentation needs SSL security best practices doc.

2014-03-23 Thread R. David Murray
R. David Murray added the comment: I made some review comments. There is one bug with your patch (you dropped some argument descriptions in one place.) -- resolution: fixed -> stage: committed/rejected -> needs patch status: closed -

[issue4261] The pwd module doesn't distinguish between errors and no user

2014-03-23 Thread R. David Murray
R. David Murray added the comment: Can you think of any circumstance in which getpwnam would be able to read the file to look for the user, and yet errno is non-zero? -- ___ Python tracker <http://bugs.python.org/issue4

[issue20913] Standard Library documentation needs SSL security best practices doc.

2014-03-23 Thread R. David Murray
R. David Murray added the comment: Ah, I see. Obviously I didn't read it as carefully as I thought I had ;(. -- ___ Python tracker <http://bugs.python.org/is

[issue20913] Standard Library documentation needs SSL security best practices doc.

2014-03-23 Thread R. David Murray
R. David Murray added the comment: It's really too bad cert validation fails on that ftp site. It would be nice to show best practices in that example. We really need that python test server Benjamin was talking about. -- ___ Python tr

[issue18967] Find a less conflict prone approach to Misc/NEWS

2014-03-23 Thread R. David Murray
R. David Murray added the comment: Well, I guess you could sum it up as -0. I personally don't feel the need for a change, but if the chronology problem is solved and it isn't *harder* to make the needed NEWS changes, then I'm not

[issue4261] The pwd module doesn't distinguish between errors and no user

2014-03-23 Thread R. David Murray
R. David Murray added the comment: I don't think that changes the picture. If the error code is non-zero, that means that one of the access methods failed, which means getpwnam can't report reliably whether or not that user exists according to the system con

[issue20913] Standard Library documentation needs SSL security best practices doc.

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

[issue20145] unittest.assert*Regex functions should verify that expected_regex has a valid type

2014-03-23 Thread R. David Murray
R. David Murray added the comment: Thanks, Kammie. I removed the extra whitespace from your fix and simplified the tests a bit. -- resolution: -> fixed stage: test needed -> committed/rejected status: open -> closed ___ Python track

[issue18967] Find a less conflict prone approach to Misc/NEWS

2014-03-23 Thread R. David Murray
R. David Murray added the comment: There also needs to be a way to specify a different NEWS entry from the commit message first line. -- ___ Python tracker <http://bugs.python.org/issue18

[issue21044] tarfile does not handle file __name__ being an int

2014-03-24 Thread R. David Murray
Changes by R. David Murray : -- nosy: +r.david.murray stage: -> patch review title: tempfile.TemporaryFile() shouldn't have a name attribute -> tarfile does not handle file __name__ being an int versions: +Python 3.5 -Python 3.3 ___ Pyt

[issue21044] tarfile does not handle file .name being an int

2014-03-24 Thread R. David Murray
Changes by R. David Murray : -- title: tarfile does not handle file __name__ being an int -> tarfile does not handle file .name being an int ___ Python tracker <http://bugs.python.org/issu

[issue21041] pathlib.PurePath.parents rejects negative indexes

2014-03-24 Thread R. David Murray
Changes by R. David Murray : -- nosy: +pitrou, r.david.murray ___ Python tracker <http://bugs.python.org/issue21041> ___ ___ Python-bugs-list mailing list Unsub

[issue21041] pathlib.PurePath.parents rejects negative indexes

2014-03-24 Thread R. David Murray
R. David Murray added the comment: I think this is a doc bug. That object shouldn't be called a sequence, since it isn't one. -- ___ Python tracker <http://bugs.python.o

[issue21041] pathlib.PurePath.parents rejects negative indexes

2014-03-24 Thread R. David Murray
R. David Murray added the comment: Which is exactly what I mean by saying it is not a sequence. It is 'sequence-like'. Kind of like email Messages are dict-like: they share many methods and behaviors, but the exact behaviors and semantics are

[issue21044] tarfile does not handle file .name being an int

2014-03-24 Thread R. David Murray
R. David Murray added the comment: See the documentation link in msg214670. This isn't a characteristic of TemporaryFile, it's a characteristic of the Python IO system. So you'd have to argue that the documented behavior of the io

[issue16047] Tools/freeze no longer works in Python 3

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

[issue21065] spam

2014-03-25 Thread R. David Murray
Changes by R. David Murray : -- stage: -> committed/rejected status: open -> closed title: Can't solve special women's problems? Let us do it. -> spam ___ Python tracker <http://bugs

[issue21069] urllib unit tests failing without ssl module

2014-03-26 Thread R. David Murray
R. David Murray added the comment: What makes you think this is a different issue? It sounds like a duplicate to me. -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/issue21

[issue21069] urllib unit tests failing without ssl module

2014-03-26 Thread R. David Murray
R. David Murray added the comment: Ah, in case I wasn't clear: what unittest failures that you are seeing are not covered by issue 20939? In order to diagnose this issue, we'll need to know that :) -- ___ Python tracker <http://bu

[issue21069] urllib unit tests failing without ssl module

2014-03-26 Thread R. David Murray
R. David Murray added the comment: Well, I just looked at one of those tests at random, and it is using an http://www.python.org url, so it would be covered by 20939. Can you re-run your tests after applying the patches from that issue

[issue21070] test_xmlrpc waits forever instead of reporting failure

2014-03-26 Thread R. David Murray
R. David Murray added the comment: It hung before the changes as well. On the other hand, before the removal of the timeout value, it at least displayed an error *before* hanging, so I think absent a proper fix the timeout at least should be restored. -- nosy: +r.david.murray

[issue21071] struct.Struct.format is bytes, but should be str

2014-03-26 Thread R. David Murray
R. David Murray added the comment: I agree that the implementation does not match the documentation in this case. Especially the part about "the format string used to create this Struct object". I don't see what having a flag would buy you: it doesn't help you in writing

[issue21069] urllib unit tests failing without ssl module

2014-03-26 Thread R. David Murray
R. David Murray added the comment: Network tests are only run if the 'network' resource is enabled. The devguide does not suggest setting network, but make test does do so. (I personally always use -uall when running the tests). --

[issue20344] subprocess.check_output() docs misrepresent what shell=True does

2014-03-27 Thread R. David Murray
R. David Murray added the comment: Also, the "see below" sentence is missing. -- ___ Python tracker <http://bugs.python.org/issue20344> ___ ___ Python-b

[issue21079] EmailMessage.is_attachment == False if filename is present

2014-03-27 Thread R. David Murray
R. David Murray added the comment: That facility already mostly exists. The bug is that the code in question doesn't use it. >>> m['Content-Disposition'].content_disposition 'attachment' >>> m['Content-Disposition'].params {'filename

[issue21079] EmailMessage.is_attachment == False if filename is present

2014-03-27 Thread R. David Murray
R. David Murray added the comment: Here's patch. -- keywords: +patch Added file: http://bugs.python.org/file34641/is_attachment.patch ___ Python tracker <http://bugs.python.org/is

[issue21079] EmailMessage.is_attachment == False if filename is present

2014-03-27 Thread R. David Murray
R. David Murray added the comment: I was going to open new issue for adding 'value', but looking at the parsing code I see why I didn't add one. The way the new parser works it really wants to know the actual structure of the value, it doesn't have a good way to treat

[issue21079] EmailMessage.is_attachment == False if filename is present

2014-03-27 Thread R. David Murray
R. David Murray added the comment: Well, that's why is_attachment exists. I wouldn't be averse to adding get_content_disposition if nobody objects, though. The attributes are on the headers because the data really is attributes of the parsed headers, but the more useful user

[issue21079] EmailMessage.is_attachment == False if filename is present

2014-03-27 Thread R. David Murray
R. David Murray added the comment: OK. If you would be willing to open a feature request for that, that would be great. -- ___ Python tracker <http://bugs.python.org/issue21

[issue21085] compile error Python3.3 on Cygwin

2014-03-28 Thread R. David Murray
R. David Murray added the comment: cygwin is not officially supported. We do accept patches that improve cygwin support when they are narrowly targted and well motivated. -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.

[issue21086] Source with "# -*- coding: ASCII -*-" and UNIX EOL (\n) results in SyntaxError

2014-03-28 Thread R. David Murray
R. David Murray added the comment: Hmm. This might be related to issue 20731? -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/issue21

[issue20895] Add bytes.empty_buffer and deprecate bytes(17) for the same purpose

2014-03-28 Thread R. David Murray
R. David Murray added the comment: Also, to me 'fill' implies something is being filled, not that something is being created. -- ___ Python tracker <http://bugs.python.o

[issue21078] multiprocessing.managers.BaseManager.__init__'s "serializer" argument is not documented

2014-03-29 Thread R. David Murray
R. David Murray added the comment: He wasn't, sbt (with help) was. Benjamin may have checked it in or something. -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/is

[issue21103] Encoding str to IDNA with ellipsis decomposes to empty labels

2014-03-30 Thread R. David Murray
R. David Murray added the comment: For whatever it is worth, it looks like rfc 5892 marks U+2026 as disallowed. -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/issue21

[issue21109] tarfile: Traversal attack vulnerability

2014-03-31 Thread R. David Murray
R. David Murray added the comment: Note that any issues here should also be considered for zipfile and shutil. (Well, shutil can just use the other two once the security is available.) See issue 20907. -- nosy: +r.david.murray ___ Python tracker

[issue21115] python.org server change causing failures in test_urllib2net test_xxxwithfrag?

2014-03-31 Thread R. David Murray
New submission from R. David Murray: It looks like something changed on the python.org server-side that is causing test_urllib2net tests test_urlwithfrag (and, on 3.4, test_redirect_url_withfrag) to fail because the fragment doesn't appear in the response url. Which is very puzzling

[issue21115] python.org server change causing failures in test_urllib2net test_xxxwithfrag?

2014-03-31 Thread R. David Murray
R. David Murray added the comment: The URLs in question are: http://docs.python.org/3.4/glossary.html#term-global-interpreter-lock http://docs.python.org/2/glossary.html#glossary Which are now redirecting to https, which would cause a failure regardless of the fragment issue...perhaps the

[issue21117] inspect: PartialSignature and PartialParameter classes

2014-03-31 Thread R. David Murray
R. David Murray added the comment: I believe it is a python invariant that a == b implies hash(a) == hash(b). I don't see why the two signatures should be equal. I'm not even sure why the bound argument shows up in the signature of the partial. That surprises me. -

[issue18644] Got ResourceWarning: unclosed file when using test function from formatter module

2014-04-01 Thread R. David Murray
R. David Murray added the comment: There were a bunch of changes to pydoc in 3.4, so I'm not surprised that it doesn't use DumbWriter any more (possibly as part of the formatter pending deprecation). I think I was answering why it wasn't deprecated as part of the html

[issue21117] inspect.signature: inaccuracies for partial functions

2014-04-01 Thread R. David Murray
R. David Murray added the comment: OK, I didn't even realize that was possible with partial. Now I understand Yuri's original point. His example is wrong: >>> def foo(a, b): ...print(a, b) >>> x2 = partial(foo, 'x') >>> str(inspect.si

[issue21117] inspect.signature: inaccuracies for partial functions

2014-04-01 Thread R. David Murray
R. David Murray added the comment: By "didn't know that was possible", I mean binding a positional argument as a keyword argument in the partial. If nobody else thought that was possible, maybe can just fix it :) -- ___ Python

[issue21117] inspect.signature: inaccuracies for partial functions

2014-04-01 Thread R. David Murray
R. David Murray added the comment: We'll have to wait for Nick to chime in, but I'll make a couple of comments. First, I think this is a bug in partial, so I think we need to decide what, if anything, to do about that first, before we decide if signature needs to compensate for

[issue21117] inspect.signature: inaccuracies for partial functions

2014-04-01 Thread R. David Murray
R. David Murray added the comment: Oh, the error message comes from deep in the guts of python, yes. I'm saying that the fact that partial lets you write partial(foo, a='bar') when a is a positional argument is a bug. Even if other people agree with me (and they may not, &qu

[issue21125] traceback.extract_tb says "quadruple" when it means "tuple"

2014-04-01 Thread R. David Murray
R. David Murray added the comment: A google for quadruple got me wikipedia as the first hit, with this as the match text: "Quadruple may refer to: A 4-tuple, ..." So, it's tech-speak. The alternative would be to say either "a 4-tuple" or "a tuple of

[issue19546] configparser leaks implementation detail

2014-04-01 Thread R. David Murray
R. David Murray added the comment: Why? Just let the context convey the information. It's not like we are building a UI here, this is for the programmer. -- ___ Python tracker <http://bugs.python.org/is

[issue19546] configparser leaks implementation detail

2014-04-01 Thread R. David Murray
R. David Murray added the comment: Although I will grant you that I have to guess at what the bad value substitution error message is trying to tell me, so that error message could use some improvement. -- ___ Python tracker <h

[issue21130] equivalent functools.partial instances should compare equal

2014-04-02 Thread R. David Murray
R. David Murray added the comment: But since the two partial instances are (conceptually, I don't care how they are implemented) two separate functions, then reasoning by analogy from two identical functions not comparing equal, I would expect two partial instances to not compare

[issue21130] equivalent functools.partial instances should compare equal

2014-04-02 Thread R. David Murray
R. David Murray added the comment: Of course, as soon as I hit send, I had second thoughts :). I guess a partial is a binding, not a function. -- ___ Python tracker <http://bugs.python.org/issue21

[issue21144] ensurepip "AssertionError: Multiple .dist-info directories"

2014-04-03 Thread R. David Murray
Changes by R. David Murray : -- nosy: +dstufft ___ Python tracker <http://bugs.python.org/issue21144> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21149] logging._removeHandlerRef is not threadsafe during interpreter shutdown

2014-04-03 Thread R. David Murray
R. David Murray added the comment: Yes, I remember previous discussions of the corporate agreement from Google, so I'm sure it exists. -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/is

[issue21158] Windows installer service could not be accessed (Python bug!)

2014-04-04 Thread R. David Murray
R. David Murray added the comment: I think it would be helpful for you to email the python-list mailing list. Hopefully the people there can help you refine your problem report into something we can tackle. The installer works fine for most people, so the first thing that we need in order

[issue21158] Windows installer service could not be accessed (Python bug!)

2014-04-04 Thread R. David Murray
R. David Murray added the comment: Sorry, I meant to delete that word 'minimal', since you have told us what you currently know, but I hit send before I did :) -- ___ Python tracker <http://bugs.python.o

[issue21101] Extend the PyDict C API to handle cases where the hash value is known

2014-04-04 Thread R. David Murray
R. David Murray added the comment: Antoine, being polite never hurts. Terry is a valuable member of the community and sure, he sometimes makes mistakes (or trusts the docs too much?). So do the the rest of us. -- nosy: +r.david.murray ___ Python

[issue21159] configparser.InterpolationMissingOptionError is not very intuitive

2014-04-05 Thread R. David Murray
R. David Murray added the comment: Another problem with that error message is that it seems confusing as to where the bad value *reference* came from, given that rawval doesn't seem to include any interpolation point. -- nosy: +r.david.m

[issue19546] configparser leaks implementation detail

2014-04-05 Thread R. David Murray
R. David Murray added the comment: I've been thinking about this more, and I think I will revise my opinion. I haven't been able to think of a place where knowing that the key is missing in self._sections would in fact be helpful to a programmer using the module. So I'm OK

[issue21161] list comprehensions don't see local variables in pdb in python3

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

[issue21145] Add the @cached_property decorator

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

[issue14758] SMTPServer of smptd does not support binding to an IPv6 address

2014-04-11 Thread R. David Murray
R. David Murray added the comment: I added some review comments. Since this is a new feature, the patch also needs a 'versionchanged' that indicates that ipv6 support was added. -- stage: needs patch -> patch review versions: +Python 3.

[issue5845] rlcompleter should be enabled automatically

2014-04-12 Thread R. David Murray
R. David Murray added the comment: This issue should have gone back to being a release blocker after the alpha release to fix the tab-as-indent issue, but obviously that didn't happen (I forgot about it myself). Please open a new issue requesting a fix for this bug (that tab doesn'

[issue20010] time.strftime('%z') didn't make +HHMM return in windows xp

2014-04-12 Thread R. David Murray
R. David Murray added the comment: Can you suggest how to improve the docs? -- ___ Python tracker <http://bugs.python.org/issue20010> ___ ___ Python-bugs-list m

[issue21169] getpass.getpass() fails with non-ASCII characters in prompt

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

[issue21204] published examples don't work

2014-04-12 Thread R. David Murray
R. David Murray added the comment: Testing the documentation examples is a long term goal, which people occasionally contribute to. I think there is an open issue about using the Sphinx doctest support, that for a long time was blocked by the documentation tool chain not using python3. Some

[issue21205] Unable to make decorated generator object to inherit generator function's __name__

2014-04-12 Thread R. David Murray
R. David Murray added the comment: I think this is a specific case of a more general need to improve 'wraps' that was discussed on python-dev not too long ago. -- nosy: +r.david.murray versions: +Python 3.5 -Python 3.4 ___ Python trac

[issue21208] Change default behavior of arguments with type bool when options are specified

2014-04-12 Thread R. David Murray
R. David Murray added the comment: Yeah, this is a bit non-obvious, but it is a specific instance of the general way that argparse handles types. So as far as I can see there really isn't anything to do here. -- nosy: +r.david.murray resolution: -> invalid stage: ->

[issue6623] Lib/ftplib.py Netrc class should be removed.

2014-04-13 Thread R. David Murray
R. David Murray added the comment: This looks good, except that if we are not going to delete that test routine (and we aren't because we didn't deprecate it :) I think we should instead replace the usage of Netrc with the ne

[issue21169] getpass.getpass() fails with non-ASCII characters in prompt

2014-04-13 Thread R. David Murray
R. David Murray added the comment: Since we don't want the prompting for the password to fail, what we do in the patch is use the replace error handler so that you get as much as could be encoded of the prompt. (Note: this approach was reviewed by both Toshio and Marc Andre.) Thanks fo

[issue21169] getpass.getpass() fails with non-ASCII characters in prompt

2014-04-14 Thread R. David Murray
R. David Murray added the comment: Ok, I'll reopen the issue to do that. -- status: closed -> open ___ Python tracker <http://bugs.python.org/issue21169> ___

[issue20077] Format of TypeError differs between comparison and arithmetic operators

2014-04-14 Thread R. David Murray
R. David Murray added the comment: I think 'please review' was directed at anyone, and yes, using the review link is one way to do a review, but when there isn't enough line-by-line commenting to make the code review tool worth using you can just post on the issue. (And when

[issue21169] getpass.getpass() fails with non-ASCII characters in prompt

2014-04-14 Thread R. David Murray
R. David Murray added the comment: I decided to tweak the language slightly, Kushal. If this isn't what you were looking for, Martin, let me know. -- status: open -> closed ___ Python tracker <http://bugs.python.org

[issue21215] build-deps instructions for Ubuntu

2014-04-14 Thread R. David Murray
R. David Murray added the comment: Since you are saying that it is "sometimes" necessary to use a different package, perhaps we should be saying that in the devguide? And providing the possible names. -- nosy: +barry, r.david.murray

[issue15104] Unclear language in __main__ description

2014-04-14 Thread R. David Murray
R. David Murray added the comment: I've made some review comments. -- ___ Python tracker <http://bugs.python.org/issue15104> ___ ___ Python-bugs-list m

[issue15104] Unclear language in __main__ description

2014-04-14 Thread R. David Murray
Changes by R. David Murray : -- stage: needs patch -> patch review versions: +Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker <http://bugs.python.org/issu

[issue15916] change doctest DocTestSuite not to raise ValueError if no docstrings

2014-04-14 Thread R. David Murray
Changes by R. David Murray : -- Removed message: http://bugs.python.org/msg174146 ___ Python tracker <http://bugs.python.org/issue15916> ___ ___ Python-bugs-list m

[issue15916] change doctest DocTestSuite not to raise ValueError if no docstrings

2014-04-14 Thread R. David Murray
Changes by R. David Murray : -- Removed message: http://bugs.python.org/msg174145 ___ Python tracker <http://bugs.python.org/issue15916> ___ ___ Python-bugs-list m

[issue17009] "Thread Programming With Python" should be removed

2014-04-14 Thread R. David Murray
R. David Murray added the comment: Well, with the new website the url now returns a 404, so I guess we can close this. If someone wants to see it restored as a historical document, that would be an issue for the web site bug tracker. But, since other essays exist, it looks like it was a

[issue21215] build-deps instructions for Ubuntu

2014-04-14 Thread R. David Murray
R. David Murray added the comment: OK, so the devguide currently has sudo apt-get build-dep python3 which did something on Glenn's machine, but did not enable him to build the optional packages. So the question is, what should we put in the devguide as the correct build-dep to in

[issue18518] return-ing within code timed with timeit.timeit causes wrong return value of timeit.timeit

2014-04-14 Thread R. David Murray
R. David Murray added the comment: The suggestion was to make this a footnote, not a note. Also, it should probably say that the stmt is executed inside a function, meaning that instead of being a syntax error it changes the return value of the internal timeit function. I understand

[issue15916] change doctest DocTestSuite not to raise ValueError if no docstrings

2014-04-14 Thread R. David Murray
R. David Murray added the comment: This looks good, however we also need a documentation change indicating the new behavior, including a '.. versionchanged:: 3.5' tag, and an entry in whatsnew/3.5 in the 'other changes' section. -- __

[issue15104] Unclear language in __main__ description

2014-04-14 Thread R. David Murray
R. David Murray added the comment: Thanks, Sam. I did not apply this to 2.7 because I'm not sure if the __main__.py is supported there. Can someone check? -- ___ Python tracker <http://bugs.python.org/is

[issue15104] Unclear language in __main__ description

2014-04-14 Thread R. David Murray
Changes by R. David Murray : -- Removed message: http://bugs.python.org/msg216177 ___ Python tracker <http://bugs.python.org/issue15104> ___ ___ Python-bugs-list m

[issue15104] Unclear language in __main__ description

2014-04-14 Thread R. David Murray
R. David Murray added the comment: Thanks, Sam. I did not apply this to 2.7 because I'm not sure if the __main__.py is supported there. Can someone check? -- type: enhancement -> behavior versions: -Python 3.4, Python 3.5 ___ Python

[issue18401] Tests for pdb import ~/.pdbrc

2014-04-14 Thread R. David Murray
R. David Murray added the comment: Adding a parameter is an enhancement. Probably not a bad thing to have anyway, but it can only go in 3.5. Since this isn't something that causes problems for production code, that seems fine. (The alternative would be to say have a private class var

[issue18518] return-ing within code timed with timeit.timeit causes wrong return value of timeit.timeit

2014-04-14 Thread R. David Murray
R. David Murray added the comment: OK, if you think it is worthwhile in the text, then sure. But yeah, not as a ..note. And yes, I think we should keep backporting relevant doc patches. Especially since Google results still land one on the 2.7 docs

[issue1704474] optparse tests fail under Jython

2014-04-14 Thread R. David Murray
R. David Murray added the comment: I'm guessing they've got a local fix in the release candidate and won't change even their test code there, so I'd guess the beta. But the jython folks would really be the ones to ask. Perhaps they will respond here (th

[issue20874] Tutorial section on starting python is out of date

2014-04-14 Thread R. David Murray
R. David Murray added the comment: Just as a point of information, when making a patch like this it is best to change the smallest number of lines possible, without worrying about line wrapping. This allows us to see just what was changed. The committer can then reflow the paragraph

[issue20874] Tutorial section on starting python is out of date

2014-04-14 Thread R. David Murray
R. David Murray added the comment: Actually I take it back, the patch as a patch also has a couple issues: the line lengths are not in fact less than 80 characters in any case, and there is trailing whitespace on several lines. Could you redo it with just the minimum lines changed and no

[issue12220] minidom xmlns not handling spaces in xmlns attribute value field

2014-04-14 Thread R. David Murray
R. David Murray added the comment: Thanks. Could you also change 'Invalid syntax' to 'Unsupported syntax', per the last bit of the discussion between Terry and I? -- ___ Python tracker <http://bug

[issue6623] Lib/ftplib.py Netrc class should be removed.

2014-04-14 Thread R. David Murray
R. David Murray added the comment: Did you hand test it? Also, you could open a new issue to add tests for the ftplib cli, and probably improve and document it? It was designed as a test, but some people may be using it and it might even be actually useful

[issue12916] Add inspect.splitdoc

2014-04-14 Thread R. David Murray
R. David Murray added the comment: The patch looks good, but 'splitdoc' needs to remain a valid name for the function in the pydoc namespace. You could just add 'splitdoc = inspect.splitdoc' after the import statements. (The reason it needs to remain valid is for ba

[issue17498] error responses from server are masked in smtplib when server closes connection

2014-04-14 Thread R. David Murray
R. David Murray added the comment: Thanks, Kushal. Sorry it took so long to get this committed :) -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed type: -> behavior versions: +Python 3.5 -Python 2.7, Python 3.2

[issue21204] multiprocessing example does not work on Windows

2014-04-14 Thread R. David Murray
R. David Murray added the comment: If you look at the source code for 2.7, it is clear that patch has been applied. -- ___ Python tracker <http://bugs.python.org/issue21

[issue21204] multiprocessing example does not work on Windows

2014-04-14 Thread R. David Murray
R. David Murray added the comment: To clarify, the commit in that issue is in 2.7. So if there is something else that isn't in 2.7, it is a different issue. -- ___ Python tracker <http://bugs.python.org/is

[issue15916] change doctest DocTestSuite not to raise ValueError if no docstrings

2014-04-14 Thread R. David Murray
R. David Murray added the comment: Thanks, Glenn. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

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