[issue37491] IndexError in get_bare_quoted_string

2019-07-31 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: @barry the 3 PR have been merged, do you think we could close this issue? Thank you -- nosy: +matrixise ___ Python tracker ___

[issue26752] Mock(2.0.0).assert_has_calls() raise AssertionError in two same calls

2019-07-31 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I proposed a PR for issue36871 which has the same issue with constructor signature being used for method calls when specced. I also checked the patch with the examples reported here regarding signature mismatch and they seem to be fixed. So perhaps

[issue25312] Cryptic error message if incorrect spec is set on a callable mock

2019-07-31 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Using spec only checks for the attribute to be present and not the signature of the actual attribute being called. You might need autospec for this behavior. The below example to use create_autospec does the correct validation for mock_foo.func. The

[issue18049] Re-enable threading test on macOS

2019-07-31 Thread miss-islington
Change by miss-islington : -- pull_requests: +14814 pull_request: https://github.com/python/cpython/pull/15065 ___ Python tracker ___ __

[issue18049] Re-enable threading test on macOS

2019-07-31 Thread Ronald Oussoren
Ronald Oussoren added the comment: New changeset 1a057bab0f18d6ad843ce321d1d77a4819497ae4 by Ronald Oussoren in branch 'master': bpo-18049: Sync thread stack size to main thread size on macOS (GH-14748) https://github.com/python/cpython/commit/1a057bab0f18d6ad843ce321d1d77a4819497ae4 --

[issue33668] Wrong behavior of help function on module

2019-07-31 Thread Dong-hee Na
Dong-hee Na added the comment: I close PR 8284. If there is a chance to work with this issue. Please let me know Thanks! -- ___ Python tracker ___ __

[issue29750] smtplib doesn't handle unicode passwords

2019-07-31 Thread Windson Yang
Windson Yang added the comment: I just updated the PR -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue29750] smtplib doesn't handle unicode passwords

2019-07-31 Thread Windson Yang
Change by Windson Yang : -- pull_requests: +14813 pull_request: https://github.com/python/cpython/pull/15064 ___ Python tracker ___

[issue37595] Python 3.7.4 does not build on Raspbian Buster

2019-07-31 Thread Benjamin Peterson
Benjamin Peterson added the comment: Presumably dropping --enable-optimizations will fix this problem. -- nosy: +benjamin.peterson ___ Python tracker ___ _

[issue37595] Python 3.7.4 does not build on Raspbian Buster

2019-07-31 Thread Kal Sze
Kal Sze added the comment: Sorry, I meant most up-to-date version of binutils in Raspbian *Buster* in my previous message. -- ___ Python tracker ___ _

[issue37595] Python 3.7.4 does not build on Raspbian Buster

2019-07-31 Thread Kal Sze
Kal Sze added the comment: I looked at my build log again. The very first line that jumps out as abnormal is this: /usr/bin/ld: /usr/bin/ld: DWARF error: invalid abstract instance DIE ref A quick DuckDuckGoing suggests that this *may* be related to a broken version of binutils: https:/

[issue37724] [[Errno 17] File exists: ] # Try create directories that are not part of the archive with

2019-07-31 Thread Giovanni Cappellotto
Giovanni Cappellotto added the comment: There's also the `makedirs`'s `exist_ok` optional parameter, `False` by default. You could use it to avoid this error, but I'm not an expert on this particular library, so I'm not sure if it would make sense to make this change. On a side note, searchi

[issue29750] smtplib doesn't handle unicode passwords

2019-07-31 Thread Windson Yang
Windson Yang added the comment: Sorry, I forgot about this PR, I will update the patch depends on review soon :D -- ___ Python tracker ___

[issue29750] smtplib doesn't handle unicode passwords

2019-07-31 Thread Sebastien Luttringer
Sebastien Luttringer added the comment: I hit the same issue. Do you have news about the patch review and its inclusion? -- nosy: +seblu ___ Python tracker ___ ___

[issue37734] Registry keys for Windows Store package have wrong executable

2019-07-31 Thread Steve Dower
Steve Dower added the comment: So far we've figured out that using the full installed path will work fine (by design) if you have enabled the matching alias. So essentially, if Python is on your PATH, you can also launch it using the full path. I'm trying to convince them that it should only

[issue21161] list comprehensions don't see local variables in pdb in python3

2019-07-31 Thread daniel hahler
daniel hahler added the comment: Georg, please consider re-opening. This patch here appears to fix this after all. -- nosy: +blueyed versions: +Python 3.6, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker _

[issue37708] Harmonize random.choice(s) behavior with random.sample on iterators

2019-07-31 Thread Raymond Hettinger
Raymond Hettinger added the comment: The sample() function accepts d.keys() because a keys view is registered as being an instance of collections.abc.Set. We have to do that because sample() is specifically documented as accepting sets. If we had it do over again, that functionality would

[issue37708] Harmonize random.choice(s) behavior with random.sample on iterators

2019-07-31 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: -> rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue37730] NotImplemented is used instead of NotImplementedError in docs

2019-07-31 Thread miss-islington
Change by miss-islington : -- pull_requests: +14812 pull_request: https://github.com/python/cpython/pull/15063 ___ Python tracker ___ __

[issue37730] NotImplemented is used instead of NotImplementedError in docs

2019-07-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset ed5e8e06cbf766e89d6c58a882ee024abb5b2ed7 by Serhiy Storchaka (David H) in branch 'master': bpo-37730: Fix usage of NotImplemented instead of NotImplementedError in docs. (GH-15062) https://github.com/python/cpython/commit/ed5e8e06cbf766e89d6c

[issue37730] NotImplemented is used instead of NotImplementedError in docs

2019-07-31 Thread David Heiberg
Change by David Heiberg : -- keywords: +patch pull_requests: +14811 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15062 ___ Python tracker ___ __

[issue37695] Incorrect error message for `unget_wch(bytes_object)`

2019-07-31 Thread miss-islington
miss-islington added the comment: New changeset 462f07040b39b778aa782d0f62050b70416dec7b by Miss Islington (bot) in branch '3.8': bpo-37695: Correct unget_wch error message. (GH-14986) https://github.com/python/cpython/commit/462f07040b39b778aa782d0f62050b70416dec7b --

[issue37695] Incorrect error message for `unget_wch(bytes_object)`

2019-07-31 Thread miss-islington
miss-islington added the comment: New changeset 35d9c37e271c35b87d64cc7422600e573f3ee244 by Miss Islington (bot) in branch '3.7': bpo-37695: Correct unget_wch error message. (GH-14986) https://github.com/python/cpython/commit/35d9c37e271c35b87d64cc7422600e573f3ee244 -- nosy: +miss-i

[issue37695] Incorrect error message for `unget_wch(bytes_object)`

2019-07-31 Thread miss-islington
Change by miss-islington : -- pull_requests: +14810 pull_request: https://github.com/python/cpython/pull/15061 ___ Python tracker ___ __

[issue37723] important performance regression on regular expression parsing

2019-07-31 Thread miss-islington
miss-islington added the comment: New changeset 77fcccb5321137456549b7f55b819f2c8a4c78a4 by Miss Islington (bot) in branch '3.8': bpo-37723: Fix performance regression on regular expression parsing. (GH-15030) https://github.com/python/cpython/commit/77fcccb5321137456549b7f55b819f2c8a4c78a4

[issue37723] important performance regression on regular expression parsing

2019-07-31 Thread miss-islington
miss-islington added the comment: New changeset 33b700ba8cbb128519442eeed8c8747ff73f4524 by Miss Islington (bot) in branch '3.7': bpo-37723: Fix performance regression on regular expression parsing. (GH-15030) https://github.com/python/cpython/commit/33b700ba8cbb128519442eeed8c8747ff73f4524

[issue37723] important performance regression on regular expression parsing

2019-07-31 Thread miss-islington
Change by miss-islington : -- pull_requests: +14809 pull_request: https://github.com/python/cpython/pull/15060 ___ Python tracker ___ __

[issue37723] important performance regression on regular expression parsing

2019-07-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 9f1f3df238e58315e724e50cb0d574d75b94 by Serhiy Storchaka (yannvgn) in branch 'master': bpo-37723: Fix performance regression on regular expression parsing. (GH-15030) https://github.com/python/cpython/commit/9f1f3df238e58315e724e50cb0d

[issue37723] important performance regression on regular expression parsing

2019-07-31 Thread miss-islington
Change by miss-islington : -- pull_requests: +14808 pull_request: https://github.com/python/cpython/pull/15059 ___ Python tracker ___ __

[issue37723] important performance regression on regular expression parsing

2019-07-31 Thread yannvgn
yannvgn added the comment: Hey Matthew, we decided to go for this, which is simpler and straightforward: def _uniq(items): return list(dict.fromkeys(items)) (see https://github.com/python/cpython/pull/15030) -- ___ Python tracker

[issue2920] Patch to print symbolic value of errno in OSError.__str__()

2019-07-31 Thread Eryk Sun
Eryk Sun added the comment: How about doing something similar for Windows when winerror is set? This is a common case since many os functions use the Windows API directly. Showing the symbolic error name will help to disambiguate exceptions, such as FileNotFoundError (ENOENT) from:

[issue37544] Test hang causes --enable-optimizations build to hang

2019-07-31 Thread Ned Deily
Ned Deily added the comment: Jerek, is there anything more you are expecting us to do for this issue? The only thing I can think of at the moment might be to add something to the "Profile Guided Optimization" section of the top-level README.rst to include @gps's suggestions for tailoring PR

[issue34313] Tkinter crashes with Tk-related error on macOS with ActiveTcl 8.6

2019-07-31 Thread Ned Deily
Ned Deily added the comment: Good question. I don't think there's anything more to do here other than to continue to monitor and evaluate future Tk releases, which we do anyway. Improvements to the build documentation etc are covered by other open issues. -- resolution: -> third pa

[issue37723] important performance regression on regular expression parsing

2019-07-31 Thread Matthew Barnett
Matthew Barnett added the comment: I've just had a look at _uniq, and the code surprises me. The obvious way to detect duplicates is with a set, but that requires the items to be hashable. Are they? Well, the first line of the function uses 'set', so they are. Why, then, isn't it using a se

[issue37730] NotImplemented is used instead of NotImplementedError in docs

2019-07-31 Thread Brett Cannon
Change by Brett Cannon : -- nosy: +brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue37735] Current Region as a Method either in openpyxl.worksheet.cell.Cell or .cell_range.CellRange

2019-07-31 Thread Brett Cannon
Brett Cannon added the comment: This is the issue tracker for Python itself, not openpyxl, so this isn't the right place to report this. I would go to openpyxl's website and see where they specify to report bugs. -- nosy: +brett.cannon resolution: -> third party stage: -> resolved

[issue37735] Current Region as a Method either in openpyxl.worksheet.cell.Cell or .cell_range.CellRange

2019-07-31 Thread anand Mohan
New submission from anand Mohan : Excel has a CurrentRegion Method that is invoked as Range(range_string).CurrentRegion The Idea behind this is to choose a region that have contiguous blank cells on all sides ( except the case of 1 column and 1 row ) that separate I have Python code that I w

[issue37734] Registry keys for Windows Store package have wrong executable

2019-07-31 Thread Jeremy Kloth
Change by Jeremy Kloth : -- nosy: +jkloth ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue37723] important performance regression on regular expression parsing

2019-07-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Oh, this is convincing. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue37723] important performance regression on regular expression parsing

2019-07-31 Thread yannvgn
yannvgn added the comment: > Indeed, it was not expected that the character set contains hundreds of > thousands items. What is its size in your real code? > Could you please show benchmarking results for different implementations and > different sizes? I can't precisely answer that, but sa

[issue37734] Registry keys for Windows Store package have wrong executable

2019-07-31 Thread Steve Dower
New submission from Steve Dower : The next update to Windows will prevent launching executables from within the package install folder, and require you to launch from the user's local symlink to the executable (see issue37369). Currently, the only value we can put into the registry when insta

[issue28053] parameterize what serialization is used in multiprocessing

2019-07-31 Thread Pierre Glaser
Change by Pierre Glaser : -- pull_requests: +14807 pull_request: https://github.com/python/cpython/pull/15058 ___ Python tracker ___ ___

[issue35943] PyImport_GetModule() can return partially-initialized module

2019-07-31 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- keywords: +patch pull_requests: +14806 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/15057 ___ Python tracker

[issue37733] Fail to build _curses module of Python 3.7.4 on AIX 7.1 using gcc

2019-07-31 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +David.Edelsohn ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue37733] Fail to build _curses module of Python 3.7.4 on AIX 7.1 using gcc

2019-07-31 Thread STINNER Victor
Change by STINNER Victor : -- title: Fail to build Python 3.7.4 on AIX 7.1 using gcc -> Fail to build _curses module of Python 3.7.4 on AIX 7.1 using gcc ___ Python tracker __

[issue37733] Fail to build Python 3.7.4 on AIX 7.1 using gcc

2019-07-31 Thread LIU YONG
New submission from LIU YONG : Trying to build Python 3.7.4 on AIX 7.1 using gcc 6.3.0 but failed Failed to build these modules: _ctypes _curses _curses_panel building '_curses' extension gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -W

[issue34101] PyBuffer_GetPointer() not documented

2019-07-31 Thread miss-islington
miss-islington added the comment: New changeset 29a3a33d99dae0106c6af9d0fd75a11bef26d15c by Miss Islington (bot) in branch '3.8': bpo-34101: Add doc of PyBuffer_GetPointer (GH-14994) https://github.com/python/cpython/commit/29a3a33d99dae0106c6af9d0fd75a11bef26d15c -- nosy: +miss-isl

[issue34101] PyBuffer_GetPointer() not documented

2019-07-31 Thread miss-islington
Change by miss-islington : -- pull_requests: +14805 pull_request: https://github.com/python/cpython/pull/15056 ___ Python tracker ___ __

[issue34101] PyBuffer_GetPointer() not documented

2019-07-31 Thread Antoine Pitrou
Change by Antoine Pitrou : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8 -Python 3.5, Python 3.6 ___ Python tracker ___

[issue34101] PyBuffer_GetPointer() not documented

2019-07-31 Thread Antoine Pitrou
Change by Antoine Pitrou : -- versions: +Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue34101] PyBuffer_GetPointer() not documented

2019-07-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset 353306137176985f1a2995ff964b0c00eccd1434 by Antoine Pitrou (Miss Islington (bot)) in branch '3.7': bpo-34101: Add doc of PyBuffer_GetPointer (GH-14994) (GH-15055) https://github.com/python/cpython/commit/353306137176985f1a2995ff964b0c00eccd1434

[issue34101] PyBuffer_GetPointer() not documented

2019-07-31 Thread miss-islington
Change by miss-islington : -- pull_requests: +14804 pull_request: https://github.com/python/cpython/pull/15055 ___ Python tracker ___ __

[issue34101] PyBuffer_GetPointer() not documented

2019-07-31 Thread Antoine Pitrou
New submission from Antoine Pitrou : New changeset 1b29af83bc17e773b0c0d117f5fe1018fde46b0d by Antoine Pitrou (Hai Shi) in branch 'master': bpo-34101: Add doc of PyBuffer_GetPointer (GH-14994) https://github.com/python/cpython/commit/1b29af83bc17e773b0c0d117f5fe1018fde46b0d -- _

[issue37731] Possible redifinition of _POSIX_C_SOURCE in ./pyconfig.h

2019-07-31 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- type: behavior -> compile error ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue37732] Possible uninitialized variable in Objects/obmalloc.c

2019-07-31 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- type: behavior -> compile error ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue37732] Possible uninitialized variable in Objects/obmalloc.c

2019-07-31 Thread Joannah Nanjekye
New submission from Joannah Nanjekye : Here is a compilation warning I got; Objects/obmalloc.c: In function ‘_PyObject_Malloc’: Objects/obmalloc.c:1646:16: warning: ‘ptr’ may be used uninitialized in this function [-Wmaybe-uninitialized] return ptr; ^~~ We can investiga

[issue37731] Possible redifinition of _POSIX_C_SOURCE in ./pyconfig.h

2019-07-31 Thread Joannah Nanjekye
New submission from Joannah Nanjekye : While compiling Python, I got this warning. ./pyconfig.h:1590:0: warning: "_POSIX_C_SOURCE" redefined #define _POSIX_C_SOURCE 200809L In file included from /usr/include/s390x-linux-gnu/bits/libc-header-start.h:33:0, from /usr/include/st

[issue37730] NotImplemented is used instead of NotImplementedError in docs

2019-07-31 Thread David Heiberg
David Heiberg added the comment: Super, thanks for the help, I'll submit a PR as soon as it is ready -- ___ Python tracker ___ ___

[issue36974] Implement PEP 590

2019-07-31 Thread STINNER Victor
STINNER Victor added the comment: > [3.8] bpo-36974: separate vectorcall functions for each calling convention > (GH-13781) (#14782) > https://github.com/python/cpython/commit/bf8e82f976b37856c7d35cdf88a238cb6f57fe65 FYI this change caused a regression in libcomps with Python 3.8 beta3, where

[issue37730] NotImplemented is used instead of NotImplementedError in docs

2019-07-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Create a PR for master. When it be merged it can be backported automatically to other branches. Sometimes it may require manually backporting, but changes should be merged to master first. -- ___ Python tracker

[issue37730] NotImplemented is used instead of NotImplementedError in docs

2019-07-31 Thread David Heiberg
David Heiberg added the comment: I'm happy to take a look at this, I found one example here: https://docs.python.org/3/library/winreg.html#winreg.DisableReflectionKey How would I go about submitting a patch for all of the docs across the versions? Would I apply the patch to the relevant bran

[issue37730] NotImplemented is used instead of NotImplementedError in docs

2019-07-31 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : In some places in the documentation NotImplemented is used instead of correct NotImplementedError. All occurrences of NotImplemented should be manually checked and wrong spelling should be corrected. -- assignee: docs@python components: Document

[issue37695] Incorrect error message for `unget_wch(bytes_object)`

2019-07-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset c9345e382c630ddcc2b148b30954640e0e435c8a by Serhiy Storchaka (Anthony Sottile) in branch 'master': bpo-37695: Correct unget_wch error message. (GH-14986) https://github.com/python/cpython/commit/c9345e382c630ddcc2b148b30954640e0e435c8a -

[issue37695] Incorrect error message for `unget_wch(bytes_object)`

2019-07-31 Thread miss-islington
Change by miss-islington : -- pull_requests: +14803 pull_request: https://github.com/python/cpython/pull/15053 ___ Python tracker ___ __

[issue37085] Expose additional socket constants for CAN_BCM flags

2019-07-31 Thread Tal Einat
Tal Einat added the comment: Karl, many thanks for bringing this up, making a PR and iterating on it with me! -- nosy: +taleinat resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.9 ___ Python tracker <

[issue37729] gc: stats from multi process are mixed up

2019-07-31 Thread Inada Naoki
Inada Naoki added the comment: I updated the PR to show "gc: collecting generation 0...\n" before counting objects in each generations. -- ___ Python tracker ___

[issue37726] Tutorial should not recommend getopt

2019-07-31 Thread mental
mental added the comment: It's nice to see the newcomer friendly tag being encouraged :thumbsup: I'm submitting a PR for a doc change (I'd appreciate a review :D). I've replaced any mention of getopt in the tutorial section with the argparse module. Additionally I have added several small ex

[issue37726] Tutorial should not recommend getopt

2019-07-31 Thread mental
Change by mental : -- keywords: +patch pull_requests: +14802 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/15052 ___ Python tracker __

[issue37729] gc: stats from multi process are mixed up

2019-07-31 Thread Josh Rosenberg
Josh Rosenberg added the comment: Delaying the write means you don't get an indication of the steps in the process; if someone is trying to debug a crash caused by corruption of the gc list (e.g. due to a bad extension module), deferring the writes means they won't see any output before the

[issue37729] gc: stats from multi process are mixed up

2019-07-31 Thread Inada Naoki
Change by Inada Naoki : -- keywords: +patch pull_requests: +14801 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15050 ___ Python tracker ___

[issue37729] gc: stats from multi process are mixed up

2019-07-31 Thread Inada Naoki
New submission from Inada Naoki : gc used several PySys_WriteStderr() calls to write stats. This caused stats mixed up when stderr is shared by multiple threads or processes. Attached file (t.py) demonstrates it. Sometimes stats from two processes are mixed up like this: ``` gc: collecting gen

[issue37728] 'is' behaving differently in script and interactive shel

2019-07-31 Thread Eryk Sun
Eryk Sun added the comment: The CPython interpreter doesn't centrally cache and reuse float objects, and even if it did that would be an implementation detail, like what it does with small int objects and strings. What you're seeing at the module level is a compilation side effect. The com

[issue37085] Expose additional socket constants for CAN_BCM flags

2019-07-31 Thread miss-islington
miss-islington added the comment: New changeset d8b914a30b0849476345a19ce0a0ab1ade171b19 by Miss Islington (bot) in branch '3.8': bpo-37085: Expose SocketCAN bcm_msg_head flags (GH-13646) https://github.com/python/cpython/commit/d8b914a30b0849476345a19ce0a0ab1ade171b19 -- nosy: +mis

[issue37085] Expose additional socket constants for CAN_BCM flags

2019-07-31 Thread miss-islington
Change by miss-islington : -- pull_requests: +14800 pull_request: https://github.com/python/cpython/pull/15049 ___ Python tracker ___ __

[issue37085] Expose additional socket constants for CAN_BCM flags

2019-07-31 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 31c4fd2a10d90beaa37d630e5f74a471e14e089d by Łukasz Langa (karl ding) in branch 'master': bpo-37085: Expose SocketCAN bcm_msg_head flags (#13646) https://github.com/python/cpython/commit/31c4fd2a10d90beaa37d630e5f74a471e14e089d -- nosy: +l

[issue37728] 'is' behaving differently in script and interactive shel

2019-07-31 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: Hi rathinavelu thiruvenkatam, cPython has some optimizations where some immutable constants will be folded in the same object to save memory so this is not a bug, it's just that those optimization are not run when typing directly in the shell. You should just

[issue37728] 'is' behaving differently in script and interactive shel

2019-07-31 Thread rathinavelu thiruvenkatam
New submission from rathinavelu thiruvenkatam : af=1.1 bf=1.1 print(f'{af==bf},{af is bf}, {bf is af}' ) """ Script outputs True,True, True. On Shell af=1.1 bf=1.1 print(f'{af==bf},{af is bf}, {bf is af}' ) True,False, False """ -- messages: 348790 nosy: rathinavelu thiruvenkatam

[issue37723] important performance regression on regular expression parsing

2019-07-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Indeed, it was not expected that the character set contains hundreds of thousands items. What is its size in your real code? Could you please show benchmarking results for different implementations and different sizes? --