[issue40956] Use Argument Clinic in sqlite3

2020-10-13 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: By the way, what's the preferred way to benchmark performance? -- ___ Python tracker ___

[issue41756] Do not always use exceptions to return result from coroutine

2020-10-13 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset cfb0f57ff876ab3d04ff144f19eda58844981643 by Vladimir Matveev in branch 'master': bpo-41756: Export PyGen_Send and wrap it in if-defs (#22677) https://github.com/python/cpython/commit/cfb0f57ff876ab3d04ff144f19eda58844981643 --

[issue40956] Use Argument Clinic in sqlite3

2020-10-13 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: Also, see the comment from Victor here: https://github.com/python/cpython/pull/22478#issuecomment-702201260 -- ___ Python tracker

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

2020-10-13 Thread Václav Brožek
Václav Brožek added the comment: As for the assert misspellings raising AttributeError -- that's not true of all of them, only those starting with "assret" or "assert" [1]. In my company, we recently cleaned up a bunch of other assert-misspellings, including cases where a real bug was masked

[issue42027] /passive run of Windows installer fail silently on Win7

2020-10-13 Thread Colin
New submission from Colin : As expected, Python 3.9.0 cannot be installed on Windows 7. Running the installer displays a message clearly stating this. However, running the installer in passive mode (/passive) is expected to display errors that might occur. As stated in

[issue42024] Exception ignored in: .remove at 0x7f6a325f2ea0>

2020-10-13 Thread Zachary Ware
Zachary Ware added the comment: Python 3.5 is now at end-of-life as of September 5, 2020 with the release of 3.5.10, and will not be receiving any more changes. 3.5.4 itself has been obsolete since 3.5.5 was released in February 2018. You'll need to update to at least Python 3.8.6 (which

[issue40956] Use Argument Clinic in sqlite3

2020-10-13 Thread Dong-hee Na
Dong-hee Na added the comment: > Also, see the comment from Victor here: > https://github.com/python/cpython/pull/22478#issuecomment-702201260 Okay got it -- ___ Python tracker

[issue32793] smtplib: duplicated debug message

2020-10-13 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset 76b1913daf883b6592815d139f62f3a7fbe3c322 by Dong-hee Na in branch '3.8': [3.8] bpo-32793: Fix a duplicate debug message in smtplib (GH-15341) (GH-22683) https://github.com/python/cpython/commit/76b1913daf883b6592815d139f62f3a7fbe3c322 --

[issue32793] smtplib: duplicated debug message

2020-10-13 Thread Dong-hee Na
Dong-hee Na added the comment: @ZackerySpytz Thank you for work :) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue36318] Adding support for setting the "disabled" attribute of loggers from logging.config.dictConfig

2020-10-13 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: I strongly agree with arguments given by the original poster. Stackoverflow's questions cited show the functionality of disabling logger is something people are looking for. Disabling logger by setting high enough level seems to be a workaround at best

[issue41917] Python 3.9rc2 fails to install matplotlib

2020-10-13 Thread Kapil Sinha
Kapil Sinha added the comment: It still fails. its two weeks after it was first reported. matplotlib is the reason I installed python. I guess I will rollback to older versions one by one to find which one works. -- nosy: +kapil.sinha ___ Python

[issue41877] Check against misspellings of assert etc. in mock

2020-10-13 Thread Václav Brožek
Václav Brožek added the comment: Thank you all for the informative replies (and sorry for my long silence, I was sick). I agree that the general solution (module-level assert) is worth doing, and I just added the current motivation to https://bugs.python.org/issue24651. I still think that

[issue41972] bytes.find consistently hangs in a particular scenario

2020-10-13 Thread Tim Peters
Tim Peters added the comment: Dennis, would it be possible to isolate some of the cases with more extreme results and run them repeatedly under the same timing framework, as a test of how trustworthy the _framework_ is? From decades of bitter experience, most benchmarking efforts end up

[issue41972] bytes.find consistently hangs in a particular scenario

2020-10-13 Thread Dennis Sweeney
Dennis Sweeney added the comment: @Tim I got this again for that benchmark: length=3442, value=ASXABCDHAB...: Mean +- std dev: 2.39 ms +- 0.01 ms Unfortunately not a ghost. -- ___ Python tracker

[issue42030] Drop support for dynload_aix

2020-10-13 Thread Kevin
New submission from Kevin : Python has supported using dynload_shlib (using dlopen) on AIX since https://github.com/python/cpython/commit/c19c5a62aef7dce0e8147655b0d2f087965fae75 in 2003. While I have not found a definitive timeline of when AIX gained support for dlopen, I have found

[issue40422] Light refactor: create a common _Py_closerange API

2020-10-13 Thread STINNER Victor
STINNER Victor added the comment: Thanks Kyle Evans! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10 -Python 3.9 ___ Python tracker

[issue41972] bytes.find consistently hangs in a particular scenario

2020-10-13 Thread STINNER Victor
STINNER Victor added the comment: I compared PR 22679 using the commit 77f0a23e7a9fb247101b9b14a060c4ba1c4b87a5 as the reference using random_bench.py. For a bunch of cases it's slower, for some others it's faster. My modified pyperf computes a geometric mean of: 0.70 (faster). $

[issue41972] bytes.find consistently hangs in a particular scenario

2020-10-13 Thread Dennis Sweeney
Dennis Sweeney added the comment: bench_table.txt gives my results (`ref` is Master, `change` is with PR 22679). The change gives 342 faster cases and 275 slower cases, and 9 cases with no change. I chose a random word of length 10**6 with a zipf character distribution for the haystack,

[issue41972] bytes.find consistently hangs in a particular scenario

2020-10-13 Thread Dennis Sweeney
Dennis Sweeney added the comment: Another algorithmic possibility: Instead of the bitset, we could have a stack-allocated uint8_t jump[32]; // maybe 64? Maybe uint16_t? It would say this: If the last character lined up in the haystack is congruent to i mod (1 << 8), then jump ahead by

[issue42029] Remove dynload_dl.c

2020-10-13 Thread Kevin
Change by Kevin : -- keywords: +patch pull_requests: +21657 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22687 ___ Python tracker ___

[issue41904] datetime.datetime.today makes no sense and should be removed

2020-10-13 Thread Hassan Abouelela
Hassan Abouelela added the comment: If having an arbitrary time returned from the function is an issue, why not use a fixed time, say 0 UTC, representing the start of the day. This would mean that datetime.today is date.today, with an (arguably) meaningless timestamp to make it a datetime

[issue41625] Add splice() to the os module

2020-10-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Heads up: I plant to land this next week in case someone could to do a review or has something against -- ___ Python tracker ___

[issue42029] Remove dynload_dl.c

2020-10-13 Thread Kevin
Kevin added the comment: Sorry, the correct link is https://github.com/python/cpython/commit/b9949dbe6c20537b7821f25fc1eeb4e7f3faabff -- ___ Python tracker ___

[issue40422] Light refactor: create a common _Py_closerange API

2020-10-13 Thread STINNER Victor
STINNER Victor added the comment: New changeset 7992579cd27f14f472acc37aca537eec55f681ef by Kyle Evans in branch 'master': bpo-40422: Move _Py_closerange to fileutils.c (GH-22680) https://github.com/python/cpython/commit/7992579cd27f14f472acc37aca537eec55f681ef --

[issue42029] Remove dynload_dl.c

2020-10-13 Thread Kevin
New submission from Kevin : dynload_dl.c is no longer referenced anywhere in the code. It was used to support dynamic loading on IRIX 4 and DYNIX, but those platforms were dropped in https://github.com/cpython/cpython/commit/b9949dbe6c20537b7821f25fc1eeb4e7f3faabff. Considering that commit

[issue42028] Regression in mimetypes for image/bmp

2020-10-13 Thread xpdseth
New submission from xpdseth : Please check the following short examples of the issue: Status: Downloaded newer image for python:3.7.4 Python 3.7.4 (default, Oct 17 2019, 05:59:21) [GCC 8.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import mimetypes

[issue30934] Document how to run coverage for repository idlelib files.

2020-10-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Tal, this is an existing issue about documenting how to run IDLE coverage. It was left open to add something about the *nix equivalent of my Windows instructions. I would like to finish this, with updates elsewhere in the text. I'm dubious about Louie's

[issue41972] bytes.find consistently hangs in a particular scenario

2020-10-13 Thread Tim Peters
Tim Peters added the comment: > For a bunch of cases it's slower, for some others it's faster. I have scant real idea what you're doing, but in the output you showed 4 output lines are labelled "slower" but 18 are labelled "faster". What you wrote just above appears to say the reverse (I'd

[issue41972] bytes.find consistently hangs in a particular scenario

2020-10-13 Thread Dennis Sweeney
Dennis Sweeney added the comment: That test needle happened to end with a G and not have another G until much earlier. The status quo took advantage of that, but the PR only takes advantage of the skip value for a certain middle character. Perhaps it could do both. --

[issue42023] Argparse: Add a "display" arg

2020-10-13 Thread paul j3
paul j3 added the comment: I'm not following this request either, especially the colored part. However, I can imagine adding a variable that gives the user full control over the action-invocation. In: argparse.HelpFormatter._format_action_invocation method. Currently it accepts the

[issue41939] 3.9.0 test_site warning: "urllib.requests._opener was modified by test_site"

2020-10-13 Thread Ned Deily
Ned Deily added the comment: Thanks for the fix, Victor. Sometime after filing this, I remembered that we had seen a similar problem some years ago and found bpo-21572 in which I had changed Lib/site.py to no longer use a release-dependent URL for the license file - which is why the check

[issue41972] bytes.find consistently hangs in a particular scenario

2020-10-13 Thread Gregory P. Smith
Change by Gregory P. Smith : -- nosy: +gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41904] datetime.datetime.today makes no sense and should be removed

2020-10-13 Thread Damian Yurzola
Damian Yurzola added the comment: I searched all of github and there seem to be ~350K entries for datetime.today I think this supports steven.daprano point against removal. I could not spot any major library in a quick cursory look. However I do see many calls that look a lot like they

[issue41972] bytes.find consistently hangs in a particular scenario

2020-10-13 Thread Tim Peters
Tim Peters added the comment: Dennis, I'm delighted that the timing harness pointed out an actual glitch, and that it was so (seemingly) straightforward to identify the algorithmic cause. This gives me increased confidence that this project can be pushed to adoption, and your name will be

[issue27351] Update ConfigParser doc: accepts iterables, not just lists

2020-10-13 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed title: Unexpected ConfigParser.read() behavior when passed fileobject -> Update ConfigParser doc: accepts iterables, not just lists versions: -Python 2.7

[issue42023] Argparse: Add a "display" arg

2020-10-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: > and the metavar arg isn't really helpful. Is your issue with *metavar* that it changes the help() output in two places? -- ___ Python tracker

[issue38912] test_asyncio altered the execution environment

2020-10-13 Thread Justin Arthur
Change by Justin Arthur : -- nosy: +JustinTArthur nosy_count: 5.0 -> 6.0 pull_requests: +21662 pull_request: https://github.com/python/cpython/pull/22691 ___ Python tracker

[issue42031] os.makedirs() introduces high memory usage for explorer.exe

2020-10-13 Thread Kevin Kuan
New submission from Kevin Kuan : Hi, I would like to report bug for os.makedirs(). I am running this script on Windows 10 1909 (most win10 work), python 3.8.1. os.makedirs() is making explorer.exe huge amount of memory and crashing the system after only 3 hours. After changing that line to

[issue21572] Use generic license web page rather than requiring release-specific license pages

2020-10-13 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +21659 pull_request: https://github.com/python/cpython/pull/22688 ___ Python tracker ___

[issue41939] 3.9.0 test_site warning: "urllib.requests._opener was modified by test_site"

2020-10-13 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +21658 pull_request: https://github.com/python/cpython/pull/22688 ___ Python tracker ___

[issue36439] Inconsistencies with datetime.fromtimestamp(t) when t < 0

2020-10-13 Thread Dobatymo
Dobatymo added the comment: > I've encountered an issue on anaconda python on windows 10 v1909 which I > suspect is related. It looks like no dates in 1970 can be converted to > datetime.timestamp(): Yeah... there is more related weirdness going on. >>> datetime(1970, 1,

[issue41904] datetime.datetime.today makes no sense and should be removed

2020-10-13 Thread Steven D'Aprano
Steven D'Aprano added the comment: On Wed, Oct 14, 2020 at 12:45:55AM +, Damian Yurzola wrote: > And you also see people doing date math on datetime.date.today which > will result in different answers through out the day. Yes? Is this a problem? If I ask the question "How long is it

[issue41939] 3.9.0 test_site warning: "urllib.requests._opener was modified by test_site"

2020-10-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +21660 pull_request: https://github.com/python/cpython/pull/22689 ___ Python tracker ___

[issue41939] 3.9.0 test_site warning: "urllib.requests._opener was modified by test_site"

2020-10-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +21661 pull_request: https://github.com/python/cpython/pull/22690 ___ Python tracker ___

[issue41939] 3.9.0 test_site warning: "urllib.requests._opener was modified by test_site"

2020-10-13 Thread Ned Deily
Ned Deily added the comment: New changeset 6a48518e8dac3521ff387ee67cdf33783114a257 by Ned Deily in branch 'master': bpo-41939: always enable test_site.test_license_exists_at_url (GH-22688) https://github.com/python/cpython/commit/6a48518e8dac3521ff387ee67cdf33783114a257 --

[issue41904] datetime.datetime.today makes no sense and should be removed

2020-10-13 Thread Hassan Abouelela
Hassan Abouelela added the comment: > "How long is it until Christmas?" the answer should be different if I ask on > one minute past midnight on December 24 or one minute to midnight. No disagreement there, but that doesn't change based on having the current precise time (the current

[issue42024] Exception ignored in: .remove at 0x7f6a325f2ea0>

2020-10-13 Thread jayesh
jayesh added the comment: Dear Team, are you sure if we upgrade to python 3.8.6 then we will not get these warnings? For 3.5.4, if this bug is fixed then why i am getting these warnign messages?. Thanks -- status: pending -> open ___ Python

[issue41972] bytes.find consistently hangs in a particular scenario

2020-10-13 Thread Tim Peters
Tim Peters added the comment: > There's no discomfort at all to me if, e.g., it stored > 32-bit counts and is indexed by the last 6 bits of the > character. That's a measly 256 bytes in all. Or, for the same space, 16-bit counts indexed by the last 7 bits. Then there's no aliasing for 7-bit

[issue38912] test_asyncio altered the execution environment

2020-10-13 Thread Justin Arthur
Justin Arthur added the comment: The "'NoneType' object has no attribute 'close'" error is likely caused by a race against the loop calling the test protocol object's connection_made callback. I was able to reproduce this case occasionally on macOS and it's likely platform-agnostic. Given

[issue42029] Remove dynload_dl.c

2020-10-13 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 0cafcd3c56c9475913d8d4fd0223c297dbb70ac6 by Kevin Adler in branch 'master': closes bpo-42029: Remove dynload_dl (GH-22687) https://github.com/python/cpython/commit/0cafcd3c56c9475913d8d4fd0223c297dbb70ac6 -- nosy:

[issue41939] 3.9.0 test_site warning: "urllib.requests._opener was modified by test_site"

2020-10-13 Thread miss-islington
miss-islington added the comment: New changeset 8b4642d3288e187faad24283c949ecf53fecad5b by Miss Skeleton (bot) in branch '3.8': bpo-41939: always enable test_site.test_license_exists_at_url (GH-22688) https://github.com/python/cpython/commit/8b4642d3288e187faad24283c949ecf53fecad5b

[issue41939] 3.9.0 test_site warning: "urllib.requests._opener was modified by test_site"

2020-10-13 Thread miss-islington
miss-islington added the comment: New changeset 881a13cad534cf3fe4474579c22235a15d3ba27b by Miss Skeleton (bot) in branch '3.9': bpo-41939: always enable test_site.test_license_exists_at_url (GH-22688) https://github.com/python/cpython/commit/881a13cad534cf3fe4474579c22235a15d3ba27b

[issue41995] five possible Null Pointer Dereference bugs.

2020-10-13 Thread miss-islington
miss-islington added the comment: New changeset afe86066e748076f970ccd277fc64fc51bea189b by Miss Skeleton (bot) in branch '3.9': bpo-41995: Fix null ptr deref in tracemalloc_copy_trace() (GH-22660) https://github.com/python/cpython/commit/afe86066e748076f970ccd277fc64fc51bea189b --

[issue41995] five possible Null Pointer Dereference bugs.

2020-10-13 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +21652 pull_request: https://github.com/python/cpython/pull/22681 ___ Python tracker

[issue41995] five possible Null Pointer Dereference bugs.

2020-10-13 Thread STINNER Victor
STINNER Victor added the comment: New changeset 66c28f50c76e4f23af7146e0e580457c5fd6bde7 by Yunlongs in branch 'master': bpo-41995: Fix null ptr deref in tracemalloc_copy_trace() (GH-22660) https://github.com/python/cpython/commit/66c28f50c76e4f23af7146e0e580457c5fd6bde7 --

[issue41972] bytes.find consistently hangs in a particular scenario

2020-10-13 Thread STINNER Victor
STINNER Victor added the comment: > I used random_bench.py to compare PR 22679 to Master, and the results are in > bench_results.txt. Results were varied. I suppose this depends on what cases > we want to optimize for. Lazy me: can you please use render results as a table? Use something

[issue37903] IDLE Shell sidebar.

2020-10-13 Thread Tal Einat
Change by Tal Einat : -- pull_requests: +21653 pull_request: https://github.com/python/cpython/pull/22682 ___ Python tracker ___

[issue42025] zoneinfo: fold not taken into account in time difference when tzinfo is equal

2020-10-13 Thread David Grellscheid
New submission from David Grellscheid : I'm comparing two aware timestamps during a clock transition that differ only in their fold= value. When taking the difference of two aware timestamps with the *same* tzinfo, the fold parameter is ignored. A difference between two timestamps with

[issue40956] Use Argument Clinic in sqlite3

2020-10-13 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- pull_requests: +21654 pull_request: https://github.com/python/cpython/pull/22478 ___ Python tracker ___

[issue40956] Use Argument Clinic in sqlite3

2020-10-13 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- nosy: +berker.peksag, vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue42025] zoneinfo: fold not taken into account in time difference when tzinfo is equal

2020-10-13 Thread David Grellscheid
David Grellscheid added the comment: To make it clear that this issue is not covered by ... "Two such instances that differ only by the value of the fold attribute will not be distinguishable by any means other than an explicit access to the fold value." (PEP 495) I have modified the

[issue42025] zoneinfo: wrong time difference across transition when tzinfo is equal

2020-10-13 Thread David Grellscheid
David Grellscheid added the comment: Here's a third example, without fold= involved. The spring transition also does not work when the timezone in the difference is equal: 01:59:00 to 03:01:00 should be 2 minutes All these should be 0:02:00 apart 1:02:00 Oslo_1 - Oslo_0 0:02:00 Berlin_1 -

[issue42026] index function return first index for same element if repetitive in a list

2020-10-13 Thread Chetan Palliwal
Chetan Palliwal added the comment: if an element in the list present more than 1 times in different order and we try to get the index of it python 3.6 is returning only the first index value for all places of that element in that list. -- Added file:

[issue42004] Allow uploading files with SimpleHTTPRequestHandler

2020-10-13 Thread Jürgen Gmach
Jürgen Gmach added the comment: Disclaimer: I am not cpython maintainer - I just wanted to give a bit of context for using `cgi.FieldStorage`. Personally, I'd rather not include this in the std, but create a small package for PyPI. But that's only me. Wait until you get feedback from a

[issue41972] bytes.find consistently hangs in a particular scenario

2020-10-13 Thread STINNER Victor
STINNER Victor added the comment: random_bench.py has really weird timings. Example: (...) Run 15: 1 warmup, 3 values, 2^15 loops - warmup 1: 3.05 us (+504%) - value 1: 42.8 ns (-92%) - value 2: 1.18 us (+133%) - value 3: 293 ns (-42%) (...) Run 21: 1 warmup, 3 values, 2^15 loops - warmup 1:

[issue42020] interpreter hangs forever on invalid input

2020-10-13 Thread denis
denis added the comment: I do confirm that different terminals react differently (xterm doesn't hang) Definitely not a python bug -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue42026] index function return first index for same element if repetitive in a list

2020-10-13 Thread Chetan Palliwal
New submission from Chetan Palliwal : In [1]: po=[11,22,33,44,11,55,66,11,88] In [2]: for lm in po: ...: if lm==11: ...: print("value is = {} and index is = {}".format(lm,po.index(lm))) ...: else: ...: print("value is = {} and index is =

[issue42026] index function return first index for same element if repetitive in a list

2020-10-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: The index() method is working as expected. This isn't a bug. The easiest way to accomplish your goal is to use enumerate() with a list comprehension: >>> po = [11,22,33,44,11,55,66,11,88] >>> [i for i, value in enumerate(po) if value == 11]

[issue38250] enum.Flag should be more set-like

2020-10-13 Thread John Belmonte
John Belmonte added the comment: It's completely undocumented, but today I noticed that Flag.__contains__() is actually a subset operation. def __contains__(self, other): ... return other._value_ & self._value_ == other._value_ It's an unfortunate departure from the

[issue42025] zoneinfo: wrong time difference across transition when tzinfo is equal

2020-10-13 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42026] index function return first index for same element if repetitive in a list

2020-10-13 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue41972] bytes.find consistently hangs in a particular scenario

2020-10-13 Thread STINNER Victor
STINNER Victor added the comment: FYI after I saw bench_results.txt, I wrote a pyperf PR to add geometric mean, to more easily summarize a benchmark suite :-D https://github.com/psf/pyperf/pull/79 -- ___ Python tracker

[issue38250] enum.Flag should be more set-like

2020-10-13 Thread Vedran Čačić
Vedran Čačić added the comment: Again, I disagree. `str` used to work like this in Py2.0 (or somewhere around then), only 'x' was in 'xyz', not 'xy'. Then Guido came to his senses. :-) This is not set theory, this is mereology. You don't differentiate between a digit and a one-digit number,

[issue42025] zoneinfo: wrong time difference across transition when tzinfo is equal

2020-10-13 Thread David Grellscheid
David Grellscheid added the comment: OK, having read https://blog.ganssle.io/articles/2018/02/aware-datetime-arithmetic.html, this bizarreness is actually intended behaviour. It goes completely against my intuitive understanding of how this should come out. No additions are involved, just

[issue38250] enum.Flag should be more set-like

2020-10-13 Thread John Belmonte
John Belmonte added the comment: I agree that a bit and one-bit flag are the same. > only 'x' was in 'xyz', not 'xy I don't understand the comparison, because str 'a in b' tests if 'a' is a subsequence of 'b'. It is not a subset operation ('xz' in 'xyz' is false). I can understand the

[issue41114] "TypeError: unhashable type" could often be more clear

2020-10-13 Thread Samuel Freilich
Samuel Freilich added the comment: python-ideas thread: https://mail.python.org/archives/list/python-id...@python.org/thread/B6OMGYIM47OVGOCZLEY3MEUJDFURJRDV/ The most minimal ideas from that seem to be: 1. Maybe link to the glossary from the error message (if links to documentation in

[issue41972] bytes.find consistently hangs in a particular scenario

2020-10-13 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40956] Use Argument Clinic in sqlite3

2020-10-13 Thread Dong-hee Na
Dong-hee Na added the comment: What's the purpose of using AC, did the change improve performance? It can make hard to track the code history. -- nosy: +corona10 ___ Python tracker

[issue32793] smtplib: duplicated debug message

2020-10-13 Thread Dong-hee Na
Dong-hee Na added the comment: 3.7 only can be applied security fix. https://cpython-devguide.readthedocs.io/#branchstatus -- nosy: +corona10 ___ Python tracker ___

[issue32793] smtplib: duplicated debug message

2020-10-13 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +21655 pull_request: https://github.com/python/cpython/pull/22683 ___ Python tracker ___

[issue32793] smtplib: duplicated debug message

2020-10-13 Thread Dong-hee Na
Change by Dong-hee Na : -- versions: -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40956] Use Argument Clinic in sqlite3

2020-10-13 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: The primary reason is that it will be provide easy access to module state. The first step in making sqlite3 support multiphase init was to create heap types. The second step is argument clinic. The third will be to use AC for module state. The last