[issue19039] sphinx search, result sorting

2013-09-17 Thread Thomas Guettler
New submission from Thomas Guettler: If you search for "printf" in the docs you get this result: http://docs.python.org/3.3/search.html?q=printf&check_keywords=yes&area=default Please have a look at the first results. I guess most people don't want to see docs about "PyOS_snprintf" Most peopl

[issue18873] "Encoding" detected in non-comment lines

2013-09-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset f16855d6d4e1 by Serhiy Storchaka in branch '2.7': Remove the use of non-existing re.ASCII. http://hg.python.org/cpython/rev/f16855d6d4e1 -- ___ Python tracker

[issue18873] "Encoding" detected in non-comment lines

2013-09-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thanks, David. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue4080] unittest: display time used by each test case

2013-09-17 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

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

2013-09-17 Thread Georg Brandl
Georg Brandl added the comment: [MAL] > * Commit messages only provide a very terse hint at what a > particular patch set was meant for. The target audience > is other core developers. > > * News entries explain these patches (there may be more than one > for a particular issue or project)

[issue18553] os.isatty() is not Unix only

2013-09-17 Thread Georg Brandl
Georg Brandl added the comment: Senthil: your 3.3->default merge removed the Availability from fpathconf(). -- nosy: +georg.brandl status: closed -> open ___ Python tracker ___ _

[issue19038] Fix sort order in Misc/ACKS.

2013-09-17 Thread Tae-Wong SEO
Tae-Wong SEO added the comment: You want to submit a diff file. You are not signing contributor agreement. Letter a-with-ring is also usd in transliteration of Avestan language. -- status: pending -> open ___ Python tracker

[issue18986] Add a case-insensitive case-preserving dict

2013-09-17 Thread Georg Brandl
Georg Brandl added the comment: Note that I'm strongly against this name of the getitem() method. -- nosy: +georg.brandl ___ Python tracker ___ __

[issue18986] Add a case-insensitive case-preserving dict

2013-09-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Georg Brandl added the comment: > > Note that I'm strongly against this name of the getitem() method. Any suggestion? -- ___ Python tracker

[issue19023] ctypes docs: Unimplemented and undocumented features

2013-09-17 Thread Georg Brandl
Georg Brandl added the comment: Thanks for the patch! The amount of unrelated changes (mostly removing ">>>" empty prompts) makes this a bit hard to review. Also, I don't think it is too important to link to the "ctypes" module from within the docs of ctypes :) Please separate out the impleme

[issue19026] OrderedDict should not accept dict as parameter

2013-09-17 Thread Georg Brandl
Georg Brandl added the comment: > Right. That's why it should not accept input that can only be > unordered (including dict and **kwargs) - this is what I mean by > strict mode. That's not even true: the empty and the one-element dict are always ordered. -- nosy: +georg.brandl

[issue18986] Add a case-insensitive case-preserving dict

2013-09-17 Thread Georg Brandl
Georg Brandl added the comment: Not really. Would "entry" be acceptable instead of "item"? -- ___ Python tracker ___ ___ Python-bugs-l

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

2013-09-17 Thread Nick Coghlan
Nick Coghlan added the comment: I agree the "different audiences" problem can be addressed by using appropriate commit message formatting to say "this bit goes in NEWS" (perhaps with some metadata to say which section). However, that doesn't solve the question of how we fix inevitable mistakes

[issue18986] Add a case-insensitive case-preserving dict

2013-09-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Georg Brandl added the comment: > > Not really. Would "entry" be acceptable instead of "item"? getentry() sounds decent to me, but it loses the parallel to popitem() and items(). -- ___ Python tracker

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

2013-09-17 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 17.09.2013 11:09, Nick Coghlan wrote: > > Nick Coghlan added the comment: > > I agree the "different audiences" problem can be addressed by using > appropriate commit message formatting to say "this bit goes in NEWS" (perhaps > with some metadata to sa

[issue19012] liburl2: bad proxy configuration throws "getaddrinfo" error

2013-09-17 Thread Sjoerd
Sjoerd added the comment: That happens when citing things from the top of my head... it is not liburl2 but urllib2 that I used, excuse me. (And urlopen instead of openurl...) From http://docs.python.org/2/library/urllib2.html it seems to be a Standard Library module to me, am I mistaken? If s

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

2013-09-17 Thread Richard Oudkerk
Richard Oudkerk added the comment: An alternative would be to have separate files NEWS-3.2, NEWS-3.3, NEWS-3.4 etc. If a fix is added to 3.2 and will be merged to 3.3 and 3.4 then you add an entry to NEWS-3.2 and append some sort of tags to indicate merges: - Issue #1234: Fix something th

[issue19040] Problems with overriding Enum.__new__

2013-09-17 Thread Drekin
New submission from Drekin: I tried to implement an Enum variant OptionalEnum such that OptionalEnum(value) leaves value alone and returnes it (if there is no corresponding enum member) rather than raising ValueError. My use case is following: I'm trying to parse some keyboard layout related d

[issue18986] Add a case-insensitive case-preserving dict

2013-09-17 Thread Georg Brandl
Georg Brandl added the comment: Hmm, I didn't consider popitem(). Maybe I'm too paranoid about users confusing __getitem__() and getitem() after all :) -- ___ Python tracker __

[issue18986] Add a case-insensitive case-preserving dict

2013-09-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: But why not getkey()? Why you need return value too? -- ___ Python tracker ___ ___ Python-bugs-lis

[issue18986] Add a case-insensitive case-preserving dict

2013-09-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: > But why not getkey()? Why you need return value too? Because it's more useful to return both. -- ___ Python tracker ___ _

[issue18986] Add a case-insensitive case-preserving dict

2013-09-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Sorry, I don't understand why it's more useful. We need create a tuple and then index it or unpack it and drop one of elements. This only muddles away a time and programmer's attention. -- ___ Python tracker

[issue18986] Add a case-insensitive case-preserving dict

2013-09-17 Thread R. David Murray
R. David Murray added the comment: Because most often the time at which you want the original key is the point at which you are about to re-serialize the data...so you need the value too. -- ___ Python tracker ___

[issue19012] urllib2: bad proxy configuration throws "getaddrinfo" error

2013-09-17 Thread R. David Murray
R. David Murray added the comment: urllib2 is a python2 stdlib module, yes. Can you provide a traceback? I would have thought that the traceback would give a clue as to what the real problem was, so I'm very curious to see it. Maybe it only gives a clue if you already know what you are looki

[issue19040] Problems with overriding Enum.__new__

2013-09-17 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +ethan.furman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue18986] Add a case-insensitive case-preserving dict

2013-09-17 Thread R. David Murray
R. David Murray added the comment: I do think getitem is the most natural name for the method. -- ___ Python tracker ___ ___ Python-bu

[issue18986] Add a case-insensitive case-preserving dict

2013-09-17 Thread Eric V. Smith
Eric V. Smith added the comment: On 09/17/2013 09:34 AM, R. David Murray wrote: > > R. David Murray added the comment: > > Because most often the time at which you want the original key is the point > at which you are about to re-serialize the data...so you need the value too. I can't think o

[issue18986] Add a case-insensitive case-preserving dict

2013-09-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Oh, could anyone borrow Guido's time machine and rename either __getitem__() to __getvalue__() or items() to entries()? -- ___ Python tracker ___

[issue19039] sphinx search, result sorting

2013-09-17 Thread R. David Murray
R. David Murray added the comment: This is a Sphinx issue and should be reported on the Sphinx tracker...although I think Sphinx uses a 3rd party tool for the sorting, so it might go back up even a level further :). I don't think there's any reason to keep this issue open here, but I'll leav

[issue18986] Add a case-insensitive case-preserving dict

2013-09-17 Thread Eric V. Smith
Eric V. Smith added the comment: On 09/17/2013 10:12 AM, Eric V. Smith wrote: > On the other hand, I don't have a use case for the original key, anyway. > So I don't have a strong feeling about this, other than it feels odd > that the answer to the original question (I think on python-dev) "how d

[issue1615] descriptor protocol bug

2013-09-17 Thread Ethan Furman
Ethan Furman added the comment: Benjamin Peterson added the comment: > > I consider this to be a feature. Properties can raise AttributeError to defer > to > __getattr__. Micah Friesen added the comment: > >I submit that this is not a feature - I can't imagine a real-world scenario >[...] No

[issue1065986] Fix pydoc crashing on unicode strings

2013-09-17 Thread Akira Kitada
Akira Kitada added the comment: With this patch applied, the example from issue15791 works fine. $ echo "__author__ = u'Michele Orr\xf9'" > foo.py && ./python -c "import foo; print foo.__author__; help(foo)" Michele Orrù Help on module foo: NAME foo FILE /tmp/cpython/foo.py DATA

[issue19038] Fix sort order in Misc/ACKS.

2013-09-17 Thread Tae-Wong SEO
Tae-Wong SEO added the comment: You want to add the packaging coordinator Laca (real name László Péter in Hungarian) to Misc/ACKS. And you want to add a bunch of real names from the python-bugs-list mailing list (from August 2007 to September 2013). -- ___

[issue19041] requested (DLL) module could not be found

2013-09-17 Thread Tcll
New submission from Tcll: I think this issue more revolves around PyGLEW, but LaunchPad won't let me report to them... I've taken a screenshot of the issue rather than trying to explain it: http://lh3.ggpht.com/-d6gM0Qlq9Ek/UjhxFDFOmAI/FIU/Vwell0V1Vo8/s1400/error.jpg I've also notified

[issue19041] requested (DLL) module could not be found

2013-09-17 Thread R. David Murray
R. David Murray added the comment: You are correct, this is not likely to be a problem with Python itself (the interactive prompt in your screen capture doesn't look like what Python would produce by itself). So, since it is almost certainly not a bug in Python, it's not appropriate for this

[issue19041] requested (DLL) module could not be found

2013-09-17 Thread Tcll
Tcll added the comment: yeh... the only thing I was thinking was on Python's end was the DLL (Highlighted in the img) failing to register. (I have seen cases of PYD modules used in the same manner, such as PyWin32 modules) but yea, I see now that isn't the case, so thank you :) On Tue, Sep 17,

[issue19042] Idle: add option to autosave 'Untitled' edit window

2013-09-17 Thread Terry J. Reedy
New submission from Terry J. Reedy: The General tab of the IDLE Preferences dialog has this section with two radiobuttons: Autosave Preferences At Start of Run (F5) () Prompt to Save () No Prompt The latter option actually means "No prompt unless the window is a new window ('Untitled') tha

[issue19042] Idle: add option to autosave 'Untitled' edit window

2013-09-17 Thread Bruce Sherwood
Bruce Sherwood added the comment: Very nice, Terry. Good point about positive vs. negative specifications. I think maybe your "Prompt to Save versus Autosave" is the best scheme, because one is specifying whether or not to do something "active" (namely, put up a save dialog). -- nosy:

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

2013-09-17 Thread Benjamin Peterson
Benjamin Peterson added the comment: Fine for 3.1. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue19038] Fix sort order in Misc/ACKS.

2013-09-17 Thread Brian Curtin
Brian Curtin added the comment: I don't believe we want to do those things. Changes should be in a diff file and limited to the minimum amount of required changes to fix your sort ordering bug - not adding people or changing the spelling of people's names. -- nosy: +brian.curtin status

[issue19038] Fix sort order in Misc/ACKS.

2013-09-17 Thread Tae-Wong SEO
Tae-Wong SEO added the comment: You want to make diff file to get changes from the ACKS file. -- status: pending -> open ___ Python tracker ___ __

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

2013-09-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1b673e0fd8f3 by R David Murray in branch '2.6': Add versionchanged for #14984, remove extra blank from string. http://hg.python.org/cpython/rev/1b673e0fd8f3 New changeset 48be42b94381 by R David Murray in branch '2.7': Merge: Add versionchanged for

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

2013-09-17 Thread R. David Murray
R. David Murray added the comment: Well, I got the answer to the "may" question, but not the "can" question. The answer to that question is "no": remote: - changeset 6396d1fc72da on disallowed branch '3.1'! remote: * Please strip the offending changeset(s) remote: * and re-do them, if needed,

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

2013-09-17 Thread Benjamin Peterson
Benjamin Peterson added the comment: You should be able to push now. 2013/9/17 R. David Murray : > > R. David Murray added the comment: > > Well, I got the answer to the "may" question, but not the "can" question. > The answer to that question is "no": > > remote: - changeset 6396d1fc72da on

[issue19024] Document asterisk (*), splat or star operator

2013-09-17 Thread Mike Hoy
Changes by Mike Hoy : -- nosy: +mikehoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org

[issue18918] help('FILES') finds no documentation

2013-09-17 Thread Mike Hoy
Changes by Mike Hoy : -- nosy: +mikehoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org

[issue18855] Inconsistent README filenames

2013-09-17 Thread Mike Hoy
Changes by Mike Hoy : -- nosy: +mikehoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org

[issue19032] __reduce_ex__ on lock object

2013-09-17 Thread Raymond Hettinger
Raymond Hettinger added the comment: This does not look like a bug to me. I think this should be closed. -- nosy: +rhettinger ___ Python tracker ___ _