[issue19450] Bug in sqlite in Windows binaries

2015-07-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 33dbcde76b3f by Ned Deily in branch '3.4': Issue #19450: Update OS X installer builds to use SQLite 3.8.11. https://hg.python.org/cpython/rev/33dbcde76b3f New changeset ebe72984c1b9 by Ned Deily in branch '3.5': Issue #19450: merge from 3.4 https://

[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: http://bu

[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 _

[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.

[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 this?

[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

[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 wrap

[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 requeste

[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 ___

[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 h

[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 latter

[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

[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

[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 th

[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

[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 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... -- _

[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 more

[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 ch

[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 ___

[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 ___

[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

[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 _

[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 ___ ___

[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 cl

[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 ___ ___

[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 bord

[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

[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 applyi

[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

[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 acc

[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 chang

[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

[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 ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[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 ra

[issue23749] asyncio missing wrap_socket (starttls)

2015-07-28 Thread Elizabeth Myers
Changes by Elizabeth Myers : -- nosy: -Elizacat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[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 c

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

2015-07-28 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> third party stage: -> resolved status: open -> closed type: crash -> behavior ___ Python tracker ___

[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 API

[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 'extra_objec

[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 conta

[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 _

[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

[issue24735] Invalid access in combinations_with_replacement()

2015-07-28 Thread Berker Peksag
Changes by Berker Peksag : -- stage: patch review -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[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

[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) return

[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 ___ _

[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 ___ Py

[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

[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). -

[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 __

[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 pa

[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 furth

[issue24735] Invalid access in combinations_with_replacement()

2015-07-28 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

[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 ___ Python

[issue17570] Improve devguide Windows instructions

2015-07-28 Thread Carol Willing
Carol Willing added the comment: Updated patch to include Steve Dower's feedback. -- Added file: http://bugs.python.org/file40043/iss17570v2.patch ___ Python tracker ___

[issue24735] Invalid access in combinations_with_replacement()

2015-07-28 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- Removed message: http://bugs.python.org/msg247505 ___ Python tracker ___ ___ Python-bugs-list mailin

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

2015-07-28 Thread REIX Tony
REIX Tony added the comment: run on Ubuntu/i586 : $ make test > Go.res3 2>&1 & $ tail -f Go.res [164/390] test_cgi Silent ! ^C [1]+ Stoppedmake test > Go.res3 2>&1 reixt@b017569-ux:~/FromOldPC/FromOldPC/Projets/ToolBox/PYTHON-3/Python-3.4.3$ reixt@b017569-ux:~/FromOl

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

2015-07-28 Thread REIX Tony
New submission from REIX Tony: I'm now porting Python (2.7.10 and 3.4.3) on AIX. Before that, I wanted to build and test on reference machines in order to see what is expected during building and testing. However, on Ubuntu/i586 and Ubuntu/x86_64, I face hangs and errors during test phase on

[issue24735] Invalid access in combinations_with_replacement()

2015-07-28 Thread Raymond Hettinger
Raymond Hettinger added the comment: Test case? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue24735] Invalid access in combinations_with_replacement()

2015-07-28 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http