[issue9427] logging.error('...', exc_info=True) should display upper frames, too

2015-06-08 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue24413] Inconsistent behavior between set and dict_keys/dict_items: for non-iterable object x, set().__or__(x) raises NotImplementedError, but {}.keys().__or__(x) raises TypeError

2015-06-08 Thread Raymond Hettinger
Raymond Hettinger added the comment: One other thought: Returning NotImplemented may be an easy change but it isn't clear that it would provide a sensible capability for mapping views. The non-iterable *other* argument would need to have a __ror__() method than could do something useful with

[issue24411] Drop redundant lock in queue.Queue methods qsize(), empty() and full()

2015-06-08 Thread Raymond Hettinger
Raymond Hettinger added the comment: It may seem pointless to hold the lock, but it is guaranteed behavior (and has been so for a very, very long time). ''' # Override these methods to implement other queue organizations #

[issue24411] Drop redundant lock in queue.Queue methods qsize(), empty() and full()

2015-06-08 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue24413] Inconsistent behavior between set and dict_keys/dict_items: for non-iterable object x, set().__or__(x) raises NotImplementedError, but {}.keys().__or__(x) raises TypeError

2015-06-08 Thread Raymond Hettinger
New submission from Raymond Hettinger: The dictviews_or() function in Objects/dictobject.c is converting the keys to a set and calling the set.update() method with the given argument. The set.update() method doesn't return NotImplemented because it has no reflected operation. It looks like d

[issue24408] tkinter.font.Font.measure() broken in 3.5

2015-06-08 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue24408] tkinter.font.Font.measure() broken in 3.5

2015-06-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7e2a7f3fecdf by Serhiy Storchaka in branch '3.4': Issue #24408: Added more tkinter.Font tests. https://hg.python.org/cpython/rev/7e2a7f3fecdf New changeset 24bb564469b4 by Serhiy Storchaka in branch '3.5': Issue #24408: Added more tkinter.Font tests

[issue24408] tkinter.font.Font.measure() broken in 3.5

2015-06-08 Thread Martin Panter
Martin Panter added the comment: Thanks for the prompt fix! The patch with the tests looks good. I left a query about the existing code. -- ___ Python tracker ___ __

[issue24410] set.__eq__ returns False when it should return NotImplemented

2015-06-08 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Pyt

[issue24413] Inconsistent behavior between set and dict_keys/dict_items: for non-iterable object x, set().__or__(x) raises NotImplementedError, but {}.keys().__or__(x) raises TypeError

2015-06-08 Thread Ned Deily
Changes by Ned Deily : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue24410] set.__eq__ returns False when it should return NotImplemented

2015-06-08 Thread Steve Zelaznik
Steve Zelaznik added the comment: On second thought, it looks like somebody may have caught the problem at or before Python 2.7.9. My PC at work has 2.7.6 which is where I spotted the problem. My mac at home has 2.7.9 where it worked fine. Steve Zelaznik 410.375.8414 Sent from either an iPho

[issue23891] Tutorial doesn't mention either pip or virtualenv

2015-06-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset feae7fa3bb70 by Andrew Kuchling in branch '3.4': #23891: remove extra words https://hg.python.org/cpython/rev/feae7fa3bb70 -- ___ Python tracker __

[issue23891] Tutorial doesn't mention either pip or virtualenv

2015-06-08 Thread Tal Einat
Tal Einat added the comment: There is a dangling "If you" at the end of the 3rd paragraph under "Creating Virtual Environments". -- ___ Python tracker ___ __

[issue24414] MACOSX_DEPLOYMENT_TARGET set incorrectly by configure

2015-06-08 Thread Ned Deily
Changes by Ned Deily : -- assignee: -> ned.deily components: +Macintosh nosy: +ned.deily, ronaldoussoren type: compile error -> ___ Python tracker ___ _

[issue24414] MACOSX_DEPLOYMENT_TARGET set incorrectly by configure

2015-06-08 Thread debohman
New submission from debohman: MACOSX_DEPLOYMENT_TARGET is not set correctly when building the 2.7.10 sources. This causes readline to not be included in the build. This appears to already be fixed in 3.4.3. I picked up the change to configure.ac from 3.4.3 and it resolved the problem. I am

[issue23891] Tutorial doesn't mention either pip or virtualenv

2015-06-08 Thread A.M. Kuchling
Changes by A.M. Kuchling : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue23891] Tutorial doesn't mention either pip or virtualenv

2015-06-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 15ee0e7078e3 by Andrew Kuchling in branch '3.4': #23891: add a section to the Tutorial describing virtual environments and pip https://hg.python.org/cpython/rev/15ee0e7078e3 -- ___ Python tracker

[issue23891] Tutorial doesn't mention either pip or virtualenv

2015-06-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset a18615eb5aec by Andrew Kuchling in branch '3.4': #23891: describe a few more modules in the tutorial https://hg.python.org/cpython/rev/a18615eb5aec New changeset cffb6ac2bbe4 by Andrew Kuchling in branch '3.4': #23891: rework discussion of python-li

[issue24413] Inconsistent behavior between set and dict_keys/dict_items: for non-iterable object x, set().__or__(x) raises NotImplementedError, but {}.keys().__or__(x) raises TypeError

2015-06-08 Thread Richard Futrell
Changes by Richard Futrell : -- nosy: canjo priority: normal severity: normal status: open title: Inconsistent behavior between set and dict_keys/dict_items: for non-iterable object x, set().__or__(x) raises NotImplementedError, but {}.keys().__or__(x) raises TypeError type: behavior v

[issue24324] Remove -Wunreachable-code flag

2015-06-08 Thread Skip Montanaro
Skip Montanaro added the comment: I guess this is an autoconf thing. "@BASECFLAGS@" in Makefile.pre.in seems to expand to "-Wsign-compare -Wunreachable-code" in Makefile.pre. -- ___ Python tracker

[issue24120] pathlib.(r)glob stops on PermissionDenied exception

2015-06-08 Thread Ethan Furman
Ethan Furman added the comment: Failing to find any matches with a pattern is an entirely different class of error than finding matches but hitting permission problems or broken links or suddenly deleted files or ... If glob doesn't already have a 'failglob' option we could add that, but in a

[issue24397] Test asynchat makes wrong assumptions

2015-06-08 Thread Étienne Buira
Étienne Buira added the comment: That would just race the other way around. However, I missed the fact that the check of client's contents had no chance to catch an issue, as the main thread were not entering asyncore.loop after allowing the server to send. Updated patch (against 3.3) follows

[issue24412] setUpClass equivalent for addCleanup

2015-06-08 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue24120] pathlib.(r)glob stops on PermissionDenied exception

2015-06-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I'm not sure that Path.(r)glob() (and perhaps glob.glob()) should unconditionally ignore errors. Python has lover level than shell, and even bash has an option that controls this behavior. failglob If set, patterns which fail to match filenam

[issue13224] Change str(x) to return only the qualname for some types

2015-06-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Other discussion: http://comments.gmane.org/gmane.comp.python.ideas/32192 . -- nosy: +serhiy.storchaka ___ Python tracker ___

[issue24412] setUpClass equivalent for addCleanup

2015-06-08 Thread R. David Murray
New submission from R. David Murray: Since tearDownClass isn't run if setUpClass fails, there is a need for the class level equivalent of addCleanup. addClassCleanup? -- components: Library (Lib) messages: 245030 nosy: ezio.melotti, michael.foord, r.david.murray, rbcollins priority: no

[issue24299] 2.7.10 test__locale.py change breaks on Solaris

2015-06-08 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue24411] Drop redundant lock in queue.Queue methods qsize(), empty() and full()

2015-06-08 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +yselivanov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue24411] Drop redundant lock in queue.Queue methods qsize(), empty() and full()

2015-06-08 Thread Andrew Svetlov
New submission from Andrew Svetlov: Now those methods use lock for querying queue size, like def qsize(self): with self.mutex: return self._qsize() The lock is not necessary because thread context switch may be done *after* returning from mutex protected code but *befor

[issue24397] Test asynchat makes wrong assumptions

2015-06-08 Thread Étienne Buira
Changes by Étienne Buira : Removed file: http://bugs.python.org/file39643/test_asynchat_check_received_len_if_received_len_matters.diff ___ Python tracker ___ __

[issue24411] Drop redundant lock in queue.Queue methods qsize(), empty() and full()

2015-06-08 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue24385] libpython27.a in python-2.7.10 i386 (windows msi release) contains 64-bit objects

2015-06-08 Thread Paul Moore
Paul Moore added the comment: I'm still somewhat confused as to why we're looking at this in the context of manually building an extension. It's *certainly* true that anyone attempting to build a Python extension by hand (as per Matthew Barnett's instructions) should be able and willing to bui

[issue24385] libpython27.a in python-2.7.10 i386 (windows msi release) contains 64-bit objects

2015-06-08 Thread Benjamin Gilbert
Benjamin Gilbert added the comment: Zachary: gendef is an auxiliary tool; I'm not sure a basic installation of MinGW-w64 will have it. However, I've checked Cygwin and Fedora (my two points of reference) and a gendef package is available in both. -- __

[issue24195] Add `Executor.filter` to concurrent.futures

2015-06-08 Thread Ram Rachum
Ram Rachum added the comment: Right, so it might be garbage-collecting the items before the futures are done being created, so the whole list wouldn't need to be saved in memory. I understand now. -- ___ Python tracker

[issue24195] Add `Executor.filter` to concurrent.futures

2015-06-08 Thread Ethan Furman
Ethan Furman added the comment: The recipe creates a list before it ever starts processing, while Executor.filter() starts processing with the first item. -- ___ Python tracker

[issue24410] set.__eq__ returns False when it should return NotImplemented

2015-06-08 Thread R. David Murray
R. David Murray added the comment: See issue 21408 for the fix, which was indeed not applied to 2.7. Now we get to decide if it should be :) -- nosy: +r.david.murray ___ Python tracker ___

[issue24385] libpython27.a in python-2.7.10 i386 (windows msi release) contains 64-bit objects

2015-06-08 Thread Matthew Barnett
Matthew Barnett added the comment: @steve.dower: Yes. For Python 35, it appears that it'll link to libpython??.a or python??.dll, whichever it finds in the given folder, so it doesn't actually need libpython??.a anymore. Which is nice. :-) -- ___ P

[issue24385] libpython27.a in python-2.7.10 i386 (windows msi release) contains 64-bit objects

2015-06-08 Thread Zachary Ware
Zachary Ware added the comment: If I'm not mistaken, if you're building an extension with some flavor of MinGW, you've got the tools to build the lib yourself, right? It strikes me as being much more reliable to provide hints towards how to do it yourself than to provide a binary for somethin

[issue24385] libpython27.a in python-2.7.10 i386 (windows msi release) contains 64-bit objects

2015-06-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 686f9a607b98 by Steve Dower in branch '2.7': Issue 24385: Adds "--as-flags=--32" when generating 32-bit MinGW library. https://hg.python.org/cpython/rev/686f9a607b98 -- ___ Python tracker

[issue24385] libpython27.a in python-2.7.10 i386 (windows msi release) contains 64-bit objects

2015-06-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset e4cde2f928fe by Steve Dower in branch '3.5': Issue 24385: Adds "--as-flags=--32" when generating 32-bit MinGW library. https://hg.python.org/cpython/rev/e4cde2f928fe New changeset 5fa77372e675 by Steve Dower in branch 'default': Issue 24385: Adds "-

[issue24385] libpython27.a in python-2.7.10 i386 (windows msi release) contains 64-bit objects

2015-06-08 Thread Steve Dower
Steve Dower added the comment: Ah, I misread msg244875 and thought it was still requiring different tools. I'll add that option in for the next release then, and if there are still issues I'll come back to removing the libraries. -- ___ Python track

[issue24385] libpython27.a in python-2.7.10 i386 (windows msi release) contains 64-bit objects

2015-06-08 Thread Benjamin Gilbert
Benjamin Gilbert added the comment: Steve, I don't think that's the right characterization of this bug. Putting 64-bit .o files in a 32-bit import library seems wrong for both MinGW and MinGW-w64. msg244874 says that if you use the dlltool from the *32-bit* MinGW-w64 to build the 32-bit impo

[issue24195] Add `Executor.filter` to concurrent.futures

2015-06-08 Thread Ram Rachum
Ram Rachum added the comment: Ethan: That's what I also thought, but then I figured that you're creating N futures anyway with an item attached to each, so it's on the same scale as creating a list, no? -- ___ Python tracker

[issue24195] Add `Executor.filter` to concurrent.futures

2015-06-08 Thread Ethan Furman
Ethan Furman added the comment: The recipe will work in simple situations. In more complex situations: - infinite iterator - really large iterator (millions of items) - high work load to produce next iteration the recipe will either have a severe impact on performance or fail entirely.

[issue24385] libpython.a does not work for all MinGW forks

2015-06-08 Thread Steve Dower
Steve Dower added the comment: The fix for issue23199 "broke" 32-bit mingw because nobody agrees which fork of mingw should be supported. Before the next releases I intend to remove the lib completely and add a "libpython.txt" file in its place with commands or tools to try for generating the

[issue24400] Awaitable ABC incompatible with functools.singledispatch

2015-06-08 Thread Yury Selivanov
Yury Selivanov added the comment: I'll have a patch soon. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue24400] Awaitable ABC incompatible with functools.singledispatch

2015-06-08 Thread Stefan Behnel
Stefan Behnel added the comment: I agree that the "extra bit" is a quirk. Ideally, Coroutine and Generator would share a common base class that has "send", "throw" and "close". Additionally, a Coroutine would be an Awaitable whereas a Generator is an Iterator. The internal implementation of ge

[issue24409] PythonPROD abrt

2015-06-08 Thread Eric V. Smith
Eric V. Smith added the comment: This doesn't appear to be a bug with Python, but rather with CrossCDR. If you can provide more information (such as a stacktrace, or a reproducible test using just Python's standard library), then please re-open this issue. -- nosy: +eric.smith resoluti

[issue13224] Change str(x) to return only the qualname for some types

2015-06-08 Thread Éric Araujo
Éric Araujo added the comment: I am no longer an active core contributor. Someone should take this and apply it for the next version. -- assignee: eric.araujo -> stage: patch review -> commit review title: Change str(x) to return only the (qual)name for some types -> Change str(x) to

[issue24410] set.__eq__ returns False when it should return NotImplemented

2015-06-08 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +rhettinger, serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue24299] 2.7.10 test__locale.py change breaks on Solaris

2015-06-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 00f8804f559c by Serhiy Storchaka in branch '2.7': Issue #24299: Fixed test__locale on Solaris. https://hg.python.org/cpython/rev/00f8804f559c New changeset da642b5aaf79 by Serhiy Storchaka in branch '3.4': Issue #24299: Fixed test__locale on Solaris

[issue24410] set.__eq__ returns False when it should return NotImplemented

2015-06-08 Thread Steve Zelaznik
New submission from Steve Zelaznik: [in] >>> d = {'x':3,'y':4,'z':5} [in] >>> set(d.items()) == d.viewitems() [out] >>> False [in] >>> d.viewitems() == set(d.items()) [out] >>> True [in] >>> set(d.items()).__eq__(d.viewitems()) [out] >>> False The last line should return NotImplemented

[issue24408] tkinter.font.Font.measure() broken in 3.5

2015-06-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your report Martin. Unfortunately tests for tkinter.Font are almost not existing. Here is a patch that adds more tests (it should be applied to all versions). -- keywords: +patch stage: needs patch -> patch review Added file: http://bug

[issue24408] tkinter.font.Font.measure() broken in 3.5

2015-06-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset fb05c1355a90 by Serhiy Storchaka in branch '3.5': Issue #24408: Fixed AttributeError in measure() and metrics() methods of https://hg.python.org/cpython/rev/fb05c1355a90 New changeset 0dd70c2c44b4 by Serhiy Storchaka in branch 'default': Issue #2440

[issue24408] tkinter.font.Font.measure() broken in 3.5

2015-06-08 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24409] PythonPROD abrt

2015-06-08 Thread nivin
New submission from nivin: There is a cronjob running in every 3 minutes.For One or two days this works properly. After that Mysql service get crashed.Bulk data is inserted into database using the service . Following errors found in /var/log/messages (OS : RHEL 6) Jun 6 13:27:02 PythonPROD

[issue24400] Awaitable ABC incompatible with functools.singledispatch

2015-06-08 Thread Yury Selivanov
Yury Selivanov added the comment: I think that the only proper way to solve this is to make coroutines a separate type. I've actually prototyped that before: https://github.com/1st1/cpython/commit/a3f1059590f496bf77b33edb023c8cdbc1d30798 -- assignee: -> yselivanov components: +Interp

[issue24195] Add `Executor.filter` to concurrent.futures

2015-06-08 Thread Brian Quinlan
Brian Quinlan added the comment: Actually it immediately converts the iterable into a list. Recall: def filter(self, fn, iterable, timeout=None): l = list(iterable) # iterable => list return (item for (item, keep) in zip(l, self.map(fn, l, timeout)) if keep) -- ___

[issue24407] Use after free in PyDict_merge

2015-06-08 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- components: +Interpreter Core nosy: +rhettinger, serhiy.storchaka stage: -> needs patch ___ Python tracker ___ _

[issue24408] tkinter.font.Font.measure() broken in 3.5

2015-06-08 Thread Martin Panter
New submission from Martin Panter: >>> import tkinter, tkinter.font >>> tk = tkinter.Tk() >>> tkinter.font.nametofont("TkHeadingFont").measure("string") Traceback (most recent call last): File "", line 1, in File "/home/proj/python/cpython/Lib/tkinter/font.py", line 154, in measure retur

[issue24299] 2.7.10 test__locale.py change breaks on Solaris

2015-06-08 Thread John Beck
John Beck added the comment: (Apologies for not responding on May 27 when you posted the patch; I failed to notice the "Added file:" line in the e-mail notification.) Yes! The patch you posted fixes the issue. Thank you! -- ___ Python tracker

[issue24407] Use after free in PyDict_merge

2015-06-08 Thread paul
New submission from paul: # PyDict_Merge: # # 1 for (i = 0, n = DK_SIZE(other->ma_keys); i < n; i++) { # ... # 3 entry = &other->ma_keys->dk_entries[i]; # ... # 2 if (insertdict(mp, entry->me_key, #entry->me_ha

[issue24252] IDLE removes elements from tracebacks.

2015-06-08 Thread ppperry
ppperry added the comment: I mean if someone starts a new copy of idle from within the IDLE python shell itself by "The only situation that this function would behave wrongly is when someone launches IDLE from the shell (Why would they do that?)". -- __

[issue24252] IDLE removes elements from tracebacks.

2015-06-08 Thread ppperry
ppperry added the comment: Your proposed patch does not work in its current form on my IDLE, but it does if I change tr[0][:-6] to tr[0][-6:] in the pdb checking code. Additionally, my proposed cleanup function did distinguish the difference between the unix and windows directory seperators b

[issue24406] "Built-in Types" documentation doesn't explain how dictionaries are compared for equality

2015-06-08 Thread Gareth Rees
Changes by Gareth Rees : -- title: "Bulit-in Types" documentation doesn't explain how dictionaries are compared for equality -> "Built-in Types" documentation doesn't explain how dictionaries are compared for equality ___ Python tracker

[issue24406] "Bulit-in Types" documentation doesn't explain how dictionaries are compared for equality

2015-06-08 Thread Gareth Rees
New submission from Gareth Rees: The "Built-in Types" section of the library documentation does not explain how two dictionaries are compared for equality. The place where this is documented is under "Comparisons" in the Language Reference: > Mappings (dictionaries) compare equal if and only

[issue13224] Change str(x) to return only the (qual)name for some types

2015-06-08 Thread Vedran Čačić
Vedran Čačić added the comment: What's going on with this? It seems we have the patch, but discussions have just stopped - both on Python-ideas and here. The idea is great, BDFL-approved, and would simplify a lot of code, especially with new typehinting. -- nosy: +Vedran.Čačić ___

[issue24405] Missing code markup in "Expressions" documentation

2015-06-08 Thread Gareth Rees
New submission from Gareth Rees: The "Expressions" documentation contains the text: > * Sets and frozensets define comparison operators to mean subset and superset > tests. Those relations do not define total orderings (the two sets ``{1,2}`` > and {2,3} are not equal, nor subsets of one anot

[issue219960] Problems with Tcl/Tk and non-ASCII text entry

2015-06-08 Thread irdb
Changes by irdb : -- nosy: +irdb ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailm

[issue24390] Python 3.4.3 64 bits is not "high dpi aware"

2015-06-08 Thread Ivan Bykov
Ivan Bykov added the comment: https://msdn.microsoft.com/en-us/library/windows/desktop/dn469266(v=vs.85).aspx#declaring_dpi_awareness http://schemas.microsoft.com/SMI/2005/WindowsSettings";> true -- ___ Python tracker

[issue24402] input() uses sys.__stdout__ instead of sys.stdout for prompt

2015-06-08 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: -> needs patch versions: +Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue14373] C implementation of functools.lru_cache

2015-06-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset c52f381fe674 by Serhiy Storchaka in branch '3.5': Issue #14373: Other attempt to fix threaded test for lru_cache(). https://hg.python.org/cpython/rev/c52f381fe674 New changeset 73acb8c187d4 by Serhiy Storchaka in branch 'default': Issue #14373: Othe

[issue24299] 2.7.10 test__locale.py change breaks on Solaris

2015-06-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Does the patch fix the issue John? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue14373] C implementation of functools.lru_cache

2015-06-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 19dbee688a30 by Serhiy Storchaka in branch '3.5': Issue #14373: Fixed threaded test for lru_cache(). Added new threaded test. https://hg.python.org/cpython/rev/19dbee688a30 New changeset da331f50aad4 by Serhiy Storchaka in branch 'default': Issue #1

[issue24384] difflib.SequenceMatcher faster quick_ratio with lower bound specification

2015-06-08 Thread Tal Einat
Tal Einat added the comment: You should post this on the python-ideas mailing list if you think this should be added to the stdlib. Make sure to reference this issue if you do so. -- ___ Python tracker ___

[issue24384] difflib.SequenceMatcher faster quick_ratio with lower bound specification

2015-06-08 Thread floyd
floyd added the comment: Agree with the separate function (especially as the return value would change from float to bool). In my experience this is one of the most often occuring use cases for difflib in practice. Another reason is that it is not obvious that the user can optimize it with th