[issue23931] Update DevGuide link in Quickstart Step 1
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: http://bugs.python.org/file40041/iss23931.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23931 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24735] Invalid access in combinations_with_replacement()
Raymond Hettinger added the comment: Test case? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24735 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24735] Invalid access in combinations_with_replacement()
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24735 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24735] Invalid access in combinations_with_replacement()
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- assignee: - rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24735 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19316] devguide: compiler - wording
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 patch at line 58: @@ -386,19 +386,12 @@ ``` nikita, Thanks for the initial patch. Would you like to update it? -- nosy: +willingc stage: patch review - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19316 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24735] Invalid access in combinations_with_replacement()
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23404] 'make touch' does not work with git clones of the source repository
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 further wording changes. -- nosy: +willingc stage: needs patch - patch review Added file: http://bugs.python.org/file40044/iss23404devguide.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23404 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace
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 requested, doctest explicitly goes through and strips trailing whitespace from the diff lines returned by difflib. This seems to me to be obviously incorrect. There is no clue in the changelog why this was done...this goes back to a massive refactoring of doctest that was done for python 2.4, and the fancy diff was introduced at that point, complete with this strange behavior. I tried to write a test for this but couldn't get it working in the time I was willing to devote to this (I've switched to NDIFF format, which shows the whitespace error even when the actual whitespace is stripped). Perhaps testing this via doctest isn't the best idea anyway, since it will be far to easy for the trailing whitespace in the test to get accidentally stripped. I've attached my work as a diff for reference if someone wants to work on this. -- components: Library (Lib) files: doctest_fancy_diff_trailing_whitespace.diff keywords: easy, patch messages: 247552 nosy: r.david.murray priority: normal severity: normal stage: test needed status: open title: doctest 'fancy diff' formats incorrectly strip trailing whitespace type: behavior versions: Python 3.4, Python 3.5, Python 3.6 Added file: http://bugs.python.org/file40049/doctest_fancy_diff_trailing_whitespace.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24746 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23254] Document how to close the TCPServer listening socket
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 how to close the TCPServer listening socket. https://hg.python.org/cpython/rev/1123de53195e New changeset 5ee8a4efc06f by Robert Collins in branch '3.5': Issue #23254: Document how to close the TCPServer listening socket. https://hg.python.org/cpython/rev/5ee8a4efc06f New changeset 256d5c7146cb by Robert Collins in branch 'default': Issue #23254: Document how to close the TCPServer listening socket. https://hg.python.org/cpython/rev/256d5c7146cb -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23254 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23254] Document how to close the TCPServer listening socket
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24745] Better default font for editor
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. While this can be changed via the configuration dialog (the 'fixed' versions in the screenshots do just that), this is one of the things that really jumps out at you the first time you run IDLE, and not in a good way. Tk defines a font named 'TkFixedFont', which we should take advantage of instead of hardcoding courier; details of the font can be retrieved via tkinter.font.nametofont('TkFixedFont').actual() Note there's a bit of an overlap here with #20580, but suggests that there may be some cases where determining defaults programmatically rather than hardcoding multiple defaults may be appropriate. -- components: IDLE files: defaultfont.png messages: 247549 nosy: kbk, markroseman, roger.serwy, terry.reedy priority: normal severity: normal status: open title: Better default font for editor type: enhancement versions: Python 2.7, Python 3.4, Python 3.5 Added file: http://bugs.python.org/file40048/defaultfont.png ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24745 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24692] types.coroutines() idempotence documentation
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 wrapped function (not a normal coroutine nor generator factory) returns a coroutine instance (e.g. if the function was already decorated), the return value is never wrapped a second time I will have a go at writing this up. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24692 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24692] types.coroutines() idempotence documentation
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 http://bugs.python.org/issue24692 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23447] Import fails when doing a circular import involving an `import *`
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 function. I'll attach a patch that does this. Unfortunately, my Windows build environment seems to be completely messed up at the moment and I'm getting link errors on everything in my python repo, so I've not been able to test the code at all. Since I have no idea when I'll actually have the time to learn what the hell's going wrong with MSVC, I though I'd submit my patch and perhaps somebody on a better OS can make sure it works properly. I've included a new test which should show the issue with circular imports (and verify that the rest of the patch fixes it, hopefully). -- keywords: +patch Added file: http://bugs.python.org/file40047/23447_2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23447 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24742] type(dict with docstring) returns set instead of dict
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 http://bugs.python.org/issue24742 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24741] Hangs and errors while testing on Ubuntu/Intel
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 currently testing 3.4 tip, which will eventually become 3.4.4. Also, Python has been used on AIX by others, have you already looked for an existing distribution? If you find you really have identified bugs in python, you can update this issue. -- nosy: +r.david.murray status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24741 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24735] Invalid access in combinations_with_replacement()
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 tracker rep...@bugs.python.org http://bugs.python.org/issue24735 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24738] os.link() issues on Windows ReFS
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24745] Better default font for editor
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? Mark, please submit a patch. Too bad that tk does not use something better for Windows too, but I agree that Courier is least bad here. PS. Leave brackets off issue references like #20580 so they become links. The overlap is minimal; in any case, that issue will need several patches and subissues. -- assignee: - terry.reedy nosy: +ned.deily ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24745 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12006] strptime should implement %G, %V and %u directives
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 raise a ValueError in cases where ambiguity may arise, with specific suggestions for resolving the ambiguity in each case. This is in contrast to certain other cases where strptime uses some default value for missing data (e.g. month/day = 1, year = 1900). Ambiguous or incomplete cases I have identified are: 1. ISO week (%V) is specified, but the year is specified with %Y instead of %G 2. ISO year (%G) and ISO week (%V) are specified, but a weekday is not 3. ISO year (%G) and weekday are specified, but ISO week (%V) is not 4. ISO year is specified alone (e.g. time.strptime('2015', '%G')) 5. Julian/ordinal day (%j) is specified with %G, but not %Y Hopefully that covers it...let me know if I need to add any cases or change behavior in any cases. I can have a patch (at least an initial attempt) ready for this in the next few days. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12006 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19450] Bug in sqlite in Windows binaries
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 list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24737] Doc issue: Python 3.6 doesn't compile on Visual Studio 2010 anymore
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 rep...@bugs.python.org http://bugs.python.org/issue24737 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24379] operator.subscript
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 changes the look and feel of the API for a builtin function). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24379 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23749] asyncio missing wrap_socket (starttls)
Changes by Elizabeth Myers elizab...@interlinked.me: -- nosy: -Elizacat ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23749 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24744] Lack of type checks in pkgutil.walk_packages and friends
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 accept a list or None, then there should surely be type checks to this effect? This was a bit of a gotcha that left me head scratching for 30 minutes (after not realising it only took a list, not an str, which in itself seems a bit odd) -- components: Interpreter Core messages: 247529 nosy: sleepycal priority: normal severity: normal status: open title: Lack of type checks in pkgutil.walk_packages and friends versions: Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24744 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24735] Invalid access in combinations_with_replacement()
Changes by Berker Peksag berker.pek...@gmail.com: -- stage: patch review - resolved ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24735 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7546] msvc9compiler.py: add .asm extension
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_objects': ext = Extension ( ... extra_objects=extra_objects ) That has always worked for me. It isn't a big deal either, since most people on Windows use installer packages anyway. I have no strong opinion either way. If you think this adds too much complexity, feel free to close the issue. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7546 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24735] Invalid access in combinations_with_replacement()
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). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24735 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23931] Update DevGuide link in Quickstart Step 1
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23931] Update DevGuide link in Quickstart Step 1
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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23931 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24651] Mock.assert* API is in user namespace
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 is solved (as assert* attributes that don't exist now raise an AttributeError) and it isn't worth breaking people's code by deprecating then removing the assert methods just for a slightly cleaner API. As I agree about breaking code I'm inclined to close this with WontFix unless someone has strong feelings that it should be left open. (Thanks Robert for the proposal - it's hard for me not to feel emotionally attached to the current API, which makes it correspondingly hard to be objective about it, but I appreciate people's desires to improve mock.) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24651 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24743] Make _PyTraceback_Add public
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 contain the line number / file name where the C++ exception has occurred. The function is exported via Python.h, but unfortunately it seems undocumented, and must thus be considered unstable; I request to change that. -- components: Extension Modules messages: 247521 nosy: mic-e priority: normal severity: normal status: open title: Make _PyTraceback_Add public type: enhancement versions: Python 3.4, Python 3.5, Python 3.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24743 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24735] Invalid access in combinations_with_replacement()
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 rep...@bugs.python.org http://bugs.python.org/issue24735 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24742] type(dict with docstring) returns set instead of dict
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 http://bugs.python.org/issue24742 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24742] type(dict with docstring) returns set instead of dict
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24742] type(dict with docstring) returns set instead of dict
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) returns set instead of dict type: behavior versions: Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24742 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23756] Tighten definition of bytes-like objects
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 of that wording, and added a bit more, although it is still not a complete definition. Let me know if you think this version is acceptable. -- Added file: http://bugs.python.org/file40051/c-contig.v3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23756 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24476] Statically link vcruntime140.dll
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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24476 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12067] Doc: remove errors about mixed-type comparisons.
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://bugs.python.org/file40052/issue12067-expressions-py3.6_v16.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12067 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24745] Better default font for editor
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. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24745 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19450] Bug in sqlite in Windows binaries
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 rep...@bugs.python.org http://bugs.python.org/issue19450 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24379] operator.subscript
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24744] Lack of type checks in pkgutil.walk_packages and friends
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 applying func to each character in turn), so in this case I think it is worth the explicit check for string. -- nosy: +r.david.murray stage: - needs patch versions: +Python 3.5, Python 3.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24744 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24039] Idle: some modal dialogs maximize, don't minimize
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 border and close button on Search dialogs. Any suggestions? PS: I am learning how to contribute and would like to work on this issue. -- nosy: +viv1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24039 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19450] Bug in sqlite in Windows binaries
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 use SQLite 3.8.11.0 https://hg.python.org/cpython/rev/4b37e81fcc54 New changeset efb8132a7a22 by Steve Dower in branch 'default': Issue #19450: Update Windows builds to use SQLite 3.8.11.0 https://hg.python.org/cpython/rev/efb8132a7a22 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19450 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24729] Input and Output tutorial erroneously references default encoding UTF-8
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24729] Input and Output tutorial erroneously references default encoding UTF-8
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24651] Mock.assert* API is in user namespace
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 clear from the docs when one would want to set unsafe=True, though at least the default unsafe=False is better). I'm not against the existing solution--I think it's reasonable and that calls of special cases yadda yadda are unfair. Sometimes practicality beats purity. So, although adding assert_ functions would be a bit redundant, it's also guaranteed safer, and so probably worth making an exception for. There's a tradeoff here between convenience and robustness and I think we can have it both ways. If I were to write new tests using Mock I would probably define such functions myself, but that would get repetitive quickly. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24651 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24729] Input and Output tutorial erroneously references default encoding UTF-8
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19450] Bug in sqlite in Windows binaries
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24039] Idle: some modal dialogs maximize, don't minimize
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 changes I see are squared corners, narrower title bar, much narrower [X] button, Idle icon omitted, and dialog omitted from taskbar. None of these apply to the config dialogs. (I do not see a change in the close button, but this does not matter.) Vivek, welcome to the tracker (2nd comment, I see). When reporting a patch in a comment box, please cut and paste the actual added code, and on a separate line. You omitted the needed quotes when retyping ;-). Unlike StackOverflow, for instance, these comment boxes do not recognize markup such as ``. -- versions: +Python 3.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24039 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24729] Input and Output tutorial erroneously references default encoding UTF-8
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24651] Mock.assert* API is in user namespace
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... -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24651 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24720] Python install help
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: MS874 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24720 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24667] OrderedDict.popitem()/__str__() raises KeyError
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 quickly identify where things go wrong. As soon as possible I'll post a simplified reproducer that does not rely on the pywikibot test suite. I'm not there yet, but getting closer. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24667 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24682] Add Quick Start: Communications section to devguide
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 rep...@bugs.python.org http://bugs.python.org/issue24682 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24651] Mock.assert* API is in user namespace
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 existing API indefinitely: There are lots of users of mock, and offering a [presumably] improved API is not worth turning all that code into an instant sea-anchor: if we're going to change this, we need to do so in a -very- graceful fashion, because unlike e.g. the mock_open things that only affect some users of mock, this would (if done poorly) break every user ever. I think its possible to deliver that systematically across the API (not just the asserts - the whole thing) - but its nontrivial. -- stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24651 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24729] Input and Output tutorial erroneously references default encoding UTF-8
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 this line. The command in the current patch renders as plain text and not a link. If you can fix this small issue, the patch should be ready to merge (pending R David Murray's agreement). Thanks! -- nosy: +willingc stage: commit review - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24729 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com