[issue23931] Update DevGuide link in Quickstart Step 1

2015-07-28 Thread Carol Willing
Carol Willing added the comment: Berker, Thanks for restaging this issue. I have attached a patch which implements your suggested approach. If you have time to review and commit, I would appreciate the help. -- stage: needs patch - patch review Added file:

[issue24735] Invalid access in combinations_with_replacement()

2015-07-28 Thread Raymond Hettinger
Raymond Hettinger added the comment: Test case? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24735 ___ ___ Python-bugs-list mailing list

[issue24735] Invalid access in combinations_with_replacement()

2015-07-28 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24735 ___

[issue24735] Invalid access in combinations_with_replacement()

2015-07-28 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- assignee: - rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24735 ___ ___

[issue19316] devguide: compiler - wording

2015-07-28 Thread Carol Willing
Carol Willing added the comment: I've reviewed doc19316.patch. Unfortunately, the patch does not apply cleanly to the up-to-date codebase; it emits this error: ``` patching file compiler.rst Hunk #1 succeeded at 41 with fuzz 2. Hunk #3 succeeded at 175 (offset 6 lines). patch: malformed

[issue24735] Invalid access in combinations_with_replacement()

2015-07-28 Thread STINNER Victor
STINNER Victor added the comment: Can someone please write an unit test to avoid regressions in the future? -- nosy: +haypo resolution: fixed - status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24735

[issue23404] 'make touch' does not work with git clones of the source repository

2015-07-28 Thread Carol Willing
Carol Willing added the comment: Using Ned Deily's feedback, I have added a devguide patch to clarify that 'make touch' only works with a Mercurial clone and was not designed for git clones. This patch, iss23404devguide.patch, resolves the devguide portion of this issue unless anyone has

[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace

2015-07-28 Thread R. David Murray
New submission from R. David Murray: I got a doctest failure that when I wrote the output to a file showed two exactly identical lines reported as being different. Turning off the fancy diff, I could see trailing whitespace on one of the lines. It turns out that when a fancy diff is

[issue23254] Document how to close the TCPServer listening socket

2015-07-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8afd995802a6 by Robert Collins in branch '2.7': Issue #23254: Document how to close the TCPServer listening socket. https://hg.python.org/cpython/rev/8afd995802a6 New changeset 1123de53195e by Robert Collins in branch '3.4': Issue #23254: Document

[issue23254] Document how to close the TCPServer listening socket

2015-07-28 Thread Robert Collins
Robert Collins added the comment: Applied to 2.7/3.4/3.5/3.6. Thanks! -- nosy: +rbcollins resolution: - fixed stage: commit review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23254

[issue24745] Better default font for editor

2015-07-28 Thread Mark Roseman
New submission from Mark Roseman: By default, IDLE chooses courier for the text editor font. As you'll see from the attached screenshot, while this looks ok on Windows, it's inconsistent with the standard fixed width fonts on Linux and OS X, and borders on unreadable particularly on the

[issue24692] types.coroutines() idempotence documentation

2015-07-28 Thread Martin Panter
Martin Panter added the comment: Going by Yury’s tests and implementation, I think it is intended that: * An “async def” coroutine factory function is accepted and passed through unmodified * An generator–coroutine factory function that has already been transformed is also accepted * If a

[issue24692] types.coroutines() idempotence documentation

2015-07-28 Thread Martin Panter
Martin Panter added the comment: Let me know if this patch works for you. -- keywords: +patch stage: - patch review versions: +Python 3.6 Added file: http://bugs.python.org/file40050/coro-idempotent.patch ___ Python tracker rep...@bugs.python.org

[issue23447] Import fails when doing a circular import involving an `import *`

2015-07-28 Thread Steven Barker
Steven Barker added the comment: I've finally gotten around to looking into this issue and it turns out that fixing from package import * to work with circular imports is pretty easy, as all that needs to be done is apply the same logic from the patch for issue 17636 to the loop in the next

[issue24742] type(dict with docstring) returns set instead of dict

2015-07-28 Thread STINNER Victor
STINNER Victor added the comment: It is really a set ;-) It's just that set representation is close to dict representation. $ python3 set((1, 2, 3)) {1, 2, 3} {'key': 3} {'key': 3} -- nosy: +haypo ___ Python tracker rep...@bugs.python.org

[issue24741] Hangs and errors while testing on Ubuntu/Intel

2015-07-28 Thread R. David Murray
R. David Murray added the comment: Since Ubuntu is one of the platforms that gets thoroughly tested and neither the buildbots nor other users have reported issues, your best source for help on this is probably either the python-list mailing list, or an Ubuntu forum. FYI the 3.4 buildbots are

[issue24735] Invalid access in combinations_with_replacement()

2015-07-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset fd3fb122c5ff by Raymond Hettinger in branch '3.4': Issue #24735: Fix invalid memory access in combinations_with_replacement() https://hg.python.org/cpython/rev/fd3fb122c5ff -- nosy: +python-dev ___

[issue24738] os.link() issues on Windows ReFS

2015-07-28 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- resolution: - third party stage: - resolved status: open - closed type: crash - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24738

[issue24745] Better default font for editor

2015-07-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree that Courier is ugly and a bad thing to hardcode. I long ago switched to Lucida Console, which other than i and l is very close to the Mac/linux examples. I had forgotten that Courier was the default. Ned, am I correct in thinking you would like

[issue12006] strptime should implement %G, %V and %u directives

2015-07-28 Thread Ashley Anderson
Ashley Anderson added the comment: Wow, I can't believe this issue is so old now! I'm motivated to finally come back and address the remaining issues to get this merged. Sorry for seemingly abandoning this; I'm embarrassed I didn't push to finish it earlier. It sounds like the consensus is to

[issue19450] Bug in sqlite in Windows binaries

2015-07-28 Thread Steve Dower
Steve Dower added the comment: Updating to 3.8.11.0 now. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19450 ___ ___ Python-bugs-list mailing

[issue24737] Doc issue: Python 3.6 doesn't compile on Visual Studio 2010 anymore

2015-07-28 Thread Steve Dower
Steve Dower added the comment: Dev guide has been updated. I assume it'll flow through to the website eventually, though that hasn't happened yet. -- resolution: - fixed stage: - resolved status: open - closed ___ Python tracker

[issue24379] operator.subscript

2015-07-28 Thread Raymond Hettinger
Raymond Hettinger added the comment: (This should probably be discussed on the Python Ideas mailing list...) Overall, I really the idea and think it should go forward, but it does warrant being kicked around on python-ideas and Guido should have an opportunity to weigh in (because it

[issue23749] asyncio missing wrap_socket (starttls)

2015-07-28 Thread Elizabeth Myers
Changes by Elizabeth Myers elizab...@interlinked.me: -- nosy: -Elizacat ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23749 ___ ___

[issue24744] Lack of type checks in pkgutil.walk_packages and friends

2015-07-28 Thread Cal Leeming
New submission from Cal Leeming: The documentation states that pkgutil.walk_packages() path must be None or a list of paths [1]. After passing in a string, the result was a blank list rather than a type error or automatic conversion to a list. If this method is documented that it must only

[issue24735] Invalid access in combinations_with_replacement()

2015-07-28 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- stage: patch review - resolved ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24735 ___ ___

[issue7546] msvc9compiler.py: add .asm extension

2015-07-28 Thread Stefan Krah
Stefan Krah added the comment: The workaround is telling users to run e.g. ``vcvarsall x64'' before the build. setup.py then contains extra_objects = ['vcdiv64.obj'] os.system(ml64 /c /Cx vcdiv64.asm), which is run before creating the extension. The extension itself contains

[issue24735] Invalid access in combinations_with_replacement()

2015-07-28 Thread Stefan Krah
Stefan Krah added the comment: Victor, there was no actual crash, just a potential one. In terms of the observable runtime behavior the code behaved correctly. I would not know what to test for, unless we set up a buildbot running Valgrind (which is impracticable for a number of reasons).

[issue23931] Update DevGuide link in Quickstart Step 1

2015-07-28 Thread Berker Peksag
Berker Peksag added the comment: Looks great! Thank you Tina and Carol :) -- resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23931

[issue23931] Update DevGuide link in Quickstart Step 1

2015-07-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6b9c91135e1b by Berker Peksag in branch 'default': Issue #23931: Add a link to the Version Control Setup section in index.rst. https://hg.python.org/devguide/rev/6b9c91135e1b -- nosy: +python-dev ___

[issue24651] Mock.assert* API is in user namespace

2015-07-28 Thread Michael Foord
Michael Foord added the comment: I had a chance to talk to Guido about this at EuroPython. His feeling was that a separate set of functions *is* a better API - or at least would have been if mock had been designed this way from the start. However, the most serious problem with the current

[issue24743] Make _PyTraceback_Add public

2015-07-28 Thread Michael Ensslin
New submission from Michael Ensslin: Python 3.4.3 introduced an internal function, _PyTraceback_Add, which is quite useful when constructing Python exception objects. I'm using it when constructing a Python Exception object from a C++ exception object, to add fake traceback frames that

[issue24735] Invalid access in combinations_with_replacement()

2015-07-28 Thread STINNER Victor
STINNER Victor added the comment: Oh I see. Ok, since it's a corner case, I'm fine with no unit test. Thanks for the report Stefan, and thanks for the fix Raymond ;-) -- resolution: - fixed status: open - closed ___ Python tracker

[issue24742] type(dict with docstring) returns set instead of dict

2015-07-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: https://docs.python.org/3/reference/expressions.html#set-displays -- nosy: +serhiy.storchaka resolution: - not a bug stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org

[issue24742] type(dict with docstring) returns set instead of dict

2015-07-28 Thread razvan.paul.blaga
razvan.paul.blaga added the comment: Thank you for the explanation and docs link. I promise to do my research before submitting another bug report ;) cheers -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24742

[issue24742] type(dict with docstring) returns set instead of dict

2015-07-28 Thread razvan.paul.blaga
New submission from razvan.paul.blaga: d = { ''' Commented dictionary values ''' } print type(d) # returns 'set' instead of 'dict' -- components: Library (Lib) messages: 247517 nosy: razvan.paul.blaga priority: normal severity: normal status: open title: type(dict with docstring)

[issue23756] Tighten definition of bytes-like objects

2015-07-28 Thread Martin Panter
Martin Panter added the comment: Patch v3: * Merged with recent changes * New glossary entry for “contiguous”, with incoming links from various points * Removed my definition from buffer.rst I found the Num Py explanation a bit brief, assuming what you quoted was the extent of it. I used some

[issue24476] Statically link vcruntime140.dll

2015-07-28 Thread Steve Dower
Steve Dower added the comment: Reopening this because we need to update distutils to pass the same options or built wheels won't work on machines where the full VC runtime isn't installed. -- resolution: fixed - stage: resolved - status: closed - open

[issue12067] Doc: remove errors about mixed-type comparisons.

2015-07-28 Thread Martin Panter
Martin Panter added the comment: I can split out a documentation-only patch if it would help get that committed. In the meantime, patch v16 includes some fixups to comments etc in the test code that I missed myself. -- assignee: - docs@python components: +Tests Added file:

[issue24745] Better default font for editor

2015-07-28 Thread Ned Deily
Ned Deily added the comment: With current ActiveTcl 8.5.18 on OS X, TkFixedFont translates to Monaco 11 point which looks fine on my laptop. I don't have a Retina display handy to see how it looks there but it's probably an improvement over Courier so changing the default sounds good to me.

[issue19450] Bug in sqlite in Windows binaries

2015-07-28 Thread Marc Schlaich
Marc Schlaich added the comment: I'm still +1 for an update in 2.7 as there are a lot of important bug fixes and a new SQLite version is 100% backwards compatible for my medium to big size (SQLAlchemy) SQLite applications. -- ___ Python tracker

[issue24379] operator.subscript

2015-07-28 Thread Joe Jevnik
Joe Jevnik added the comment: I posted this to python Ideas on June 10th of this year. That is where we decided to rename it from `slice.literal` to `operator.subscript`. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24379

[issue24744] Lack of type checks in pkgutil.walk_packages and friends

2015-07-28 Thread R. David Murray
R. David Murray added the comment: Well, normally no, we don't use type checks. On the other hand, having it produce an incorrect result rather than an error of *some* sort is not so good (the problem is that it is ultimately calling map(func, path), and map happily iterates the string

[issue24039] Idle: some modal dialogs maximize, don't minimize

2015-07-28 Thread Vivek
Vivek added the comment: I am trying to remove both min and max buttons while keeping the dialog box both modal and extensible. I added `top.attributes(-toolwindow,-1)` to SearchDialogBase.py(create_widget) which does what is required, but with side effects,i.e.,it changes the look of the

[issue19450] Bug in sqlite in Windows binaries

2015-07-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1003746ee7a0 by Steve Dower in branch '3.4': Issue #19450: Update Windows builds to use SQLite 3.8.11.0 https://hg.python.org/cpython/rev/1003746ee7a0 New changeset 4b37e81fcc54 by Steve Dower in branch '3.5': Issue #19450: Update Windows builds to

[issue24729] Input and Output tutorial erroneously references default encoding UTF-8

2015-07-28 Thread Alessandro Cucci
Alessandro Cucci added the comment: tried again :) -- Added file: http://bugs.python.org/file40046/issue24729_v3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24729 ___

[issue24729] Input and Output tutorial erroneously references default encoding UTF-8

2015-07-28 Thread Alessandro Cucci
Alessandro Cucci added the comment: @r.david.murray: just like that? (see patch v2) -- Added file: http://bugs.python.org/file40045/issue24729_v2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24729

[issue24651] Mock.assert* API is in user namespace

2015-07-28 Thread Erik Bray
Erik Bray added the comment: Would it be possible to add the functions and *not* deprecate assert_ methods? The existing solution is still acknowledged to be an incomplete solution. It is still possible to make other typos that result in unintentional non-assertions (it's also not entirely

[issue24729] Input and Output tutorial erroneously references default encoding UTF-8

2015-07-28 Thread R. David Murray
R. David Murray added the comment: A direct link to open would be better (see :func:`~functions.open` should do it, I think). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24729 ___

[issue19450] Bug in sqlite in Windows binaries

2015-07-28 Thread Steve Dower
Steve Dower added the comment: Looks like Python 2.7 is still on SQLite 3.6.21, so the RM (Benjamin) will have to make a call on whether we take the upgrade. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19450

[issue24039] Idle: some modal dialogs maximize, don't minimize

2015-07-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: We need to know whether this issue is specific to Windows or not. (I requested a Linux user to check.) We also need to know why the config dialogs do not have the min and max boxes. Neither '.attributes' and '-toollevel' appear in a grep of idlelib. The

[issue24729] Input and Output tutorial erroneously references default encoding UTF-8

2015-07-28 Thread R. David Murray
R. David Murray added the comment: Looks good to me assuming it renders correctly. -- stage: - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24729 ___

[issue24651] Mock.assert* API is in user namespace

2015-07-28 Thread Kevin Benton
Kevin Benton added the comment: I like the idea of having the new module functions without deprecating the old ones. Then projects can encourage use of the API on their own terms. Maybe there could even be a global that projects could set that would disable the object methods... --

[issue24720] Python install help

2015-07-28 Thread node
node added the comment: I was able to load Python 3.2.3. I set up Eclipse with PyDev now I try it with print(hello world); and got this error. Mark unable to load 3.50b4 same error in log. Fatal Python error: Py_Initialize: can't initialize sys standard streams LookupError: unknown encoding:

[issue24667] OrderedDict.popitem()/__str__() raises KeyError

2015-07-28 Thread Eric Snow
Eric Snow added the comment: I've been able to pare down the tests that run to reproduce the bug. These 3 must run: archivebot interwiki_graph l10n Given how long the entire suite takes, this helps drastically improve my iteration time while debugging. At this point I should be able to

[issue24682] Add Quick Start: Communications section to devguide

2015-07-28 Thread Brett Cannon
Brett Cannon added the comment: The patch overall LGTM, although it's hard to read in a browser due to the lack of code review integration with Rietveld (time to go email some people to keep the code process moving forward =). -- ___ Python tracker

[issue24651] Mock.assert* API is in user namespace

2015-07-28 Thread Robert Collins
Robert Collins added the comment: I don't mind if this is open or closed: we've now got a clear set of requirements *should* someone want to work on it:: - it would feel as convenient to use as the current API does - it would be possible to be both forward and backwards compatible with the

[issue24729] Input and Output tutorial erroneously references default encoding UTF-8

2015-07-28 Thread Carol Willing
Carol Willing added the comment: @acucci and R. David Murray: I've run the patch locally, and all renders well except for one link. @acucci: I believe that the direct link to the `open()` command should be ... see :func:`open` An example exists at the beginning of the section containing