[code-quality] Re: Inquiry: Country of Origin for Bandit

2023-03-20 Thread Steven D'Aprano
Hi Cynthia, I am surprised to see that Bandit lists this email address as the owner of the project on PyPI, as this email address is just a mailing list, not an organisation. Looking at this page: https://meta.pycqa.org/introduction.html My understanding is that PyCQA is just an informal umbr

[code-quality] Re: python3 -b?

2022-07-20 Thread Steven D'Aprano
I think the documentation is fairly clear. The -b option only checks *comparisons*, not any other operations. And only equality and inequality comparisons at that. https://docs.python.org/3/using/cmdline.html#cmdoption-b Although the documentation doesn't mentioned it, -b also checks for callin

[code-quality] Re: python3 -b?

2022-07-19 Thread Steven D'Aprano
I think the documentation is fairly clear. The -b option only checks *comparisons*, not any other operations. And only equality and inequality comparisons at that. https://docs.python.org/3/using/cmdline.html#cmdoption-b Although the documentation doesn't mentioned it, -b also checks for callin

[code-quality] Re: Python Code Quality Analyzer

2019-11-02 Thread Steven D'Aprano
Hi, and welcome. Do you prefer to be known as Muhammad Ali or Ali Jaffery? What should we call you? On Sun, Nov 03, 2019 at 12:44:43AM +0500, Muhammad Ali wrote: > Hi, > I am CS Student currently working on my Project-Software Design Quality > Analyzer so I want some help in this regard > I want

[code-quality] Re: Python Code Quality Analyzer

2019-11-02 Thread Steven D'Aprano
Hi, and welcome. Do you prefer to be known as Muhammad Ali or Ali Jaffery? What should we call you? On Sun, Nov 03, 2019 at 12:44:43AM +0500, Muhammad Ali wrote: > Hi, > I am CS Student currently working on my Project-Software Design Quality > Analyzer so I want some help in this regard > I want

[code-quality] Re: Looking for Python tool to calculate string similarity

2019-09-16 Thread Steven D'Aprano
On Sun, Sep 15, 2019 at 11:26:02PM +0300, Alexander Todorov wrote: > Hi folks, > I am looking for some tool (or algorithm which I can implement at the > worst) which calculates similarities between strings. There are many such algorithms, starting with the venerable Soundex algorithm, the well-k

[code-quality] Re: Looking for Python tool to calculate string similarity

2019-09-15 Thread Steven D'Aprano
This will be my last comment on this topic. On Sun, Sep 15, 2019 at 05:47:17PM -0700, Ashley Whetter wrote: >No matter what's being said, it can always be worded respectfully. If >someone came and asked this question in person, would you sarcastically >tell them to try googling it? Pr

[code-quality] Re: Looking for Python tool to calculate string similarity

2019-09-15 Thread Steven D'Aprano
On Sun, Sep 15, 2019 at 06:17:04PM -0700, Stephen Satchell wrote: > I don't know about others, but when I run into the same situation, > instead of saying "just Google it" I provide a few links to get the > asker a start. Who said "just Google it"? > Back in the beginning, before the Internet, be

[code-quality] Re: Looking for Python tool to calculate string similarity

2019-09-15 Thread Steven D'Aprano
On Sun, Sep 15, 2019 at 11:26:02PM +0300, Alexander Todorov wrote: > Hi folks, > I am looking for some tool (or algorithm which I can implement at the > worst) which calculates similarities between strings. There are many such algorithms, starting with the venerable Soundex algorithm, the well-k

Re: [code-quality] Keras question

2019-01-08 Thread Steven D'Aprano
On Mon, Jan 07, 2019 at 11:08:00PM -0400, Abdul Abdul wrote: > I just have a Keras question and through you might have an idea on it, > especially that I have been trying to solve the issue for a while now but > couldn't yet solve the issue. I don't think this is relevant to this mailing list. Th

Re: [code-quality] __all__ defined inside a class

2018-03-23 Thread Steven D'Aprano
On Thu, Mar 22, 2018 at 08:30:44PM -0500, Ian Stapleton Cordasco wrote: > Regarding Q2: Why would you want to prohibit class attributes starting > with single or double underscores? The former is useful for "private" > class attributes. The latter performs name mangling which can be > useful in si

Re: [code-quality] Pylint hosting on ReadTheDocs prevents successful searches

2018-01-27 Thread Steven D'Aprano
On Fri, Jan 26, 2018 at 09:15:43AM -0600, Ian Stapleton Cordasco wrote: > This sounds like an attempt to be humorous at the expense of people > who have actually been physically violated. That isn't acceptable on > this list and is not tolerated by any mailing list hosted on > python.org. Please r

Re: [code-quality] Static checker for common Python programming errors

2014-11-18 Thread Steven D'Aprano
On Mon, Nov 17, 2014 at 05:18:03PM +, Stefan Bucur wrote: > I wanted first to tap into people's experience and get a sense of what > common pitfalls in the language & its standard library such a static > checker should look for. [...] > * Proper Unicode handling (for 2.x) > - encode() is not